------- Comment #7 from ro at CeBiTec dot Uni-Bielefeld dot DE  2010-09-17 
08:55 -------
Subject: Re:  [4.6 regression] Reference to undefined label building libada on
Solaris 2/SPARC

> ------- Comment #6 from hubicka at gcc dot gnu dot org  2010-09-16 20:57 
> -------
> This is really strange case. The patch should at most introduce extra inlining
> that naturally should not introduce undefined symbols.
> It is used as:
>         sethi   %hi(_GLOBAL_OFFSET_TABLE_-(.LL363-.)), %o3
>         or      %o3, %lo(_GLOBAL_OFFSET_TABLE_-(.LL363-.)), %o3
>         call    gnat__debug_pools__put_line, 0
>
> so it is passed to gnat__debug_pools__put_line.  Any idea what should be 
> there?
> It does not seem like variable, rather like code label. Can I have

Unfortunately not; you'd have to ask one of the Ada maintainers.  Eric
is on the Cc:, he might know.

> -fdump-tree-optimized (or perhaps better -fdump-tree-all) dumps?

Sure.  I couldn't attach it to the PR (1.8 MB even compressed with
bzip2), so I've put it at

http://www.cebitec.uni-bielefeld.de/~ro/files/g-debpoo-dump-tree-all.tar.bz2

Thanks.
        Rainer


-- 


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

Reply via email to