diff options
| author | Matt Austern <austern@apple.com> | 2005-02-03 00:02:10 +0000 |
|---|---|---|
| committer | Matt Austern <austern@gcc.gnu.org> | 2005-02-03 00:02:10 +0000 |
| commit | 100d337a9d06bbc8f367e37debbe69610b04e72f (patch) | |
| tree | 54f1d79812354b990fbbfe75895aedd5f2372e9c /libcpp/include/cpplib.h | |
| parent | 89d12f5d49829d3dbf9a78040b88df833923c0df (diff) | |
| download | gcc-100d337a9d06bbc8f367e37debbe69610b04e72f.zip gcc-100d337a9d06bbc8f367e37debbe69610b04e72f.tar.gz gcc-100d337a9d06bbc8f367e37debbe69610b04e72f.tar.bz2 | |
re PR c++/19628 (g++ no longer accepts __builtin_constant_p in constant-expressions)
PR c++/19628
* cp-tree.h (builtin_valid_in_constant_expr_p): Declare.
* parser.c (cp_parser_postfix_expression): Accept function call in constant expression if builtin_valid_in_constant_expr_p is true for that function.
* pt.c (value_dependent_expression_p): Handle CALL_EXPRs properly.
* semantics.c (finish_id_expression): Accept function call in constant expression if builtin_valid_in_constant_expr_p is true for that function.
* tree.c (builtin_valid_in_constant_expr_p): New.
* g++/ext/builtin7.C: New.
* g++/ext/builtin8.C: New.
From-SVN: r94635
Diffstat (limited to 'libcpp/include/cpplib.h')
0 files changed, 0 insertions, 0 deletions
