This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: solaris 2.9 sun assembler warnings
> Andreas Tobler wrote:
>
> >Andreas Tobler wrote:
> >
> >>Jeff Sturm wrote:
> >>
> >>>On Mon, 9 Jun 2003, Andreas Tobler wrote:
> >>>
> >>>>anyone an idea what happened on the solaris side?
> >>>
> >>>
> >>>
> >>>
> >>>>/usr/ccs/bin/as: "/var/tmp//ccChigwr.s", line 19: warning: label in
> >>>>delay slot (follows CTI)^M
> >>>
> >>>
> >>>
> >>>
> >>>I first noticed this in yesterday's unsuccessful bootstrap. Didn't
> >>>see it
> >>>around a week ago.
> >>
> >>
> >>
> >>It happened between yesterday and today. The results I sent yesterday
> >>seem to be ok.
> >>
> >>Ok, I could start with a binary search.
> >
> >
> >It must be this one:
> >http://gcc.gnu.org/ml/gcc-cvs/2003-06/msg00351.html
>
> Ok, the interest is not that big.
>
> I grabbed a failing file from the bootstrap which is not to big.
>
> stage1/xgcc -Bstage1/ -B/var/tmp/sparc-sun-solaris2.9/bin/ -c -g -O2
> -DIN_GCC -W -Wall -Wwrite-strings -Wstrict-prototypes
> -Wmissing-prototypes -pedantic -Wno-long-long -Werror -fno-common
> -DHAVE_CONFIG_H -I. -I. -I../../gcc/gcc -I../../gcc/gcc/.
> -I../../gcc/gcc/config -I../../gcc/gcc/../include ../../gcc/gcc/errors.c -S
>
> [enterprise:gcc-cvs/objdir/gcc] andreast% as errors.s
> as: "errors.s", line 223: warning: label in delay slot (follows CTI)
> as: "errors.s", line 251: warning: label in delay slot (follows CTI)
> as: "errors.s", line 259: warning: label in delay slot (follows CTI)
>
> If I follow
> http://docs.sun.com/db/doc/806-3774/6jctamgsj?q=SPARC+assembly+language&a=view
> section 2.4 and fill in an empty op on the lines above I assemble
> through without warning.
> Though I don't know if any experts can do something with this observation.
>
> Attached the errors.s file plus the diff where as doesn't complain.
Can you please send me something together with the source fiule? I
don't have the include files from solaris and this does not reproduce
for me on ultralinux. I don't quite understand how such change in delay
slot scheduling can possibly be changed by the patch touching CFG
code...
Honza
>
> Andreas
>
>