Skip to content
Snippets Groups Projects
Commit d36d5600 authored by Giovanni Bajo's avatar Giovanni Bajo
Browse files

re PR c++/14545 (Cannot compile pooma-gcc (regression))

	PR c++/14545
	* parser.c (cp_parser_functional_cast): A cast to anything
	but integral or enumaration type is not an integral constant
	expression.
	* pt.c (value_dependent_expression_p): Handle cast expressions
	without operands (such as "int()").

	PR c++/14545
	* g++.dg/parse/template15.C: New test.

From-SVN: r79672
parent 26bcf8fc
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment