Commit Graph

99145 Commits

Author SHA1 Message Date
Ralf Corsepius
2bc40daaf5 [multiple changes]
2010-04-01  Ralf Corsépius <ralf.corsepius@rtems.org>

        * config.gcc (lm32-*-rtems*): Add t-lm32.

2010-04-01  Joel Sherrill <joel.sherrill@oarcorp.com>

        * config.gcc: Add lm32-*-rtems*.
        * config/lm32/rtems.h: New file.

From-SVN: r157938
2010-04-02 05:00:24 +02:00
Ralf Corsepius
d7856dc71d [multiple changes]
2010-04-01  Ralf Corsépius <ralf.corsepius@rtems.org>

        * config.gcc (lm32-*-rtems*): Add t-lm32.

2010-04-01  Joel Sherrill <joel.sherrill@oarcorp.com>

        * config.gcc: Add lm32-*-rtems*.
        * config/lm32/rtems.h: New file.

From-SVN: r157937
2010-04-02 04:59:07 +02:00
GCC Administrator
ff73c182c0 Daily bump.
From-SVN: r157936
2010-04-02 00:21:40 +00:00
Janne Blomqvist
b879c108b2 PR libfortran/43605 FTELL intrinsic, take 2.
Co-Authored-By: Dominique d'Humieres <dominiq@lps.ens.fr>

From-SVN: r157932
2010-04-01 23:51:45 +03:00
Dave Korn
abfb38d739 re PR target/42609 (undesired operation when working with mno-cygwin)
PR target/42609
	* config/i386/cygwin.h (CXX_WRAP_SPEC): Disable spec when -mno-cygwin.

From-SVN: r157931
2010-04-01 20:24:35 +00:00
Jakub Jelinek
2f43d500a6 dwarf2out.c (output_compilation_unit_header): For -gdwarf-4 use version 4 instead of version 3.
* dwarf2out.c (output_compilation_unit_header): For
	-gdwarf-4 use version 4 instead of version 3.
	(output_line_info): For version 4 and above emit additional
	maximum ops per insn header field.
	(DWARF_LINE_DEFAULT_MAX_OPS_PER_INSN): Define.

	* dwarf2out.c (is_c_family, is_java): Remove.
	(lower_bound_default): New function.
	(add_bound_info, gen_descr_array_type_die): Use it.

From-SVN: r157930
2010-04-01 21:45:02 +02:00
Dodji Seketeli
777351a5fd re PR debug/43325 (C++ external inner reference does not override outer scope)
Fix for PR debug/43325

gcc/ChangeLog:
	PR debug/43325
	* dwarf2out.c (gen_variable_die): Allow debug info for variable
	re-declaration when it happens in a function.

gcc/testsuite/ChangeLog:
	PR debug/43325
	* c-c++-common/dwarf2/redeclaration-1.C: New test.

From-SVN: r157928
2010-04-01 20:54:30 +02:00
Jason Merrill
d4b5fb2238 decl.c (next_initializable_field): No longer static.
* decl.c (next_initializable_field): No longer static.
	* cp-tree.h: Declare it.
	* call.c (build_aggr_conv): Fail if there are more initializers
	than initializable fields.

From-SVN: r157927
2010-04-01 14:48:46 -04:00
Jason Merrill
9542943db3 semantics.c (maybe_add_lambda_conv_op): Use null_pointer_node instead of void_zero_node.
* semantics.c (maybe_add_lambda_conv_op): Use null_pointer_node
	instead of void_zero_node.

From-SVN: r157926
2010-04-01 14:48:34 -04:00
Diego Novillo
ecd01deef0 MAINTAINERS (Plugin): Add myself and Le-Chun Wu.
* MAINTAINERS (Plugin): Add myself and Le-Chun Wu.

From-SVN: r157925
2010-04-01 14:35:28 -04:00
Paul Thomas
a1ff2ab8e4 transfer.c: Update copyright.
2010-04-01  Paul Thomas  <pault@gcc.gnu.org>

	* io/transfer.c : Update copyright.
	* io/unix.c : ditto
	* io/read.c : ditto
	* io/io.h : ditto
	* io/unix.h : ditto
	* io/inquire.c : ditto
	* io/format.c : ditto
	* io/list_read.c : ditto
	* runtime/error.c : ditto
	* libgfortran.h : ditto
	* intrinsics/date_and_time.c: ditto
	* intrinsics/args.c : ditto

From-SVN: r157924
2010-04-01 18:22:00 +00:00
Paul Thomas
fa502cb2db ioparm.def: Update copyright.
2010-04-01  Paul Thomas  <pault@gcc.gnu.org>

	* ioparm.def : Update copyright.
	* lang.opt : ditto
	* trans-array.c : ditto
	* trans-array.h : ditto
	* expr.c: ditto
	* trans-types.c: ditto
	* dependency.c : ditto
	* gfortran.h : ditto
	* options.c : ditto
	* trans-io.c : ditto
	* trans-intrinsic.c : ditto
	* libgfortran.h : ditto
	* invoke.texi : ditto
	* intrinsic.texi : ditto
	* trans.c : ditto
	* trans.h : ditto
	* intrinsic.c : ditto
	* interface.c : ditto
	* iresolve.c : ditto
	* trans-stmt.c : ditto
	* trans-stmt.h : ditto
	* parse,c : ditto
	* match.h : ditto
	* error.c : ditto

From-SVN: r157923
2010-04-01 18:06:05 +00:00
Aldy Hernandez
6544865aad cgraph.c (cgraph_add_function_insertion_hook): Update comment.
* cgraph.c (cgraph_add_function_insertion_hook): Update comment.
        (cgraph_remove_function_insertion_hook): Same.
        (cgraph_call_function_insertion_hooks): Same.

From-SVN: r157920
2010-04-01 17:33:32 +00:00
Ralf Wildenhues
dc683a3f63 re PR bootstrap/43615 (bootstrap fails: /usr/include/gnu/stubs.h:7:27: fatal error: gnu/stubs-32.h: No such file or directory)
/:
	PR bootstrap/43615
	PR bootstrap/43328

	Revert:

	2010-03-31  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>

	* configure.ac: Do not pass --enable-multilib nor
	--disable-multilib in baseargs.  Accept explicitly passed
	--enable_multilib.
	* configure: Regenerate.

From-SVN: r157916
2010-04-01 16:32:38 +00:00
Janne Blomqvist
e76a3fde81 PR libfortran/43605 Fix FTELL for formatted files
Co-Authored-By: Manfred Schwarb <manfred99@gmx.ch>

From-SVN: r157914
2010-04-01 19:22:57 +03:00
Richard Guenther
5e9fb3dbde re PR tree-optimization/43614 (ice in gimple_rhs_has_side_effects, at gimple.c:2248)
2010-04-01  Richard Guenther  <rguenther@suse.de>

	PR middle-end/43614
	* tree-ssa-address.c (copy_mem_ref_info): Copy TREE_SIDE_EFFECTS
	and TREE_THIS_VOLATILE.
	(copy_ref_info): Likewise.
	* tree-ssa-operands.c (get_tmr_operands): Check TREE_THIS_VOLATILE.
	* tree.c (build6_stat): Ignore side-effects of all but arg5
	for TARGET_MEM_REF.  Set TREE_THIS_VOLATILE from arg5 of
	TARGET_MEM_REF.

	* gcc.c-torture/compile/pr43614.c: New testcase.

From-SVN: r157913
2010-04-01 16:18:07 +00:00
Richard Guenther
eb258d7f5d re PR tree-optimization/43607 (ICE in gimple_op, at gimple.h:1633 with -fipa-type-escape)
2010-04-01  Richard Guenther  <rguenther@suse.de>

	PR tree-optimization/43607
	* ipa-type-escape.c (check_call): Do not access non-existing
	arguments.

From-SVN: r157911
2010-04-01 14:05:49 +00:00
Martin Jambor
d3f76f836f re PR tree-optimization/43141 (Wrong debug information with IPA-SRA)
2010-04-01  Martin Jambor  <mjambor@suse.cz>

	PR tree-optimization/43141
	* testsuite/gcc.dg/guality/pr43141.c: New test.

From-SVN: r157909
2010-04-01 15:31:53 +02:00
Richard Guenther
aa8bfcad6d re PR middle-end/43602 (___emutls_v.__gcov_indirect_call_[counters|callee] undefined on *-*-darwin*)
2010-04-01  Richard Guenther  <rguenther@suse.de>

        PR middle-end/43602
        Revert
        2010-03-30  Seongbae Park <seongbae.park@gmail.com>
            Jack Howarth <howarth@bromo.med.uc.edu>

        * tree-profile.c (tree_init_ic_make_global_vars): Make static
        variables TLS.

From-SVN: r157907
2010-04-01 13:24:58 +00:00
Rainer Orth
35eb7ed734 _Pragma1.C: Skip on alpha*-dec-osf*.
* g++.dg/cpp/_Pragma1.C: Skip on alpha*-dec-osf*.
	* g++.dg/eh/spbp.C: Likewise.
	* g++.dg/ext/label13.C (C::C): xfail dg-bogus on alpha*-dec-osf*.
	* g++.dg/other/pragma-ep-1.C: Properly define p, remove
	superfluous casts.
	* gcc.dg/mtune.c: Add dg-bogus "mcpu".
	* objc.dg/dwarf-1.m: Skip on  alpha*-dec-osf*.
	* objc.dg/dwarf-2.m: Likewise.

From-SVN: r157905
2010-04-01 12:43:04 +00:00
Rainer Orth
8c5cfa8948 install.texi (Prerequisites): Document libelf usability on IRIX 5/6 and Solaris 2.
* doc/install.texi (Prerequisites): Document libelf usability on
	IRIX 5/6 and Solaris 2.
	(Specific, i?86-*-solaris2.10): No 64-bit default configuration.
	Update GNU as, GNU ld requirements.
	(Specific, *-*-solaris2*): Document Solaris 7 obsoletion, removal.
	Document Sun Studio compiler download.
	Update and simplify as, ld recommendations.
	(Specific, *-*-solaris2.7): Note obsoletion, removal.

From-SVN: r157904
2010-04-01 12:33:35 +00:00
Rainer Orth
ddcc3550c2 config.guess (i[34567]86-*-solaris2*): Default with_arch_32, with_tune_32 to pentium4.
* config.guess (i[34567]86-*-solaris2*): Default with_arch_32,
	with_tune_32 to pentium4.

From-SVN: r157903
2010-04-01 10:32:10 +00:00
Uros Bizjak
93234e58e5 cpuid.h (__get_cpuid_max): Move misplaced comment.
* config/i386/cpuid.h (__get_cpuid_max): Move misplaced comment.

From-SVN: r157902
2010-04-01 11:57:12 +02:00
Rainer Orth
ef369ad84e install.texi (Specific, [...]): Document IRIX 5 obsoletion, removal.
* doc/install.texi (Specific, mips-sgi-irix5): Document IRIX 5
	obsoletion, removal.
	Update IDO URL.
	Document GNU as requirement.
	Update configure requirements.
	(Specific, mips-sgi-irix6): Document IRIX 6 < 6.5 obsoletion,
	removal.
	Recomment IRIX 6.5.18+.
	Document IDF/IDL requirement.
	Document GNU as requirement.
	Document GNU ld bootstrap failure.
	Remove freeware.sgi.com reference.

From-SVN: r157901
2010-04-01 08:05:04 +00:00
Rainer Orth
92d80770ae install.texi (Specific, [...]): Document Tru64 UNIX V4.0, V5.0 obsoletion, removal.
* doc/install.texi (Specific, alpha*-dec-osf*): Document Tru64
	UNIX V4.0, V5.0 obsoletion, removal.
	Remove --with-gc=simple reference.
	Update VM requirements during bootstrap.
	Remove -oldas bootstrap description.
	Update binutils reference.
	Remove comparison failure note.

From-SVN: r157900
2010-04-01 07:58:25 +00:00
GCC Administrator
e6d66d3d1c Daily bump.
From-SVN: r157899
2010-04-01 00:17:32 +00:00
Paul Thomas
0a26191207 ioparm.def: Update copyright.
2010-03-31  Paul Thomas  <pault@gcc.gnu.org>

	* ioparm.def : Update copyright.
	* lang.opt : ditto
	* trans-array.c : ditto
	* trans-array.h : ditto
	* expr.c: ditto
	* trans-types.c: ditto
	* dependency.c : ditto
	* gfortran.h : ditto
	* options.c : ditto
	* trans-io.c : ditto
	* trans-intrinsic.c : ditto
	* libgfortran.h : ditto
	* invoke.texi : ditto
	* intrinsic.texi : ditto
	* trans.c : ditto
	* trans.h : ditto
	* intrinsic.c : ditto
	* interface.c : ditto
	* iresolve.c : ditto
	* trans-stmt.c : ditto
	* trans-stmt.h : ditto
	* parse,c : ditto
	* match.h : ditto
	* error.c : ditto

From-SVN: r157895
2010-03-31 20:42:19 +00:00
Ulrich Weigand
7527d83f67 * MAINTAINERS (CPU Port Maintainers): Add myself for spu port.
From-SVN: r157893
2010-03-31 19:39:56 +00:00
Sebastian Pop
25d635d9ed Add ChangeLog entries.
From-SVN: r157890
2010-03-31 18:37:50 +00:00
Richard Guenther
3cbf7085c3 Fix PR43464: copyprop should maintain loop close phi nodes with multiple arguments.
2010-03-30  Richard Guenther  <rguenther@suse.de>
	    Zdenek Dvorak  <ook@ucw.cz>
	    Sebastian Pop  <sebastian.pop@amd.com>

	PR middle-end/43464
	* tree-ssa-copy.c (init_copy_prop): Handle loop close phi nodes
	with multiple arguments.
	(execute_copy_prop): Remove call to rewrite_into_loop_closed_ssa.

Co-Authored-By: Sebastian Pop <sebastian.pop@amd.com>
Co-Authored-By: Zdenek Dvorak <ook@ucw.cz>

From-SVN: r157889
2010-03-31 18:37:41 +00:00
Sebastian Pop
40bf935e85 Add a verbosity parameter to clean up the comments of pretty printers.
2010-03-23  Sebastian Pop  <sebastian.pop@amd.com>

	* graphite-dependences.c (print_pddr): Call print_pdr with an
	extra argument.
	* graphite-poly.c (debug_pdr): Add an extra argument for the
	verbosity level.
	(print_pdr): Same.
	(print_pbb_domain): Same.
	(print_pbb): Same.
	(print_scop_context): Same.
	(print_scop): Same.
	(print_cloog): Same.
	(debug_pbb_domain): Same.
	(debug_pbb): Same.
	(print_pdrs): Same.
	(debug_pdrs): Same.
	(debug_scop_context): Same.
	(debug_scop): Same.
	(debug_cloog): Same.
	(print_scop_params): Same.
	(debug_scop_params): Same.
	(print_iteration_domain): Same.
	(print_iteration_domains): Same.
	(debug_iteration_domain): Same.
	(debug_iteration_domains): Same.
	(print_scattering_function): Same.
	(print_scattering_functions): Same.
	(debug_scattering_function): Same.
	(debug_scattering_functions): Same.
	* graphite-poly.h (debug_pdr): Update declaration.
	(print_pdr): Same.
	(print_pbb_domain): Same.
	(print_pbb): Same.
	(print_scop_context): Same.
	(print_scop): Same.
	(print_cloog): Same.
	(debug_pbb_domain): Same.
	(debug_pbb): Same.
	(print_pdrs): Same.
	(debug_pdrs): Same.
	(debug_scop_context): Same.
	(debug_scop): Same.
	(debug_cloog): Same.
	(print_scop_params): Same.
	(debug_scop_params): Same.
	(print_iteration_domain): Same.
	(print_iteration_domains): Same.
	(debug_iteration_domain): Same.
	(debug_iteration_domains): Same.
	(print_scattering_function): Same.
	(print_scattering_functions): Same.
	(debug_scattering_function): Same.
	(debug_scattering_functions): Same.

From-SVN: r157888
2010-03-31 18:37:35 +00:00
Sebastian Pop
730a98461a Print SCoPs under CLooG format.
2010-03-23  Sebastian Pop  <sebastian.pop@amd.com>

	* graphite-poly.c (print_scattering_function_1): New.
	(print_scattering_function): Call it.
	(print_scop_params): Remove spaces at the end of lines.
	(print_cloog): New.
	(debug_cloog): New.
	* graphite-poly.h (print_cloog): Declared.
	(debug_cloog): Declared.

From-SVN: r157887
2010-03-31 18:37:28 +00:00
Sebastian Pop
9c0c34c2bb Add testcases for PR43464.
Co-Authored-By: Richard Guenther <rguenther@suse.de>

From-SVN: r157886
2010-03-31 18:37:22 +00:00
Sebastian Pop
c80a540338 canonicalize_loop_ivs should add the IV bump in loop->header.
2010-03-16  Sebastian Pop  <sebastian.pop@amd.com>

	* graphite-sese-to-poly.c (graphite_loop_normal_form): Add the IV bump
	in loop->header.
	* tree-flow.h (canonicalize_loop_ivs): Updated declaration.
	* tree-parloops.c (gen_parallel_loop): Add the IV bump in loop->latch.
	* tree-ssa-loop-manip.c (canonicalize_loop_ivs): Add a new parameter
	to switch between adding the IV bump in loop->latch or in loop->header.

From-SVN: r157885
2010-03-31 18:37:13 +00:00
Sebastian Pop
caaf41d0e8 Add pass_copy_prop after Graphite.
2010-03-16  Sebastian Pop  <sebastian.pop@amd.com>

	* passes.c (init_optimization_passes): Add pass_copy_prop
	after Graphite.

From-SVN: r157884
2010-03-31 18:37:06 +00:00
Sebastian Pop
03922af3f2 Make print_scop output the scoplib format.
2010-03-16  Sebastian Pop  <sebastian.pop@amd.com>

	* graphite-poly.c (print_scattering_function): Pretty print following
	the scoplib format.
	(print_pdr): Same.
	(print_pbb_domain): Same.
	(dump_gbb_cases): Same.
	(dump_gbb_conditions): Same.
	(print_pdrs): Same.
	(print_pbb): Same.
	(print_scop_params): Same.
	(print_scop_context): Same.
	(print_scop): Same.
	(print_pbb_body): New.
	(lst_indent_to): New.
	(print_lst): Start new lines with a #.
	* graphite-poly.h (pbb_bb): New.
	(pbb_index): Use pbb_bb.
	* graphite-ppl.c (ppl_print_powerset_matrix): Print the number of
	disjuncts.
	* tree-data-ref.c (dump_data_reference): Start new lines with a #.

From-SVN: r157883
2010-03-31 18:36:54 +00:00
Sebastian Pop
7da9e6ed3f Add testcase for PR43351.
2010-03-13  Sebastian Pop  <sebastian.pop@amd.com>

	PR middle-end/43351
	* gcc.dg/graphite/id-pr43351.c

From-SVN: r157882
2010-03-31 18:36:45 +00:00
Janis Johnson
895522b66b * MAINTAINERS: Remove myself.
From-SVN: r157877
2010-03-31 17:05:37 +00:00
Joseph Myers
d49d9a7df5 gcc_release (build_tarfiles): Make directories mode 755, not 777.
* gcc_release (build_tarfiles): Make directories mode 755, not
	777.

From-SVN: r157874
2010-03-31 17:26:13 +01:00
Iain Sandoe
03af6e448f re PR objc/35165 (Massive failures of objc on i686-apple-darwin9)
2010-03-31  Iain Sandoe  <iain.sandoe@sandoe-acoustics.co.uk>

	PR testsuite/35165
	* obj-c++.dg/try-catch-9.mm: Don't XFAIL m32 NeXT runtime.
	* obj-c++.dg/try-catch-2.mm: Ditto.
	* obj-c++.dg/lookup-2.mm: Ditto.
	* obj-c++.dg/encode-8.m: Ditto.
	* obj-c++.dg/cxx-ivars-2.mm: Ditto.
	* obj-c++.dg/cxx-ivars-3.mm: Skip for GNU, XFail for m64 NeXT.
	* obj-c++.dg/const-str-10.mm: Skip for GNU, match .quad for m64 NeXT.
	* obj-c++.dg/const-str-11.mm: Ditto.
	* obj-c++.dg/const-str-9.mm: Ditto.
	* obj-c++.dg/bitfield-3.mm: Skip for GNU runtime.
	* obj-c++.dg/bitfield-2.mm: XFAIL run for m64 NeXT runtime.
	* obj-c++.dg/except-1.mm: Ditto.
	* obj-c++.dg/const-str-7.mm: Ditto.
	* obj-c++.dg/cxx-ivars-1.mm: Ditto.
	* obj-c++.dg/const-str-3.mm: Ditto.
	* obj-c++.dg/const-str-7.mm: Ditto.
	* obj-c++.dg/stubify-2.mm: Change dump file name.

From-SVN: r157873
2010-03-31 15:50:45 +00:00
Iain Sandoe
2981f2063f re PR objc++/23613 (obj-c++.dg/isa-field-1.mm fails with the GNU runtime)
2010-03-31  Iain Sandoe  <iain.sandoe@sandoe-acoustics.co.uk>

	PR objc++/23613
	* gcc/testsuite/objc-obj-c++-shared/next-mapping.h (CLASSPTRFIELD):
	New macro.
	* gcc/testsuite/obj-c++.dg/isa-field-1.mm: Use new CLASSPTRFIELD macro.
	Remove dg-xfail-if.

From-SVN: r157872
2010-03-31 15:47:42 +00:00
Jakub Jelinek
290d8971e6 dwarf2out.c (size_of_die): For -gdwarf-4 use uleb128 size instead of fixed 1 or 2 for dw_val_class_loc and...
* dwarf2out.c (size_of_die): For -gdwarf-4 use
	uleb128 size instead of fixed 1 or 2 for dw_val_class_loc
	and 0 instead of 1 for dw_val_class_flag.
	(value_format): For -gdwarf-4 use DW_FORM_sec_offset for
	dw_val_class_range_list, dw_val_class_loc_list,
	dw_val_class_lineptr and dw_val_class_macptr, use
	DW_FORM_flag_present for dw_val_class_flag and
	DW_FORM_exprloc for dw_val_class_loc.
	(output_die): For -gdwarf-4 print dw_val_class_loc
	size as uleb128 instead of 1 or 2 bytes and don't print
	anything for dw_val_class_flag.

From-SVN: r157871
2010-03-31 17:37:03 +02:00
Jakub Jelinek
109f4af30f var-tracking.c (vt_init_cfa_base): Use cselib_lookup_from_insn instead of cselib_lookup following by tweaking...
* var-tracking.c (vt_init_cfa_base): Use cselib_lookup_from_insn
	instead of cselib_lookup following by tweaking locs->setting_insn.

From-SVN: r157870
2010-03-31 17:27:41 +02:00
Jakub Jelinek
2080bd297e re PR bootstrap/43596 (Failed to boostrap)
PR bootstrap/43596
	* cselib.c (cselib_process_insn): Clear cselib_current_insn
	even before returning from label, setjmp call or volatile asm
	handling.

From-SVN: r157869
2010-03-31 17:26:57 +02:00
Richard Guenther
33283dadd3 re PR middle-end/43600 (Segmentation fault for large C file (24MB))
2010-03-31  Richard Guenther  <rguenther@suse.de>

	PR middle-end/43600
	* cgraphunit.c (cgraph_output_in_order): Do not allocate
	temporary data on stack.

From-SVN: r157867
2010-03-31 13:20:19 +00:00
Martin Jambor
9bae1881eb inline-params.c: Disable early inlining.
2010-03-31  Martin Jambor  <mjambor@suse.cz>

	* gcc.dg/guality/inline-params.c: Disable early inlining.  Xfail run
	only with -O2, -O3 or -Os and not with -fwhopr.

From-SVN: r157863
2010-03-31 13:29:03 +02:00
Rainer Orth
a0c210293e sysv4.h (PUSHSECTION_FORMAT): Remove undef.
* config/sparc/sysv4.h (PUSHSECTION_FORMAT): Remove undef.
	(PUSHSECTION_ASM_OP): Remove.
	(POPSECTION_ASM_OP): Remove.
	(PUSHSECTION_FORMAT): Remove.
	* config/sol2.h (PUSHSECTION_FORMAT): Define.
	* config/sparc/sol2.h [!USE_GAS] (PUSHSECTION_FORMAT): Redefine.
	* config/sol2.c (solaris_output_init_fini): Use it.

From-SVN: r157861
2010-03-31 10:42:56 +00:00
Jie Zhang
a3f410a214 re PR middle-end/43574 (Revision 157795 failed gcc.dg/lto/20090914-1 c_lto_20090914-1_0.o)
PR 43574
	* opt-functions.awk (var_type_struct): Use signed char type
	for simple variables.

From-SVN: r157859
2010-03-31 09:57:03 +00:00
Rainer Orth
1a3a6aec20 inclhack.def (alpha_assert): Allow for more whitespace in select.
* inclhack.def (alpha_assert): Allow for more whitespace in
	select.
	* fixincl.x: Regenerate.

From-SVN: r157858
2010-03-31 09:26:05 +00:00
Dodji Seketeli
d7df0b912e re PR c++/43558 (Rejects specialization)
Fix PR c++/43558

gcc/cp/ChangeLog:
	PR c++/43558
	* cp-tree.h (TEMPLATE_TYPE_PARM_SIBLING_PARMS): New accessor macro.
	* pt.c (end_template_parm_list): Store sibling template parms of
	each TEMPLATE_TYPE_PARMs into its TEMPLATE_TYPE_PARM_SIBLING_PARMS.
	(push_template_decl_real): Don't store the containing template decl
	into the DECL_CONTEXT of TEMPLATE_TYPE_PARMs anymore.
	* typeck.c (get_template_parms_of_dependent_type): Get sibling parms
	of a TEMPLATE_TYPE_PARM from TEMPLATE_TYPE_PARM_SIBLING_PARMS.
	Simplify the logic.

gcc/testsuite/ChangeLog:
	PR c++/43558
	* g++.dg/template/typedef31.C: New test.

From-SVN: r157857
2010-03-31 11:21:02 +02:00