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]

Re: c/7479: wrong arithmetic output


http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=7479

Hi,

confirmed on 3.2.1. I tracked this down to a bug in associate_trees that
is fixed in 3.3. I didn't check the acutal patch but this change log
entry is quite obviously the fix I'm looking for.

| 2002-08-05  Jakub Jelinek  <jakub@redhat.com>
| 
| 	* fold-const.c (associate_trees): Only optimize NEGATE_EXPR in one
| 	  of the operands into MINUS_EXPR if code is PLUS_EXPR.

Could this go into 3.2.2 and the PR closed afterwards?

   regards   Christian

-- 
THAT'S ALL FOLKS!


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