@@ -1,4 +1,4 @@
-/* { dg-options "-O1 -Winline" } */
+/* { dg-options "-Winline" } */
void quit_mined ();
void bottom_line ();
typedef enum { False, True } FLAG;
deleted file mode 100644
@@ -1,45 +0,0 @@
-/* { dg-options "-O2 -Wuninitialized" } */
-struct S { char *s1; long s2; };
-struct T { int t1; long t2; long t3; };
-extern int fn2 (void);
-extern int fn3 (struct T);
-extern struct T fn4 ();
-extern int fn5 (char **, long *, int);
-extern void fn6 (void);
-extern void fn7 (void *);
-struct S *fn10 ();
-static int p;
-static void *q;
-extern struct T r;
-
-static struct T
-fn8 (struct T x, int y)
-{
- struct S *u = fn10 ();
- int v = fn5 (&u->s1, &u->s2, 0);
- while (1)
- {
- if (p)
-fn6 ();
- if (fn3 (x))
-return fn4 ();
- if (y & 1)
-return r;
- v = fn5 (&u->s1, &u->s2, 1);
- }
-}
-
-struct T
-fn9 (struct T x, int y)
-{
- struct T t = fn8 (x, y);
- if (fn2 ())
- fn7 (q);
- return t;
-}
-
-void *
-fn1 (void)
-{
- return fn9;
-}
@@ -1,4 +1,4 @@
-/*{ dg-options "-O -findirect-inlining" }*/
+/*{ dg-options "-findirect-inlining" }*/
void bar ();
static void
@@ -1,4 +1,4 @@
-/* { dg-options "-O1 -ftree-vectorize" } */
+/* { dg-options "-ftree-vectorize" } */
int *bar (void);
void
@@ -1,5 +1,4 @@
/* { dg-do compile } */
-/* { dg-options "-O1" } */
/* Let gimple verifier check what SRA does to unions and single-field
strucutres . */
new file mode 100644
@@ -0,0 +1,46 @@
+/* { dg-do compile } */
+/* { dg-options "-O2 -Wuninitialized" } */
+struct S { char *s1; long s2; };
+struct T { int t1; long t2; long t3; };
+extern int fn2 (void);
+extern int fn3 (struct T);
+extern struct T fn4 ();
+extern int fn5 (char **, long *, int);
+extern void fn6 (void);
+extern void fn7 (void *);
+struct S *fn10 ();
+static int p;
+static void *q;
+extern struct T r;
+
+static struct T
+fn8 (struct T x, int y)
+{
+ struct S *u = fn10 ();
+ int v = fn5 (&u->s1, &u->s2, 0);
+ while (1)
+ {
+ if (p)
+fn6 ();
+ if (fn3 (x))
+return fn4 ();
+ if (y & 1)
+return r;
+ v = fn5 (&u->s1, &u->s2, 1);
+ }
+}
+
+struct T
+fn9 (struct T x, int y)
+{
+ struct T t = fn8 (x, y);
+ if (fn2 ())
+ fn7 (q);
+ return t;
+}
+
+void *
+fn1 (void)
+{
+ return fn9;
+}