* g++.dg/lto/alias-1_0.C: Use -O3.
* g++.dg/lto/alias-2_0.C: Use -O3.
* g++.dg/lto/alias-3_0.C: Add loop to enable inlining with
-fno-use-linker-plugin.
* g++.dg/lto/alias-3_1.C: Remove dg-lto-do and dg-lto-options.
From-SVN: r273520
+2019-07-16 Jan Hubicka <jh@suse.cz>
+
+ * g++.dg/lto/alias-1_0.C: Use -O3.
+ * g++.dg/lto/alias-2_0.C: Use -O3.
+ * g++.dg/lto/alias-3_0.C: Add loop to enable inlining with
+ -fno-use-linker-plugin.
+ * g++.dg/lto/alias-3_1.C: Remove dg-lto-do and dg-lto-options.
+
2019-07-16 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
* gcc.dg/tree-ssa/pr84512.c: Don't xfail scan-tree-dump on
/* { dg-lto-do run } */
-/* { dg-lto-options { { -O2 -flto } } } */
+/* { dg-lto-options { { -O3 -flto } } } */
/* With LTO we consider all pointers to incomplete types to be possibly
aliasing. This makes *bptr to alias with aptr.
/* { dg-lto-do run } */
-/* { dg-lto-options { { -O2 -flto } } } */
+/* { dg-lto-options { { -O3 -flto } } } */
/* With LTO we consider all pointers to incomplete types to be possibly
aliasing. This makes *bptr to alias with aptr.
__attribute__ ((used)) int i,j;
extern "C" void inline_me_late (void);
+int n=1;
int
main (void)
{
int jj=j;
bptr2->a[jj].bar = 0;
- inline_me_late ();
+ for (int i=0; i<n; i++)
+ inline_me_late ();
if (!__builtin_constant_p (bptr2->a[jj].bar == 0))
__builtin_abort ();
return 0;
-/* { dg-lto-do run } */
-/* { dg-lto-options { { -O3 -flto -fno-early-inlining } } } */
struct a
{
int foo,bar;