]> git.ipfire.org Git - thirdparty/gcc.git/commit
re PR middle-end/11767 (different code behaviour with -fnon-call-exceptions -fprofile...
authorRichard Henderson <rth@redhat.com>
Wed, 3 Mar 2004 00:46:06 +0000 (16:46 -0800)
committerRichard Henderson <rth@gcc.gnu.org>
Wed, 3 Mar 2004 00:46:06 +0000 (16:46 -0800)
commit27ab3e91289ff7946c6a477de84bddb707d3f74d
tree89c4a2eac8c27b87bff6eb652865b74686befcd2
parent0b1d67d23b3498243272f751414b157054be4515
re PR middle-end/11767 (different code behaviour with -fnon-call-exceptions -fprofile-arcs)

        PR middle-end/11767
        * coverage.c (coverage_counter_ref): Set MEM_NOTRAP_P.
        * optabs.c (prepare_cmp_insn): Force trapping memories to registers
        before the compare, if flag_non_call_exceptions.
        * g++.dg/other/profile1.C: New.

From-SVN: r78805
gcc/ChangeLog
gcc/coverage.c
gcc/optabs.c