Re: The C++ FE drops qualifiers on pointer dereference

2009-07-17 Thread Jason Merrill
On 07/17/2009 03:26 PM, Richard Guenther wrote: Where can this be fixed? I currently have a hack to not strip restrict qualifiers in decay_conversion, but that feels a little too hackish. What's the important piece of decay_conversion that is necessary for indirect refs? Well, I'd start by ma

The C++ FE drops qualifiers on pointer dereference

2009-07-17 Thread Richard Guenther
The C++ frontend drops qualifiers when performing pointer dereference: void foo(int * __restrict p, int * __restrict__ q, int i) { *q = p[i]; } ;; Function void foo(int*, int*, int) (null) ;; enabled by -tree-original <>> >>; while this isn't a big issue for the plain *q (the cast is stripp

Re: can_throw_internal affected by inlining?

2009-07-17 Thread Jan Hubicka
> I'm committing the following test case that displays the bug. It does > in fact pass with mainline, and does in fact fail with gcc 4.4.0. > > I spent two days trying to come up with some cleaner way to fix this bug > than the inlinable flag you pass around, but to no avail. The only > thing

Re: Preserve registers across function call (Re: CALL_USED_REGISTERS)

2009-07-17 Thread Makoto Fujiwara
Richard, thanks for great help, I think it'been more than serveral weeks :-) to figure out why. Now I am in good mood. thanks a lot, really appreciate. The fragments of the code for mine is like follows. (It is 4.2.1 based) (save) + for (regno = 0; regno < FIRST_PSEUDO_REGISTER ; regno++) +

Re: bootstrapping and regtesting 4.5 is much slower than 4.4.1

2009-07-17 Thread Richard Guenther
On Fri, Jul 17, 2009 at 11:08 AM, Dominique Dhumieres wrote: > Since 4.4.1 is closed to be released, I have bootstrapped and regtested > 4.4.1 in the 4_4 branch at revision 149690. It took ~2h30 to bootstrap > and ~5+h to regtest (single thread) on my macbook. The typical times > for trunk are betw

bootstrapping and regtesting 4.5 is much slower than 4.4.1

2009-07-17 Thread Dominique Dhumieres
Since 4.4.1 is closed to be released, I have bootstrapped and regtested 4.4.1 in the 4_4 branch at revision 149690. It took ~2h30 to bootstrap and ~5+h to regtest (single thread) on my macbook. The typical times for trunk are between 3h30 and 4h for bootstrap and ~8h to regtest. Is this known or a

Re: Problem with static linking

2009-07-17 Thread Andrew Haley
On 07/16/2009 09:08 PM, Zachary Turner wrote: > > There's also much less to deal with from a Q/A and tech support > perspective if you use static linking with a closed source > application, since you can produce 1 binary which works across > multiple distributions and kernels without the user comp