From 16aa7503838bd82f2f435d02a6db9d47905ab4af Mon Sep 17 00:00:00 2001 From: zadeck Date: Sat, 10 May 2008 20:28:19 +0000 Subject: 2008-05-10 Kenneth Zadeck * gcse.c (store_killed_in_insn): Negated call to RTL_CONST_CALL_P. 2008-05-10 Kenneth Zadeck 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 --- gcc/gcse.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gcc/gcse.c') 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 -- cgit v1.2.1