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 1183 - CBE generated code often provokes GCC ICE's
Summary: CBE generated code often provokes GCC ICE's
Status: RESOLVED FIXED
Alias: None
Product: libraries
Classification: Unclassified
Component: Backend: C (show other bugs)
Version: trunk
Hardware: All All
: P normal
Assignee: Chris Lattner
URL:
Keywords: compile-fail
Depends on:
Blocks:
 
Reported: 2007-02-06 12:51 PST by Chris Lattner
Modified: 2010-02-22 12:46 PST (History)
1 user (show)

See Also:
Fixed By Commit(s):


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Chris Lattner 2007-02-06 12:51:29 PST
We're generating code like this now:

  ltmp_2731_1 = ((unsigned char * (*) (unsigned char *, unsigned char , unsigned int ))(void*)memset)
(ltmp_2730_1, ((unsigned char )0), ltmp_34_2);

Which is causing tons of GCC ice's. :(

-Chris
Comment 1 Chris Lattner 2007-02-06 13:07:32 PST
Fixed, patch here:
http://lists.cs.uiuc.edu/pipermail/llvm-commits/Week-of-Mon-20070205/044039.html

testcase: most of llvm-test.

-Chris