[LLVMbugs] [Bug 10042] New: -fplugin-arg-dragonegg-enable-gcc-optzns -O3 -fdefault-integer-8 ICE

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Fri May 27 18:44:19 PDT 2011


http://llvm.org/bugs/show_bug.cgi?id=10042

           Summary: -fplugin-arg-dragonegg-enable-gcc-optzns -O3
                    -fdefault-integer-8 ICE
           Product: dragonegg
           Version: trunk
          Platform: Macintosh
        OS/Version: MacOS X
            Status: NEW
          Severity: normal
          Priority: P
         Component: New Bugs
        AssignedTo: baldrick at free.fr
        ReportedBy: howarth at nitro.med.uc.edu
                CC: llvmbugs at cs.uiuc.edu


Created an attachment (id=6663)
 --> (http://llvm.org/bugs/attachment.cgi?id=6663)
testcase reduced from source/hbuild.f from xplor-nih 2.27

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.

-- 
Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.



More information about the llvm-bugs mailing list