[Bug c++/70621] [6 Regression] ICE on invalid code at -O1 and above on x86_64-linux-gnu in record_reference, at cgraphbuild.c:64

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

Jakub Jelinek  changed:

   What|Removed |Added

 CC||jason at gcc dot gnu.org

--- Comment #2 from Jakub Jelinek  ---
It is unfortunate that due to the Cilk+ bug it is hard to bisect this properly.
Anyway, looking at what 5.x does I see a major difference of r229018, we used
to modify the initializer (apparently in-place), but we no longer do and the
PTRMEM_CST remains in the IL until the ME.

[Bug c++/70621] [6 Regression] ICE on invalid code at -O1 and above on x86_64-linux-gnu in record_reference, at cgraphbuild.c:64

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

Jakub Jelinek  changed:

   What|Removed |Added

   Priority|P3  |P4
 Status|UNCONFIRMED |NEW
   Keywords||error-recovery
   Last reconfirmed||2016-04-11
 CC||jakub at gcc dot gnu.org
 Ever confirmed|0   |1
Summary|ICE on invalid code at -O1  |[6 Regression] ICE on
   |and above on|invalid code at -O1 and
   |x86_64-linux-gnu in |above on x86_64-linux-gnu
   |record_reference, at|in record_reference, at
   |cgraphbuild.c:64|cgraphbuild.c:64
   Target Milestone|--- |6.0

--- Comment #1 from Jakub Jelinek  ---
Started with my r232278 aka PR68511 and PR69213 fix.