This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Re: wrong alpha code with profile
- To: egcs-bugs at cygnus dot com
- Subject: Re: wrong alpha code with profile
- From: rth at cygnus dot com (Richard Henderson)
- Date: 25 Jun 1998 01:14:24 -0700
- Newsgroups: cygnus.egcs.bugs
- Organization: Cygnus Solutions
- References: <19980623154604.18202.cygnus.egcs.bugs@haegar.physiol.med.tu-muenchen.de>
In article <19980623154604.18202.cygnus.egcs.bugs@haegar.physiol.med.tu-muenchen.de>,
Robert Wilhelm <robert@physiol.med.tu-muenchen.de> wrote:
>
>Current egcs-2.91.42 19980623 produces wrong code on alphaev56-linux-gnu
>when compiling with -p -O2.
>
>Register 28 is destroyed for mcount call.
I have just checked in patches to cure this. The call to _mcount
will now always be immediately after the ldgp.
r~