summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.dg/ipa/ipa-structreorg-52-creduce-1.c
blob: 711952d21e962b25fa600f6cb1b58522e2beee47 (plain)
1
2
3
4
5
6
7
8
9
10
11
/* { dg-do compile } */
/* { dg-options  "-w -flto -flto-partition=none -fipa-dead-field-eliminate" } */

#include <stdint.h>
union a {
	  int16_t b
} c() {
	  union a d;
	    -d.b;
}
main() {}