aboutsummaryrefslogtreecommitdiff
path: root/gcc/cp/class.c
diff options
context:
space:
mode:
authorJozef Lawrynowicz <jozef.l@mittosystems.com>2020-07-22 12:37:29 +0100
committerJozef Lawrynowicz <jozef.l@mittosystems.com>2020-07-22 12:38:56 +0100
commit259c3965b1ba04f7ee022846af6173fb1c343bc8 (patch)
treede7a0af58de95dcdf005eb1e4c8561a80a776e9b /gcc/cp/class.c
parent4821e0aabee57d5b7f955f138a8bee4588240609 (diff)
downloadgcc-259c3965b1ba04f7ee022846af6173fb1c343bc8.zip
gcc-259c3965b1ba04f7ee022846af6173fb1c343bc8.tar.gz
gcc-259c3965b1ba04f7ee022846af6173fb1c343bc8.tar.bz2
expmed: Fix possible use of NULL_RTX return value from emit_store_flag
MSP430 does not support have any store-flag instructions, so emit_store_flag can return NULL_RTX. Catch the NULL_RTX in expmed.c:expand_sdiv_pow2. gcc/ChangeLog: * expmed.c (expand_sdiv_pow2): Check return value from emit_store_flag is not NULL_RTX before use.
Diffstat (limited to 'gcc/cp/class.c')
0 files changed, 0 insertions, 0 deletions