This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: gcc.dg/weak/typeof-2.c makes invalid assumptions about the assemblerlanguage
- From: "Ulrich Weigand" <Ulrich dot Weigand at de dot ibm dot com>
- To: joern dot rennecke at superh dot com
- Cc: gcc at gcc dot gnu dot org
- Date: Wed, 9 Oct 2002 18:47:26 +0200
- Subject: Re: gcc.dg/weak/typeof-2.c makes invalid assumptions about the assemblerlanguage
- Sensitivity:
Joern Rennecke wrote:
>The test gcc.dg/weak/typeof-2.c (formerly gcc.dg/typeof-2.c)
>seems to try to determine how often a function is called
>by seeing how often the name is mentioned in the assembler
>file. This doesn't work for any SH target: for SH1..SH4,
>the function address is put into a memory location in the
>text segment, which is loaded into a register.
We have the same problem on s390, see
http://gcc.gnu.org/ml/gcc/2002-09/msg00647.html
Mit freundlichen Gruessen / Best Regards
Ulrich Weigand
--
Dr. Ulrich Weigand
Linux for S/390 Design & Development
IBM Deutschland Entwicklung GmbH, Schoenaicher Str. 220, 71032 Boeblingen
Phone: +49-7031/16-3727 --- Email: Ulrich.Weigand@de.ibm.com