This is the mail archive of the gcc-patches@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: [RFA] expand from SSA form (1/2)


On Mon, Apr 27, 2009 at 7:11 AM, David Edelsohn <dje.gcc@gmail.com> wrote:
> Michael,
>
> A patch in the last 24 hours has caused a mis-optimization on PowerPC.
> ?The error appears as a failure while compiling libobjc/linking.m.
>
> 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:
>
> _GLOBAL__I_-00001_0___objc_linking
>
> A function name should not contain a minus sign, which is a syntax
> error. ?Recompiling cgarphunit.c without optimization fixes the
> miscompilation.
>
> Darwin displays a similar error earlier in bootstrap.
>
> Jakub tested his patch on PowerPC and Geoff's tester failed before
> Honza's patch, so the "expand from SSA" patch appears to be the likely
> culprit.
>
> 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.
>

It could be:

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39922


-- 
H.J.


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