LLVM Bugzilla is read-only and represents the historical archive of all LLVM issues filled before November 26, 2021. Use github to submit LLVM bugs

Bug 1169 - AsmPrinter assertion
Summary: AsmPrinter assertion
Status: RESOLVED FIXED
Alias: None
Product: libraries
Classification: Unclassified
Component: Backend: X86 (show other bugs)
Version: trunk
Hardware: PC Linux
: P normal
Assignee: Unassigned LLVM Bugs
URL:
Keywords:
Depends on:
Blocks: 1166
  Show dependency tree
 
Reported: 2007-02-04 15:16 PST by Anton Korobeynikov
Modified: 2010-02-22 12:48 PST (History)
1 user (show)

See Also:
Fixed By Commit(s):


Attachments
C source from gcc.c-torture (464 bytes, text/plain)
2007-02-04 15:16 PST, Anton Korobeynikov
Details
LLVM source (279 bytes, text/plain)
2007-02-04 15:16 PST, Anton Korobeynikov
Details
Another c source (86 bytes, text/plain)
2007-02-04 15:17 PST, Anton Korobeynikov
Details
.ll for attach 629 (279 bytes, text/plain)
2007-02-04 15:17 PST, Anton Korobeynikov
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Anton Korobeynikov 2007-02-04 15:16:18 PST
llvm-gcc 20010327-1.c -S

cc1: /home/asl/proj/llvm/src/lib/CodeGen/AsmPrinter.cpp:676: void
llvm::AsmPrinter::EmitConstantValueOnly(const llvm::Constant*): Assertion `0 &&
"Unsupported operator!"' failed.
20010327-1.c:9: internal compiler error: Aborted
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://llvm.org/bugs> for instructions.

.c source & .ll attached
Comment 1 Anton Korobeynikov 2007-02-04 15:16:43 PST
Created attachment 627 [details]
C source from gcc.c-torture
Comment 2 Anton Korobeynikov 2007-02-04 15:16:57 PST
Created attachment 628 [details]
LLVM source
Comment 3 Anton Korobeynikov 2007-02-04 15:17:14 PST
Created attachment 629 [details]
Another c source
Comment 4 Anton Korobeynikov 2007-02-04 15:17:38 PST
Created attachment 630 [details]
.ll for attach 629