[LLVMbugs] [Bug 9663] New: -fplugin-arg-dragonegg-enable-gcc-optzns incompatible with -ftree-vectorize

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Sat Apr 9 10:15:26 PDT 2011


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

           Summary: -fplugin-arg-dragonegg-enable-gcc-optzns incompatible
                    with -ftree-vectorize
           Product: dragonegg
           Version: 2.9
          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=6426)
 --> (http://llvm.org/bugs/attachment.cgi?id=6426)
test_gauss_sparse.f90 test case which fails with -O2
-fplugin-arg-dragonegg-enable-gcc-optzns -ftree-vectorize

The -fplugin-arg-dragonegg-enable-gcc-optzns option appears to be incompatible
with the -ftree-vectorize option in many cases. For example, the
test_gauss_sparse.f90 source code fails to compile as follows on
x86_64-apple-darwin10...

[MacPro:~/de_bug1] howarth% /sw/lib/gcc4.5/bin/gfortran
-fplugin=/sw/lib/gcc4.5/lib/dragonegg.so
-fplugin-arg-dragonegg-enable-gcc-optzns -O2 -ftree-vectorize -c
test_gauss_sparse.f90
 <misaligned_indirect_ref 0x141ecba10
    type <vector_type 0x141d66738
        type <real_type 0x141d1e000 real(kind=4) SF
            size <integer_cst 0x141d01988 constant 32>
            unit size <integer_cst 0x141d01690 constant 4>
            align 32 symtab 0 alias set 2 canonical type 0x141d1e000 precision
32
            pointer_to_this <pointer_type 0x141d1e1f8> reference_to_this
<reference_type 0x141e10498>>
        V4SF
        size <integer_cst 0x141d01c58 constant 128>
        unit size <integer_cst 0x141d01c80 constant 16>
        align 128 symtab 0 alias set 2 canonical type 0x141d66738 nunits 4
        pointer_to_this <pointer_type 0x141d74bd0>>

    arg 0 <ssa_name 0x141ec1318
        type <pointer_type 0x141d74bd0 type <vector_type 0x141d66738>
            public unsigned DI
            size <integer_cst 0x141d01a50 constant 64>
            unit size <integer_cst 0x141d01a78 constant 8>
            align 64 symtab 0 alias set -1 canonical type 0x141d74bd0>
        var <var_decl 0x141ed1280 vect_p.189>def_stmt vect_p.189_660 = (vector
real(kind=4) *) D.2569_659;

        version 660>
    arg 1 <integer_cst 0x141d016b8 type <integer_type 0x141d11000> constant 0>>
Not a gimple constant!
UNREACHABLE executed at
/sw/src/fink.build/dragonegg-gcc45-2.9-1/dragonegg-2.9/Convert.cpp:5904!
*** 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
test_gauss_sparse.f90: In function ‘MAIN__’:
test_gauss_sparse.f90:1:0: internal compiler error: Abort trap
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.

-- 
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