Go to file
Jakub Jelinek 056928b248 re PR c++/44062 ((void)var; doesn't prevent 'set but not used' warning)
PR c++/44062
	* c-parser.c (c_parser_expression): Mark LHS of a comma
	expression as read if it is a decl, handled component or
	COMPOUND_EXPR with that on the RHS.
	* c-typeck.c (c_process_expr_stmt): Mark RHS of COMPOUND_EXPR
	if it is a decl or handled component.

	* semantics.c (finish_expr_stmt): Don't call mark_exp_read here...
	* cvt.c (convert_to_void): ... but here.  If expr is a COMPOUND_EXPR,
	look at its second operand.

	* c-c++-common/Wunused-var-7.c: New test.
	* g++.dg/warn/Wunused-var-9.C: New test.

From-SVN: r159286
2010-05-11 20:12:28 +02:00
boehm-gc
config
contrib
fixincludes
gcc re PR c++/44062 ((void)var; doesn't prevent 'set but not used' warning) 2010-05-11 20:12:28 +02:00
gnattools
include
INSTALL
intl
libada
libcpp
libdecnumber
libffi
libgcc
libgfortran Fix typo 2010-05-08 17:43:56 +03:00
libgomp
libiberty
libjava
libmudflap
libobjc
libssp
libstdc++-v3 re PR libstdc++/43259 (ext/profile/all.cc fails on Solaris) 2010-05-11 10:23:20 +00:00
lto-plugin re PR lto/43857 (-fresolution causes an ICE) 2010-05-07 15:53:40 +00:00
maintainer-scripts
zlib
ABOUT-NLS
ChangeLog configure.ac (--enable-lto): Add x86_64-apple-darwin* as a platform that supports LTO. 2010-05-07 21:37:43 +00:00
ChangeLog.tree-ssa
compile
config-ml.in
config.guess
config.rpath
config.sub
configure configure.ac (--enable-lto): Add x86_64-apple-darwin* as a platform that supports LTO. 2010-05-07 21:37:43 +00:00
configure.ac configure.ac (--enable-lto): Add x86_64-apple-darwin* as a platform that supports LTO. 2010-05-07 21:37:43 +00:00
COPYING
COPYING3
COPYING3.LIB
COPYING.LIB
COPYING.RUNTIME
depcomp
install-sh
libtool-ldflags
libtool.m4
lt~obsolete.m4
ltgcc.m4
ltmain.sh
ltoptions.m4
ltsugar.m4
ltversion.m4
MAINTAINERS
Makefile.def
Makefile.in
Makefile.tpl
missing
mkdep
mkinstalldirs
move-if-change
README
symlink-tree
ylwrap

This directory contains the GNU Compiler Collection (GCC).

The GNU Compiler Collection is free software.  See the files whose
names start with COPYING for copying permission.  The manuals, and
some of the runtime libraries, are under different terms; see the
individual source files for details.

The directory INSTALL contains copies of the installation information
as HTML and plain text.  The source of this information is
gcc/doc/install.texi.  The installation information includes details
of what is included in the GCC sources and what files GCC installs.

See the file gcc/doc/gcc.texi (together with other files that it
includes) for usage and porting information.  An online readable
version of the manual is in the files gcc/doc/gcc.info*.

See http://gcc.gnu.org/bugs/ for how to report bugs usefully.