https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80534
Jakub Jelinek changed:
What|Removed |Added
Status|ASSIGNED|RESOLVED
Resolution|---
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80534
--- Comment #11 from Jakub Jelinek ---
Author: jakub
Date: Thu Apr 27 13:47:54 2017
New Revision: 247337
URL: https://gcc.gnu.org/viewcvs?rev=247337=gcc=rev
Log:
PR c++/80534
* tree.c (type_cache_hasher::equal): Only compare
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80534
--- Comment #10 from Jakub Jelinek ---
Author: jakub
Date: Thu Apr 27 13:42:37 2017
New Revision: 247334
URL: https://gcc.gnu.org/viewcvs?rev=247334=gcc=rev
Log:
PR c++/80534
* tree.c (type_cache_hasher::equal): Only compare
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80534
--- Comment #9 from Freddie Chopin ---
Patch above (applied to 7.0.1-RC-20170425) fixes the original issue which I
reported - the project builds fine and works correctly. The warnings
("dereferencing type-punned pointer will break
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80534
Jakub Jelinek changed:
What|Removed |Added
Status|NEW |ASSIGNED
Assignee|unassigned
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80534
--- Comment #7 from Jakub Jelinek ---
Ah, on the second case I see what is going on.
The problem is that TYPE_TYPELESS_STORAGE is changed on an ARRAY_TYPE without
build_array_type* knowing about that, and that changes how the type is
ARRAY_TYPE
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80534
--- Comment #6 from Markus Trippelsdorf ---
Here is a different reduction leading to a different ICE:
trippels@gcc75 ~ % cat lowLevelInitialization.ii
template struct aligned_storage {
struct type {
char __data[0];
};
};
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80534
--- Comment #5 from Jakub Jelinek ---
I'm afraid I have absolutely no idea what is going on and why my patch would
change anything on that.
What I see is that instantiate_class_template self-recurses:
#0 instantiate_class_template_1 (type=) at
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80534
Richard Biener changed:
What|Removed |Added
Priority|P3 |P2
CC|
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80534
Markus Trippelsdorf changed:
What|Removed |Added
CC||jakub at gcc dot gnu.org
---
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80534
Markus Trippelsdorf changed:
What|Removed |Added
CC||jason at gcc dot gnu.org
---
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80534
Markus Trippelsdorf changed:
What|Removed |Added
Status|UNCONFIRMED |NEW
Last reconfirmed|
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80534
--- Comment #1 from Freddie Chopin ---
Created attachment 41276
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=41276=edit
preprocessed source which causes the problem - minimal version
OK, I've managed to narrow it down to a much smaller
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80534
Andrew Pinski changed:
What|Removed |Added
Keywords||ice-on-valid-code
Target
14 matches
Mail list logo