This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug optimization/13313] [3.4 Regression] Wrong code generated
- From: "kazu at cs dot umass dot edu" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 15 Dec 2003 19:34:42 -0000
- Subject: [Bug optimization/13313] [3.4 Regression] Wrong code generated
- References: <20031205121014.13313.mike@ml-solutions.co.uk>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- 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