bug-binutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug gold/12572] FAIL: debug_msg.sh


From: jyasskin at gmail dot com
Subject: [Bug gold/12572] FAIL: debug_msg.sh
Date: Fri, 11 Mar 2011 19:19:06 +0000

http://sourceware.org/bugzilla/show_bug.cgi?id=12572

--- Comment #1 from Jeffrey Yasskin <jyasskin at gmail dot com> 2011-03-11 
19:18:55 UTC ---
Created attachment 5296
  --> http://sourceware.org/bugzilla/attachment.cgi?id=5296
Fix the debug_msg.sh test.

I can reproduce this by switching from Ubuntu Lucid's native gcc-4.4.3 to
gcc-4.6-svn, probably because they optimize different instructions into the
front of Ordering::operator(). One fix is to add a comment just before that
function, so that all its line numbers are two digits, which will cause
detect_odr_violations() to sort a consistent line into the first place,
regardless of gcc optimizes it.

Here's a patch that passes with both gcc-4.4.3 and gcc-4.6-svn.

-- 
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]