[LLVMbugs] [Bug 9717] New: -ffast-math -O3 -fplugin-arg-dragonegg-enable-gcc-optzns fails to compile aermod.f90

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Wed Apr 13 18:43:18 PDT 2011


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

           Summary: -ffast-math -O3
                    -fplugin-arg-dragonegg-enable-gcc-optzns fails to
                    compile aermod.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 aermod.f90 Polyhedron 2005 benchmark fails to compile with -ffast-math -O3
-fplugin-arg-dragonegg-enable-gcc-optzns  using dragonegg trunk svn at r129460
on x86_64-apple-darwin10. The compilation failure is...

[MacPro:pb05/lin/source] howarth% /sw/lib/gcc4.5/bin/gfortran
-fplugin=/sw/lib/gcc4.5/lib/dragonegg.so -ffast-math -O3
-fplugin-arg-dragonegg-enable-gcc-optzns aermod.f90 -o aermod
Assertion failed: ((getOperand(0)->getType()->isIntOrIntVectorTy() ||
getOperand(0)->getType()->isPointerTy()) && "Invalid operand types for ICmp
instruction"), function ICmpInst, file
/sw/src/fink.build/llvm-clang-2.9-1/llvm-2.9/include/llvm/Instructions.h, line
648.
*** 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
aermod.f90: In function ‘hrloop_’:
aermod.f90:2287: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.

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