public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug bootstrap/17746] New: ICE when building the shared Ada RTS
@ 2004-09-30 10:14 ebotcazou at gcc dot gnu dot org
  2004-09-30 13:02 ` [Bug ada/17746] [3.4 Regression] " pinskia at gcc dot gnu dot org
                   ` (21 more replies)
  0 siblings, 22 replies; 23+ messages in thread
From: ebotcazou at gcc dot gnu dot org @ 2004-09-30 10:14 UTC (permalink / raw)
  To: gcc-bugs

The bugbox says it all:

../../xgcc -B../../ -c -g -O2 -fPIC      -W -Wall -gnatpg  g-awk.adb -o g-awk.o
+===========================GNAT BUG DETECTED==============================+
| 4.0.0 20040930 (experimental) (sparc-sun-solaris2.8) GCC error:          |
| in expand_expr_addr_expr_1, at expr.c:6147                               |
| Error detected at g-awk.adb:1316:24                                      |
| Please submit a bug report; see http://gcc.gnu.org/bugs.html.            |
| 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.



raised TYPES.UNRECOVERABLE_ERROR : comperr.adb:376
gmake[7]: *** [g-awk.o] Error 1


It's an assertion failure that happens at -O0 too:

  /* We must have made progress.  */
  gcc_assert (inner != exp);

(gdb) frame 1
#1  0x00416110 in expand_expr_addr_expr_1 (exp=0xfe834400, target=0x0,
    tmode=SImode, modifier=EXPAND_NORMAL) at /home/eric/cvs/gcc/gcc/expr.c:6147
6147      gcc_assert (inner != exp);
(gdb) p debug_tree(exp)
 <view_convert_expr fe834400
    type <record_type ff0dda80 gnat__awk__patterns__string_patternXn align-ok
type_2 BLK
        size <integer_cst ff1165c0 constant invariant 512>
        unit size <integer_cst ff047740 constant invariant 64>
        align 64 symtab 0 alias set 0
        fields <field_decl ff115b80 _parent type <record_type ff0d2c00
gnat__awk__patterns__patternXn>
            decl_3 BLK file g-awk.adb line 152
            size <integer_cst ff00a500 constant invariant 32>
            unit size <integer_cst ff00a140 constant invariant 4>
            align 32 offset_align 64
            offset <integer_cst ff00a160 constant invariant 0>
            bit offset <integer_cst ff00aca0 constant invariant 0> context
<record_type ff0dda80 gnat__awk__patterns__string_patternXn> arguments
<integer_cst ff00a160 0> chain <field_decl ff115c00 _controller>>
        Ada size <integer_cst ff116680 constant invariant 480>
        pointer_to_this <pointer_type ff121280
gnat__awk__patterns__string_patternSI__A463b> reference_to_this <reference_type
ff120a00> chain <type_decl ff115d80>>

    arg 0 <indirect_ref fe8343e0
        type <record_type ff0d2c00 gnat__awk__patterns__patternXn align-ok
type_2 BLK size <integer_cst ff00a500 32> unit size <integer_cst ff00a140 4>
            align 32 symtab 0 alias set -1 fields <field_decl ff0d2f80 _tag> Ada
size <integer_cst ff00a500 32>
            pointer_to_this <pointer_type ff0de080
gnat__awk__patterns__pattern_accessXn> reference_to_this <reference_type
ff0d9d00> chain <type_decl ff0d3000>>

        arg 0 <var_decl fe830900 P931b type <pointer_type fe830880
gnat__awk__patterns__pattern_accessXn>
            readonly used unsigned ignored SI file g-awk.adb line 1180 size
<integer_cst ff00a500 32> unit size <integer_cst ff00a140 4>
            align 32 context <function_decl ff099080 gnat__awk__register>
            (reg:SI 111 [ P931b ]) chain <type_decl fe830a80
gnat__awk__register__A935b>>>>
$1 = void

-- 
           Summary: ICE when building the shared Ada RTS
           Product: gcc
           Version: 4.0.0
            Status: UNCONFIRMED
          Keywords: ice-on-valid-code
          Severity: normal
          Priority: P2
         Component: bootstrap
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: ebotcazou at gcc dot gnu dot org
                CC: gcc-bugs at gcc dot gnu dot org
 GCC build triplet: sparc-sun-solaris2.8
  GCC host triplet: sparc-sun-solaris2.8
GCC target triplet: sparc-sun-solaris2.8


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


^ permalink raw reply	[flat|nested] 23+ messages in thread

end of thread, other threads:[~2004-12-23 13:11 UTC | newest]

Thread overview: 23+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-09-30 10:14 [Bug bootstrap/17746] New: ICE when building the shared Ada RTS ebotcazou at gcc dot gnu dot org
2004-09-30 13:02 ` [Bug ada/17746] [3.4 Regression] " pinskia at gcc dot gnu dot org
2004-09-30 17:37 ` pinskia at gcc dot gnu dot org
2004-09-30 21:47 ` [Bug ada/17746] [4.0 " pinskia at gcc dot gnu dot org
2004-09-30 21:49 ` ebotcazou at gcc dot gnu dot org
2004-10-03  9:43 ` c dot christian dot joensson at comhem dot se
2004-10-09 16:03 ` ebotcazou at gcc dot gnu dot org
2004-10-11 16:17 ` ebotcazou at gcc dot gnu dot org
2004-10-14 11:55 ` [Bug middle-end/17746] " ebotcazou at gcc dot gnu dot org
2004-10-14 11:56 ` ebotcazou at gcc dot gnu dot org
2004-10-14 18:58 ` ebotcazou at gcc dot gnu dot org
2004-10-14 19:03 ` pinskia at gcc dot gnu dot org
2004-10-15  5:52 ` laurent at guerby dot net
2004-10-15  6:58 ` ebotcazou at gcc dot gnu dot org
2004-10-15 14:54 ` [Bug middle-end/17746] [4.0 Regression] ICE when building the " ebotcazou at gcc dot gnu dot org
2004-11-04 22:12 ` ebotcazou at gcc dot gnu dot org
2004-11-28 23:50 ` phython at gcc dot gnu dot org
2004-11-29  6:40 ` ebotcazou at gcc dot gnu dot org
2004-11-29 20:53 ` rth at gcc dot gnu dot org
2004-11-29 21:09 ` giovannibajo at libero dot it
2004-12-23 13:03 ` cvs-commit at gcc dot gnu dot org
2004-12-23 13:06 ` cvs-commit at gcc dot gnu dot org
2004-12-23 13:11 ` ebotcazou at gcc dot gnu dot org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).