bug-binutils
[Top][All Lists]
Advanced

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

[Bug gas/26044] Some targets can't be compiled with GCC 10


From: cvs-commit at gcc dot gnu.org
Subject: [Bug gas/26044] Some targets can't be compiled with GCC 10
Date: Tue, 26 May 2020 13:12:54 +0000

https://sourceware.org/bugzilla/show_bug.cgi?id=26044

--- Comment #1 from cvs-commit at gcc dot gnu.org <cvs-commit at gcc dot 
gnu.org> ---
The master branch has been updated by H.J. Lu <address@hidden>:

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

commit a05e3e203954fac0aacfcb647b1f8b52760e6df0
Author: H.J. Lu <address@hidden>
Date:   Tue May 26 06:09:54 2020 -0700

    tc-score.c: Replace overlapping sprintf with memmove

    Fix GCC 10 warning:

    gas/config/tc-score.c:4575:6: error: âsprintfâ argument 3 may overlap
destination object âkeep_dataâ [-Werror=restrict]
     4575 |      sprintf (append_str, "bne %s", keep_data);
          |      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

            PR gas/26044
            * onfig/tc-score.c (s3_do_macro_bcmp): Replace overlapping
            sprintf with memmove.

-- 
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]