[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

[Bug ada/22533] [4.1/4.2 regression] Ada ICE during bootstrap on many platforms




------- Comment #33 from pluto at agmk dot net  2005-11-23 19:16 -------
(In reply to comment #32)
> > with patch from http://gcc.gnu.org/ml/gcc-patches/2005-07/msg01666.html
> 
> Probably not the correct long-term fix.  Might be good enough for 4.1 though.

this fix doesn't help for current 4.1.
workaround from #c23 doesn;t help either.

> > finally, ada is actually dead.
> 
> Not very constructive, I'm afraid.  Care to devise a fix?

sorry, i don't known too much about compiler's infrastructure.
i'm just a software developer and packager.
i can test builds/fixes and provide backtraces on PPC970FX
but nothing more...

$ gdb stage1/gnat1

(gdb) set args -I- -I. -Iada -I../../gcc/ada -quiet -dumpbase a-except.adb -O2
-O1 -fsigned-char -fno-inline -ggdb -gnatpg -gnata -g -gnatO ada/a-except.o
../../gcc/ada/a-except.adb -o /tmp/ccaqK3JS.s
(gdb) r
Starting program:
/home/users/builder2/rpm/BUILD/gcc/obj-ppc-pld-linux/gcc/stage1/gnat1 -I- -I.
-Iada -I../../gcc/ada -quiet -dumpbase a-except.adb -O2 -O1
-fno-inline -ggdb -gnatpg -gnata -g -gnatO ada/a-except.o
../../gcc/ada/a-except.adb -o /tmp/ccaqK3JS.s
Breakpoint 3 at 0xfee33e8
Breakpoint 4 at 0xfee1d90

Program received signal SIGSEGV, Segmentation fault.
0x109c6418 in get_base_var (t=0x0) at ../../gcc/ipa-utils.c:218
218       while (!SSA_VAR_P (t)

(gdb) bt
#0  0x109c6418 in get_base_var (t=0x0) at ../../gcc/ipa-utils.c:218
#1  0x10840d1c in look_for_address_of (t=0x303cc720) at
../../gcc/ipa-reference.c:345
#2  0x10840da4 in check_rhs_var (local=0x0, t=0x303cc720) at
../../gcc/ipa-reference.c:360
#3  0x108413e4 in scan_for_static_refs (tp=0x303cb344,
walk_subtrees=0x7ffff084, data=0x0)
    at ../../gcc/ipa-reference.c:553
#4  0x1079e554 in walk_tree (tp=0x303cb344, func=0x1084117c
<scan_for_static_refs>, data=0x0,
    pset=0x11086c80) at ../../gcc/tree.c:7115
#5  0x1079ecd4 in walk_tree (tp=0x303ea6cc, func=0x1084117c
<scan_for_static_refs>, data=0x0,
    pset=0x11086c80) at ../../gcc/tree.c:7286
#6  0x10841b78 in analyze_variable (vnode=0x304653f0) at
../../gcc/ipa-reference.c:774
#7  0x108423a4 in static_execute () at ../../gcc/ipa-reference.c:901
#8  0x107c8ea0 in execute_one_pass (pass=0x10bc1470) at ../../gcc/passes.c:828
#9  0x107c9038 in execute_ipa_pass_list (pass=0x10bc1470) at
../../gcc/passes.c:874
#10 0x1083bb80 in ipa_passes () at ../../gcc/cgraphunit.c:1223
#11 0x1083bc6c in cgraph_optimize () at ../../gcc/cgraphunit.c:1257
#12 0x1001c77c in gnat_parse_file (set_yydebug=0) at ../../gcc/ada/misc.c:245
#13 0x10786bbc in compile_file () at ../../gcc/toplev.c:990
#14 0x10788ecc in do_compile () at ../../gcc/toplev.c:1948
#15 0x10788f60 in toplev_main (argc=21, argv=0x7ffff5f4) at
../../gcc/toplev.c:1980
#16 0x103f0300 in main (argc=21, argv=0x7ffff5f4) at ../../gcc/main.c:35


-- 


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

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



Reply to: