--- Comment #7 from roger at eyesopen dot com 2006-03-28 19:34 ---
This should now be fixed on mainline.
--
roger at eyesopen dot com changed:
What|Removed |Added
--- Comment #6 from sayle at gcc dot gnu dot org 2006-03-28 05:01 ---
Subject: Bug 22524
Author: sayle
Date: Tue Mar 28 05:01:27 2006
New Revision: 112438
URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=112438
Log:
PR middle-end/22524
* fold-const.c (fold_binary)
--- Comment #5 from pinskia at gcc dot gnu dot org 2005-12-05 18:23 ---
Hmm, I think we should ignore the -POINTER + 1 case as that would give use the
wrong results sometimes.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=22524
--- Comment #2 from pluto at agmk dot net 2005-10-17 17:57 ---
works for me with 4.1.0-20051005.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=22524
--- Comment #3 from pluto at agmk dot net 2005-10-17 18:39 ---
% cat pr22524.c.t03.gimple
main ()
{
char * D.1282;
int D.1283;
int D.1284;
int i;
D.1282 = a ();
D.1283 = (int) D.1282;
D.1284 = ~buf;
i = D.1283 + D.1284;
}
--
--- Comment #4 from pinskia at gcc dot gnu dot org 2005-10-17 20:30 ---
(In reply to comment #2)
works for me with 4.1.0-20051005.
This with a patch from PR 22368 and did not the last time I tested which was
Sun Oct 9 16:00:28 UTC 2005.
--
--- Additional Comments From pinskia at gcc dot gnu dot org 2005-08-06
15:07 ---
Confirmed.
--
What|Removed |Added
Status|UNCONFIRMED |NEW
--
What|Removed |Added
CC||phython at gcc dot gnu dot
||org