This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: C++ PATCH: Fix PR 10300
On Mon, 2003-04-14 at 09:30, Andreas Schwab wrote:
> Mark Mitchell <mark at codesourcery dot com> writes:
>
> |> > I'm getting a mysterious failure on ia64-linux while compiling libstdc++:
> |> >
> |> > ../../../../libstdc++-v3/src/ios.cc:373: error: parse error at end of input
> |> >
> |> > This patch is the only change since yesterday and reverting it makes this
> |> > error go away.
> |>
> |> That sounds like a miscompilation of cc1plus, more likely than not.
>
> Either compiling cp/init.c with -O0 or applying this patch (which should
> actually change nothing) makes the error go away:
As we expected, this problem can't be reproduced with a cross compiler.
Would you send me a preprocessed version of cp/init.c, the cc1 command
used to compile it, and the output assembly?
I'll try to reproduce *that* with a cross compiler, and figure out
what's wrong with the assembly.
In the meantime, if your patch avoids tickling the bug, would you check
that in?
Thanks,
--
Mark Mitchell
CodeSourcery, LLC
mark at codesourcery dot com