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: [PATCH] Fix *two* AVR backend bugs (PR19293 + PR19329)


> From: Paul Schlie <schlie@comcast.net>
> 
> (but still wonder if GCC thinks the cc is set for shifts of 0 if not optimized
> away?)

I'd guess that the only safe thing to do is to define that all variable
shifts simply clobber the cc, and only constant shifts > 0  set it properly.
(thereby enabling shifts <= 0 to be no-ops, if desired).



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