/home/marcus/projects/gcc/BIN/bin/gcc -c joystick_linux.i -O2 -ftree-vectorize -msse2 -m32 joystick_linux.i: In function 'joy_polldev': joystick_linux.i:21877: internal compiler error: tree check: expected ssa_name, have struct_field_tag in verify_ssa, at tree-ssa.c:735 Please submit a full bug report, with preprocessed source if appropriate. See <URL:http://gcc.gnu.org/bugs.html> for instructions.
Created attachment 10949 [details] joystick_linux.i gcc -m32 -O2 -ftree-vectorize -msse2
Reducing.
This is most likely a dup of bug 26197.
Reduced testcase: struct fd_set { char fds_bits[1024]; }; void joy_polldev(char *a) { struct fd_set readfds; unsigned int __i; for (__i = 0;__i < 1024;++__i) readfds.fds_bits[__i] = 0; f(&readfds, *a); } --- Compile with -O2 -ftree-vectorize -msse2 --param max-aliased-vops=0 to see the problem. the --param max-aliased-vops=0 is required, otherwise we don't get the aliasing groupings.
Yes this is the same bug as PR 26197. Closing as a dup. *** This bug has been marked as a duplicate of 26197 ***