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

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Thu Apr 14 06:20:18 PDT 2011


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

           Summary: -O3 -fplugin-arg-dragonegg-enable-gcc-optzns fails to
                    compile aermod.f90
           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=6466)
 --> (http://llvm.org/bugs/attachment.cgi?id=6466)
reduced testcase for -O3 -fplugin-arg-dragonegg-enable-gcc-optzns failure to
compile HRLOOP subroutine in aermod.f90

The reduced testcase for bug 9717 also exposed another bug in dragonegg. When
compiling the HRLOOP subroutine in aermod.f90 with just -O3
-fplugin-arg-dragonegg-enable-gcc-optzns (without -ffast-math), the reduced
testcase fails as...


[MacPro:~/de_bug9] howarth% /sw/lib/gcc4.5/bin/gfortran
-fplugin=/sw/lib/gcc4.5/lib/dragonegg.so -O3
-fplugin-arg-dragonegg-enable-gcc-optzns -c reduced_9717.f90
 <cond_expr 0x143759f00
    type <real_type 0x14321e000 real(kind=4) SF
        size <integer_cst 0x143201988 constant 32>
        unit size <integer_cst 0x143201690 constant 4>
        align 32 symtab 0 alias set 2 canonical type 0x14321e000 precision 32
        pointer_to_this <pointer_type 0x14321e1f8>>

    arg 0 <ssa_name 0x143718aa8
        type <boolean_type 0x143692bd0 public unsigned QI
            size <integer_cst 0x143201758 constant 8>
            unit size <integer_cst 0x143201780 constant 1>
            align 8 symtab 0 alias set -1 canonical type 0x143692bd0 precision
1 min <integer_cst 0x143705410 0> max <integer_cst 0x143705460 1>>
        var <var_decl 0x1437d4be0 _ifc_.641>def_stmt _ifc_.641_538 = M.2_54 >
M.2_636;

        version 538>
    arg 1 <ssa_name 0x14370d268 type <real_type 0x14321e000 real(kind=4)>
        var <var_decl 0x1436796e0 M.2>def_stmt M.2_54 = MEM[base: &o3values,
index: D.5874_2789, offset: 0x0fffffffffffffffc];

        version 54>
    arg 2 <ssa_name 0x14371acb8 type <real_type 0x14321e000 real(kind=4)>
        var <var_decl 0x1436796e0 M.2>def_stmt M.2_636 = PHI <M.2_2(27), 
-Inf(26)>

        version 636>>
Not a gimple constant!
UNREACHABLE executed at
/sw/src/fink.build/dragonegg-gcc45-2.9-1/include/dragonegg/Internals.h:116!
*** 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
reduced_9717.f90: In function 'hrloop_':
reduced_9717.f90:1431: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.

This is observed for dragonegg trunk svn at r129460 on x86_64-apple-darwin10.

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