[RFA] expand from SSA form (1/2)

David Edelsohn dje.gcc@gmail.com
Mon Apr 27 15:11:00 GMT 2009


On Mon, Apr 27, 2009 at 10:43 AM, Michael Matz <matz@suse.de> wrote:
> Hi,
>
> On Mon, 27 Apr 2009, David Edelsohn wrote:
>
>> A function in cgraphunit.c is being mis-compiled, probably
>> build_cdtor().  This causes cgraph_build_static_cdtor() to be called
>> with an invalid priority of "-1", instead of 65535.  The priority should
>> not be negative.  This negative priority value generates an invalid
>> global file function name:
>> ...
>> Both Darwin and AIX are bootstrapping in 32 bit mode.  Richi suggested
>> on IRC that this may be related to some known CONST_INT issue for
>> which you already have a patch.
>
> This confusion with the numbers seems indeed related to PR39922.  If you
> can test the below patch on powerpc that would be nice.  I know that it
> fixes the PR on i686-linux where something similar happens.

A quick test of the patch does not fix the failure on AIX.  I will try
a complete bootstrap in case
the bug was causing other miscompilations.

David



More information about the Gcc-patches mailing list