diff options
author | Erick Ochoa <erick.ochoa@theobroma-systems.com> | 2020-04-29 14:36:54 +0200 |
---|---|---|
committer | Erick Ochoa <erick.ochoa@theobroma-systems.com> | 2020-04-29 14:36:54 +0200 |
commit | dcb323b7255f914574f6361982d58e8398b9b14a (patch) | |
tree | 252173c061edd39f5f07d57f13432ed566a74a38 | |
parent | d63fa6bd42101e26240f8a400903f525ffd29e74 (diff) |
Adds test
-rw-r--r-- | gcc/testsuite/gcc.dg/ipa/ipa-structreorg-59-csmith-8.c | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/gcc/testsuite/gcc.dg/ipa/ipa-structreorg-59-csmith-8.c b/gcc/testsuite/gcc.dg/ipa/ipa-structreorg-59-csmith-8.c new file mode 100644 index 00000000000..050e3177fb1 --- /dev/null +++ b/gcc/testsuite/gcc.dg/ipa/ipa-structreorg-59-csmith-8.c @@ -0,0 +1,10 @@ +/* { dg-do run } */ +/* { dg-options "-w -flto -flto-partition=none -fipa-dead-field-eliminate" } */ + +struct a { + signed b +}; +struct { + struct a b +} volatile c; +main() { c.b.b; } |