summaryrefslogtreecommitdiff
path: root/gcc/godump.c
diff options
context:
space:
mode:
authorian <ian@138bc75d-0d04-0410-961f-82ee72b054a4>2011-01-29 02:32:28 +0000
committerian <ian@138bc75d-0d04-0410-961f-82ee72b054a4>2011-01-29 02:32:28 +0000
commit826a8d9bb6728819edde11b30c9819c880b189b1 (patch)
treeb2576bb3bc6964ed1ce9962229cf9ac4a381a60f /gcc/godump.c
parentf3ac59bf054937054580f87ffb099692269db077 (diff)
downloadgcc-826a8d9bb6728819edde11b30c9819c880b189b1.tar.gz
* godump.c (go_define): Ignore macros whose definitions include
two adjacent operands. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@169385 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/godump.c')
-rw-r--r--gcc/godump.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/gcc/godump.c b/gcc/godump.c
index 42b8839c2f6..7ee7af0e861 100644
--- a/gcc/godump.c
+++ b/gcc/godump.c
@@ -142,6 +142,9 @@ go_define (unsigned int lineno, const char *buffer)
const char *start;
char *n;
+ if (saw_operand)
+ goto unknown;
+
start = p;
while (ISALNUM (*p) || *p == '_')
++p;