[Bug tree-optimization/97560] [11 Regression] ICE: tree check: expected tree that contains 'decl common' structure, have 'component_ref' in tree_could_trap_p, at tree-eh.c:2708 since r11-3685

2020-10-27 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97560

--- Comment #6 from CVS Commits  ---
The master branch has been updated by Jakub Jelinek :

https://gcc.gnu.org/g:31ec7242e1ff1e8da376ec9ffef10b07ac562881

commit r11-4430-g31ec7242e1ff1e8da376ec9ffef10b07ac562881
Author: Jakub Jelinek 
Date:   Tue Oct 27 14:45:15 2020 +0100

testsuite: restrict test to c++11 and later [PR97590]

2020-10-27  Jakub Jelinek  

PR tree-optimization/97560
PR testsuite/97590
* g++.dg/pr97560.C: Require c++11 effective target and add comment
with PR number.

[Bug tree-optimization/97560] [11 Regression] ICE: tree check: expected tree that contains 'decl common' structure, have 'component_ref' in tree_could_trap_p, at tree-eh.c:2708 since r11-3685

2020-10-27 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97560

--- Comment #5 from CVS Commits  ---
The master branch has been updated by Aldy Hernandez :

https://gcc.gnu.org/g:18cb6195fda69ea8ab8b8a5290dd8c9f8d52b0e6

commit r11-4404-g18cb6195fda69ea8ab8b8a5290dd8c9f8d52b0e6
Author: Aldy Hernandez 
Date:   Tue Oct 27 07:29:42 2020 +0100

Add test for pr97560.

gcc/testsuite/ChangeLog:

PR tree-optimization/97560
* g++.dg/pr97560.C: New test.

[Bug tree-optimization/97560] [11 Regression] ICE: tree check: expected tree that contains 'decl common' structure, have 'component_ref' in tree_could_trap_p, at tree-eh.c:2708 since r11-3685

2020-10-26 Thread aldyh at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97560

Aldy Hernandez  changed:

   What|Removed |Added

 Resolution|--- |FIXED
 Status|NEW |RESOLVED

--- Comment #4 from Aldy Hernandez  ---
fixed in trunk

[Bug tree-optimization/97560] [11 Regression] ICE: tree check: expected tree that contains 'decl common' structure, have 'component_ref' in tree_could_trap_p, at tree-eh.c:2708 since r11-3685

2020-10-24 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97560

--- Comment #3 from Jakub Jelinek  ---
Seems it doesn't ICE anymore since
r11-4200-g966fdb2e12c0347aa3f9efaf5f4e1cd8237fa024
Thus I think we want the testcase into the testsuite and close this as fixed.

[Bug tree-optimization/97560] [11 Regression] ICE: tree check: expected tree that contains 'decl common' structure, have 'component_ref' in tree_could_trap_p, at tree-eh.c:2708 since r11-3685

2020-10-24 Thread aldyh at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97560

--- Comment #2 from Aldy Hernandez  ---
$ ./cc1plus a.c -O2 -fno-tree-forwprop -fnon-call-exc
eptions -quiet
$

Is this still an issue?  I can't reproduce on trunk, and I see the PR was
reported against a snapshot from 18-oct.  A lot has changed in trunk in a week.

[Bug tree-optimization/97560] [11 Regression] ICE: tree check: expected tree that contains 'decl common' structure, have 'component_ref' in tree_could_trap_p, at tree-eh.c:2708 since r11-3685

2020-10-24 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97560

Jakub Jelinek  changed:

   What|Removed |Added

 Status|UNCONFIRMED |NEW
   Last reconfirmed||2020-10-24
Summary|[11 Regression] ICE: tree   |[11 Regression] ICE: tree
   |check: expected tree that   |check: expected tree that
   |contains 'decl common'  |contains 'decl common'
   |structure, have |structure, have
   |'component_ref' in  |'component_ref' in
   |tree_could_trap_p, at   |tree_could_trap_p, at
   |tree-eh.c:2708  |tree-eh.c:2708 since
   ||r11-3685
 Ever confirmed|0   |1

--- Comment #1 from Jakub Jelinek  ---
Started with r11-3685-gfcae5121154d1c3382b056bcc2c563cedac28e74