[Bug bootstrap/30511] False array bound check causes gcc failed to boostrap

2007-01-30 Thread mueller at gcc dot gnu dot org
--- Comment #9 from mueller at gcc dot gnu dot org 2007-01-30 17:18 --- Subject: Bug 30511 Author: mueller Date: Tue Jan 30 17:17:39 2007 New Revision: 121346 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=121346 Log: backport from mainline: 2007-01-21 Dirk Mueller <[EMAIL

[Bug bootstrap/30511] False array bound check causes gcc failed to boostrap

2007-01-21 Thread mueller at gcc dot gnu dot org
--- Comment #8 from mueller at gcc dot gnu dot org 2007-01-21 16:52 --- Fixed for 4.3. -- mueller at gcc dot gnu dot org changed: What|Removed |Added Status|

[Bug bootstrap/30511] False array bound check causes gcc failed to boostrap

2007-01-21 Thread mueller at gcc dot gnu dot org
--- Comment #7 from mueller at gcc dot gnu dot org 2007-01-21 16:12 --- Subject: Bug 30511 Author: mueller Date: Sun Jan 21 16:12:10 2007 New Revision: 121032 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=121032 Log: 2007-01-21 Dirk Mueller <[EMAIL PROTECTED]> PR boo

[Bug bootstrap/30511] False array bound check causes gcc failed to boostrap

2007-01-20 Thread dominiq at lps dot ens dot fr
--- Comment #6 from dominiq at lps dot ens dot fr 2007-01-20 13:27 --- On Mac OSX 10.3.9, after the same failure I have applied the patch of comment #1. Now the build fails with: /sw/src/fink.build/gcc4-4.3.0-20070120/darwin_objdir/./gcc/xgcc -B/sw/src/fink.build/gcc4-4.3.0-20070120/dar

[Bug bootstrap/30511] False array bound check causes gcc failed to boostrap

2007-01-19 Thread mueller at gcc dot gnu dot org
--- Comment #5 from mueller at gcc dot gnu dot org 2007-01-19 22:15 --- the ivopts problem is a duplicate of bug 26726. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30511

[Bug bootstrap/30511] False array bound check causes gcc failed to boostrap

2007-01-19 Thread pinskia at gcc dot gnu dot org
--- Comment #4 from pinskia at gcc dot gnu dot org 2007-01-19 22:05 --- (In reply to comment #3) > Testcase from delta, compile with: Hmm, in the non reduced testcase, is default_type last? Since in the reduced testcase, default_type is last, it seems like we should not warn about that

[Bug bootstrap/30511] False array bound check causes gcc failed to boostrap

2007-01-19 Thread mrs at apple dot com
--- Comment #3 from mrs at apple dot com 2007-01-19 22:02 --- Testcase from delta, compile with: $ ./xgcc -B./ t.c -O2 -S -Wall t.c: In function 'gfc_get_namespace': t.c:10: warning: array subscript is above array bounds typedef struct { int kind; } gfc_typespec; typedef struct gfc_n

[Bug bootstrap/30511] False array bound check causes gcc failed to boostrap

2007-01-19 Thread roger at eyesopen dot com
--- Comment #2 from roger at eyesopen dot com 2007-01-19 20:55 --- It looks like the ivopts pass is creating dubious? array references. The symbol.c.053t.vrp1 D.12252_12 = (long unsigned int) i_2; D.12255_15 = &ns_4->default_type[D.12252_12]; ts_16 = D.12255_15 + -2328B; i.e. we

[Bug bootstrap/30511] False array bound check causes gcc failed to boostrap

2007-01-19 Thread mueller at gcc dot gnu dot org
--- Comment #1 from mueller at gcc dot gnu dot org 2007-01-19 20:04 --- this patch fixes / works around it. I don't like it yet, I'm trying to find a better solution. --- tree-vrp.c (revision 120953) +++ tree-vrp.c (working copy) @@ -3583,6 +3583,25 @@ check_array_bounds (tree *tp, i