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 tree-optimization/19283] [4.0 Regression] Bad code generated in final_cleanup


------- Additional Comments From pinskia at gcc dot gnu dot org  2005-01-06 00:28 -------
Hmm, this is fold f'ing up again.
Here is an example for -O1:
void abort (void);
static inline unsigned short foo (unsigned int* p)
{
  return *p;
};
unsigned int u;
int main ()
{
  if ((foo (&u) & 0x8000) != 0)
    abort ();
  return 0;
}


-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |pinskia at gcc dot gnu dot
                   |                            |org


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


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