This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug c/17026] Error at last empty case in switch block.


------- Additional Comments From do8896 at db dot com  2004-08-14 13:53 -------
Compile command: gcc -v -save-temps -o a a.c
Compiler stderr&stdout output:

Reading specs from /usr/lib/gcc/i686-pc-linux-gnu/3.4.1/specs
Configured with: /var/tmp/portage/gcc-3.4.1-r2/work/gcc-3.4.1/configure
--prefix=/usr --bindir=/usr/i686-pc-linux-gnu/gcc-bin/3.4
--includedir=/usr/lib/gcc/i686-pc-linux-gnu/3.4.1/include
--datadir=/usr/share/gcc-data/i686-pc-linux-gnu/3.4
--mandir=/usr/share/gcc-data/i686-pc-linux-gnu/3.4/man
--infodir=/usr/share/gcc-data/i686-pc-linux-gnu/3.4/info --enable-shared
--host=i686-pc-linux-gnu --target=i686-pc-linux-gnu --with-system-zlib
--enable-languages=c,c++ --enable-threads=posix --enable-long-long
--disable-checking --disable-libunwind-exceptions --enable-cstdio=stdio
--enable-version-specific-runtime-libs
--with-gxx-include-dir=/usr/lib/gcc/i686-pc-linux-gnu/3.4.1/include/g++-v3
--with-local-prefix=/usr/local --disable-werror --enable-shared --enable-nls
--without-included-gettext --disable-multilib --enable-__cxa_atexit
--enable-clocale=gnu
Thread model: posix
gcc version 3.4.1 20040803 (Gentoo Linux 3.4.1-r2, ssp-3.4-2, pie-8.7.6.5)
 /usr/libexec/gcc/i686-pc-linux-gnu/3.4.1/cc1 -E -quiet -v a.c -mtune=pentiumpro
-o a.i
ignoring nonexistent directory "/usr/local/include"
ignoring nonexistent directory
"/usr/lib/gcc/i686-pc-linux-gnu/3.4.1/../../../../i686-pc-linux-gnu/include"
#include "..." search starts here:
#include <...> search starts here:
 /usr/lib/gcc/i686-pc-linux-gnu/3.4.1/include
 /usr/include
End of search list.
a.c:24:2: warning: no newline at end of file
 /usr/libexec/gcc/i686-pc-linux-gnu/3.4.1/cc1 -fpreprocessed a.i -quiet
-dumpbase a.c -mtune=pentiumpro -auxbase a -version -o a.s
GNU C version 3.4.1 20040803 (Gentoo Linux 3.4.1-r2, ssp-3.4-2, pie-8.7.6.5)
(i686-pc-linux-gnu)
	compiled by GNU C version 3.4.1 20040803 (Gentoo Linux 3.4.1-r2, ssp-3.4-2,
pie-8.7.6.5).
GGC heuristics: --param ggc-min-expand=38 --param ggc-min-heapsize=15717
a.c: In function `stub1':
a.c:12: error: label at end of compound statement
a.c: In function `main':
a.c:21: error: too few arguments to function `stub1'
a.c:23: error: label at end of compound statement


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17026


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]