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]
Other format: [Raw text]

Re: gcc.dg/weak/typeof-2.c makes invalid assumptions about the assemblerlanguage


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


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