This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug debug/40666] New: [4.4.1 Regression] Ada rts build failure


../../xgcc -B../../ -c -O2 -O0 -g   -W -Wall -Wwrite-strings
-Wstrict-prototypes
 -Wmissing-prototypes -mdisable-indexing -gnatpg -gnata -I- -I../rts -I.
-I/mnt/
gnu/gcc/gcc/gcc/ada /mnt/gnu/gcc/gcc/gcc/ada/ali.adb -o ali.o
+===========================GNAT BUG DETECTED==============================+
| 4.4.1 20090705 (prerelease) [gcc-4_4-branch revision 149265]
(hppa2.0w-hp-hpux
11.11) GCC error:|
| in dbxout_symbol, at dbxout.c:2766                                       |
| Error detected around /mnt/gnu/gcc/gcc/gcc/ada/ali.adb:679               |
| Please submit a bug report; see http://gcc.gnu.org/bugs.html.            |
| Use a subject line meaningful to you and us to track the bug.            |
| Include the entire contents of this bug box in the report.               |
| Include the exact gcc or gnatmake command that you entered.              |
| Also include sources listed below in gnatchop format                     |
| (concatenated together with no headers between files).                   |
+==========================================================================+

Please include these source files with error report
Note that list may not be accurate in some cases,
so please double check that the problem can still
be reproduced with the set of files listed.

/mnt/gnu/gcc/gcc/gcc/ada/ali.adb
/mnt/gnu/gcc/gcc/gcc/ada/ali.ads
/mnt/gnu/gcc/gcc/gcc/ada/casing.ads
/mnt/gnu/gcc/gcc/gcc/ada/types.ads
/mnt/gnu/gcc/gcc/gcc/ada/gnatvsn.ads
/mnt/gnu/gcc/gcc/gcc/ada/namet.ads
/mnt/gnu/gcc/gcc/gcc/ada/alloc.ads
/mnt/gnu/gcc/gcc/gcc/ada/table.ads
/mnt/gnu/gcc/gcc/gcc/ada/hostparm.ads
/mnt/gnu/gcc/gcc/gcc/ada/rident.ads
/mnt/gnu/gcc/gcc/gcc/ada/butil.ads
/mnt/gnu/gcc/gcc/gcc/ada/debug.ads
/mnt/gnu/gcc/gcc/gcc/ada/fname.ads
/mnt/gnu/gcc/gcc/gcc/ada/opt.ads
/mnt/gnu/gcc/gcc/gcc/ada/osint.ads
/mnt/gnu/gcc/gcc/gcc/ada/output.ads
/mnt/gnu/gcc/gcc/gcc/ada/table.adb
/mnt/gnu/gcc/gcc/gcc/ada/tree_io.ads

raised TYPES.UNRECOVERABLE_ERROR : comperr.adb:424
make[3]: *** [ali.o] Error 1
make[3]: Leaving directory `/mnt/gnu/gcc/objdir/gcc/ada/tools'
make[2]: *** [gnattools-native] Error 2
make[2]: Leaving directory `/mnt/gnu/gcc/objdir/gnattools'

Breakpoint 1, dbxout_symbol (decl=0x7acbe5f0, local=2060183024)
    at ../../gcc/gcc/dbxout.c:2766
2766          gcc_unreachable ();
(gdb) p debug_tree (decl)
 <parm_decl 7acbe5f0 ref
    type <enumeral_type 7b028340 ali__tref_kind sizes-gimplified public visited
unsigned QI
        size <integer_cst 7af2f360 constant 8>
        unit size <integer_cst 7af2f380 constant 1>
        align 8 symtab 324 alias set -1 canonical type 7b028340 precision 8 min
<integer_cst 7b026600 0> max <integer_cst 7ad1a0c0 3>
        values <tree_list 7ad1a000
            purpose <identifier_node 7b026fc0 ali__tref_none>
            value <integer_cst 7b026600 constant 0>
            chain <tree_list 7ad1a0a0
                purpose <identifier_node 7ad1a040 ali__tref_access>
                value <integer_cst 7b026fa0 constant 1>
                chain <tree_list 7ad1a140
                    purpose <identifier_node 7ad1a0e0 ali__tref_derived>
                    value <integer_cst 7ad1a020 constant 2>
                    chain <tree_list 7ad1a1c0
                        purpose <identifier_node 7ad1a180 ali__tref_type>
                        value <integer_cst 7ad1a0c0 constant 3>>>>>
        RM size <integer_cst 7afb9860 constant 2>>
    unsigned QI file /mnt/gnu/gcc/gcc/gcc/ada/ali.adb line 230 col 10 size
<integer_cst 7af2f360 8> unit size <integer_cst 7af2f380 1>
    align 8 context <function_decl 7acb4680 ali__scan_ali__get_typeref>
    arg-type <integer_type 7af3a2d8 integer sizes-gimplified public SI
        size <integer_cst 7af2f520 constant 32>
        unit size <integer_cst 7af2f2c0 constant 4>
        align 32 symtab 3 alias set -1 canonical type 7af3a2d8 precision 32 min
<integer_cst 7af2f4c0 -2147483648> max <integer_cst 7af2f4e0 2147483647>
        pointer_to_this <pointer_type 7af3ac30>>
    value-expr <var_decl 7acc14d0 ref type <enumeral_type 7b028340
ali__tref_kind>
        addressable used unsigned ignored QI file
/mnt/gnu/gcc/gcc/gcc/ada/ali.adb line 230 col 10 size <integer_cst 7af2f360 8>
unit size <integer_cst 7af2f380 1>
        align 64 context <function_decl 7acb4680 ali__scan_ali__get_typeref>
        (mem/c/i:QI (plus:SI (reg/f:SI 3 %r3)
        (const_int 16 [0x10])) [0 ref+0 S1 A64]) chain <parm_decl 7acbe5f0
ref>> chain <var_decl 7acc1528 file_num>>
$2 = void
(gdb) bt
#0  dbxout_symbol (decl=0x7acbe5f0, local=2060183024)
    at ../../gcc/gcc/dbxout.c:2766
#1  0x0037476c in dbxout_syms (syms=0x7acbe5f0) at ../../gcc/gcc/dbxout.c:3275
#2  0x003748d8 in dbxout_block (block=0x7ac9d850, depth=0, args=0x0)
    at ../../gcc/gcc/dbxout.c:3605
#3  0x003749bc in dbxout_block (block=0x7ac9d818, depth=1, args=0x7aca9910)
    at ../../gcc/gcc/dbxout.c:3632
#4  0x00374a78 in dbxout_function_decl (decl=0x7acb4680)
    at ../../gcc/gcc/dbxout.c:1332
#5  0x0055f56c in rest_of_handle_final () at ../../gcc/gcc/final.c:4200
#6  0x0042ea5c in execute_one_pass (pass=0x40038f4c)
    at ../../gcc/gcc/passes.c:1277
#7  0x0042ed08 in execute_pass_list (pass=0x40038f4c)
    at ../../gcc/gcc/passes.c:1326
#8  0x0042ed1c in execute_pass_list (pass=0x40031a04)
    at ../../gcc/gcc/passes.c:1327
#9  0x0042ed1c in execute_pass_list (pass=0x400319d0)
    at ../../gcc/gcc/passes.c:1327
#10 0x0063b268 in tree_rest_of_compilation (fndecl=0x7acb4680)
    at ../../gcc/gcc/tree-optimize.c:420
#11 0x004a44e4 in cgraph_expand_function (node=0x7acc0380)
    at ../../gcc/gcc/cgraphunit.c:1047
#12 0x004a4768 in cgraph_output_in_order () at ../../gcc/gcc/cgraphunit.c:1195
---Type <return> to continue, or q <return> to quit---
#13 0x004a5f28 in cgraph_optimize () at ../../gcc/gcc/cgraphunit.c:1306
#14 0x0004a13c in gnat_write_global_declarations ()
    at ../../gcc/gcc/ada/gcc-interface/utils.c:4831
#15 0x0044bd04 in toplev_main (argc=1073748592, argv=0x404e4cb0)
    at ../../gcc/gcc/toplev.c:981
#16 0x0033b1f4 in main (argc=2060183024, argv=0x7acbe5f0)
    at ../../gcc/gcc/main.c:35

    case PARM_DECL:
      /* Parm decls go in their own separate chains
         and are output by dbxout_reg_parms and dbxout_parms.  */
      gcc_unreachable ();

# ./xgcc -B./ -v
Reading specs from ./specs
Target: hppa2.0w-hp-hpux11.11
Configured with: ../gcc/configure --with-gnu-as --with-as=/opt/gnu/bin/as
--enable-shared --with-local-prefix=/opt/gnu --prefix=/opt/gnu/gcc/gcc-4.4.1
--with-gmp=/opt/gnu/gcc/gcc-4.4.1 --enable-threads=posix --enable-debug=no
--disable-nls --without-cloog --without-ppl
--enable-languages=c,c++,objc,fortran,java,ada,obj-c++
Thread model: posix
gcc version 4.4.1 20090705 (prerelease) [gcc-4_4-branch revision 149265] (GCC)


-- 
           Summary: [4.4.1 Regression] Ada rts build failure
           Product: gcc
           Version: 4.4.1
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: debug
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: danglin at gcc dot gnu dot org
 GCC build triplet: hppa2.0w-hp-hpux11.11
  GCC host triplet: hppa2.0w-hp-hpux11.11
GCC target triplet: hppa2.0w-hp-hpux11.11


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]