While going to look into fixing PR 35314, I found this bug for PowerPC darwin. A simple testcase: int foo() { __complex__ float i = 0; }
Will ICE in memory_address when we don't compile with PIC turned on. t.c: In function 'foo': t.c:3: internal compiler error: in memory_address, at explow.c:492 Please submit a full bug report, with preprocessed source if appropriate. See <http://gcc.gnu.org/bugs.html> for instructions. -- Summary: [4.4 Regression] ICE with complex types and -static on PPC darwin Product: gcc Version: 4.4.0 Status: UNCONFIRMED Keywords: ice-on-valid-code Severity: normal Priority: P3 Component: target AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: pinskia at gcc dot gnu dot org GCC target triplet: powerpc-darwin http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35760