This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

rs6000_unique_section on 3.0 branch


Committing as obvious

	* config/rs6000/rs6000.c (rs6000_unique_section): Add missing
	parentheses.

Index: gcc/config/rs6000/rs6000.c
===================================================================
RCS file: /cvs/gcc/gcc/gcc/config/rs6000/rs6000.c,v
retrieving revision 1.167.2.18
diff -u -p -r1.167.2.18 rs6000.c
--- rs6000.c	2001/12/07 21:10:58	1.167.2.18
+++ rs6000.c	2001/12/08 00:54:58
@@ -8041,8 +8041,8 @@ rs6000_unique_section (decl, reloc)
   sec = ((TREE_CODE (decl) == FUNCTION_DECL ? 0 : 1)
 	 + (readonly ? 0 : 2) 
 	 + (needs_sdata ? 1 : 0)
-	 + (DECL_INITIAL (decl) == 0
-	    || DECL_INITIAL (decl) == error_mark_node) ? 4 : 0);
+	 + ((DECL_INITIAL (decl) == 0
+	     || DECL_INITIAL (decl) == error_mark_node) ? 4 : 0));
 
   STRIP_NAME_ENCODING (name, IDENTIFIER_POINTER (DECL_ASSEMBLER_NAME (decl)));
   prefix = prefixes[sec][DECL_ONE_ONLY (decl)];


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]