gcc/libcpp
Jim Meyering 046957830e remove useless if-before-free tests
Change "if (E) free (E);" to "free (E);" everywhere except in the
libgo/, intl/, zlib/ and classpath/ directories.
Also transform equivalent variants like
"if (E != NULL) free (E);" and allow an extra cast on the
argument to free.  Otherwise, the tested and freed "E"
expressions must be identical, modulo white space.

From-SVN: r172785
2011-04-20 18:19:03 +00:00
..
include Update Copyright years for files modified in 2010. 2011-01-03 21:52:22 +01:00
po be.po, [...]: Update. 2011-04-03 12:33:31 +01:00
ChangeLog remove useless if-before-free tests 2011-04-20 18:19:03 +00:00
Makefile.in Update Copyright years for files modified in 2010. 2011-01-03 21:52:22 +01:00
aclocal.m4 Undo inadvertent commit in rev 160105. 2010-06-01 10:20:24 -04:00
charset.c Update Copyright years for files modified in 2010. 2011-01-03 21:52:22 +01:00
config.in re PR bootstrap/45538 (--enable-build-with-cxx compiling gcc/libcpp/charset.c) 2010-11-18 07:35:34 +00:00
configure re PR bootstrap/45538 (--enable-build-with-cxx compiling gcc/libcpp/charset.c) 2010-11-18 07:35:34 +00:00
configure.ac re PR bootstrap/45538 (--enable-build-with-cxx compiling gcc/libcpp/charset.c) 2010-11-18 07:35:34 +00:00
directives-only.c Licensing changes to GPLv3 resp. GPLv3 with GCC Runtime Exception. 2009-04-09 17:00:19 +02:00
directives.c Make UNSPEC/UNSPECV constants use the enum; Fix 48192; Add test case for 48053 2011-03-21 16:21:30 +00:00
errors.c Update Copyright years for files modified in 2010. 2011-01-03 21:52:22 +01:00
expr.c Make UNSPEC/UNSPECV constants use the enum; Fix 48192; Add test case for 48053 2011-03-21 16:21:30 +00:00
files.c remove useless if-before-free tests 2011-04-20 18:19:03 +00:00
identifiers.c Licensing changes to GPLv3 resp. GPLv3 with GCC Runtime Exception. 2009-04-09 17:00:19 +02:00
init.c remove useless if-before-free tests 2011-04-20 18:19:03 +00:00
internal.h re PR preprocessor/45362 (Dangling reference about saved cpp_macro for push/pop macro) 2010-09-29 20:18:38 +02:00
lex.c re PR bootstrap/45381 (Bootstrap failure for powerpc-apple-darwin9: error: AltiVec argument passed to unprototyped function) 2011-03-18 13:20:35 -07:00
line-map.c files.c (file_hash_eq): Use filename_cmp instead of strcmp. 2011-03-25 20:11:26 +01:00
macro.c remove useless if-before-free tests 2011-04-20 18:19:03 +00:00
makeucnid.c Licensing changes to GPLv3 resp. GPLv3 with GCC Runtime Exception. 2009-04-09 17:00:19 +02:00
mkdeps.c files.c (file_hash_eq): Use filename_cmp instead of strcmp. 2011-03-25 20:11:26 +01:00
pch.c remove useless if-before-free tests 2011-04-20 18:19:03 +00:00
symtab.c directives.c (do_linemarker, do_line): Use CPP_STRING for ignored enum value. 2009-07-18 03:22:16 +00:00
system.h * system.h [HAVE_INTTYPES_H]: Include inttypes.h. 2010-08-26 17:58:31 +00:00
traditional.c Licensing changes to GPLv3 resp. GPLv3 with GCC Runtime Exception. 2009-04-09 17:00:19 +02:00
ucnid.h Licensing changes to GPLv3 resp. GPLv3 with GCC Runtime Exception. 2009-04-09 17:00:19 +02:00
ucnid.tab Licensing changes to GPLv3 resp. GPLv3 with GCC Runtime Exception. 2009-04-09 17:00:19 +02:00