[Bug c++/85113] [7/8 Regression] ICE with __builtin_constant_p

2018-12-06 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85113

Richard Biener  changed:

   What|Removed |Added

 CC||Kimon.Hoffmann at lawo dot com

--- Comment #5 from Richard Biener  ---
*** Bug 88388 has been marked as a duplicate of this bug. ***

[Bug c++/85113] [7/8 Regression] ICE with __builtin_constant_p

2018-04-03 Thread jason at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85113

Jason Merrill  changed:

   What|Removed |Added

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

--- Comment #4 from Jason Merrill  ---
Fixed.

[Bug c++/85113] [7/8 Regression] ICE with __builtin_constant_p

2018-04-03 Thread jason at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85113

--- Comment #3 from Jason Merrill  ---
Author: jason
Date: Tue Apr  3 19:14:03 2018
New Revision: 259053

URL: https://gcc.gnu.org/viewcvs?rev=259053=gcc=rev
Log:
PR c++/85113 - ICE with constexpr and __builtin_constant_p.

* constexpr.c (cxx_eval_builtin_function_call): Only defer
__builtin_constant_p if ctx->quiet.

Added:
branches/gcc-7-branch/gcc/testsuite/g++.dg/ext/builtin12.C
Modified:
branches/gcc-7-branch/gcc/cp/ChangeLog
branches/gcc-7-branch/gcc/cp/constexpr.c

[Bug c++/85113] [7/8 Regression] ICE with __builtin_constant_p

2018-04-03 Thread jason at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85113

--- Comment #2 from Jason Merrill  ---
Author: jason
Date: Tue Apr  3 19:13:36 2018
New Revision: 259051

URL: https://gcc.gnu.org/viewcvs?rev=259051=gcc=rev
Log:
PR c++/85113 - ICE with constexpr and __builtin_constant_p.

* constexpr.c (cxx_eval_builtin_function_call): Only defer
__builtin_constant_p if ctx->quiet.

Added:
trunk/gcc/testsuite/g++.dg/ext/builtin12.C
Modified:
trunk/gcc/cp/ChangeLog
trunk/gcc/cp/constexpr.c

[Bug c++/85113] [7/8 Regression] ICE with __builtin_constant_p

2018-04-03 Thread jason at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85113

Jason Merrill  changed:

   What|Removed |Added

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

[Bug c++/85113] [7/8 Regression] ICE with __builtin_constant_p

2018-03-29 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85113

Martin Liška  changed:

   What|Removed |Added

 Status|UNCONFIRMED |NEW
   Last reconfirmed||2018-03-29
 CC||jason at gcc dot gnu.org,
   ||marxin at gcc dot gnu.org
 Ever confirmed|0   |1

--- Comment #1 from Martin Liška  ---
Confirmed, caused by r258659 on trunk and r258813 on gcc-7-branch.

[Bug c++/85113] [7/8 Regression] ICE with __builtin_constant_p

2018-03-29 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85113

Richard Biener  changed:

   What|Removed |Added

   Priority|P3  |P1
Version|unknown |8.0.1
   Target Milestone|--- |7.4