[Bug target/59003] [4.9 Regression] profiledbootstrap miscompiles gcc during stagefeedback --with-tune=amdfam10

octoploid at yandex dot com gcc-bugzilla@gcc.gnu.org
Tue Dec 3 21:40:00 GMT 2013


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

--- Comment #3 from Markus Trippelsdorf <octoploid at yandex dot com> ---
Switching off misaligned_move_string_pro_epilogues for AMD "fixes" 
the issue:

diff --git a/gcc/config/i386/x86-tune.def b/gcc/config/i386/x86-tune.def
index 4c13c3a0ec69..af58b3e1f77e 100644
--- a/gcc/config/i386/x86-tune.def
+++ b/gcc/config/i386/x86-tune.def
@@ -264,7 +264,7 @@ DEF_TUNE (X86_TUNE_SINGLE_STRINGOP, "single_stringop",
m_386 | m_P4_NOCONA)
    FIXME: This may actualy be a win on more targets than listed here.  */
 DEF_TUNE (X86_TUNE_MISALIGNED_MOVE_STRING_PRO_EPILOGUES,
          "misaligned_move_string_pro_epilogues",
-         m_386 | m_486 | m_CORE_ALL | m_AMD_MULTIPLE | m_GENERIC)
+         m_386 | m_486 | m_CORE_ALL | m_GENERIC)

 /* X86_TUNE_USE_SAHF: Controls use of SAHF.  */
 DEF_TUNE (X86_TUNE_USE_SAHF, "use_sa



More information about the Gcc-bugs mailing list