This is the mail archive of the binutils-cvs@sourceware.org mailing list for the binutils 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]

gdb and binutils branch master updated. bd040da1dbb7e6640440f306ddf993af98441851


This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "gdb and binutils".

The branch, master has been updated
       via  bd040da1dbb7e6640440f306ddf993af98441851 (commit)
      from  13a1997e6688d79ee01f1b082f7a220901c8cf34 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=bd040da1dbb7e6640440f306ddf993af98441851

commit bd040da1dbb7e6640440f306ddf993af98441851
Author: H.J. Lu <hjl.tools@gmail.com>
Date:   Sat Dec 20 08:05:45 2014 -0800

    Change SometimesInlineFunction to "return i * i * 3;"
    
    The debug_msg test has 2 implementations of SometimesInlineFunction:
    
    int SometimesInlineFunction(int i) { return i; }
    int SometimesInlineFunction(int i) { return i * i; }
    
    and One Definition Rule (ODR) violation detection expects they will be
    compiled into functions of different sizes.  Hower, on x86, GCC 4.7 and
    newer compile them into functions of the same size and ODR violation
    detection test fails.  This patch changes
    
    int SometimesInlineFunction(int i) { return i; }
    
    to
    
    int SometimesInlineFunction(int i) { return i * i * 3; }
    
    so that it will be compiled into a function of larger size.
    
    	PR gold/14608
    	* testsuite/debug_msg.cc (SometimesInlineFunction): Changed
    	to "return i * i * 3;".

-----------------------------------------------------------------------

Summary of changes:
 gold/ChangeLog              |    6 ++++++
 gold/testsuite/debug_msg.cc |    2 +-
 2 files changed, 7 insertions(+), 1 deletions(-)


hooks/post-receive
-- 
gdb and binutils


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