Bug 26518 - [4.2 Regression] ICE tree check: expected ssa_name, have struct_field_tag in verify_ssa, at tree-ssa.c:735
Summary: [4.2 Regression] ICE tree check: expected ssa_name, have struct_field_tag in ...
Status: RESOLVED DUPLICATE of bug 26197
Alias: None
Product: gcc
Classification: Unclassified
Component: tree-optimization (show other bugs)
Version: 4.2.0
: P3 normal
Target Milestone: 4.2.0
Assignee: Not yet assigned to anyone
URL:
Keywords: ice-on-valid-code
Depends on: 26197
Blocks:
  Show dependency treegraph
 
Reported: 2006-03-01 19:25 UTC by marcus
Modified: 2006-03-03 18:00 UTC (History)
9 users (show)

See Also:
Host:
Target: i686-*-*
Build:
Known to work:
Known to fail:
Last reconfirmed: 2006-03-02 04:12:00


Attachments
joystick_linux.i (93.87 KB, text/plain)
2006-03-01 19:26 UTC, marcus
Details

Note You need to log in before you can comment on or make changes to this bug.
Description marcus 2006-03-01 19:25:24 UTC
/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.
Comment 1 marcus 2006-03-01 19:26:47 UTC
Created attachment 10949 [details]
joystick_linux.i

gcc -m32 -O2 -ftree-vectorize -msse2
Comment 2 Andrew Pinski 2006-03-01 19:31:47 UTC
Reducing.
Comment 3 Andrew Pinski 2006-03-01 19:33:02 UTC
This is most likely a dup of bug 26197.
Comment 4 Andrew Pinski 2006-03-02 04:12:00 UTC
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.
Comment 5 Andrew Pinski 2006-03-03 18:00:26 UTC
Yes this is the same bug as PR 26197.  Closing as a dup.

*** This bug has been marked as a duplicate of 26197 ***