[Bug c++/48500] Regression: Failing to convert template argument to concrete type, in C++0x mode.

jason at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Fri Apr 8 15:02:00 GMT 2011


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48500

--- Comment #2 from Jason Merrill <jason at gcc dot gnu.org> 2011-04-08 15:02:37 UTC ---
Author: jason
Date: Fri Apr  8 15:02:28 2011
New Revision: 172195

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=172195
Log:
    PR c++/48500
    * semantics.c (potential_constant_expression_1) [CALL_EXPR]: Check
    arguments even if we don't know the function.

Added:
    branches/gcc-4_6-branch/gcc/testsuite/g++.dg/cpp0x/regress/call1.C
Modified:
    branches/gcc-4_6-branch/gcc/cp/ChangeLog
    branches/gcc-4_6-branch/gcc/cp/semantics.c
    branches/gcc-4_6-branch/gcc/testsuite/ChangeLog



More information about the Gcc-bugs mailing list