diff options
author | Richard Biener <rguenther@suse.de> | 2021-11-29 13:19:57 +0100 |
---|---|---|
committer | Richard Biener <rguenther@suse.de> | 2021-11-30 15:05:12 +0100 |
commit | fa01e206c87581186f64f4500f926cdb70549de0 (patch) | |
tree | 1ca5e06b83180b7212f871d99686a4f2b666c55a /libcpp | |
parent | 0194d92c35ca8b3aa850b805d9becb4491cf6bec (diff) | |
download | gcc-fa01e206c87581186f64f4500f926cdb70549de0.zip gcc-fa01e206c87581186f64f4500f926cdb70549de0.tar.gz gcc-fa01e206c87581186f64f4500f926cdb70549de0.tar.bz2 |
Remove more stray returns and gcc_unreachable ()s
This removes more cases that appear when bootstrap with
-Wunreachable-code-return progresses.
2021-11-29 Richard Biener <rguenther@suse.de>
* config/i386/i386.c (ix86_shift_rotate_cost): Remove
unreachable return.
* tree-chrec.c (evolution_function_is_invariant_rec_p):
Likewise.
* tree-if-conv.c (if_convertible_stmt_p): Likewise.
* tree-ssa-pre.c (fully_constant_expression): Likewise.
* tree-vrp.c (operand_less_p): Likewise.
* reload.c (reg_overlap_mentioned_for_reload_p): Remove
unreachable gcc_unreachable ().
* sel-sched-ir.h (bb_next_bb): Likewise.
* varasm.c (compare_constant): Likewise.
gcc/cp/
* logic.cc (cnf_size_r): Remove unreachable and inconsistently
placed gcc_unreachable ()s.
* pt.c (iterative_hash_template_arg): Remove unreachable
gcc_unreachable and return.
gcc/fortran/
* target-memory.c (gfc_element_size): Remove unreachable return.
gcc/objc/
* objc-act.c (objc_build_setter_call): Remove unreachable
return.
libcpp/
* charset.c (convert_escape): Remove unreachable break.
Diffstat (limited to 'libcpp')
-rw-r--r-- | libcpp/charset.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/libcpp/charset.c b/libcpp/charset.c index 0b0ccc6..bcfd3ad 100644 --- a/libcpp/charset.c +++ b/libcpp/charset.c @@ -1534,7 +1534,6 @@ convert_escape (cpp_reader *pfile, const uchar *from, const uchar *limit, case 'x': return convert_hex (pfile, from, limit, tbuf, cvt, char_range, loc_reader, ranges); - break; case '0': case '1': case '2': case '3': case '4': case '5': case '6': case '7': |