re PR target/20621 (ICE: in change_address_1, at emit-rtl.c:1886)
PR target/20621 * gcc.c-torture/execute/pr20621-1.c: New test. From-SVN: r102601
This commit is contained in:
parent
d4d145acd4
commit
3601aa8ab0
@ -1,3 +1,8 @@
|
||||
2005-07-31 Richard Sandiford <richard@codesourcery.com>
|
||||
|
||||
PR target/20621
|
||||
* gcc.c-torture/execute/pr20621-1.c: New test.
|
||||
|
||||
2005-07-30 Thomas Koenig <Thomas.Koenig@online.de>
|
||||
|
||||
* gfortran.dg/comma_format_extension_4.f: Adjust length
|
||||
|
6
gcc/testsuite/gcc.c-torture/execute/pr20621-1.c
Normal file
6
gcc/testsuite/gcc.c-torture/execute/pr20621-1.c
Normal file
@ -0,0 +1,6 @@
|
||||
/* When generating o32 MIPS PIC, main's $gp save slot was out of range
|
||||
of a single load instruction. */
|
||||
struct big { int i[sizeof (int) >= 4 && sizeof (void *) >= 4 ? 0x4000 : 4]; };
|
||||
struct big gb;
|
||||
int foo (struct big b, int x) { return b.i[x]; }
|
||||
int main (void) { return foo (gb, 0) + foo (gb, 1); }
|
Loading…
Reference in New Issue
Block a user