re PR middle-end/70359 (Code size increase for x86/ARM/others compared to gcc-5.3.0)
authorRichard Biener <rguenther@suse.de>
Wed, 31 Oct 2018 11:57:33 +0000 (11:57 +0000)
committerRichard Biener <rguenth@gcc.gnu.org>
Wed, 31 Oct 2018 11:57:33 +0000 (11:57 +0000)
commitef976be1a23a5171082cf1a569d00573013a175c
tree782afd083e18def3f782fe1b3164a3d22a3288ae
parent635aeaa20ffdf6e794f180cc8e053e8dc46db760
re PR middle-end/70359 (Code size increase for x86/ARM/others compared to gcc-5.3.0)

2018-10-31  Richard Biener  <rguenther@suse.de>

PR middle-end/70359
PR middle-end/86270
* tree-outof-ssa.c (insert_backedge_copies): Restrict
copy generation to useful cases.  Place the copy before
the definition of the backedge value when possible.

* gcc.target/i386/pr70359.c: New testcase.
* gcc.target/i386/pr86270.c: Likewise.

From-SVN: r265677
gcc/ChangeLog
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.target/i386/pr70359.c [new file with mode: 0644]
gcc/testsuite/gcc.target/i386/pr86270.c [new file with mode: 0644]
gcc/tree-outof-ssa.c