[Bug c++/60713] [4.8/4.9 regression] ICE in iterative_hash_expr

2014-04-01 Thread jason at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60713

Jason Merrill jason at gcc dot gnu.org changed:

   What|Removed |Added

 Status|NEW |ASSIGNED
 CC||jason at gcc dot gnu.org
   Assignee|unassigned at gcc dot gnu.org  |jason at gcc dot gnu.org


[Bug c++/60713] [4.8/4.9 regression] ICE in iterative_hash_expr

2014-04-01 Thread jason at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60713

--- Comment #2 from Jason Merrill jason at gcc dot gnu.org ---
Author: jason
Date: Tue Apr  1 19:13:50 2014
New Revision: 208995

URL: http://gcc.gnu.org/viewcvs?rev=208995root=gccview=rev
Log:
PR c++/60713
* typeck2.c (PICFLAG_SIDE_EFFECTS): New.
(picflag_from_initializer): Return it.
(process_init_constructor): Handle it.

Added:
trunk/gcc/testsuite/g++.dg/cpp0x/initlist81.C
Modified:
trunk/gcc/cp/ChangeLog
trunk/gcc/cp/typeck2.c


[Bug c++/60713] [4.8/4.9 regression] ICE in iterative_hash_expr

2014-03-31 Thread rguenth at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60713

Richard Biener rguenth at gcc dot gnu.org changed:

   What|Removed |Added

   Priority|P3  |P2
 Status|UNCONFIRMED |NEW
  Known to work||4.7.3
   Keywords||ice-on-valid-code
   Last reconfirmed||2014-03-31
 Ever confirmed|0   |1
   Target Milestone|--- |4.8.3
  Known to fail||4.8.0

--- Comment #1 from Richard Biener rguenth at gcc dot gnu.org ---
Confirmed.  We have a lang-specifc tree in the GENERIC fed to gimplification:

 call_expr 0x76d74680
...
arg 1 ptrmem_cst 0x76d8bdc0
type record_type 0x76d91dc8 TI
size integer_cst 0x76c40140 constant 128
unit size integer_cst 0x76c40160 constant 16
align 64 symtab 0 alias set -1 canonical type 0x76d91dc8 fields
field_decl 0x76d92be0 __pfn ptrmemfunc fn type pointer_type
0x76d91d20
chain type_decl 0x76d93170 __ptrmemfunc_type
constant
t.ii:19:26