This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug target/38085] gcc -m64 -pg generates invalid assembler code on Solaris 10/x86
- From: "ro at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 5 Mar 2010 20:09:44 -0000
- Subject: [Bug target/38085] gcc -m64 -pg generates invalid assembler code on Solaris 10/x86
- References: <bug-38085-279@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #6 from ro at gcc dot gnu dot org 2010-03-05 20:09 -------
I found none of the changes to internal_mcount to be necessary: with the
attached
patch, I could both bootstrap mainline successfully on i386-pc-solaris2.11, the
-pg related testsuite failures were gone, and I could profile a small test
program
with gcc -pg -m64. To be certain I hadn't done anything wrong, I've used Sun
Studio 12.1 cc -xpg -m64 to verify the profiling output, and apart from the
exact
times, the results were identical.
So unless you have a testcase that misbehaves with that patch, I plan to submit
it shortly.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38085