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/15017] [tree-ssa] compare (equal) with casts are not removed


------- Additional Comments From pinskia at gcc dot gnu dot org  2004-04-20 01:16 -------
Here is an example which messes up on powerpc (lha is slower than lhz):
static short as, bs;
_Bool foo3 (void) {
int as1 = as;
int bs1 = bs;
if (as1 != bs1) return 1;
else  return 0;
}

-- 


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


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