Re: [RFC, WIP] tree-ssa-strlen optimization pass

2011-09-02 Thread Paolo Carlini
Hi, I'm fairly sure it is much less common than the narrow versions, we don't even handle wprintf and wscanf attributes. I know. Actually, the reason I decided to say something, is that I noticed a few times in the past this "inequality" between char and wchar_t. Frankly, I instinctively think

Re: Vector shuffling

2011-09-02 Thread Joseph S. Myers
On Fri, 2 Sep 2011, Artem Shinkarov wrote: > Joseph, I don't understand this comment. I have 2 or 3 arguments in > the VEC_SHUFFLE_EXPR and any of them can be C_MAYBE_CONST_EXPR, Yes. > so I > need to wrap mask (the last argument) to avoid the following failure: No. You need to fold it (c_full

Re: [Patch, C] options generation and language count

2011-09-02 Thread Joseph S. Myers
On Fri, 2 Sep 2011, Gary Funck wrote: > On 09/02/11 13:42:32, Joseph S. Myers wrote: > > [..] you should just generate #if/#error in the output [...] > > OK, take two, attached. (Confirmed that the #if works for > the (<, ==, >) relationships between n_langs and the max. > number of languages su

Re: [C++0x] contiguous bitfields race implementation

2011-09-02 Thread Jeff Law
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 09/02/11 02:48, Richard Guenther wrote: > > Note that with all this mess I'll re-iterate some of my initial > thoughts. 1) why not do this C++ (or C) specific stuff in the > frontends, maybe at gimplifying/genericization time? That way you > would

rfa: remove get_var_ann (was: Fix PR50260)

2011-09-02 Thread Michael Matz
Hi, On Fri, 2 Sep 2011, Michael Matz wrote: > > > Ok. Time to make get_var_ann private? > > As I feared the call to get_var_ann in set_is_used right now really is > still needed, privatizing it hence isn't that straight forward. After pondering I concluded that it's not necessary to call set_

<    1   2