[Bug c/72816] [5 Regression] ICE on x86_64-linux-gnu (tree check: expected tree that contains ‘decl with RTL’ structure, have ‘field_decl’ in set_decl_rtl, at emit-rtl.c:1282)

2017-05-30 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=72816

Jakub Jelinek  changed:

   What|Removed |Added

 Status|ASSIGNED|RESOLVED
 Resolution|--- |FIXED

--- Comment #9 from Jakub Jelinek  ---
Fixed.

[Bug c/72816] [5 Regression] ICE on x86_64-linux-gnu (tree check: expected tree that contains ‘decl with RTL’ structure, have ‘field_decl’ in set_decl_rtl, at emit-rtl.c:1282)

2017-05-30 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=72816

--- Comment #8 from Jakub Jelinek  ---
Author: jakub
Date: Tue May 30 07:09:01 2017
New Revision: 248594

URL: https://gcc.gnu.org/viewcvs?rev=248594=gcc=rev
Log:
Backported from mainline
2016-08-11  Jakub Jelinek  

PR c/72816
* c-decl.c (grokdeclarator): When adding TYPE_DOMAIN for flexible
array member through typedef, for orig_qual_indirect == 0 clear
orig_qual_type.

2016-08-11  Jakub Jelinek  

PR c/72816
* gcc.dg/pr72816.c: Remove dg-error.

2016-08-07  Jakub Jelinek  

PR c/72816
* gcc.dg/pr72816.c: New test.

Added:
branches/gcc-5-branch/gcc/testsuite/gcc.dg/pr72816.c
Modified:
branches/gcc-5-branch/gcc/c/ChangeLog
branches/gcc-5-branch/gcc/c/c-decl.c
branches/gcc-5-branch/gcc/testsuite/ChangeLog

[Bug c/72816] [5 Regression] ICE on x86_64-linux-gnu (tree check: expected tree that contains ‘decl with RTL’ structure, have ‘field_decl’ in set_decl_rtl, at emit-rtl.c:1282)

2016-12-01 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=72816

Richard Biener  changed:

   What|Removed |Added

   Priority|P3  |P2

[Bug c/72816] [5 Regression] ICE on x86_64-linux-gnu (tree check: expected tree that contains ‘decl with RTL’ structure, have ‘field_decl’ in set_decl_rtl, at emit-rtl.c:1282)

2016-08-11 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=72816

Jakub Jelinek  changed:

   What|Removed |Added

   Keywords|ice-on-invalid-code |ice-on-valid-code
Summary|[5/6 Regression] ICE on |[5 Regression] ICE on
   |x86_64-linux-gnu (tree  |x86_64-linux-gnu (tree
   |check: expected tree that   |check: expected tree that
   |contains ‘decl with RTL’|contains ‘decl with RTL’
   |structure, have |structure, have
   |‘field_decl’ in |‘field_decl’ in
   |set_decl_rtl, at|set_decl_rtl, at
   |emit-rtl.c:1282)|emit-rtl.c:1282)

--- Comment #6 from Jakub Jelinek  ---
Author: jakub
Date: Thu Aug 11 15:14:17 2016
New Revision: 239374

URL: https://gcc.gnu.org/viewcvs?rev=239374=gcc=rev
Log:
Backported from mainline
2016-08-11  Jakub Jelinek  

PR c/72816
* c-decl.c (grokdeclarator): When adding TYPE_DOMAIN for flexible
array member through typedef, for orig_qual_indirect == 0 clear
orig_qual_type.

* gcc.dg/pr72816.c: Remove dg-error.

2016-08-07  Jakub Jelinek  

PR c/72816
* gcc.dg/pr72816.c: New test.

Added:
branches/gcc-6-branch/gcc/testsuite/gcc.dg/pr72816.c
Modified:
branches/gcc-6-branch/gcc/c/ChangeLog
branches/gcc-6-branch/gcc/c/c-decl.c
branches/gcc-6-branch/gcc/testsuite/ChangeLog

--- Comment #7 from Jakub Jelinek  ---
Fixed for 6.2+ so far.

[Bug c/72816] [5 Regression] ICE on x86_64-linux-gnu (tree check: expected tree that contains ‘decl with RTL’ structure, have ‘field_decl’ in set_decl_rtl, at emit-rtl.c:1282)

2016-08-11 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=72816

Jakub Jelinek  changed:

   What|Removed |Added

   Keywords|ice-on-invalid-code |ice-on-valid-code
Summary|[5/6 Regression] ICE on |[5 Regression] ICE on
   |x86_64-linux-gnu (tree  |x86_64-linux-gnu (tree
   |check: expected tree that   |check: expected tree that
   |contains ‘decl with RTL’|contains ‘decl with RTL’
   |structure, have |structure, have
   |‘field_decl’ in |‘field_decl’ in
   |set_decl_rtl, at|set_decl_rtl, at
   |emit-rtl.c:1282)|emit-rtl.c:1282)

--- Comment #7 from Jakub Jelinek  ---
Fixed for 6.2+ so far.