Patch gcc-4.0 should not apply mathematical associative rules for addition or multiplication

Mark Mitchell mark@codesourcery.com
Thu Oct 7 02:22:00 GMT 2004


Fariborz Jahanian wrote:

> Offline, Geoff has suggested some changes for the approval. Here it is.
>
>+ /* return true, if it is ok to do folding of an associative expression */ 
>+ static inline bool
>+ unsafe_associative_fp_binop (tree exp)
>  
>
This is a style violations.  The comment should begin with a capital 
latter, end with a period, followed by two spaces, before the "*/".  
And, you must describe the parameter, which should be named in ALL CAPS 
in the comment.  Please fix before check-in.

-- 
Mark Mitchell
CodeSourcery, LLC
(916) 791-8304
mark@codesourcery.com



More information about the Gcc-patches mailing list