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

           Summary: ICE in g++.dg/cpp0x/constexpr tests for arm
           Product: gcc
           Version: 4.7.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c++
        AssignedTo: unassig...@gcc.gnu.org
        ReportedBy: ja...@gcc.gnu.org


On arm-none-linux-gnueabi, tests constexpr-abi1.C, constexpr-ex4.C, and
constexpr-static6.C in g++.dg/cpp0x all get an internal compiler error starting
with this patch:

r172790 | jason | 2011-04-20 19:39:02 +0000 (Wed, 20 Apr 2011) | 2 lines

        PR c++/48657
        * decl.c (cp_finish_decl): Simplify template handling.

Here's the output from constexpr-abi1.C; output for the others is similar:

/scratch/janisjo/arm-linux-fsf/src/gcc-mainline/gcc/testsuite/g++.dg/cpp0x/constexpr-abi1.C:14:28:
internal compiler error: in build_target_expr, at cp/tree.c:292
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.

Reply via email to