aboutsummaryrefslogtreecommitdiff
path: root/gcc/expr.c
diff options
context:
space:
mode:
authorJakub Jelinek <jakub@redhat.com>2019-01-05 12:12:35 +0100
committerJakub Jelinek <jakub@gcc.gnu.org>2019-01-05 12:12:35 +0100
commit4a3e7df872be0bb7198fed02746ff5e96ff1d584 (patch)
tree97a36f848c0517c5f72bd38b604a7d343cff158b /gcc/expr.c
parent46ca1b43ed79cb5627285bee59f15344df18d8d5 (diff)
downloadgcc-4a3e7df872be0bb7198fed02746ff5e96ff1d584.zip
gcc-4a3e7df872be0bb7198fed02746ff5e96ff1d584.tar.gz
gcc-4a3e7df872be0bb7198fed02746ff5e96ff1d584.tar.bz2
re PR debug/88635 (Assembler error when building with "-g -O2 -m32")
PR debug/88635 * dwarf2out.c (const_ok_for_output_1): Reject MINUS that contains SYMBOL_REF, CODE_LABEL or UNSPEC in subexpressions of second argument. Reject PLUS that contains SYMBOL_REF, CODE_LABEL or UNSPEC in subexpressions of both operands. (mem_loc_descriptor): Handle UNSPEC if target hook acks it and all the subrtxes are CONSTANT_P. * config/i386/i386.c (ix86_const_not_ok_for_debug_p): Revert 2018-11-09 changes. * gcc.dg/debug/dwarf2/pr88635.c: New test. From-SVN: r267594
Diffstat (limited to 'gcc/expr.c')
0 files changed, 0 insertions, 0 deletions