[PATCH] reorganize simplify_const_relational_operation

Paolo Bonzini bonzini@gnu.org
Tue Sep 18 13:24:00 GMT 2007


Eric Botcazou wrote:
>> Is it ok if the reorganization temporarily suppresses some
>> optimizations, such as the POPCOUNT one?
> 
> Sure.

Good, so that's what I did in the two attached patches.

The first patch is done with "-b".

>> But #define's don't show in gdb.
> 
> I think that GCC hackers can live with this. :-)

I didn't make this modification, as there are occurrences of the "enum 
for a bitmask" idiom elsewhere (for example for the LCT_* constants in 
rtl.h, and the FMT_* constants in c-format.h).

Paolo
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: simplify-relop-1.patch
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20070918/e2587921/attachment.ksh>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: simplify-relop-2.patch
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20070918/e2587921/attachment-0001.ksh>


More information about the Gcc-patches mailing list