aboutsummaryrefslogtreecommitdiffstats
path: root/gcc-4.8/gcc/tree-ssa-operands.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc-4.8/gcc/tree-ssa-operands.c')
-rw-r--r--gcc-4.8/gcc/tree-ssa-operands.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/gcc-4.8/gcc/tree-ssa-operands.c b/gcc-4.8/gcc/tree-ssa-operands.c
index 0915080c7..a4ddb6e81 100644
--- a/gcc-4.8/gcc/tree-ssa-operands.c
+++ b/gcc-4.8/gcc/tree-ssa-operands.c
@@ -626,10 +626,8 @@ maybe_add_call_vops (gimple stmt)
call-clobbered. */
if (!(call_flags & ECF_NOVOPS))
{
- /* A 'pure' or a 'const' function never call-clobbers anything.
- A 'noreturn' function might, but since we don't return anyway
- there is no point in recording that. */
- if (!(call_flags & (ECF_PURE | ECF_CONST | ECF_NORETURN)))
+ /* A 'pure' or a 'const' function never call-clobbers anything. */
+ if (!(call_flags & (ECF_PURE | ECF_CONST)))
add_virtual_operand (stmt, opf_def);
else if (!(call_flags & ECF_CONST))
add_virtual_operand (stmt, opf_use);