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

           Summary: r170459 regresses g++.dg/abi/mangle39.C on
                    *-apple-darwin*
           Product: gcc
           Version: 4.6.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c++
        AssignedTo: unassig...@gcc.gnu.org
        ReportedBy: howa...@nitro.med.uc.edu


The commit...

Author: jason
Date: Thu Feb 24 04:56:26 2011
New Revision: 170459

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=170459
Log:
    * cp-tree.h (DECL_PARM_LEVEL): New.
    (struct lang_decl_parm): Add level field.
    * name-lookup.c (function_parm_depth): New fn.
    * name-lookup.h: Declare it.
    * parser.c (cp_parser_parameter_declaration_list): Use it.
    * mangle.c (struct globals): Add parm_depth field.
    (write_bare_function_type): Adjust it.
    (write_expression): Include the level delta in PARM_DECL mangling
    for abi >= 6.

    * semantics.c (finish_decltype_type): Remove shortcut for decltype
    of id-expression.
    * mangle.c (write_type) [DECLTYPE_TYPE]: Strip it here for abi < 6.

Added:
    trunk/gcc/testsuite/g++.dg/abi/mangle45.C
Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/common.opt
    trunk/gcc/cp/ChangeLog
    trunk/gcc/cp/cp-tree.h
    trunk/gcc/cp/mangle.c
    trunk/gcc/cp/name-lookup.c
    trunk/gcc/cp/name-lookup.h
    trunk/gcc/cp/parser.c
    trunk/gcc/cp/semantics.c
    trunk/gcc/testsuite/ChangeLog
    trunk/gcc/testsuite/g++.dg/abi/mangle39.C
    trunk/gcc/testsuite/g++.dg/cpp0x/trailing1.C
    trunk/gcc/testsuite/g++.dg/template/canon-type-12.C
    trunk/gcc/testsuite/g++.dg/template/canon-type-9.C

regresses g++.dg/abi/mangle39.C on both powerpc-apple-darwin9 and
x86_64-apple-darwin10...

FAIL: g++.dg/abi/mangle39.C scan-assembler _Z1gIiEvRK1AIT_EDTixfL0p_Li0EE

at -m32/-m64. It also introduces the new failures of...

FAIL: g++.dg/abi/mangle45.C scan-assembler _Z1fIiEvT_DtfL0p_E
FAIL: g++.dg/abi/mangle45.C scan-assembler _Z1gIiEvT_PFDtfL0p_EvE
FAIL: g++.dg/abi/mangle45.C scan-assembler _Z1kIiEvT_PFPAszfL0p__iPS0_E

for the new testcase.

Reply via email to