[Bug target/83111] [7/8 Regression][sh] stack smashing detected in gen_udivsi3

olegendo at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Thu Nov 23 14:08:00 GMT 2017


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83111

--- Comment #7 from Oleg Endo <olegendo at gcc dot gnu.org> ---
Author: olegendo
Date: Thu Nov 23 14:08:12 2017
New Revision: 255097

URL: https://gcc.gnu.org/viewcvs?rev=255097&root=gcc&view=rev
Log:
gcc/
        Backport from mainline
        2017-11-23  Oleg Endo  <olegendo@gcc.gnu.org>

        PR target/83111
        * config/sh/sh.md (udivsi3, divsi3, sibcall_value_pcrel,
        sibcall_value_pcrel_fdpic): Use local variable instead of
        operands[3].
        (calli_tbr_rel): Add missing operand 2.
        (call_valuei_tbr_rel): Add missing operand 3.


Modified:
    branches/gcc-7-branch/gcc/ChangeLog
    branches/gcc-7-branch/gcc/config/sh/sh.md


More information about the Gcc-bugs mailing list