diff options
author | Jakub Jelinek <jakub@redhat.com> | 2009-02-04 17:50:22 +0100 |
---|---|---|
committer | Jakub Jelinek <jakub@gcc.gnu.org> | 2009-02-04 17:50:22 +0100 |
commit | ee429f8459118f0286430a8f86884055ae954694 (patch) | |
tree | 9a4e4de9a60f6b8c400fb1e352863fd9b69294d5 /gcc/cp/operators.def | |
parent | 5b43bf058b51b25a6e90692bc61b3efad883b7e7 (diff) | |
download | gcc-ee429f8459118f0286430a8f86884055ae954694.zip gcc-ee429f8459118f0286430a8f86884055ae954694.tar.gz gcc-ee429f8459118f0286430a8f86884055ae954694.tar.bz2 |
re PR c++/39095 (Mangling changes break ABI)
PR c++/39095
* operators.def: Use COMPONENT_REF code for ->/pt operator again,
remove ./dt operator.
* mangle.c (write_expression): Handle COMPONENT_REF after handling
ADDR_EXPR, for COMPONENT_REF without ARROW_EXPR inside of it
write_string ("dt") instead of using operators.def.
* g++.dg/abi/mangle31.C: New test.
From-SVN: r143933
Diffstat (limited to 'gcc/cp/operators.def')
-rw-r--r-- | gcc/cp/operators.def | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/gcc/cp/operators.def b/gcc/cp/operators.def index 20c74d8..c63ce3f 100644 --- a/gcc/cp/operators.def +++ b/gcc/cp/operators.def @@ -125,8 +125,7 @@ DEF_SIMPLE_OPERATOR ("&&", TRUTH_ANDIF_EXPR, "aa", 2) DEF_SIMPLE_OPERATOR ("||", TRUTH_ORIF_EXPR, "oo", 2) DEF_SIMPLE_OPERATOR (",", COMPOUND_EXPR, "cm", 2) DEF_SIMPLE_OPERATOR ("->*", MEMBER_REF, "pm", 2) -DEF_SIMPLE_OPERATOR ("->", ARROW_EXPR, "pt", 2) -DEF_SIMPLE_OPERATOR (".", COMPONENT_REF, "dt", 2) +DEF_SIMPLE_OPERATOR ("->", COMPONENT_REF, "pt", 2) DEF_SIMPLE_OPERATOR ("[]", ARRAY_REF, "ix", 2) DEF_SIMPLE_OPERATOR ("++", POSTINCREMENT_EXPR, "pp", 2) DEF_SIMPLE_OPERATOR ("--", POSTDECREMENT_EXPR, "mm", 2) |