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]

Re: Unsure about a new warning in mainline


On Mon, 15 Jan 2007, Paolo Carlini wrote:

| Ian Lance Taylor wrote:

[...]

Thanks.  That escaped me because those bits were contributed by
knowledgeable GCC contributors, so I trusted them :-)

|
| >One way to write this expression in a fully defined manner is:
| >    (((((T)1 << 30) - 1) << 1) + 1)
| >
| >
| Thanks Ian.
|
| Therefore, I'd like to apply to mainline the below (finishing testing on
| x86-linux), can you check it?
|

it is troublesome that we have managed to duplicate the same construct
twice.

-- Gaby


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