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]

Re: Patch: per-function flag definition


On Apr 13, 2005, at 6:53 AM, Daniel Jacobowitz wrote:
On Tue, Apr 12, 2005 at 04:58:47PM -0700, Mark Mitchell wrote:
Dale Johannesen wrote:
Well, if anybody actually tried this, you found the patch didn't apply,
because my
tree was a week or so old. I'll go fix that, but I'd like some feedback
on whether
the general approach seems OK? Thanks.

The overall approach is fine.


I'd prefer that we not play with macros. Instead, #define-ing a
"flag_foo" macro, let's just say "cur_flags->foo". I realize that will
make the patch much bigger, in a very boring way, but adding to our
macro obfuscation seems even less desirable.

How about sticking with the macros for the initial patch, and committing to fixing this second? Mixing substantive and non-substantive changes in one patch makes it much harder to grok.

I am willing to do either. Let me know what is preferred.



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