This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: Request for testing on fold-const.c patch
- From: kenner at vlsi1 dot ultra dot nyu dot edu (Richard Kenner)
- To: matz at suse dot de
- Cc: gcc-patches at gcc dot gnu dot org
- Date: Tue, 27 Jul 04 08:36:48 EDT
- Subject: Re: Request for testing on fold-const.c patch
Also agreed. But in your case there were different constructs at the
top-level:
return (equal()
&& (cond1 ? bla : equal())
&& (cond2 ? ble : equal()))
where cond[12] and bl[ae] were long on their own. Splitting this
would be justified IMHO. Would all of the components be equal() calls
I would leave them be merged.
Exactly. That's why my last proposal was to make a macro to bury the
messiness so it would look like similar conditions.