summaryrefslogtreecommitdiffstats
path: root/target-alpha/helper.c
diff options
context:
space:
mode:
Diffstat (limited to 'target-alpha/helper.c')
-rw-r--r--target-alpha/helper.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/target-alpha/helper.c b/target-alpha/helper.c
index a658f97..be7d37b 100644
--- a/target-alpha/helper.c
+++ b/target-alpha/helper.c
@@ -95,6 +95,7 @@ void cpu_alpha_store_fpcr (CPUState *env, uint64_t val)
round_mode = float_round_nearest_even;
break;
case 3:
+ default: /* this avoids a gcc (< 4.4) warning */
round_mode = float_round_up;
break;
}
OpenPOWER on IntegriCloud