A conditional expression between DFP and non-DFP floating-point produces an ICE. This patch fixes this by making build_conditional_expr return early when c_common_type produces an error. Bootstrapped with no regressions on x86_64-pc-linux-gnu. PR c/71601 gcc/c: * c-typeck.c (build_conditional_expr): Return error_mark_node if c_common_type returns error_mark_node. gcc/testsuite: * gcc.dg/dfp/usual-arith-conv-bad-3.c: New test. From-SVN: r237622
Name |
Last commit
|
Last update |
---|---|---|
.. | ||
Wbad-function-cast-1.c | Loading commit data... | |
Wtraditional-conversion-2.c | Loading commit data... | |
altivec-types.c | Loading commit data... | |
builtin-complex.c | Loading commit data... | |
cast-bad.c | Loading commit data... | |
composite-type.c | Loading commit data... | |
constants-c99.c | Loading commit data... | |
constants-hex.c | Loading commit data... | |
constants-pedantic.c | Loading commit data... | |
constants.c | Loading commit data... | |
convert-complex.c | Loading commit data... | |
convert-dfp-round-thread.c | Loading commit data... | |
convert-dfp-round.c | Loading commit data... | |
ctypes.c | Loading commit data... | |
ddmode-ice.c | Loading commit data... | |
dec-eval-method-2.c | Loading commit data... | |
dec-eval-method.c | Loading commit data... | |
decfloat-constants.c | Loading commit data... | |
dfp-dbg.h | Loading commit data... | |
dfp-except.h | Loading commit data... | |
dfp-round.h | Loading commit data... | |
dfp.exp | Loading commit data... | |
fe-binop.c | Loading commit data... | |
fe-check.h | Loading commit data... | |
fe-convert-1.c | Loading commit data... | |
fe-convert-2.c | Loading commit data... | |
fe-convert-3.c | Loading commit data... | |
float-constant-double.c | Loading commit data... | |
keywords-c89.c | Loading commit data... | |
keywords-c99.c | Loading commit data... | |
keywords-ignored-c99.c | Loading commit data... | |
keywords-pedantic.c | Loading commit data... | |
keywords-reserved.c | Loading commit data... | |
operator-bitwise.c | Loading commit data... | |
pr31344.c | Loading commit data... | |
pr37435.c | Loading commit data... | |
pr41049.c | Loading commit data... | |
pr48204.c | Loading commit data... | |
pr48928.c | Loading commit data... | |
pr52140.c | Loading commit data... | |
pr70052.c | Loading commit data... | |
pragma-float-const-decimal64-1.c | Loading commit data... | |
pragma-float-const-decimal64-2.c | Loading commit data... | |
pragma-float-const-decimal64-3.c | Loading commit data... | |
pragma-float-const-decimal64-4.c | Loading commit data... | |
pragma-float-const-decimal64-5.c | Loading commit data... | |
pragma-float-const-decimal64-6.c | Loading commit data... | |
pragma-float-const-decimal64-7.c | Loading commit data... | |
pragma-float-const-decimal64-8.c | Loading commit data... | |
struct-union.c | Loading commit data... | |
typespec.c | Loading commit data... | |
union-init.c | Loading commit data... | |
usual-arith-conv-bad-2.c | Loading commit data... | |
usual-arith-conv-bad-3.c | Loading commit data... | |
usual-arith-conv-bad.c | Loading commit data... | |
wtr-conversion-1.c | Loading commit data... |