2024-07-28 John David Anglin <danglin@gcc.gnu.org>
gcc/testsuite/ChangeLog:
PR testsuite/92550
* gcc.dg/ipa/ipa-sra-8.c: Change get_a argument type to SSS.
* gcc.dg/ipa/ipa-sra-9.c: Likewise.
static unsigned int __attribute__ ((noinline))
-get_a (SS s)
+get_a (SSS s)
{
return s.a;
};
unsigned a, b, c;
} SS;
+typedef SS __attribute__((aligned(1))) SSS;
+
typedef struct U {
SS s[2];
} UU;
typedef UU __attribute__((aligned(1))) UUU;
static unsigned int __attribute__ ((noinline))
-get_a (SS s)
+get_a (SSS s)
{
return s.a;
};