[Bug middle-end/93076] [10 Regression] internal compiler error: Segmentation fault during GIMPLE pass: cddce

2020-01-17 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93076

Jakub Jelinek  changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 CC||jakub at gcc dot gnu.org
 Resolution|--- |DUPLICATE

--- Comment #5 from Jakub Jelinek  ---
The #c0 ICE has been fixed with r280126, so it is yet another dup of the many
tree sharing PRs.

*** This bug has been marked as a duplicate of bug 93173 ***

[Bug middle-end/93076] [10 Regression] internal compiler error: Segmentation fault during GIMPLE pass: cddce

2020-01-10 Thread jason at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93076
Bug 93076 depends on bug 93033, which changed state.

Bug 93033 Summary: [10 Regression] error: incorrect sharing of tree nodes
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93033

   What|Removed |Added

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

[Bug middle-end/93076] [10 Regression] internal compiler error: Segmentation fault during GIMPLE pass: cddce

2020-01-09 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93076

Richard Biener  changed:

   What|Removed |Added

   Keywords||ice-on-valid-code
   Priority|P3  |P1
 CC||jason at gcc dot gnu.org
   Target Milestone|--- |10.0

[Bug middle-end/93076] [10 Regression] internal compiler error: Segmentation fault during GIMPLE pass: cddce

2020-01-06 Thread law at redhat dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93076

--- Comment #3 from Jeffrey A. Law  ---
Created attachment 47599
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=47599=edit
Testcase

[Bug middle-end/93076] [10 Regression] internal compiler error: Segmentation fault during GIMPLE pass: cddce

2020-01-06 Thread law at redhat dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93076

--- Comment #4 from Jeffrey A. Law  ---
My bisection points to:

commit ca09820d964b68e165153c6770b4403dece92004
Author: jason 
Date:   Thu Dec 19 14:06:45 2019 +

PR c++/66139 - EH cleanups for partially constructed aggregates.

There were several overlapping PRs about failure to clean up fully
constructed subobjects when an exception is thrown during aggregate
initialization of a temporary.  I fixed this for non-temporaries in the
context of 57510, but that fix didn't handle temporaries.  So this patch
does split_nonconstant_init at gimplification time, which is much smaller
than alternatives I tried.

PR c++/57510
* cp-gimplify.c (cp_gimplify_init_expr): Use
split_nonconstant_init.
* typeck2.c (split_nonconstant_init): Handle non-variable dest.
(split_nonconstant_init_1): Clear TREE_SIDE_EFFECTS.
* tree.c (is_local_temp): New.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@279576
138bc75d-0d04-0410-961f-82ee72b054a4

Just in case we're chasing multiple issues, I'm attaching the testcase from
pybind11.  Compile on x86_64 with -O2.

[Bug middle-end/93076] [10 Regression] internal compiler error: Segmentation fault during GIMPLE pass: cddce

2020-01-06 Thread dcb314 at hotmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93076
Bug 93076 depends on bug 93033, which changed state.

Bug 93033 Summary: [10 Regression] error: incorrect sharing of tree nodes
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93033

   What|Removed |Added

 Status|RESOLVED|REOPENED
 Resolution|FIXED   |---

[Bug middle-end/93076] [10 Regression] internal compiler error: Segmentation fault during GIMPLE pass: cddce

2020-01-06 Thread jason at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93076
Bug 93076 depends on bug 93033, which changed state.

Bug 93033 Summary: [10 Regression] error: incorrect sharing of tree nodes
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93033

   What|Removed |Added

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

[Bug middle-end/93076] [10 Regression] internal compiler error: Segmentation fault during GIMPLE pass: cddce

2020-01-05 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93076

Andrew Pinski  changed:

   What|Removed |Added

 Depends on||93033

--- Comment #2 from Andrew Pinski  ---
My bet it is a dup of bug 93033.


Referenced Bugs:

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93033
[Bug 93033] [10 Regression] error: incorrect sharing of tree nodes

[Bug middle-end/93076] [10 Regression] internal compiler error: Segmentation fault during GIMPLE pass: cddce

2020-01-05 Thread law at redhat dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93076

Jeffrey A. Law  changed:

   What|Removed |Added

 Status|UNCONFIRMED |NEW
   Last reconfirmed||2020-01-05
 CC||law at redhat dot com
Summary|internal compiler error:|[10 Regression] internal
   |Segmentation fault during   |compiler error:
   |GIMPLE pass: cddce  |Segmentation fault during
   ||GIMPLE pass: cddce
 Ever confirmed|0   |1

--- Comment #1 from Jeffrey A. Law  ---
My tester has tripped over a ton of these.  Confirming.