Bug#747030: ICE on simple program with gcc-4.7 4.7.3-13 and gcc-4.8 4.8.2-21

Vincent Lefevre vincent at vinc17.net
Sun May 4 21:41:08 UTC 2014


Control: reassign -1 src:dragonegg 3.3-2
Control: retitle -1 dragonegg: ICE on simple program with gcc-4.7 4.7.3-13 and gcc-4.8 4.8.2-21

Same problem with 4.7:

ypig:~> /usr/bin/llvm-gcc -c ice.i
 <var_decl 0x7f1ad477b140 d
    type <integer_type 0x7f1ad47825e8 int public SI
        size <integer_cst 0x7f1ad4784260 constant 32>
        unit size <integer_cst 0x7f1ad4784280 constant 4>
        align 32 symtab 0 alias set 0 canonical type 0x7f1ad47825e8 precision 32 min <integer_cst 0x7f1ad4784200 -2147483648> max <integer_cst 0x7f1ad4784220 2147483647>
        pointer_to_this <pointer_type 0x7f1ad478a2a0>>
    asm_written used public static common SI file ice.i line 1 col 5 size <integer_cst 0x7f1ad4784260 32> unit size <integer_cst 0x7f1ad4784280 4>
    align 32 context <translation_unit_decl 0x7f1ad4895000 D.1707> chain <function_decl 0x7f1ad4881e00 main>>
 <pointer_type 0x7f1adbd0c0e3*** WARNING *** there are active plugins, do not report this as a bug unless you can reproduce it without enabling any plugins.
Event                            | Plugins
PLUGIN_FINISH_UNIT               | dragonegg
PLUGIN_FINISH                    | dragonegg
PLUGIN_START_UNIT                | dragonegg
PLUGIN_ALL_IPA_PASSES_END        | dragonegg
ice.i: In function ‘main’:
ice.i:4:3: internal compiler error: Segmentation fault
Please submit a full bug report,
with preprocessed source if appropriate.
See <file:///usr/share/doc/gcc-4.7/README.Bugs> for instructions.
The bug is not reproducible, so it is likely a hardware or OS problem.

The problem with 4.7 disappears if I revert the gcc-4.7 packages
to version 4.7.3-12.

-- 
Vincent Lefèvre <vincent at vinc17.net> - Web: <https://www.vinc17.net/>
100% accessible validated (X)HTML - Blog: <https://www.vinc17.net/blog/>
Work: CR INRIA - computer arithmetic / AriC project (LIP, ENS-Lyon)



More information about the Pkg-llvm-team mailing list