re PR target/49349 (gfortran.dg/char_result_3.f90 fails with -O3)
authorAlexander Monakov <amonakov@ispras.ru>
Wed, 15 Jun 2011 08:08:27 +0000 (12:08 +0400)
committerAlexander Monakov <amonakov@gcc.gnu.org>
Wed, 15 Jun 2011 08:08:27 +0000 (12:08 +0400)
commit6fc5966fe8f81fb8b89f4268d52f488e81c257aa
tree30def536d3f14cfe874b598f831f5872cff90898
parent9d5e7640c335a590cec4497fa64230f0b0e83465
re PR target/49349 (gfortran.dg/char_result_3.f90 fails with -O3)

PR target/49349
* sel-sched.c (find_place_for_bookkeeping): Add new parameter
(fence_to_rewind).  Use it to notice when bookkeeping will be placed
above a fence.  Update comments.
(generate_bookkeeping_insn): Rewind fence when bookkeeping code is
placed just above it.  Do not allow NULL place_to_insert.

From-SVN: r175075
gcc/ChangeLog
gcc/sel-sched.c