[Bug rtl-optimization/23579] New: [4.1 regression] rtl-optimization/23478 breaks Ada

schwab at suse dot de gcc-bugzilla@gcc.gnu.org
Fri Aug 26 17:07:00 GMT 2005


The patch from rtl-optimization/23478 breaks Ada:  
  
$ gdb --args ../../gnat1 -quiet -dumpbase a-stzmap.adb -O2 -W -Wall -fPIC -g  
-gnatpg -gnatO a-stzmap.o a-stzmap.adb -o /tmp/ccH9s7Af.s  
GNU gdb 6.3  
Copyright 2004 Free Software Foundation, Inc.  
GDB is free software, covered by the GNU General Public License, and you are  
welcome to change it and/or distribute copies of it under certain conditions.  
Type "show copying" to see the conditions.  
There is absolutely no warranty for GDB.  Type "show warranty" for details.  
This GDB was configured as "ia64-suse-linux"...Using host libthread_db library  
"/lib/tls/libthread_db.so.1".  
  
(gdb) r  
Starting program: /tmp/cvs/gcc-test-20050823/Build/gcc/gnat1 -quiet -dumpbase  
a-stzmap.adb -O2 -W -Wall -fPIC -g -gnatpg -gnatO a-stzmap.o a-stzmap.adb  
-o /tmp/ccH9s7Af.s  
  
Program received signal SIGSEGV, Segmentation fault.  
add_missing_bbs (before=0x200000000043ad40, first=0x20000000003c0e38,  
last=0x0)  
    at sched-ebb.c:220  
220           BB_HEAD (last) = before;  
(gdb) bt  
#0  add_missing_bbs (before=0x200000000043ad40, first=0x20000000003c0e38,   
    last=0x0) at sched-ebb.c:220  
#1  0x4000000000dbbd00 in schedule_ebbs (dump_file=0x20000000004dfc50)  
    at sched-ebb.c:329  
#2  0x4000000000b1f040 in ia64_reorg () at ia64.c:7701  
#3  0x4000000000db1b90 in rest_of_handle_machine_reorg () at reorg.c:3864  
#4  0x4000000000ac4ca0 in execute_one_pass (pass=0x60000000000156d0)  
    at passes.c:754  
#5  0x4000000000ac4f90 in execute_pass_list (pass=0x60000000000156d0)  
    at passes.c:837  
#6  0x4000000000ac4fe0 in execute_pass_list (pass=0x6000000000013338)  
    at passes.c:837  
#7  0x4000000000ac4fe0 in execute_pass_list (pass=0x6000000000013380)  
    at passes.c:837  
#8  0x40000000005dab80 in tree_rest_of_compilation (fndecl=0x20000000003eed00)  
    at tree-optimize.c:419  
#9  0x4000000000039690 in gnat_expand_body (gnu_decl=0x20000000003eed00)  
    at misc.c:636  
#10 0x4000000000b4b650 in cgraph_expand_function (node=0x20000000005af650)  
    at cgraphunit.c:1037  
#11 0x4000000000b4f8c0 in cgraph_optimize () at cgraphunit.c:1103  
#12 0x400000000003af60 in gnat_parse_file (set_yydebug=10846160) at  
misc.c:245#13 0x4000000000a57fd0 in toplev_main (argc=268536,  
argv=0x6000000000041910)  
    at toplev.c:1932  
#14 0x40000000005c71c0 in main (argc=268536, argv=0x6000000000041910)  
    at main.c:35

-- 
           Summary: [4.1 regression] rtl-optimization/23478 breaks Ada
           Product: gcc
           Version: 4.1.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: rtl-optimization
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: schwab at suse dot de
                CC: gcc-bugs at gcc dot gnu dot org,jakub at gcc dot gnu dot
                    org
GCC target triplet: ia64-*-linux
OtherBugsDependingO 23478
             nThis:


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



More information about the Gcc-bugs mailing list