[PTR-PLUS] Add some/remove comments and cleanup some code
Andrew_Pinski@PlayStation.Sony.Com
Andrew_Pinski@PlayStation.Sony.Com
Tue May 29 00:52:00 GMT 2007
Hi,
This patch cleans up some code and adds some comments about why the code
looks like it is and removes one outdated comment which is no longer true.
Committed to the branch after a bootstrap/test on i686-linux-gnu.
Thanks,
Andrew Pinski
ChangeLog:
* fold-const.c (try_move_mult_to_index):
Say why we strip the nops.
(fold_unary <case NOP_EXPR>): Remove
TODO as we cannot get that case.
* tree-chrec.c (chrec_fold_plus):
Cleanup the code to chose which
tree code is used.
(chrec_convert_rhs): Add comment on
why the increment is sizetype for
pointers.
* tree-mudflap.c (mf_xform_derefs_1):
Use size_int instead of build_int_cst.
* tree-ssa-loop-prefetch.c (issue_prefetch_ref): Likewise.
cp/ChangeLog:
* typeck.c (build_binary_op): Add a comment on why creating
the tree in pieces while processing templates.
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: cleanupaddcomments.diff.txt
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20070529/aca436c8/attachment.txt>
More information about the Gcc-patches
mailing list