[Bug c++/80534] [7/8 Regression] 7.1 RC - internal compiler error: in finish_member_declaration, at cp/semantics.c:2963

2017-04-27 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80534 Jakub Jelinek changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug c++/80534] [7/8 Regression] 7.1 RC - internal compiler error: in finish_member_declaration, at cp/semantics.c:2963

2017-04-27 Thread jakub at gcc dot gnu.org
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

[Bug c++/80534] [7/8 Regression] 7.1 RC - internal compiler error: in finish_member_declaration, at cp/semantics.c:2963

2017-04-27 Thread jakub at gcc dot gnu.org
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

[Bug c++/80534] [7/8 Regression] 7.1 RC - internal compiler error: in finish_member_declaration, at cp/semantics.c:2963

2017-04-27 Thread freddie_chopin at op dot pl
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

[Bug c++/80534] [7/8 Regression] 7.1 RC - internal compiler error: in finish_member_declaration, at cp/semantics.c:2963

2017-04-27 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80534 Jakub Jelinek changed: What|Removed |Added Status|NEW |ASSIGNED Assignee|unassigned

[Bug c++/80534] [7/8 Regression] 7.1 RC - internal compiler error: in finish_member_declaration, at cp/semantics.c:2963

2017-04-27 Thread jakub at gcc dot gnu.org
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

[Bug c++/80534] [7/8 Regression] 7.1 RC - internal compiler error: in finish_member_declaration, at cp/semantics.c:2963

2017-04-27 Thread trippels at gcc dot gnu.org
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]; }; };

[Bug c++/80534] [7/8 Regression] 7.1 RC - internal compiler error: in finish_member_declaration, at cp/semantics.c:2963

2017-04-27 Thread jakub at gcc dot gnu.org
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

[Bug c++/80534] [7/8 Regression] 7.1 RC - internal compiler error: in finish_member_declaration, at cp/semantics.c:2963

2017-04-27 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80534 Richard Biener changed: What|Removed |Added Priority|P3 |P2 CC|

[Bug c++/80534] [7/8 Regression] 7.1 RC - internal compiler error: in finish_member_declaration, at cp/semantics.c:2963

2017-04-26 Thread trippels at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80534 Markus Trippelsdorf changed: What|Removed |Added CC||jakub at gcc dot gnu.org ---

[Bug c++/80534] [7/8 Regression] 7.1 RC - internal compiler error: in finish_member_declaration, at cp/semantics.c:2963

2017-04-26 Thread trippels 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 ---

[Bug c++/80534] [7/8 Regression] 7.1 RC - internal compiler error: in finish_member_declaration, at cp/semantics.c:2963

2017-04-26 Thread trippels 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|

[Bug c++/80534] [7/8 Regression] 7.1 RC - internal compiler error: in finish_member_declaration, at cp/semantics.c:2963

2017-04-26 Thread freddie_chopin at op dot pl
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

[Bug c++/80534] [7/8 Regression] 7.1 RC - internal compiler error: in finish_member_declaration, at cp/semantics.c:2963

2017-04-26 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80534 Andrew Pinski changed: What|Removed |Added Keywords||ice-on-valid-code Target