[Bug c++/89599] C-style function-pointer-to-void* cast is handled inconsistently

2019-03-07 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89599 Jakub Jelinek changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED CC|

[Bug c++/89599] C-style function-pointer-to-void* cast is handled inconsistently

2019-03-07 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89599 --- Comment #2 from Jakub Jelinek --- Author: jakub Date: Fri Mar 8 07:43:58 2019 New Revision: 269482 URL: https://gcc.gnu.org/viewcvs?rev=269482=gcc=rev Log: PR c++/89599 * constexpr.c (potential_constant_expression_1):

[Bug c++/89599] C-style function-pointer-to-void* cast is handled inconsistently

2019-03-07 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89599 --- Comment #1 from Jakub Jelinek --- Created attachment 45921 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=45921=edit gcc9-pr89599.patch Untested fix.