gcc/gcc/cp
Seongbae Park ba99296704 re PR c++/31663 (Segfault in constrain_class_visibility with anonymous namespace)
gcc/ChangeLog:
2007-05-02  Seongbae Park  <seongbae.park@gmail.com>

	PR c++/31663
	* c-common.c (strip_pointer_or_array_types): New function.
	* c-common.h (strip_pointer_or_array_types): New function declaration.

gcc/cp/ChangeLog:
2007-05-02  Seongbae Park  <seongbae.park@gmail.com>

	PR c++/31663
	* decl2.c (constrain_class_visibility): 
	Use strip_pointer_or_array_types instead of strip_array_types.

gcc/testsuite/ChangeLog:
2007-05-02  Seongbae Park  <seongbae.park@gmail.com>

	PR C++/31663
	* g++.dg/warn/anonymous-namespace-2.C: New. 
	* g++.dg/warn/anonymous-namespace-2.h: New.

From-SVN: r124363
2007-05-02 23:11:13 +00:00
..
ChangeLog re PR c++/31663 (Segfault in constrain_class_visibility with anonymous namespace) 2007-05-02 23:11:13 +00:00
ChangeLog-1993
ChangeLog-1994
ChangeLog-1995
ChangeLog-1996
ChangeLog-1997
ChangeLog-1998
ChangeLog-1999
ChangeLog-2000
ChangeLog-2001
ChangeLog-2002
ChangeLog-2003
ChangeLog-2004
ChangeLog.tree-ssa
Make-lang.in re PR bootstrap/30899 (build failure with --enable-generated-files-in-srcdir) 2007-03-13 23:51:07 +00:00
NEWS
call.c re PR c++/31513 (Miscompilation of Function Passing Bit Field Value to Function) 2007-04-18 03:36:18 +00:00
cfns.gperf
cfns.h Fix up whitespacing 2006-06-06 11:44:09 +00:00
class.c class.c (convert_to_base_statically): Fold produced tree; verify that we are not processing template_decl. 2007-04-11 06:18:28 +00:00
config-lang.in gengtype.c: Don't include gtyp-gen.h. 2007-03-26 21:07:27 +00:00
cp-gimplify.c builtins.c (fold_builtin_call_list, [...]): Delete, and replace with... 2007-02-28 14:21:20 -05:00
cp-lang.c invoke.texi (Debugging Options): Add documentation for the -femit-struct-debug options... 2007-04-17 06:19:36 +00:00
cp-objcp-common.c 2007-04-07 Daniel Berlin <dberlin@dberlin.org> 2007-04-07 23:08:23 +00:00
cp-objcp-common.h langhooks.c (lhd_tree_inlining_add_pending_fn_decls, [...]): Remove. 2007-04-08 13:14:39 +00:00
cp-tree.def re PR c++/26099 (support for type traits is not available) 2007-03-30 19:45:57 +00:00
cp-tree.h re PR target/31388 (ICE building libiberty multilib for mips16 multilibs) 2007-04-26 02:29:43 +00:00
cvt.c invoke.texi (-Wconversion): Document warnings specific to C++. 2007-03-16 23:32:12 +00:00
cxx-pretty-print.c error.c (dump_expr): Handle dependent names that designate types. 2007-03-23 02:58:46 +00:00
cxx-pretty-print.h
decl.c re PR c++/30221 (internal compiler error: in reshape_init_r, at cp/decl.c:4632) 2007-04-28 23:22:14 -07:00
decl.h
decl2.c re PR c++/31663 (Segfault in constrain_class_visibility with anonymous namespace) 2007-05-02 23:11:13 +00:00
dump.c tree.h (enum tree_code_class): Add tcc_vl_exp. 2007-02-15 18:50:49 -05:00
error.c error.c (maybe_warn_variadic_templates): Variadic templates are now in C++0x, so only warn about them in C++98 mode. 2007-04-27 15:31:35 +00:00
except.c builtins.c (fold_builtin_call_list, [...]): Delete, and replace with... 2007-02-28 14:21:20 -05:00
expr.c * expr.c (cxx_expand_expr): Call gcc_unreachable instead of abort. 2005-12-07 21:55:19 +00:00
friend.c friend.c (do_friend): Annotate warning about friend declarations in templates with... 2007-02-12 23:55:17 +00:00
g++spec.c Index: gcc/cp/ChangeLog 2007-03-02 21:07:37 +00:00
init.c re PR target/31388 (ICE building libiberty multilib for mips16 multilibs) 2007-04-26 02:29:43 +00:00
lang-specs.h re PR driver/28528 (C language extensions override -x in C++ driver) 2006-08-25 00:24:10 +00:00
lex.c re PR c++/26099 (support for type traits is not available) 2007-03-30 19:45:57 +00:00
mangle.c re PR c++/20599 (variadic template support) 2007-03-10 01:58:58 +00:00
method.c re PR c++/26099 (support for type traits is not available) 2007-03-30 19:45:57 +00:00
name-lookup.c ptree.c (cxx_print_type): Use formatting markup for integers when printing template parameter... 2007-03-15 13:51:09 +00:00
name-lookup.h Fix up whitespacing 2006-06-06 11:44:09 +00:00
operators.def re PR c++/20599 (variadic template support) 2007-03-10 01:58:58 +00:00
optimize.c omp-low.c (splay-tree.h): Include. 2007-03-31 14:07:29 +00:00
parser.c re PR c++/31138 (ICE with ellipsis) 2007-03-31 12:41:30 +00:00
pt.c re PR c++/31517 (ICE on invalid initialization of static member of a template class) 2007-04-17 18:05:53 +00:00
ptree.c ptree.c (cxx_print_type): Use formatting markup for integers when printing template parameter... 2007-03-15 13:51:09 +00:00
repo.c flags.h (flag_random_seed): Remove declaration, in favor of... 2007-03-14 01:47:33 +00:00
rtti.c builtins.c (fold_builtin_call_list, [...]): Delete, and replace with... 2007-02-28 14:21:20 -05:00
search.c re PR c++/29475 (incomplete template diagnostics.) 2006-11-20 21:15:44 +00:00
semantics.c re PR c++/31598 (g++ does not accept some OpenMP code) 2007-04-26 09:32:27 +02:00
tree.c invoke.texi (Debugging Options): Add documentation for the -femit-struct-debug options... 2007-04-17 06:19:36 +00:00
typeck.c re PR c++/30016 (internal compiler error: in convert_move, at expr.c:362) 2007-04-26 18:31:25 -07:00
typeck2.c re PR target/31388 (ICE building libiberty multilib for mips16 multilibs) 2007-04-26 02:29:43 +00:00