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] |
On 8/29/05, Andrew Pinski <pinskia@physics.uc.edu> wrote:
On Aug 29, 2005, at 12:23 AM, Andrew Pinski wrote:ChangeLog:
* fold-const.c (fold_unary) <case NOP_EXPR, CONVERT_EXPR>: For COMPARISON_CLASS_P and an integral types create create a new expression with the new type and fold that.
Oh, blast I attached the older version of this patch which did not compile because I had messed up the order of arguments for fold_build2.
Here is the correct one.
Is this really correct?
Yes this has been true since before the EGCS split (aka 1.0 reversion in the cvs), I did not look at old-gcc to figure out when before that it was changed.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |