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 1173 - Assertion failed in EmitLV()
Summary: Assertion failed in EmitLV()
Status: RESOLVED FIXED
Alias: None
Product: tools
Classification: Unclassified
Component: llvm-gcc (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 16:41 PST by Anton Korobeynikov
Modified: 2010-02-22 12:46 PST (History)
1 user (show)

See Also:
Fixed By Commit(s):


Attachments
First failed .c (171 bytes, text/plain)
2007-02-04 16:41 PST, Anton Korobeynikov
Details
Another testcase (172 bytes, text/plain)
2007-02-04 16:42 PST, Anton Korobeynikov
Details
Patch for first testcase (1.10 KB, patch)
2007-02-04 19:02 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 16:41:32 PST
I think attached two sources are triggering the same bug:

<tree dump removed>
20050516-1.c:12: internal compiler error: in EmitLV, at llvm-convert.cpp:5037
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://llvm.org/bugs> for instructions.
Comment 1 Anton Korobeynikov 2007-02-04 16:41:55 PST
Created attachment 637 [details]
First failed .c
Comment 2 Anton Korobeynikov 2007-02-04 16:42:19 PST
Created attachment 638 [details]
Another testcase
Comment 3 Anton Korobeynikov 2007-02-04 19:02:07 PST
Created attachment 642 [details]
Patch for first testcase

I was wrong. Testcases are different. Please apply attached patch. I'll open
new bug for second testcase.
Comment 4 Chris Lattner 2007-02-04 20:19:56 PST
Anton fixed this, patch here:
http://lists.cs.uiuc.edu/pipermail/llvm-commits/Week-of-Mon-20070129/043904.html

Testcase here: test/CFrontend/2007-02-04-AddrLValue.c

-Chris