PR lto/91028
PR lto/90720
* g++.dg/lto/alias-1_0.C: Add loop to make inlining happen with
-fno-use-linker-plugin
* g++.dg/lto/alias-2_0.C: Likewise.
From-SVN: r272852
+2019-07-01 Jan Hubicka <hubicka@ucw.cz>
+
+ PR lto/91028
+ PR lto/90720
+ * g++.dg/lto/alias-1_0.C: Add loop to make inlining happen with
+ -fno-use-linker-plugin
+ * g++.dg/lto/alias-2_0.C: Likewise.
+
2019-07-01 Dominique d'Humieres <dominiq@gcc.gnu.org>
* g++.dg/cpp0x/gen-attrs-67.C: Add error for darwin.
struct b **bptr = (struct b**)&aptr;
extern void init ();
extern void inline_me_late (int);
+int n=1;
int
{
init ();
aptr = 0;
- inline_me_late (argc);
+ for (int i=0; i<n; i++)
+ inline_me_late (argc);
if (!__builtin_constant_p (aptr == 0))
__builtin_abort ();
return (size_t)aptr;
struct b **bptr = (struct b**)&aptr;
extern void init ();
extern void inline_me_late (int);
+int n=1;
int
{
init ();
aptr = 0;
- inline_me_late (argc);
+ for (int i=0; i<n; i++)
+ inline_me_late (argc);
if (!__builtin_constant_p (aptr == 0))
__builtin_abort ();
return (size_t)aptr;