First Last Prev Next    No search results available
Details
: C backend fails on constant cast expr to ptr-to-anonymous...
Bug#: 62
: libraries
: Interprocedural Analyses
Status: RESOLVED
Resolution: FIXED
: PC
: Linux
: 1.0
: P2
: normal
: 1.1

:
:
:
:
  Show dependency tree - Show dependency graph
People
Reporter: Brian R. Gaeke <gaeke+bugs@uiuc.edu>
Assigned To: Chris Lattner <sabre@nondot.org>

Attachments


Note

You need to log in before you can comment on or make changes to this bug.

Related actions


Description:   Opened: 2003-10-28 16:57
llvm/test/Regression/CBackend/2003-10-28-CastToPtrToStruct.ll

This tries to getelementptr on a constant cast expression that casts to
pointer-to-unnamed-struct type. The resulting C Writer code apparently tries to do 
({ int field0; int field1; }) as a cast, which is not going to work.
------- Comment #1 From Chris Lattner 2003-10-28 17:00:52 -------
It looks like this bug is the fault of the "findusedtypes" pass.

First Last Prev Next    No search results available