https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102538
--- Comment #6 from CVS Commits ---
The master branch has been updated by Jason Merrill :
https://gcc.gnu.org/g:24d51e749570dcb85bd43d3b528f58ad6141de26
commit r12-7741-g24d51e749570dcb85bd43d3b528f58ad6141de26
Author: Jason Merrill
Date:
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102538
Marek Polacek changed:
What|Removed |Added
CC||mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102538
Patrick Palka changed:
What|Removed |Added
Status|ASSIGNED|NEW
Assignee|ppalka at gcc
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102538
Patrick Palka changed:
What|Removed |Added
Status|NEW |ASSIGNED
Assignee|unassigned
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102538
--- Comment #5 from Jakub Jelinek ---
Yeah, the above mentioned reshape* change results in the r32 index of d->cur
being ignored when recursing into the anonymous union.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102538
Patrick Palka changed:
What|Removed |Added
CC||ppalka at gcc dot gnu.org
--- Comment
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102538
--- Comment #3 from Jakub Jelinek ---
Testcase for the wrong-code:
struct X { union { char r8[8]; int r32[2]; }; };
struct Y { X v[1]; };
Y x = { { { .r32 = { 5, 6 } } } };
int
main ()
{
if (x.v[0].r32[0] != 5 || x.v[0].r32[1] != 6)
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102538
Jakub Jelinek changed:
What|Removed |Added
Keywords||wrong-code
--- Comment #2 from Jakub
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102538
Jakub Jelinek changed:
What|Removed |Added
Last reconfirmed||2021-09-30
CC|