[LLVMbugs] [Bug 11920] New: -fplugin-arg-dragonegg-llvm-option=-vectorize breaks aermod Polyhedron 2005 benchmark

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Fri Feb 3 17:22:22 PST 2012


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

             Bug #: 11920
           Summary: -fplugin-arg-dragonegg-llvm-option=-vectorize breaks
                    aermod Polyhedron 2005 benchmark
           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
    Classification: Unclassified


The dragonegg svn plugin, llvm svn and FSF gcc 4.6.3svn miscompiles the
Polyhedron 2005 aermod.f90 benchmark under x86_64-apple-darwin11 when the new
-fplugin-arg-dragonegg-llvm-option=-vectorize flag is used. The resulting
aermod binary fails with the run-time error...


     360.0 |   6322.40527c(99021324)   3457.00439b(99010424)  
3196.58350b(99010424)   1440.76086b(99020124)
1 *** AERMOD - VERSION 04300 ***    *** A Simple Example Problem for the AERMOD
Model with PRIME             ***        02/03/12
                                    ***                                        
                             ***        20:20:55
 **MODELOPTs:                                                                  
                                        PAGE  16
 CONC                               FLAT                                        

                                *** THE MAXIMUM   50   3-HR AVERAGE
CONCENTRATION   VALUES FOR SOURCE GROUP:  ALL      ***
                                    INCLUDING SOURCE(S):    STACK1  , STACK2  ,
STACK3  , AREA1   , AREA2   , AREA3   , VOL1    , 
          VOL2    , VOL3    , 

                                        ** CONC OF SO2      IN MICROGRAMS/M**3 
                        **

 RANK        CONC    (YYMMDDHH) AT      RECEPTOR (XR,YR) OF TYPE    RANK       
CONC    (YYMMDDHH) AT      RECEPTOR (XR,YR) OF TYPE 
 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
At line 31489 of file aermod.f90 (unit = 6, file = 'stdout')
Fortran runtime error: Expected INTEGER for item 4 in formatted transfer, got
REAL
(1X,I4,'.',1X,F13.5,A1,'(',I8.8,') AT',1X,                         '(',F10.2,', 
                           ^
This occurs with -msse4 at all optimization levels, -O0/-O1/-O2/-O3.
The problem doesn't occur without -fplugin-arg-dragonegg-llvm-option=-vectorize
 or when only -fplugin-arg-dragonegg-enable-gcc-optzns is used in its place.

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