H.J. Lu 0813cb5847 Suppress Clang -Wimplicit-fallthrough warnings
Since Clang doesn't properly handle

/* FALLTHROUGH */

in elf/tst-align2.c nor

/* fall through */

in misc/tst-tsearch.c

tst-align2.c💯9: error: unannotated fall-through between switch labels [-Werror,-Wimplicit-fallthrough]
  100 |         case 'A':
      |         ^
tst-align2.c💯9: note: insert '__attribute__((fallthrough));' to silence this warning
  100 |         case 'A':
      |         ^
      |         __attribute__((fallthrough));
tst-align2.c💯9: note: insert 'break;' to avoid fall-through
  100 |         case 'A':
      |         ^
      |         break;

suppress them when compiled with Clang.

Signed-off-by: H.J. Lu <hjl.tools@gmail.com>
Reviewed-by: Sam James <sam@gentoo.org>
2024-12-23 06:28:55 +08:00
..
2024-06-18 10:45:36 +02:00
2024-12-20 15:52:57 +01:00
2024-12-20 15:52:57 +01:00
2024-12-20 15:52:57 +01:00
2009-06-03 16:21:40 -07:00
2009-06-22 15:07:40 -07:00
2009-06-22 15:07:40 -07:00
2009-06-22 15:07:40 -07:00
2013-06-05 20:44:03 +00:00
2009-10-30 00:48:54 -07:00
2009-06-03 16:21:40 -07:00
2009-06-22 15:07:40 -07:00
2009-06-22 15:07:40 -07:00
2009-06-22 15:07:40 -07:00
2009-06-22 15:07:40 -07:00
2009-06-22 15:07:40 -07:00
2009-06-22 15:07:40 -07:00
2009-06-22 15:07:40 -07:00
2009-06-22 15:07:40 -07:00
2009-06-22 15:07:40 -07:00
2009-10-30 00:48:54 -07:00
2012-01-07 23:57:22 -05:00
2023-05-29 23:00:12 +00:00
2023-05-29 23:00:12 +00:00
2023-05-29 23:00:12 +00:00
2023-05-29 23:00:12 +00:00
2020-05-18 15:39:34 +02:00
2013-06-05 20:44:03 +00:00
2022-04-26 10:16:11 -07:00
2022-04-26 10:16:11 -07:00
2013-10-18 19:45:36 +05:30
2024-12-05 09:53:47 +00:00
2024-12-05 09:53:47 +00:00
2024-12-05 09:53:47 +00:00
2024-12-05 09:53:47 +00:00
2024-12-05 09:53:47 +00:00
2024-12-05 09:53:47 +00:00
2024-12-05 09:53:47 +00:00
2024-12-05 09:53:47 +00:00
2024-12-05 09:53:47 +00:00
2024-12-05 09:53:47 +00:00
2011-09-10 14:34:15 -04:00
2011-09-10 14:34:15 -04:00
2011-09-10 14:34:15 -04:00
2011-08-24 09:32:13 +02:00