diff options
author | John David Anglin <danglin@gcc.gnu.org> | 2018-09-14 23:26:12 +0000 |
---|---|---|
committer | John David Anglin <danglin@gcc.gnu.org> | 2018-09-14 23:26:12 +0000 |
commit | f3743e2e32432a1d961c81097db3f755fd2dae76 (patch) | |
tree | 408d2c467782ee84c4590e65b055f6b0cb4fbc1a /gcc/cfgexpand.c | |
parent | 07f879058339c496273c9960562c3fdad317001a (diff) | |
download | gcc-f3743e2e32432a1d961c81097db3f755fd2dae76.zip gcc-f3743e2e32432a1d961c81097db3f755fd2dae76.tar.gz gcc-f3743e2e32432a1d961c81097db3f755fd2dae76.tar.bz2 |
re PR middle-end/87188 (Function pointer canonicalization optimized away)
PR middle-end/87188
* dojump.c (do_compare_and_jump): Canonicalize function pointers
when one operand is a function pointer. Use POINTER_TYPE_P and
FUNC_OR_METHOD_TYPE_P.
* expr.c (do_store_flag): Use POINTER_TYPE_P and FUNC_OR_METHOD_TYPE_P.
* fold-const.c (build_range_check): Likewise.
* match.pd (simple_comparison): Likewise.
From-SVN: r264336
Diffstat (limited to 'gcc/cfgexpand.c')
0 files changed, 0 insertions, 0 deletions