[Bug middle-end/32813] [4.3 Regression] ICE for array expression in empty if statement, compiled with -fbounds-check

2007-08-09 Thread pinskia at gcc dot gnu dot org
--- Comment #8 from pinskia at gcc dot gnu dot org 2007-08-09 21:39 --- Fixed. -- pinskia at gcc dot gnu dot org changed: What|Removed |Added Status|ASSIGNED

[Bug middle-end/32813] [4.3 Regression] ICE for array expression in empty if statement, compiled with -fbounds-check

2007-08-09 Thread pinskia at gcc dot gnu dot org
--- Comment #7 from pinskia at gcc dot gnu dot org 2007-08-09 21:37 --- Subject: Bug 32813 Author: pinskia Date: Thu Aug 9 21:36:27 2007 New Revision: 127322 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=127322 Log: 2007-08-09 Andrew Pinski <[EMAIL PROTECTED]> PR mi

[Bug middle-end/32813] [4.3 Regression] ICE for array expression in empty if statement, compiled with -fbounds-check

2007-07-19 Thread pinskia at gcc dot gnu dot org
--- Comment #6 from pinskia at gcc dot gnu dot org 2007-07-19 07:30 --- Note also save_expr can be made better so we don't need to use a SAVE_EXPR for local variables. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32813

[Bug middle-end/32813] [4.3 Regression] ICE for array expression in empty if statement, compiled with -fbounds-check

2007-07-19 Thread pinskia at gcc dot gnu dot org
--- Comment #5 from pinskia at gcc dot gnu dot org 2007-07-19 07:28 --- And here is the patch which fixes the issue: Index: fold-const.c === --- fold-const.c(revision 126739) +++ fold-const.c(working copy) @@

[Bug middle-end/32813] [4.3 Regression] ICE for array expression in empty if statement, compiled with -fbounds-check

2007-07-19 Thread pinskia at gcc dot gnu dot org
--- Comment #4 from pinskia at gcc dot gnu dot org 2007-07-19 07:23 --- Actually it turns out this is a middle-end issue with fold. I am fixing this. -- pinskia at gcc dot gnu dot org changed: What|Removed |Added ---