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 middle-end/30364] [4.1/4.2/4.3 Regression] Wrong variable ranges due to constant folding



------- Comment #3 from pinskia at gcc dot gnu dot org  2007-01-04 10:26 -------
This most likely comes from the "    associate:" case in fold_binary where we
reassociate the PLUS_EXPR and MINUS_EXPR and then fold the -20 + -20 into -40.


-- 


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


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