-
- Downloads
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
Showing
- gcc/cp/ChangeLog 6 additions, 0 deletionsgcc/cp/ChangeLog
- gcc/cp/typeck.c 22 additions, 18 deletionsgcc/cp/typeck.c
- gcc/testsuite/ChangeLog 5 additions, 0 deletionsgcc/testsuite/ChangeLog
- gcc/testsuite/g++.dg/template/nontype11.C 22 additions, 0 deletionsgcc/testsuite/g++.dg/template/nontype11.C
Loading
Please register or sign in to comment