re PR c++/11437 (ICE in lookup_name_real)

PR c++/11437
	* operators.def: Add definitions for __imag__, __real__.

From-SVN: r69254
This commit is contained in:
Nathanael Nerode 2003-07-11 23:01:53 +00:00
parent 783b7a595b
commit e05f79742f
2 changed files with 8 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2003-07-11 Nathanael Nerode <neroden@gcc.gnu.org>
PR c++/11437
* operators.def: Add definitions for __imag__, __real__.
2003-07-11 Nathan Sidwell <nathan@codesourcery.com>
PR c++/11050

View File

@ -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)