[Bug tree-optimization/22212] [4.1 Regression] SEGV in is_gimple_variable during loop-ivopts while building Ada RTS

2005-07-06 Thread rakdver at gcc dot gnu dot org


-- 
Bug 22212 depends on bug 21963, which changed state.

Bug 21963 Summary: [4.1 Regression] ICE (seg fault) with -m64 (in IV-OPTS)
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21963

   What|Old Value   |New Value

 Status|NEW |RESOLVED
 Resolution||FIXED

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


[Bug tree-optimization/22212] [4.1 Regression] SEGV in is_gimple_variable during loop-ivopts while building Ada RTS

2005-07-06 Thread belyshev at depni dot sinp dot msu dot ru

--- Additional Comments From belyshev at depni dot sinp dot msu dot ru  
2005-07-06 09:13 ---
Fixed by patch for PR 21963, thanks Zdenek!


*** This bug has been marked as a duplicate of 21963 ***

-- 
   What|Removed |Added

  BugsThisDependsOn|21963, 22236|
 Status|NEW |RESOLVED
 Resolution||DUPLICATE


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


[Bug tree-optimization/22212] [4.1 Regression] SEGV in is_gimple_variable during loop-ivopts while building Ada RTS

2005-07-02 Thread laurent at guerby dot net

--- Additional Comments From laurent at guerby dot net  2005-07-02 13:08 
---
cxa4006 and cxa4017 fail the same way (STORAGE_ERROR) as vms_conv.adb.

-- 


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


[Bug tree-optimization/22212] [4.1 Regression] SEGV in is_gimple_variable during loop-ivopts while building Ada RTS

2005-07-02 Thread kenner at vlsi1 dot ultra dot nyu dot edu

--- Additional Comments From kenner at vlsi1 dot ultra dot nyu dot edu  
2005-07-02 16:04 ---
Subject: Re:   [4.1 Regression] SEGV in is_gimple_variable during loop-ivopts 
while building Ada RTS

cxa4006 and cxa4017 fail the same way (STORAGE_ERROR) as vms_conv.adb.

See the email I sent to the GCC list about cxa4006.


-- 


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


[Bug tree-optimization/22212] [4.1 Regression] SEGV in is_gimple_variable during loop-ivopts while building Ada RTS

2005-06-30 Thread rakdver at gcc dot gnu dot org

--- Additional Comments From rakdver at gcc dot gnu dot org  2005-06-30 
12:30 ---
The is_gimple_variable segfault seems as a duplicate of PR 21963 to me; could 
someone please check whether the patch for that PR fixes the problem (I cannot 
access x86_64 machine just now)?

-- 


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


[Bug tree-optimization/22212] [4.1 Regression] SEGV in is_gimple_variable during loop-ivopts while building Ada RTS

2005-06-30 Thread giovannibajo at libero dot it

--- Additional Comments From giovannibajo at libero dot it  2005-06-30 
18:09 ---
It does.

-- 
   What|Removed |Added

  BugsThisDependsOn||21963


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


[Bug tree-optimization/22212] [4.1 Regression] SEGV in is_gimple_variable during loop-ivopts while building Ada RTS

2005-06-30 Thread laurent at guerby dot net

--- Additional Comments From laurent at guerby dot net  2005-06-30 21:04 
---
For the record, after twenty hours of compilation on an Athlon 64 3000+
(x86_64-linux), a build with --enable-checking=all,gcac,fold,rtl detects
something wrong in fold. I'm attaching the .i.

LAST_UPDATED Wed Jun 29 19:44:45 UTC 2005
stage1/xgcc -Bstage1/
-B/home/guerby/work/gcc/install/install-20050629T214650/x86_64-unknown-linux-gnu/bin/
-c   -g -O2 -DIN_GCC   -W -Wall -Wwrite-strings -Wstrict-prototypes
-Wmissing-prototypes-Werror -fno-common   -DHAVE_CONFIG_H-I. -Iada
-I/home/guerby/work/gcc/version-head/gcc
-I/home/guerby/work/gcc/version-head/gcc/ada
-I/home/guerby/work/gcc/version-head/gcc/../include
-I/home/guerby/work/gcc/version-head/gcc/../libcpp/include 
/home/guerby/work/gcc/version-head/gcc/ada/adaint.c -o ada/adaint.o
/home/guerby/work/gcc/version-head/gcc/ada/adaint.c: In function
'__gnat_locate_exec':
/home/guerby/work/gcc/version-head/gcc/ada/adaint.c:2031: internal compiler
error: fold check: original tree changed by fold
Please submit a full bug report,
with preprocessed source if appropriate.
See URL:http://gcc.gnu.org/bugs.html for instructions.
make[2]: *** [ada/adaint.o] Error 1
make[2]: Leaving directory 
`/home/guerby/work/gcc/build/build-20050629T214650/gcc'
make[1]: *** [stage2_build] Error 2
make[1]: Leaving directory 
`/home/guerby/work/gcc/build/build-20050629T214650/gcc'
make: *** [bootstrap] Error 2


-- 
   What|Removed |Added

 CC||kenner at vlsi1 dot ultra
   ||dot nyu dot edu


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


[Bug tree-optimization/22212] [4.1 Regression] SEGV in is_gimple_variable during loop-ivopts while building Ada RTS

2005-06-30 Thread laurent at guerby dot net

--- Additional Comments From laurent at guerby dot net  2005-06-30 23:04 
---
Hmm, unless I made a mistake the strfix problem is indeed fixed, but
gcc/ada/vms_conv.adb one is still there.

LAST_UPDATED Thu Jun 30 21:09:27 UTC 2005 + Zdenek patch.

../../xgcc -c -I./ -I../rts -I. -I/home/guerby/work/gcc/version-head/gcc/ada
-B../../ -g -O2 -gnatpg -gnata -I-
/home/guerby/work/gcc/version-head/gcc/ada/vms_conv.adb

raised STORAGE_ERROR : stack overflow (or erroneous memory access)
gnatmake: /home/guerby/work/gcc/version-head/gcc/ada/vms_conv.adb compilation
error
make[3]: *** [../../gnat] Error 4
make[3]: Leaving directory
`/home/guerby/work/gcc/build/build-20050630T235156/gcc/ada/tools'

The backtrace is the same ( tree_ssa_iv_optimize )


-- 


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


[Bug tree-optimization/22212] [4.1 Regression] SEGV in is_gimple_variable during loop-ivopts while building Ada RTS

2005-06-29 Thread laurent at guerby dot net

--- Additional Comments From laurent at guerby dot net  2005-06-29 06:13 
---
Disabling wrapv also enables a successfull Ada bootstrap.

Index: misc.c
===
RCS file: /cvs/gcc/gcc/gcc/ada/misc.c,v
retrieving revision 1.104
diff -u -r1.104 misc.c
--- misc.c  28 Jun 2005 19:51:26 -  1.104
+++ misc.c  29 Jun 2005 06:12:29 -
@@ -339,6 +339,8 @@
   /* Uninitialized really means uninitialized in Ada.  */
   flag_zero_initialized_in_bss = 0;

+  flag_wrapv = 1;
+
   return CL_Ada;
 }


-- 


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


[Bug tree-optimization/22212] [4.1 Regression] SEGV in is_gimple_variable during loop-ivopts while building Ada RTS

2005-06-29 Thread pinskia at gcc dot gnu dot org

--- Additional Comments From pinskia at gcc dot gnu dot org  2005-06-29 
21:47 ---
Some discussion about this problem:
http://gcc.gnu.org/ml/gcc/2005-06/msg01276.html

-- 


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


[Bug tree-optimization/22212] [4.1 Regression] SEGV in is_gimple_variable during loop-ivopts while building Ada RTS

2005-06-28 Thread belyshev at depni dot sinp dot msu dot ru

--- Additional Comments From belyshev at depni dot sinp dot msu dot ru  
2005-06-28 21:12 ---
segfault in is_gimple_variable caused by this patch:

2005-06-07  Sebastian Pop  [EMAIL PROTECTED]

PR 18403 and meta PR 21861.
* Makefile.in (tree-chrec.o): Depend on CFGLOOP_H and TREE_FLOW_H.
...


-- 
   What|Removed |Added

 CC||spop at gcc dot gnu dot org


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


[Bug tree-optimization/22212] [4.1 Regression] SEGV in is_gimple_variable during loop-ivopts while building Ada RTS

2005-06-28 Thread pinskia at gcc dot gnu dot org

--- Additional Comments From pinskia at gcc dot gnu dot org  2005-06-28 
22:08 ---
Hmm, I cannot reproduce this with a cross compiler but that might be because I 
am using powerpc-
darwin7.9.0's ada includes.

-- 


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