fix for Irix native compiler
Chris Waterson
waterson@netscape.com
Mon Jul 30 16:21:00 GMT 2001
gcc/cp/decl.c appears to break the native compiler on Irix. This patch
appears to fix it.
chris
Index: decl.c
===================================================================
RCS file: /cvs/gcc/gcc/gcc/cp/decl.c,v
retrieving revision 1.747.2.33
diff -u -r1.747.2.33 decl.c
--- decl.c 2001/07/26 08:07:24 1.747.2.33
+++ decl.c 2001/07/30 23:12:05
@@ -478,7 +478,7 @@
/* The binding level currently in effect. */
#define current_binding_level \
- (cfun && cp_function_chain->bindings \
+ ((cfun && cp_function_chain->bindings) \
? cp_function_chain->bindings \
: scope_chain->bindings)
More information about the Gcc-patches
mailing list