[LLVMbugs] [Bug 10015] New: -O3 -fplugin-arg-dragonegg-enable-gcc-optzns ICEs compiler for rnflow.f90

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Wed May 25 18:24:54 PDT 2011


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

           Summary: -O3 -fplugin-arg-dragonegg-enable-gcc-optzns ICEs
                    compiler for rnflow.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 rnflow.f90 benchmark still ICEs the FSF gcc 4.5.3 compiler with dragon egg
svn r132085 when compiled with -O3 -fplugin-arg-dragonegg-enable-gcc-optzns...


[MacPro:pb05/lin/source] howarth% gdb
/sw/lib/gcc4.5/libexec/gcc/x86_64-apple-darwin11.0.0/4.5.3/f951
...
(gdb) r rnflow.f90 -fPIC -quiet -dumpbase rnflow.f90
-mmacosx-version-min=10.7.0 -msse3 -mtune=generic -auxbase rnflow -O3 -version
-fplugin=/sw/lib/gcc4.5/lib/dragonegg.so
-fplugin-arg-dragonegg-enable-gcc-optzns -fintrinsic-modules-path
/sw/lib/gcc4.5/lib/gcc/x86_64-apple-darwin11.0.0/4.5.3/finclude -o
/var/folders/0k/n67sywk41kz5jjys5nv6mnpg++++fp/T//cc9dCGYo.s
Starting program:
/sw/lib/gcc4.5/libexec/gcc/x86_64-apple-darwin11.0.0/4.5.3/f951 rnflow.f90
-fPIC -quiet -dumpbase rnflow.f90 -mmacosx-version-min=10.7.0 -msse3
-mtune=generic -auxbase rnflow -O3 -version
-fplugin=/sw/lib/gcc4.5/lib/dragonegg.so
-fplugin-arg-dragonegg-enable-gcc-optzns -fintrinsic-modules-path
/sw/lib/gcc4.5/lib/gcc/x86_64-apple-darwin11.0.0/4.5.3/finclude -o
/var/folders/0k/n67sywk41kz5jjys5nv6mnpg++++fp/T//cc9dCGYo.s
...

Versions of loaded plugins:
 dragonegg: exported
vect_var_.8353_238 = vect_var_.8351_237 v>> 64;


Program received signal EXC_BAD_ACCESS, Could not access memory.
Reason: KERN_INVALID_ADDRESS at address: 0x0000000000000010
0x0000000142d888df in llvm::BasicBlock::getContext ()
(gdb) bt
#0  0x0000000142d888df in llvm::BasicBlock::getContext ()
#1  0x0000000142de4899 in llvm::BranchInst::BranchInst ()
#2  0x0000000142836512 in llvm::IRBuilder<true, llvm::TargetFolder,
llvm::IRBuilderDefaultInserter<true> >::CreateBr ()
#3  0x00007fff5fbfe020 in ?? ()
#4  0x0000000142833d9c in TreeToLLVM::EmitAssignRHS ()
#5  0x0000000142819417 in TreeToLLVM::RenderGIMPLE_ASSIGN ()
#6  0x00000001428154a2 in TreeToLLVM::EmitBasicBlock ()
#7  0x000000014281ad8b in TreeToLLVM::EmitFunction ()
#8  0x0000000142807e50 in emit_current_function ()
#9  0x00000001428039be in rtl_emit_function ()
#10 0x0000000100565382 in execute_one_pass (pass=0x142fbb088) at
../../gcc-4.5.3/gcc/passes.c:1568
#11 0x000000010056561d in execute_pass_list (pass=0x142fbb088) at
../../gcc-4.5.3/gcc/passes.c:1623
#12 0x00000001006595c1 in tree_rest_of_compilation (fndecl=0x143525f00) at
../../gcc-4.5.3/gcc/tree-optimize.c:413
#13 0x00000001007b4a83 in cgraph_expand_function (node=0x141f35ea0) at
../../gcc-4.5.3/gcc/cgraphunit.c:1555
#14 0x00000001007b6cf4 in cgraph_optimize () at
../../gcc-4.5.3/gcc/cgraphunit.c:1634
#15 0x00000001007b71fd in cgraph_finalize_compilation_unit () at
../../gcc-4.5.3/gcc/cgraphunit.c:1103
#16 0x0000000100505db6 in write_global_declarations () at
../../gcc-4.5.3/gcc/langhooks.c:309
#17 0x000000010061224e in toplev_main (argc=19, argv=0x7fff5fbfee78) at
../../gcc-4.5.3/gcc/toplev.c:1065
#18 0x0000000100001594 in start ()
(gdb) 

This is for x86_64 darwin.

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