aboutsummaryrefslogtreecommitdiff
path: root/gcc/fold-const.c
diff options
context:
space:
mode:
authorAndrew Pinski <apinski@marvell.com>2020-08-25 14:17:52 +0800
committerChenghua Xu <paul.hua.gm@gmail.com>2020-08-25 15:39:28 +0800
commit68e605c93d57c17f07edd50f7e1c80f9216befd2 (patch)
tree57946cbc9efab3a99a58db0eb275af789013ffd5 /gcc/fold-const.c
parent7fe2cec41bb2ccb499b6b6c513e00da1a270370f (diff)
downloadgcc-68e605c93d57c17f07edd50f7e1c80f9216befd2.zip
gcc-68e605c93d57c17f07edd50f7e1c80f9216befd2.tar.gz
gcc-68e605c93d57c17f07edd50f7e1c80f9216befd2.tar.bz2
MIPS: Fix __builtin_longjmp (PR 64242)
The problem here is mips has its own builtin_longjmp pattern and it was not fixed when expand_builtin_longjmp was fixed. We need to read the new fp and gp before restoring the stack as the buffer might be a local variable. 2020-08-25 Andrew Pinski <apinski@marvell.com> gcc/ChangeLog: PR middle-end/64242 * config/mips/mips.md (builtin_longjmp): Restore the frame pointer and stack pointer and gp.
Diffstat (limited to 'gcc/fold-const.c')
0 files changed, 0 insertions, 0 deletions