Re: Suggestion required for appropriate implementation

2006-07-28 Thread Ian Lance Taylor
"Rahul Phalak" <[EMAIL PROTECTED]> writes: > According to the first syntax, Wanalyze-Rule1, Wanalyze-Rule2 etc are > considered as seperate options in c.opt file. Look at Joined options. Consider -fbuiltin-abs -fno-builtin-memcpy. Ian

RE: Suggestion required for appropriate implementation

2006-07-28 Thread Rahul Phalak
Hi, >>It's a little hard to know the best approach with no idea of what kinds of rules you are talking about. However, given that The rules that I am talking about are the rules that will help user to write efficient code. For e.g. "Declare variables in descending order according to base ty

Re: Suggestion required for appropriate implementation

2006-07-27 Thread Mike Stump
On Jul 27, 2006, at 12:31 AM, Rahul Phalak wrote: I want to add command line options in GCC for analyzing application code for a set of rules. I agree with Ian for the most part. For research and development, you will want to give your users lots of control. They will then give you feed

Re: Suggestion required for appropriate implementation

2006-07-27 Thread Ian Lance Taylor
"Rahul Phalak" <[EMAIL PROTECTED]> writes: Please don't send e-mail to both gcc@gcc.gnu.org and [EMAIL PROTECTED] This type of e-mail, related to the development of gcc, is appropriate for [EMAIL PROTECTED] > Approach 1: > Since these options are warning options, I intend to integrate them with