diff options
author | Jakub Jelinek <jakub@redhat.com> | 2016-04-27 09:45:57 +0200 |
---|---|---|
committer | Jakub Jelinek <jakub@gcc.gnu.org> | 2016-04-27 09:45:57 +0200 |
commit | 108b7b2901d2cc52b090f89a4ccfa520e52270ba (patch) | |
tree | ee16a1291dde4c097179af800ec0f645b1f22d8d /gcc/ada/gcc-interface/misc.c | |
parent | 1ee806d8d759be9c7326ce55b472f326089b47f0 (diff) | |
download | gcc-108b7b2901d2cc52b090f89a4ccfa520e52270ba.zip gcc-108b7b2901d2cc52b090f89a4ccfa520e52270ba.tar.gz gcc-108b7b2901d2cc52b090f89a4ccfa520e52270ba.tar.bz2 |
re PR sanitizer/70683 (-fcompare-debug bug with -fsanitize=address)
PR sanitizer/70683
* tree.h (inchash::add_expr): Add FLAGS argument.
* tree.c (inchash::add_expr): Likewise. If not OEP_ADDRESS_OF,
use STRIP_NOPS first. For INTEGER_CST assert not OEP_ADDRESS_OF.
For REAL_CST and !HONOR_SIGNED_ZEROS (t) hash +/- 0 the same.
Formatting fix. Adjust recursive calls. For tcc_comparison,
if swap_tree_comparison (code) is smaller than code, hash that
and arguments in the other order. Hash CONVERT_EXPR the same
as NOP_EXPR. For OEP_ADDRESS_OF hash MEM_REF with 0 offset
of ADDR_EXPR of decl as the decl itself. Add or remove
OEP_ADDRESS_OF from recursive flags as needed. For
FMA_EXPR, WIDEN_MULT_{PLUS,MINUS}_EXPR hash the first two
operands commutatively and only the third one normally.
For internal CALL_EXPR hash in CALL_EXPR_IFN.
From-SVN: r235469
Diffstat (limited to 'gcc/ada/gcc-interface/misc.c')
0 files changed, 0 insertions, 0 deletions