OSDN Git Service

* c-decl.c (poplevel): Eliminate use of |= in function_body assignment.
authorwilson <wilson@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 11 Sep 2003 06:45:20 +0000 (06:45 +0000)
committerwilson <wilson@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 11 Sep 2003 06:45:20 +0000 (06:45 +0000)
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@71297 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/ChangeLog
gcc/c-decl.c

index 77c7701..07da35b 100644 (file)
@@ -1,3 +1,7 @@
+2003-09-10  Joe Buck  <jbuck@welsh-buck.org>
+
+       * c-decl.c (poplevel): Eliminate use of |= in function_body assignment.
+
 2003-09-10  Jerry Quinn  <jlquinn@optonline.net>
 
        * real.c: Update URL to VAX floating point docs.
index b72f257..26a012a 100644 (file)
@@ -505,7 +505,8 @@ poplevel (int keep, int dummy ATTRIBUTE_UNUSED, int functionbody)
   tree decl;
   tree p;
 
-  scope->function_body |= functionbody;
+  /* The following line does not use |= due to a bug in HP's C compiler */
+  scope->function_body = scope->function_body | functionbody;
 
   if (keep == KEEP_MAYBE)
     keep = (scope->names || scope->tags);