diff options
| author | Mark Wielaard <[email protected]> | 2016-11-02 13:29:26 +0100 |
|---|---|---|
| committer | Mark Wielaard <[email protected]> | 2016-11-10 11:59:00 +0100 |
| commit | a3cc8182b2ae05290b0eafa74b70746d7befc0e4 (patch) | |
| tree | 7d1f74f9f464b810a95dc7cd78c73930a938924a /backends/ChangeLog | |
| parent | 33ca0e1b9dfb47c6f9836c7fc19d04bd34337767 (diff) | |
Add GCC7 -Wimplicit-fallthrough support/fixes.
GCC7 will have a new -Wimplicit-fallthrough warning. It did catch one
small buglet in elflint option procession. So it seems useful to enable
to make sure all swatch case fallthroughs are deliberate.
Add configure check to detect whether gcc support -Wimplicit-fallthrough
and enable it. Add fixes and explicit fallthrough comments where necessary.
Signed-off-by: Mark Wielaard <[email protected]>
Diffstat (limited to 'backends/ChangeLog')
| -rw-r--r-- | backends/ChangeLog | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/backends/ChangeLog b/backends/ChangeLog index 53d29081..1c561b50 100644 --- a/backends/ChangeLog +++ b/backends/ChangeLog @@ -1,3 +1,14 @@ +2016-11-02 Mark Wielaard <[email protected]> + + * i386_regs.c (i386_register_info): Add fallthrough comment. + * i386_retval.c (i386_return_value_location): Move fallthrough + comment. + * linux-core-note.c (core_note): Adjust fallthrough comment. + * m68k_retval.c (m68k_return_value_location): Move fallthrough + comment. + * ppc_regs.c (ppc_register_info): Add fallthrough comment. + * x86_64_regs.c (x86_64_register_info): Likewise. + 2016-08-09 Jose E. Marchesi <[email protected]> * sparc_attrs.c (sparc_check_object_attribute): Fix the |
