ChangeLog
32.7 KB
-
re PR c++/89599 (C-style function-pointer-to-void* cast is handled inconsistently) · ed3ea9f2
PR c++/89599 * constexpr.c (potential_constant_expression_1): Reject REINTERPRET_CAST_P NOP_EXPRs. * g++.dg/ubsan/vptr-4.C: Adjust expected diagnostics. * g++.dg/parse/array-size2.C: Likewise. * g++.dg/cpp0x/constexpr-89599.C: New test. From-SVN: r269482
Jakub Jelinek committed