* gcc.dg/pr45101.c: New test.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@162623
138bc75d-0d04-0410-961f-
82ee72b054a4
+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
--- /dev/null
+/* 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 ();
+}