https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89209
Martin Jambor changed:
What|Removed |Added
Status|ASSIGNED|RESOLVED
Resolution|---
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89209
--- Comment #7 from Martin Jambor ---
Author: jamborm
Date: Mon Feb 18 08:59:04 2019
New Revision: 268980
URL: https://gcc.gnu.org/viewcvs?rev=268980=gcc=rev
Log:
[PR 89209] Avoid segfault in a peculiar corner case in SRA
2019-02-18 Martin
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89209
--- Comment #6 from Martin Jambor ---
I have proposed a fix on the mailing list:
https://gcc.gnu.org/ml/gcc-patches/2019-02/msg01315.html
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89209
--- Comment #5 from Martin Jambor ---
HWell, no. We create a special default-def SSA to insert into the IL
the information that an uninitialized value is being loaded but now
the SSA has aggregate type, which should not happen, I guess (even
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89209
--- Comment #4 from Martin Jambor ---
For the record, the following is the most likely fix, but let me think
about it a bit more tomorrow before I submit it.
diff --git a/gcc/tree-sra.c b/gcc/tree-sra.c
index e4851daaa3f..7efd0a62ebb 100644
---
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89209
Martin Jambor changed:
What|Removed |Added
Status|NEW |ASSIGNED
Assignee|unassigned
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89209
--- Comment #2 from Jakub Jelinek ---
The change before esra due to the above revision is:
- _1 = BIT_FIELD_REF ;
+ _1 = VIEW_CONVERT_EXPR(t.s);
where t.s is struct S with two short fields and esra ICEs on it.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89209
Jakub Jelinek changed:
What|Removed |Added
Priority|P3 |P1
Target Milestone|---
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89209
Jakub Jelinek changed:
What|Removed |Added
Status|UNCONFIRMED |NEW
Last reconfirmed|