This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH][C] Always use TRANSLATION_UNIT_DECL as context
On Tue, 28 Sep 2010, Steve Ellcey wrote:
> On Tue, 2010-09-28 at 10:36 +0200, Richard Guenther wrote:
> > On Mon, 27 Sep 2010, Steve Ellcey wrote:
> >
> > > FYI: I am getting the gimple bytecode messages on my IA64 Linux and
> > > HP-UX platforms as well when running the testsuite.
> > >
> > > /proj/opensrc_nobackup/nightly2/src/trunk/gcc/testsuite/gcc.c-torture/compile/20000105-1.c:25:1: sorry, unimplemented: gimple bytecode streams do not support machine specific builtin functions on this target
> >
> > Yep, that's a known issue now. Really all targets with builtins
> > need to implement targetm.builtin_decl for LTO to work for them.
> >
> > Richard.
>
> OK, I am testing the attached patch for IA64 to fix the builtin problem.
Thanks. FYI I'm still poking at a solution that would avoid
the situation but I'll let folks some time to update their targets
to implememt that hook (we're in stage1 anyways).
Richard.