re PR tree-optimization/69308 (ifcombine joins together floating point expression with side effects)
2016-01-18 Richard Biener <rguenther@suse.de> PR middle-end/69308 * gimple.c (gimple_could_trap_p_1): Handle GIMPLE_COND. From-SVN: r232516
This commit is contained in:
parent
5d7804a940
commit
46ec7a061e
@ -1,3 +1,8 @@
|
||||
2016-01-18 Richard Biener <rguenther@suse.de>
|
||||
|
||||
PR middle-end/69308
|
||||
* gimple.c (gimple_could_trap_p_1): Handle GIMPLE_COND.
|
||||
|
||||
2016-01-18 Tom de Vries <tom@codesourcery.com>
|
||||
|
||||
* passes.def: Add pass_parallelize_loops to pass_oacc_kernels.
|
||||
|
@ -1931,6 +1931,11 @@ gimple_could_trap_p_1 (gimple *s, bool include_mem, bool include_stores)
|
||||
&& TYPE_OVERFLOW_TRAPS (t)),
|
||||
div));
|
||||
|
||||
case GIMPLE_COND:
|
||||
t = TREE_TYPE (gimple_cond_lhs (s));
|
||||
return operation_could_trap_p (gimple_cond_code (s),
|
||||
FLOAT_TYPE_P (t), false, NULL_TREE);
|
||||
|
||||
default:
|
||||
break;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user