re PR middle-end/86575 (-Wimplicit-fallthrough affects code generation)
authorMichael Matz <matz@suse.de>
Wed, 14 Nov 2018 15:43:54 +0000 (15:43 +0000)
committerMichael Matz <matz@gcc.gnu.org>
Wed, 14 Nov 2018 15:43:54 +0000 (15:43 +0000)
commit725891a0a46961602cad6f81dd9c8f0ee3d93cea
tree139c2cc9dece1c06d5b6c5ccb001c6ffbd479f44
parente81d464cafa9815e64674a2e3b3e9d0e5eac6b31
re PR middle-end/86575 (-Wimplicit-fallthrough affects code generation)

Fix PR middle-end/86575

PR middle-end/86575
* gimplify.c (collect_fallthrough_labels): Add new argument,
return location via that, don't modify statements.
(warn_implicit_fallthrough_r): Adjust call, don't use
statement location directly.

From-SVN: r266148
gcc/ChangeLog
gcc/gimplify.c