[LLVMbugs] [Bug 9716] New: -ffast-math -O2 -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:27:49 PDT 2011


           Summary: -ffast-math -O2
                    -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 -O2
-fplugin-arg-dragonegg-enable-gcc-optzns using dragonegg trunk svn at r129460 
on x86_64-apple-darwin10. The compilation fails as...

[MacPro:pb05/lin/source] howarth% /sw/lib/gcc4.5/bin/gfortran
-fplugin=/sw/lib/gcc4.5/lib/dragonegg.so -ffast-math -O2
-fplugin-arg-dragonegg-enable-gcc-optzns aermod.f90 -o aermod
aermod.f90: In function ‘refl_ht_’:
aermod.f90:7219:0: error: unsupported target builtin ‘__builtin_ia32_rsqrtf’
*** 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:7123: confused by earlier errors, bailing out

This error is also triggered by just  -funsafe-math-optimizations
-ffinite-math-only -O2 -fplugin-arg-dragonegg-enable-gcc-optzns.

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