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

           Summary: template/incomplete6.C ICE in build_target_expr
           Product: gcc
           Version: 4.7.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c++
        AssignedTo: unassig...@gcc.gnu.org
        ReportedBy: ja...@gcc.gnu.org


Test g++.dg/template/incomplete6.C fails for arm-none-linux-gnueabi and
arm-none-eabi:

/scratch/janisjo/arm-eabi-fsf/src/gcc-mainline/gcc/testsuite/g++.dg/template/incomplete6.C:
In member function 'Int<sizeof (declval<F>()(T()))> S<F, T>::f(A) [with A =
int, F = int (*)(...), T = templ<int>]':
/scratch/janisjo/arm-eabi-fsf/src/gcc-mainline/gcc/testsuite/g++.dg/template/incomplete6.C:21:29:
  instantiated from here
/scratch/janisjo/arm-eabi-fsf/src/gcc-mainline/gcc/testsuite/g++.dg/template/incomplete6.C:16:9:
internal compiler error: in build_target_expr, at cp/tree.c:296
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions

The failure starts with this patch:

    r174101 | jason | 2011-05-24 03:49:03 +0000 (Tue, 24 May 2011)

        PR c++/49102
        * call.c (convert_arg_to_ellipsis): Call force_rvalue.

Reply via email to