[Bug tree-optimization/32589] [4.3 regression] exp_dbug.adb:981: error: invalid array index

2007-07-11 Thread ebotcazou at gcc dot gnu dot org


--- Comment #10 from ebotcazou at gcc dot gnu dot org  2007-07-11 09:43 
---
Subject: Bug 32589

Author: ebotcazou
Date: Wed Jul 11 09:43:25 2007
New Revision: 126545

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=126545
Log:
PR tree-optimization/32589
* doc/tree-ssa.texi (Rough GIMPLE Grammar): Add missing rule.
* tree-gimple.c (is_gimple_min_invariant): Clarify head comment.
* tree-ssa-propagate.c (valid_gimple_expression_p): New
predicate, extracted from...
(set_rhs): ...here.  Call it for the expression on entry.
* tree-ssa-propagate.h (valid_gimple_expression_p): Declare.
* tree-ssa-sccvn.c: Include tree-ssa-propagate.h.
(simplify_binary_expression): Use valid_gimple_expression_p
to validate the simplification.
* Makefile.in (tree-ssa-sccvn.o): Depends on tree-ssa-propagate.h.


Added:
trunk/gcc/testsuite/gnat.dg/invariant_index.adb
trunk/gcc/testsuite/gnat.dg/invariant_index.ads
Modified:
trunk/gcc/ChangeLog
trunk/gcc/Makefile.in
trunk/gcc/doc/tree-ssa.texi
trunk/gcc/testsuite/ChangeLog
trunk/gcc/tree-gimple.c
trunk/gcc/tree-ssa-propagate.c
trunk/gcc/tree-ssa-propagate.h
trunk/gcc/tree-ssa-sccvn.c


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32589

--- You are receiving this mail because: ---
You are on the CC list for the bug, or are watching someone who is.


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



[Bug tree-optimization/32589] [4.3 regression] exp_dbug.adb:981: error: invalid array index

2007-07-11 Thread ebotcazou at gcc dot gnu dot org


--- Comment #11 from ebotcazou at gcc dot gnu dot org  2007-07-11 09:46 
---
The compiler now bootstraps, but the library still doesn't build.


-- 

ebotcazou at gcc dot gnu dot org changed:

   What|Removed |Added

 Status|ASSIGNED|RESOLVED
 Resolution||FIXED


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32589

--- You are receiving this mail because: ---
You are on the CC list for the bug, or are watching someone who is.


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Bug#432525: gnat-4.2 - FTBFS: Unfullfillable build dependency: gcc-4.2-source

2007-07-11 Thread Ludovic Brenta
Actually, since that latest upload of gcc-4.2 introduced RC bugs in the
back-end, I'll wait for another upload of gcc-4.2 that fixes them before
uploading gnat-4.2.  Also, this is not a simple re-upload because I have
to update the packaging scripts.

-- 
Ludovic Brenta.


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



[Bug tree-optimization/32589] [4.3 regression] exp_dbug.adb:981: error: invalid array index

2007-07-11 Thread rob1weld at aol dot com


--- Comment #12 from rob1weld at aol dot com  2007-07-12 00:55 ---
I am building on target i686-pc-linux-gnu and have not noticed this problem
with this target. It does NOT occur for a 'regular' "make", only seems to
happen with this last "make profiledbootstrap" that I did:

We have a problem of 'doubling up the directories'. This _always_ occurs for
platform i686-pc-cygwin as described here (with a FIX):
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30341

That means I have these directories when the build crashed:

/opt/gcc-4_3-build/stage1-gcc/stage1-gcc/
/opt/gcc-4_3-build/stage1-i686-pc-linux-gnu/stage1-i686-pc-linux-gnu/
/opt/gcc-4_3-build/stage1-intl/stage1-intl/
/opt/gcc-4_3-build/stage1-libcpp/stage1-libcpp/
/opt/gcc-4_3-build/stage1-libdecnumber/stage1-libdecnumber/
/opt/gcc-4_3-build/stage1-libiberty/stage1-libiberty/  
/opt/gcc-4_3-build/stage1-zlib/stage1-zlib/

That wastes a huge amount of space if the makefiles are double building 
everything and not deleting (or merging) unused directories as it goes.

This is likely causing the BCF, the "*.gcda not found, execution counts
estimated" problem, and other related errors.

You say "compiler now bootstraps", I hope that means the 'doubling' is fixed
since it could knock out builds on smaller (or nearly full) HDs.


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32589

--- You are receiving this mail because: ---
You are on the CC list for the bug, or are watching someone who is.


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



[Bug tree-optimization/32589] [4.3 regression] exp_dbug.adb:981: error: invalid array index

2007-07-11 Thread ebotcazou at gcc dot gnu dot org


--- Comment #13 from ebotcazou at gcc dot gnu dot org  2007-07-12 06:00 
---
> We have a problem of 'doubling up the directories'. This _always_ occurs for
> platform i686-pc-cygwin as described here (with a FIX):
> http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30341

Please do not pollute this ticket with unrelated stuff.

> You say "compiler now bootstraps", I hope that means the 'doubling' is fixed
> since it could knock out builds on smaller (or nearly full) HDs.

No, it only means that the compiler now bootstraps.


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32589

--- You are receiving this mail because: ---
You are on the CC list for the bug, or are watching someone who is.


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]