diff options
author | Jakub Jelinek <jakub@redhat.com> | 2022-03-02 10:48:14 +0100 |
---|---|---|
committer | Jakub Jelinek <jakub@redhat.com> | 2022-03-02 10:48:14 +0100 |
commit | 2e1b00367abaf8b6dbb47fd8518d9ac69c326a06 (patch) | |
tree | ebbba072772960a48ee77f8bc86921887f2c11f9 /gcc/fortran | |
parent | 5f2e72db8c03c960d8330305c1e92986373198ca (diff) | |
download | gcc-2e1b00367abaf8b6dbb47fd8518d9ac69c326a06.zip gcc-2e1b00367abaf8b6dbb47fd8518d9ac69c326a06.tar.gz gcc-2e1b00367abaf8b6dbb47fd8518d9ac69c326a06.tar.bz2 |
cfgrtl: Fix up -g vs. -g0 code generation -flto differences in fixup_reorder_chain [PR104589]
This is similar to PR104237 and similarly to that, no testcase included
for the testsuite, as we don't have a framework to compile/link with
-g -flto and -g0 -flto and compare -fdump-final-insns= results from
the lto1 compilations.
With -flto, whether two location_t compare equal or not and just
express the same location is a lottery.
2022-03-02 Jakub Jelinek <jakub@redhat.com>
PR rtl-optimization/104589
* cfgrtl.cc (fixup_reorder_chain): Use loc_equal instead of direct
INSN_LOCATION comparison with goto_locus.
Diffstat (limited to 'gcc/fortran')
0 files changed, 0 insertions, 0 deletions