This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug optimization/13313] [3.4 Regression] Wrong code generated


------- Additional Comments From kazu at cs dot umass dot edu  2003-12-15 19:34 -------
I'll also investigate this.
The last comment from Eric is right.
Here is the testcase suitable for our framework.

extern void abort ();
extern void exit (int);

unsigned long
foo (unsigned long a)
{
  return (a & 0x00ff0000L) >> 16;
}

int
main (void)
{
  if (foo (8) != 0)
    abort ();
  exit (0);
}


-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |kazu at cs dot umass dot edu


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]