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: zero extend pointer converstions to unsigned long long


Mike Stump <mrs@apple.com> writes:

>> http://gcc.gnu.org/ml/gcc-patches/2004-09/msg02998.html

The problem with this is you really do need to honor ptr_extend on
targets where it's defined; on those targets, both sign and zero
extension will trash the pointer.  However, I could see an argument
that this construct is no more broken on those targets after this
patch, than it was before, and you have made it work for a class of
targets where it didn't.

You should be using fold_convert, and you forgot to validate the
changes to the manual (there's an unbalanced squiggle brace, which
will cause both makeinfo and texi2dvi to barf).  Please fix those.

zw


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