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

           Summary: Crash "A global turned into a function?"
           Product: dragonegg
           Version: trunk
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: New Bugs
        AssignedTo: [email protected]
        ReportedBy: [email protected]
                CC: [email protected]


Created an attachment (id=7481)
 --> (http://llvm.org/bugs/attachment.cgi?id=7481)
file that causes the error

Trying to compile a file, I got the following error. I've attached the file
(after preprocessing) that causes the problem.

$ /usr/bin/gcc -fplugin=/home/gmalecha/devel/dragonegg/dragonegg.so
-fplugin-arg-dragonegg-emit-ir -S -c test.c -o /tmp/tmpa9Jdjm.ll
cc1: /home/gmalecha/devel/dragonegg/src/Backend.cpp:1121: llvm::Value*
make_decl_llvm(tree_node*): Assertion `G && G->isDeclaration() && "A global
turned into a function?"' failed.
*** 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
PLUGIN_ALL_IPA_PASSES_END        | dragonegg
longjmp.c:48:1: internal compiler error: Aborted
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://bugs.gentoo.org/> for instructions.

-- 
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.
_______________________________________________
LLVMbugs mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/llvmbugs

Reply via email to