diff options
author | Kenneth Zadeck <zadeck@gcc.gnu.org> | 2008-05-10 20:28:19 +0000 |
---|---|---|
committer | Kenneth Zadeck <zadeck@gcc.gnu.org> | 2008-05-10 20:28:19 +0000 |
commit | 4e00d96036348f05c40cad08f7baf2fcfb1cf33c (patch) | |
tree | 1bc7539c1c3b838a808fd12973f32dba87477c89 /gcc/gcse.c | |
parent | 6e90dc6b64630fd7485eff318a24531a49654daf (diff) | |
download | gcc-4e00d96036348f05c40cad08f7baf2fcfb1cf33c.zip gcc-4e00d96036348f05c40cad08f7baf2fcfb1cf33c.tar.gz gcc-4e00d96036348f05c40cad08f7baf2fcfb1cf33c.tar.bz2 |
re PR c++/36185 (wrong code with -O2 -fgcse-sm)
2008-05-10 Kenneth Zadeck <zadeck@naturalbridge.com>
* gcse.c (store_killed_in_insn): Negated call to RTL_CONST_CALL_P.
2008-05-10 Kenneth Zadeck <zadeck@naturalbridge.com>
PR rtl-optimization/36185
* g++.dg/opt/pr36185.C
From-SVN: r135159
Diffstat (limited to 'gcc/gcse.c')
-rw-r--r-- | gcc/gcse.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -5987,7 +5987,7 @@ store_killed_in_insn (const_rtx x, const_rtx x_regs, const_rtx insn, int after) { /* A normal or pure call might read from pattern, but a const call will not. */ - if (RTL_CONST_CALL_P (insn)) + if (!RTL_CONST_CALL_P (insn)) return true; /* But even a const call reads its parameters. Check whether the |