]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit
gprofng: avoid using `fallthrough' attributes
authorJose E. Marchesi <jose.marchesi@oracle.com>
Tue, 15 Mar 2022 20:04:57 +0000 (21:04 +0100)
committerJose E. Marchesi <jose.marchesi@oracle.com>
Tue, 15 Mar 2022 20:04:57 +0000 (21:04 +0100)
commit6aa03e9c1769c8d925f4d23d72af93483bfd31f3
tree7d4439d5aa34224247ca1d0a743894469bfcdb62
parentcda8dc94dfff823bf0284e5140c6065f143a9f51
gprofng: avoid using `fallthrough' attributes

gprofng didn't build with gcc 6.3 due to the usage of __attribute__
((fallthrough)).  This patch uses /* FALLTHROUGH */ instead.

2022-03-15  Jose E. Marchesi  <jose.marchesi@oracle.com>

* gprofng/src/gp-collect-app.cc (collect::check_args): Use
fallthrough comment instead of attribute.
ChangeLog
gprofng/src/gp-collect-app.cc