summaryrefslogtreecommitdiffstats
path: root/gcc/gimple.c
diff options
context:
space:
mode:
authorebotcazou <ebotcazou@138bc75d-0d04-0410-961f-82ee72b054a4>2008-12-07 23:27:14 +0000
committerebotcazou <ebotcazou@138bc75d-0d04-0410-961f-82ee72b054a4>2008-12-07 23:27:14 +0000
commitd2305bfabdc731250d1db31b62ef28ba4c456f91 (patch)
treec3517c7278a6062af39a059d8e3d1ef8d7b74531 /gcc/gimple.c
parentcd5ffed9f5bd9f92a5972c6544bc640ac1991940 (diff)
downloadppe42-gcc-d2305bfabdc731250d1db31b62ef28ba4c456f91.tar.gz
ppe42-gcc-d2305bfabdc731250d1db31b62ef28ba4c456f91.zip
* gimple.c (recalculate_side_effects) <tcc_constant>: New case.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@142541 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/gimple.c')
-rw-r--r--gcc/gimple.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/gcc/gimple.c b/gcc/gimple.c
index c0f8f1d5300..90de9b3ebc5 100644
--- a/gcc/gimple.c
+++ b/gcc/gimple.c
@@ -3108,8 +3108,11 @@ recalculate_side_effects (tree t)
}
break;
+ case tcc_constant:
+ /* No side-effects. */
+ return;
+
default:
- /* Can never be used with non-expressions. */
gcc_unreachable ();
}
}
OpenPOWER on IntegriCloud