diff options
author | zadeck <zadeck@138bc75d-0d04-0410-961f-82ee72b054a4> | 2008-05-10 20:28:19 +0000 |
---|---|---|
committer | zadeck <zadeck@138bc75d-0d04-0410-961f-82ee72b054a4> | 2008-05-10 20:28:19 +0000 |
commit | 16aa7503838bd82f2f435d02a6db9d47905ab4af (patch) | |
tree | 1bc7539c1c3b838a808fd12973f32dba87477c89 /gcc/gcse.c | |
parent | b0fe84d1750dc0be178af316f25a33ea4157afc0 (diff) | |
download | gcc-16aa7503838bd82f2f435d02a6db9d47905ab4af.tar.gz |
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
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@135159 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/gcse.c')
-rw-r--r-- | gcc/gcse.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/gcse.c b/gcc/gcse.c index e881e86764e..77efc44769b 100644 --- a/gcc/gcse.c +++ b/gcc/gcse.c @@ -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 |