aboutsummaryrefslogtreecommitdiff
path: root/gcc/bt-load.c
diff options
context:
space:
mode:
authorGiovanni Bajo <giovannibajo@gcc.gnu.org>2004-11-22 12:15:53 +0000
committerGiovanni Bajo <giovannibajo@gcc.gnu.org>2004-11-22 12:15:53 +0000
commite99f332f05fbe3e18d628a91cb363dc67047e19f (patch)
tree09703038def87536054944b70def832562af54cd /gcc/bt-load.c
parent6cb70db4d9333ea241e1076147ec8f3516ea7982 (diff)
downloadgcc-e99f332f05fbe3e18d628a91cb363dc67047e19f.zip
gcc-e99f332f05fbe3e18d628a91cb363dc67047e19f.tar.gz
gcc-e99f332f05fbe3e18d628a91cb363dc67047e19f.tar.bz2
re PR c++/18354 (expression "+1" not considered constant (as template parameter).)
PR c++/18354 * typeck.c (build_unary_op) <CONVERT_EXPR, NEGATE_EXPR>: Unify code. Make sure the result is always a rvalue. PR c++/18354 * g++.dg/template/nontype11.C: New test. From-SVN: r91008
Diffstat (limited to 'gcc/bt-load.c')
0 files changed, 0 insertions, 0 deletions