[LLVMbugs] [Bug 9725] New: -O2 -ftree-vectorize -fplugin-arg-dragonegg-enable-gcc-optzns -ffast-math fails to compile roe.c

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Thu Apr 14 16:48:31 PDT 2011


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

           Summary: -O2 -ftree-vectorize
                    -fplugin-arg-dragonegg-enable-gcc-optzns -ffast-math
                    fails to compile roe.c
           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=6472)
 --> (http://llvm.org/bugs/attachment.cgi?id=6472)
preprocessed source file for src/rsolvers/roe.c

The src/rsolvers/roe.c source file from Athena 4.0 fails to compile with -O2
-ftree-vectorize -fplugin-arg-dragonegg-enable-gcc-optzns -ffast-math under
dragonegg trunk svn at r129512 under x86_64-apple-darwin10. The fails appears
as...

[MacPro:athena4.0/src/rsolvers] howarth% /sw/lib/gcc4.5/bin/gcc-4
-fplugin=/sw/lib/gcc4.5/lib/dragonegg.so -O2 -ftree-vectorize
-fplugin-arg-dragonegg-enable-gcc-optzns -ffast-math --save-temps -c roe.c
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
roe.c: In function ‘fluxes’:
roe.c:52:6: 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.

The failure is dependent on the -ftree-vectorize option being present.

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