--- Comment #8 from rguenth at gcc dot gnu dot org 2009-01-16 13:20 ---
Now it does. See PR38835.
--
rguenth at gcc dot gnu dot org changed:
What|Removed |Added
--- Comment #9 from rguenth at gcc dot gnu dot org 2009-01-16 13:35 ---
Mine.
--
rguenth at gcc dot gnu dot org changed:
What|Removed |Added
--- Comment #10 from rguenth at gcc dot gnu dot org 2009-01-16 18:56
---
C testcase, fails with 4.3 and 4.4 with -O2 --param
max-fields-for-field-sensitive=0
#include stdint.h
extern void abort (void);
int main()
{
int i = 1;
int *p = i;
uintptr_t iptr;
iptr = (uintptr_t)p -
--- Comment #11 from rguenth at gcc dot gnu dot org 2009-01-16 18:57
---
*** Bug 38835 has been marked as a duplicate of this bug. ***
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36227
--- Comment #12 from rguenth at gcc dot gnu dot org 2009-01-16 19:18
---
Subject: Bug 36227
Author: rguenth
Date: Fri Jan 16 19:18:18 2009
New Revision: 143442
URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=143442
Log:
2009-01-16 Richard Guenther rguent...@suse.de
PR
--- Comment #7 from jsm28 at gcc dot gnu dot org 2008-08-27 22:04 ---
4.3.2 is released, changing milestones to 4.3.3.
--
jsm28 at gcc dot gnu dot org changed:
What|Removed |Added
--
rguenth at gcc dot gnu dot org changed:
What|Removed |Added
Priority|P3 |P2
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36227
--- Comment #1 from rguenth at gcc dot gnu dot org 2008-05-13 12:43 ---
Err - only with volatiles ... !?
volatile unsigned long * sat_add(volatile unsigned long *ptr, unsigned long i,
volatile unsigned long *end)
{
if ((unsigned long)ptr + i * sizeof(*ptr) (unsigned long)ptr)
--- Comment #2 from rguenth at gcc dot gnu dot org 2008-05-13 12:54 ---
Part of the fix is
Index: fold-const.c
===
--- fold-const.c(revision 135255)
+++ fold-const.c(working copy)
@@ -6831,7 +6831,8 @@
--- Comment #3 from rguenth at gcc dot gnu dot org 2008-05-13 14:02 ---
Subject: Bug 36227
Author: rguenth
Date: Tue May 13 14:01:53 2008
New Revision: 135260
URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=135260
Log:
2008-05-13 Richard Guenther [EMAIL PROTECTED]
PR
--- Comment #4 from rguenth at gcc dot gnu dot org 2008-05-13 14:05 ---
Subject: Bug 36227
Author: rguenth
Date: Tue May 13 14:04:40 2008
New Revision: 135261
URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=135261
Log:
2008-05-13 Richard Guenther [EMAIL PROTECTED]
PR
--
rguenth at gcc dot gnu dot org changed:
What|Removed |Added
Target Milestone|--- |4.3.1
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36227
--- Comment #5 from rguenth at gcc dot gnu dot org 2008-05-13 14:13 ---
Only the theoretical problem remains. We still fold
(unsigned long)ptr + (unsigned long)i
to
(unsigned long)(ptr + (unsigned long)i)
where the inner POINTER_PLUS_EXPR now may invoke undefined behavior on
13 matches
Mail list logo