This is the mail archive of the gcc@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]

Re: 970929 test results: libstdc++ test failures! (sparc-solaris251)


Jason writes:

> Arrgh.  This is a bug in the mangling code; that should be __F1Z, not
> __g1Z.  However, I don't understand why it's failing; it seems to be a
> miscompilation of build_decl_overload_real.  Does this patch fix
> the problem?

No, in fact, with this patch, *all* the libstdc++ tests fail to compile.

Patch is below.

> Tue Sep 30 08:51:36 1997  Jason Merrill  <jason@yorick.cygnus.com>
> 
>         * method.c (build_decl_overload_real): Reformat.
> 
> Index: method.c
> ===================================================================
> RCS file: /cvs/cvsfiles/devo/gcc/cp/method.c,v
> retrieving revision 1.158
> retrieving revision 1.159
> diff -c -r1.158 -r1.159
> *** method.c	1997/09/30 07:20:51	1.158
> --- method.c	1997/09/30 15:54:09	1.159
> ***************
> *** 1157,1164 ****
>   				  TREE_CHAIN (parms));
>         }
>       }
>     else
> !     OB_PUTC ((tparms != NULL_TREE) ? 'H' : 'F');
>   
>     if (tparms)
>       {
> --- 1157,1166 ----
>   				  TREE_CHAIN (parms));
>         }
>       }
> +   else if (tparms)
> +     OB_PUTC ('H');
>     else
> !     OB_PUTC ('F');
>   
>     if (tparms)
>       {
> 



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