Skip to content

-fplugin-arg-dragonegg-enable-gcc-optzns -O3 -fdefault-integer-8 ICE #10414

@llvmbot

Description

@llvmbot
Bugzilla Link 10042
Resolution FIXED
Resolved on Feb 10, 2012 06:33
Version trunk
OS MacOS X
Attachments testcase reduced from source/hbuild.f from xplor-nih 2.27
Reporter LLVM Bugzilla Contributor

Extended Description

While attempting to build xplor-nih with -fplugin-arg-dragonegg-enable-gcc-optzns -O3, I discovered a new type of ICE which can be demonstrated with the attached reduced test case (provide as a tar.gz because of the required fcm files)...

[MacPro:~/debug5] howarth% de-gfortran45 -c hbuild_reduced.f -g -fplugin-arg-dragonegg-enable-gcc-optzns -fdefault-integer-8 -ffixed-line-length-120 -fno-second-underscore -O3 <array_type 0x14a5482a0
type <integer_type 0x149a3f1f8 character(kind=1) public unsigned string-flag QI
size <integer_cst 0x149a2f758 constant 8>
unit size <integer_cst 0x149a2f780 constant 1>
align 8 symtab 0 alias set 5 canonical type 0x149a3f1f8 precision 8 min <integer_cst 0x149a2f7a8 0> max <integer_cst 0x149a2f7d0 255>
pointer_to_this <pointer_type 0x149a52d20>>
string-flag SI
size <integer_cst 0x149a2f988 type <integer_type 0x149a3f0a8 bit_size_type> constant 32>
unit size <integer_cst 0x149a2f690 type <integer_type 0x149a3f000> constant 4>
align 8 symtab 0 alias set 5 canonical type 0x14a5482a0
domain <integer_type 0x14a5481f8
type <integer_type 0x149a3f498 integer(kind=4) public SI size <integer_cst 0x149a2f988 32> unit size <integer_cst 0x149a2f690 4>
align 32 symtab 0 alias set 8 canonical type 0x149a3f498 precision 32 min <integer_cst 0x149a2f910 -2147483648> max <integer_cst 0x149a2f938 2147483647>
pointer_to_this <pointer_type 0x149a4c3f0>>
SI size <integer_cst 0x149a2f988 32> unit size <integer_cst 0x149a2f690 4>
align 32 symtab 0 alias set -1 canonical type 0x14a5481f8 precision 32 min <integer_cst 0x149a2fed8 1> max <integer_cst 0x14a53d7a8 4>>
pointer_to_this <pointer_type 0x14a608c78>>
*** 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
hbuild_reduced.f: In function ‘hbuil2_’:
hbuild_reduced.f:4:0: internal compiler error: Segmentation fault: 11
Please submit a full bug report,
with preprocessed source if appropriate.
See http://gcc.gnu.org/bugs.html for instructions.

This ICE is suppressed with the addition of -fno-tree-vectorize. FYI, this issue occurs in several other files within xplor-nih.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugzillaIssues migrated from bugzilla

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions