[Bug c++/89212] [8 Regression] ICE in fold_convert_loc at fold-const.c:2552

2019-02-26 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89212

--- Comment #10 from Marek Polacek  ---
Author: mpolacek
Date: Tue Feb 26 18:00:41 2019
New Revision: 269222

URL: https://gcc.gnu.org/viewcvs?rev=269222=gcc=rev
Log:
PR c++/89212 - ICE converting nullptr to pointer-to-member-function.
* pt.c (tsubst_copy_and_build) : Return early for
null member pointer value.

Added:
branches/gcc-8-branch/gcc/testsuite/g++.dg/cpp0x/nullptr40.C
branches/gcc-8-branch/gcc/testsuite/g++.dg/cpp0x/nullptr41.C
Modified:
branches/gcc-8-branch/gcc/cp/ChangeLog
branches/gcc-8-branch/gcc/cp/pt.c

[Bug c++/89212] [8 Regression] ICE in fold_convert_loc at fold-const.c:2552

2019-02-26 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89212

Marek Polacek  changed:

   What|Removed |Added

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

--- Comment #11 from Marek Polacek  ---
Fixed.

[Bug c++/89212] [8 Regression] ICE in fold_convert_loc at fold-const.c:2552

2019-02-22 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89212

Jakub Jelinek  changed:

   What|Removed |Added

   Target Milestone|8.3 |8.4

--- Comment #9 from Jakub Jelinek  ---
GCC 8.3 has been released.

[Bug c++/89212] [8 Regression] ICE in fold_convert_loc at fold-const.c:2552

2019-02-11 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89212

Marek Polacek  changed:

   What|Removed |Added

Summary|[8/9 Regression] ICE in |[8 Regression] ICE in
   |fold_convert_loc at |fold_convert_loc at
   |fold-const.c:2552   |fold-const.c:2552

--- Comment #8 from Marek Polacek  ---
Fixed on trunk so far.

[Bug c++/89212] [8 regression] ICE in fold_convert_loc at fold-const.c:2552

2019-02-05 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89212

Marek Polacek  changed:

   What|Removed |Added

 CC||mpolacek at gcc dot gnu.org

--- Comment #1 from Marek Polacek  ---
Looks like it started with r256999.