James E Wilson wrote:
The testcase is not portable, as I pointed out in the PR. Trying this
on an x86_64-linux system, I get 27 "excess errors" failures. All of
them are
error: cast from 'int*' to 'int' loses precision
Using long works better than int, but is still not fool proof, as there
ar
James E Wilson wrote:
The testcase is not portable, as I pointed out in the PR. Trying this
on an x86_64-linux system, I get 27 "excess errors" failures. All of
them are
error: cast from 'int*' to 'int' loses precision
Using long works better than int, but is still not fool proof, as there
ar
On Fri, 2005-04-01 at 00:38, Nathan Sidwell wrote:
> Here it is, ok?
The patch is OK. The ChangeLog entry should refer to INTEGER_CST
instead of INT_CST.
You are missing a ChangeLog entry for the testcase.
The testcase is not portable, as I pointed out in the PR. Trying this
on an x86_64-linux
James E Wilson wrote:
Nathan Sidwell wrote:
Being conservative I'd go for my patch on 4.0 and yours (if verified) on
mainline.
I'm fine with that. Have you actually written a patch yet? I don't see
one in the bug report or in gcc-patches.
My mistake. I'd forgotten the post-to-list part :)
Here
Nathan Sidwell wrote:
Being conservative I'd go for my patch on 4.0 and yours (if verified) on
mainline.
I'm fine with that. Have you actually written a patch yet? I don't see
one in the bug report or in gcc-patches.
I found a complication with my patch (string constants) when
bootstrapping, a
James E Wilson wrote:
Nathan Sidwell wrote:
My inclination is to simply add an additional check in the dwarf
outputter,
verifying that the initializer is indeed an INT_CST.
That is a simple solution, but it causes us to lose debug info.
correct -- but we also don't output such info for out-of-cl
Nathan Sidwell wrote:
Bug 20505 is an ICE with -ggdb2. We have the following member
definition,
const int b::d = ((int)(&((b*)1)->c) - 1);
whose initializer used to be folded during construction to an INT_CST, but
now it doesn't -- fold cannot fold the complete expression. As
My inclination is
Nathan Sidwell wrote:
Bug 20505 is an ICE with -ggdb2. We have the following member
definition,
const int b::d = ((int)(&((b*)1)->c) - 1);
whose initializer used to be folded during construction to an INT_CST, but
now it doesn't -- fold cannot fold the complete expression. As
the PR says, this