This is the mail archive of the gcc-bugs@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]

[Bug target/43643] gcc -m64 -pg corrupts %rdx / %rcx register



------- Comment #6 from ro at gcc dot gnu dot org  2010-04-08 15:09 -------
Subject: Bug 43643

Author: ro
Date: Thu Apr  8 15:09:17 2010
New Revision: 158133

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=158133
Log:
        gcc:
        PR target/43643
        * config/i386/gmon-sol2.c [__x86_64__]: Properly restore %rcx.

        gcc/testsuite:
        PR target/43643
        * gcc.dg/pr43643.c: New test.

        gcc:
        Backport from mainline:
        2010-03-22  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>

        PR target/38085
        * config/i386/i386.c (x86_function_profiler)
        [!NO_PROFILE_COUNTERS]: Fix typo.
        * config/i386/gmon-sol2.c (_mcleanup) [__x86_64__]: Use call
        instead of callq.

        libgcc:
        Backport from mainline:
        2010-03-22  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>

        PR target/38085
        * config/i386/t-sol2 ($(T)gmon.o): Use CFLAGS instead of
        MULTILIB_CFLAGS.
        ($(T)gcrt1.o): Likewise.
        ($(T)crt1.o): Likewise.
        ($(T)crti.o): Likewise.
        ($(T)crtn.o): Likewise.

Added:
    branches/gcc-4_4-branch/gcc/testsuite/gcc.dg/pr43643.c
Modified:
    branches/gcc-4_4-branch/gcc/ChangeLog
    branches/gcc-4_4-branch/gcc/config/i386/gmon-sol2.c
    branches/gcc-4_4-branch/gcc/config/i386/i386.c
    branches/gcc-4_4-branch/gcc/testsuite/ChangeLog
    branches/gcc-4_4-branch/libgcc/ChangeLog
    branches/gcc-4_4-branch/libgcc/config/i386/t-sol2


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43643


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