Hello,
I noticed some implicit-fallthrough warnings in a powerpc64le-linux GCC
build:
/home/sh/b-gcc-git/./gcc/xgcc -B/home/sh/b-gcc-git/./gcc/
-B/home/sh/install-gcc-git/powerpc64le-unknown-linux-gnu/bin/
-B/home/sh/install-gcc-git/powerpc64le-unknown-linux-gnu/lib/ -isystem
/home/sh/install-gcc-git/powerpc64le-unknown-linux-gnu/include -isystem
/home/sh/install-gcc-git/powerpc64le-unknown-linux-gnu/sys-include -g
-O2 -O2 -g -O2 -DIN_GCC -W -Wall -Wno-narrowing -Wwrite-strings
-Wcast-qual -Wno-format -Wstrict-prototypes -Wmissing-prototypes
-Wold-style-definition -isystem ./include -fPIC -mlong-double-128
-mno-minimal-toc -g -DIN_LIBGCC2 -fbuilding-libgcc
-fno-stack-protector -fPIC -mlong-double-128 -mno-minimal-toc -I. -I.
-I../.././gcc -I/home/sh/gcc-git/libgcc -I/home/sh/gcc-git/libgcc/.
-I/home/sh/gcc-git/libgcc/../gcc -I/home/sh/gcc-git/libgcc/../include
-I/home/sh/gcc-git/libgcc/../libdecnumber/dpd
-I/home/sh/gcc-git/libgcc/../libdecnumber -DHAVE_CC_TLS -o _ucmpdi2.o
-MT _ucmpdi2.o -MD -MP -MF _ucmpdi2.dep -DL_ucmpdi2 -c
/home/sh/gcc-git/libgcc/libgcc2.c -fvisibility=hidden -DHIDE_EXPORTS
/home/sh/gcc-git/libgcc/soft-fp/op-common.h:900:10: warning: this
statement may fall through [-Wimplicit-fallthrough=]
R##_s = X##_s; \
/home/sh/gcc-git/libgcc/soft-fp/quad.h:308:29: note: in expansion of
macro ‘_FP_MUL’
# define FP_MUL_Q(R, X, Y) _FP_MUL (Q, 2, R, X, Y)
^~~~~~~
mulkf3-sw.c:48:3: note: in expansion of macro ‘FP_MUL_Q’
FP_MUL_Q (R, A, B);
^~~~~~~~
/home/sh/gcc-git/libgcc/soft-fp/op-common.h:902:2: note: here
case _FP_CLS_COMBINE (FP_CLS_INF, FP_CLS_INF): \
^
/home/sh/gcc-git/libgcc/soft-fp/quad.h:308:29: note: in expansion of
macro ‘_FP_MUL’
# define FP_MUL_Q(R, X, Y) _FP_MUL (Q, 2, R, X, Y)
^~~~~~~
mulkf3-sw.c:48:3: note: in expansion of macro ‘FP_MUL_Q’
FP_MUL_Q (R, A, B);
^~~~~~~~
/home/sh/gcc-git/libgcc/soft-fp/op-common.h:913:10: warning: this
statement may fall through [-Wimplicit-fallthrough=]
R##_s = Y##_s; \
/home/sh/gcc-git/libgcc/soft-fp/quad.h:308:29: note: in expansion of
macro ‘_FP_MUL’
# define FP_MUL_Q(R, X, Y) _FP_MUL (Q, 2, R, X, Y)
^~~~~~~
mulkf3-sw.c:48:3: note: in expansion of macro ‘FP_MUL_Q’
FP_MUL_Q (R, A, B);
^~~~~~~~
/home/sh/gcc-git/libgcc/soft-fp/op-common.h:915:2: note: here
case _FP_CLS_COMBINE (FP_CLS_NORMAL, FP_CLS_INF): \
^
/home/sh/gcc-git/libgcc/soft-fp/quad.h:308:29: note: in expansion of
macro ‘_FP_MUL’
# define FP_MUL_Q(R, X, Y) _FP_MUL (Q, 2, R, X, Y)
^~~~~~~
mulkf3-sw.c:48:3: note: in expansion of macro ‘FP_MUL_Q’
FP_MUL_Q (R, A, B);
^~~~~~~
I don't know this code enough to fix them.
--
Sebastian Huber, embedded brains GmbH
Address : Dornierstr. 4, D-82178 Puchheim, Germany
Phone : +49 89 189 47 41-16
Fax : +49 89 189 47 41-09
E-Mail : sebastian.hu...@embedded-brains.de
PGP : Public key available on request.
Diese Nachricht ist keine geschäftliche Mitteilung im Sinne des EHUG.