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]

Trival dependence.c patch


All

Bootstrapped x86-linux

Graham
 
ChangeLog

	* dependence.c (INDEX_LIMIT_CHECK): Uppercase macro parameter.
	(abs): Uppercase and paranthesize macro parameter.
	(MEM_DEPENDENCY): Add space for coding standard.

-----------------------------------------
Index: gcc/dependence.c
===================================================================
RCS file: /cvs/gcc/gcc/gcc/dependence.c,v
retrieving revision 1.5
diff -r1.5 dependence.c
477,480c477,480
< #define INDEX_LIMIT_CHECK(node) \ 
<       (TREE_CODE_CLASS (TREE_CODE (node)) == '<') \
<       && (TREE_CODE (TREE_OPERAND (node, 0)) == VAR_DECL \
<           && (IDENTIFIER_POINTER (DECL_NAME (TREE_OPERAND (node, 0))) \
---
> #define INDEX_LIMIT_CHECK(NODE) \ 
>       (TREE_CODE_CLASS (TREE_CODE (NODE)) == '<') \
>       && (TREE_CODE (TREE_OPERAND (NODE, 0)) == VAR_DECL \
>           && (IDENTIFIER_POINTER (DECL_NAME (TREE_OPERAND (NODE, 0))) \
1149c1149 
< #define abs(n) (n < 0 ? -n : n)
---
> #define abs(N) ((N) < 0 ? -(N) : (N))
1421c1421 
< #define MEM_DEPENDENCY(RTX) XCWINT(RTX, 2, MEM)
---
> #define MEM_DEPENDENCY(RTX) XCWINT (RTX, 2, MEM)


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