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/22199] fold does not optimize (int)ABS_EXPR<(long long)(int_var)>



------- Comment #3 from pinskia at gcc dot gnu dot org  2005-12-24 20:15 -------
Hmm, actually this is not really valid to do except when -fwrapv is supplied as
(int)ABS_EXPR<(long long) 0x80000000 > is defined to be 0 but ABS_EXPR<
(int)0x80000000> is undefined.


-- 


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


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