diff options
author | Nathanael Nerode <neroden@gcc.gnu.org> | 2003-07-11 23:01:53 +0000 |
---|---|---|
committer | Nathanael Nerode <neroden@gcc.gnu.org> | 2003-07-11 23:01:53 +0000 |
commit | e05f79742f986162d925e23e865fae133bd7155b (patch) | |
tree | 5e45f532ff7e7c0b2bcfec1f846d912a378cf573 /gcc/cp/operators.def | |
parent | 783b7a595b751a9ce47c7659a264c1ad1baa558c (diff) | |
download | gcc-e05f79742f986162d925e23e865fae133bd7155b.zip gcc-e05f79742f986162d925e23e865fae133bd7155b.tar.gz gcc-e05f79742f986162d925e23e865fae133bd7155b.tar.bz2 |
re PR c++/11437 (ICE in lookup_name_real)
PR c++/11437
* operators.def: Add definitions for __imag__, __real__.
From-SVN: r69254
Diffstat (limited to 'gcc/cp/operators.def')
-rw-r--r-- | gcc/cp/operators.def | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/gcc/cp/operators.def b/gcc/cp/operators.def index b4de745..16e603d 100644 --- a/gcc/cp/operators.def +++ b/gcc/cp/operators.def @@ -93,8 +93,10 @@ DEF_SIMPLE_OPERATOR ("!", TRUTH_NOT_EXPR, "nt", 1) DEF_SIMPLE_OPERATOR ("++", PREINCREMENT_EXPR, "pp", 1) DEF_SIMPLE_OPERATOR ("--", PREDECREMENT_EXPR, "mm", 1) DEF_SIMPLE_OPERATOR ("sizeof", SIZEOF_EXPR, "sz", 1) -/* This is an extension. */ +/* These are extensions. */ DEF_SIMPLE_OPERATOR ("alignof", ALIGNOF_EXPR, "v17alignof", 1) +DEF_SIMPLE_OPERATOR ("__imag__", IMAGPART_EXPR, "v18__imag__", 1) +DEF_SIMPLE_OPERATOR ("__real__", REALPART_EXPR, "v18__real__", 1) /* The cast operator. */ DEF_SIMPLE_OPERATOR ("", TYPE_EXPR, "cv", 1) |