Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
Message from discussion How should integer return value should be extended?
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post will appear after it is approved by moderators
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
hong...@gmail.com  
View profile  
 More options Jul 24 2007, 10:41 am
From: hong...@gmail.com
Date: Tue, 24 Jul 2007 14:41:11 -0000
Local: Tues, Jul 24 2007 10:41 am
Subject: How should integer return value should be extended?
From

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32843

it seems that ia32 psABI doesn't specify how an integer return value
should be extended. For
example,

signed char
return_sc (signed char *sc)
{
  return *sc;

}

The return value is in eax. Should it be sign extended or zero
extended? What do other x86
compilers do?

 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.