rtti.c (involves_incomplete_p): Add fall through comment.

* rtti.c (involves_incomplete_p): Add fall through comment.

	* dwarf2out.c (loc_descriptor): Add fall through comment.
	(add_const_value_attribute): Likewise.

From-SVN: r240624
This commit is contained in:
Marek Polacek 2016-09-29 16:04:17 +00:00 committed by Marek Polacek
parent a181f67231
commit 0b4b9552ee
4 changed files with 12 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2016-09-29 Marek Polacek <polacek@redhat.com>
* dwarf2out.c (loc_descriptor): Add fall through comment.
(add_const_value_attribute): Likewise.
2016-09-29 Matthew Wahab <matthew.wahab@arm.com>
* config/arm/arm.md (*arm_movsi_insn): Replace "t2" arch attribute

View File

@ -1,3 +1,7 @@
2016-09-29 Marek Polacek <polacek@redhat.com>
* rtti.c (involves_incomplete_p): Add fall through comment.
2016-09-28 Jakub Jelinek <jakub@redhat.com>
PR c++/77467

View File

@ -855,7 +855,7 @@ involves_incomplete_p (tree type)
case UNION_TYPE:
if (!COMPLETE_TYPE_P (type))
return true;
/* Fall through. */
default:
/* All other types do not involve incomplete class types. */
return false;

View File

@ -14554,6 +14554,7 @@ loc_descriptor (rtx rtl, machine_mode mode,
case SYMBOL_REF:
if (!const_ok_for_output (rtl))
break;
/* FALLTHROUGH */
case LABEL_REF:
if (mode != VOIDmode && GET_MODE_SIZE (mode) == DWARF2_ADDR_SIZE
&& (dwarf_version >= 4 || !dwarf_strict))
@ -17201,6 +17202,7 @@ add_const_value_attribute (dw_die_ref die, rtx rtl)
case SYMBOL_REF:
if (!const_ok_for_output (rtl))
return false;
/* FALLTHROUGH */
case LABEL_REF:
if (dwarf_version >= 4 || !dwarf_strict)
goto rtl_addr;