mirror of
git://gcc.gnu.org/git/gcc.git
synced 2025-04-10 03:20:27 +08:00
Fix ipa-clone-3.c on some targets
2020-01-10 Martin Jambor <mjambor@suse.cz> * gcc.dg/ipa/ipa-clone-3.c: Replace struct initializer with piecemeal initialization. From-SVN: r280105
This commit is contained in:
parent
74d121b3ae
commit
bd6e6e0a3c
gcc/testsuite
@ -1,3 +1,8 @@
|
||||
2020-01-10 Martin Jambor <mjambor@suse.cz>
|
||||
|
||||
* gcc.dg/ipa/ipa-clone-3.c: Replace struct initializer with
|
||||
piecemeal initialization.
|
||||
|
||||
2020-01-10 Richard Sandiford <richard.sandiford@arm.com>
|
||||
|
||||
* gcc.target/aarch64/sve/index_1_run.c: Require aarch64_sve256_hw
|
||||
|
@ -34,8 +34,10 @@ int recur_fn (struct V * __restrict v)
|
||||
|
||||
int main ()
|
||||
{
|
||||
struct V v = {1, 3};
|
||||
struct V v;
|
||||
|
||||
v.f0 = 1;
|
||||
v.f1 = 3;
|
||||
return recur_fn (&v);
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user