This is the mail archive of the gcc@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]

warning: right shift count >= width of type


Dave Korn writes:
  > 
 >   Why isn't the shift operation optimised away and replaced with const_int
 > 0?

Why should it be?

Okay Dave, you guessed it: go see Section 6.5.7, para. 3.  :-)

Andrew.


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