mirror of
git://gcc.gnu.org/git/gcc.git
synced 2025-02-23 15:39:46 +08:00
re PR bootstrap/30385 (IMM ERROR while building stage2-libiberty)
2007-01-05 Andrew Pinski <Andrew_Pinski@playstation.sony.com> PR tree-opt/30385 * gcc.dg/torture/inline-1.c: New test. From-SVN: r120519
This commit is contained in:
parent
05abfbf20b
commit
70973361c1
@ -1,3 +1,8 @@
|
||||
2007-01-05 Andrew Pinski <Andrew_Pinski@playstation.sony.com>
|
||||
|
||||
PR tree-opt/30385
|
||||
* gcc.dg/torture/inline-1.c: New test.
|
||||
|
||||
2007-01-05 Manuel Lopez-Ibanez <manu@gcc.gnu.org>
|
||||
|
||||
PR c/19978
|
||||
|
16
gcc/testsuite/gcc.dg/torture/inline-1.c
Normal file
16
gcc/testsuite/gcc.dg/torture/inline-1.c
Normal file
@ -0,0 +1,16 @@
|
||||
/* { dg-do compile } */
|
||||
/* { dg-options "--param ggc-min-heapsize=0 --param ggc-min-expand=0" } */
|
||||
/* This used to ICE because we forgot to update the statement after folding
|
||||
and the eh info. */
|
||||
/* PR tree-opt/30385 */
|
||||
|
||||
static inline void g(int t)
|
||||
{
|
||||
int a;
|
||||
while (a < f())
|
||||
;
|
||||
}
|
||||
void h(int t)
|
||||
{
|
||||
g(t);
|
||||
}
|
Loading…
Reference in New Issue
Block a user