[LLVMbugs] [Bug 9715] New: -O3 -fplugin-arg-dragonegg-enable-gcc-optzns fails to compile test_fpu.f90

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Wed Apr 13 17:12:44 PDT 2011


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

           Summary: -O3 -fplugin-arg-dragonegg-enable-gcc-optzns fails to
                    compile test_fpu.f90
           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


The test_fpu.f90 Polyhedron 2005 benchmark fails to compile with -O3
-fplugin-arg-dragonegg-enable-gcc-optzns on x86_64-apple-darwin10 using
dragonegg trunk svn at r129460. The compilation failure appears as...

[MacPro:pb05/lin/source] howarth% /sw/lib/gcc4.5/bin/gfortran
-fplugin=/sw/lib/gcc4.5/lib/dragonegg.so -O3
-fplugin-arg-dragonegg-enable-gcc-optzns test_fpu.f90 -o test_fpu
Assertion failed: (SCALAR_FLOAT_TYPE_P(type) && "Expected a floating point
type!"), function SelectFPName, file
/sw/src/fink.build/dragonegg-gcc45-2.9-1/src/Convert.cpp, line 160.
*** 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_fpu.f90: In function ‘gauss_’:
test_fpu.f90:89:0: internal compiler error: Illegal instruction
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.

Addition of -fno-tree-vectorize eliminates the compilation error.

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