[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:06:00 GMT 2017


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

--- Comment #6 from Oleg Endo <olegendo at gcc dot gnu.org> ---
Author: olegendo
Date: Thu Nov 23 14:06:15 2017
New Revision: 255096

URL: https://gcc.gnu.org/viewcvs?rev=255096&root=gcc&view=rev
Log:
gcc/
        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:
    trunk/gcc/ChangeLog
    trunk/gcc/config/sh/sh.md


More information about the Gcc-bugs mailing list