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:
Maxim Kuvyrkov 2010-07-28 10:32:10 +00:00 committed by Maxim Kuvyrkov
parent 4bcaf35411
commit bb801fa63c
2 changed files with 20 additions and 0 deletions

View File

@ -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

View 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 ();
}