re PR rtl-optimization/45101 (ICE: in insert_expr_in_table, at gcse.c:1213 with -gcse-las)
PR rtl-optimization/45101 * gcc.dg/pr45101.c: New test. From-SVN: r162623
This commit is contained in:
parent
4bcaf35411
commit
bb801fa63c
@ -1,3 +1,8 @@
|
||||
2010-07-28 Maxim Kuvyrkov <maxim@codesourcery.com>
|
||||
|
||||
PR rtl-optimization/45101
|
||||
* gcc.dg/pr45101.c: New test.
|
||||
|
||||
2010-07-28 Tobias Burnus <burnus@net-b.de>
|
||||
|
||||
PR fortran/45077
|
||||
|
15
gcc/testsuite/gcc.dg/pr45101.c
Normal file
15
gcc/testsuite/gcc.dg/pr45101.c
Normal file
@ -0,0 +1,15 @@
|
||||
/* PR rtl-optimization/45101 */
|
||||
/* { dg-do compile } */
|
||||
/* { dg-options "-O2 -fgcse -fgcse-las" } */
|
||||
|
||||
struct
|
||||
{
|
||||
int i;
|
||||
} *s;
|
||||
|
||||
extern void bar (void);
|
||||
|
||||
void foo ()
|
||||
{
|
||||
!s ? s->i++ : bar ();
|
||||
}
|
Loading…
Reference in New Issue
Block a user