Skip to content
Snippets Groups Projects
  1. Jan 16, 2008
  2. Jan 15, 2008
    • Sebastian Pop's avatar
      f95-lang.c (gfc_init_builtin_functions): Initialize GOMP builtins for flag_tree_parallelize_loops. · e0e8ce7a
      Sebastian Pop authored
      2008-01-15  Sebastian Pop  <sebastian.pop@amd.com>
      
      	* f95-lang.c (gfc_init_builtin_functions): Initialize GOMP builtins
      	for flag_tree_parallelize_loops.
      
      From-SVN: r131556
      e0e8ce7a
    • Andreas Tobler's avatar
      parser.c (cp_parser_template_parameter): Fix C90 issue with mixing declaration and code. · cde7bfee
      Andreas Tobler authored
      2008-01-15  Andreas Tobler  <a.tobler@schweiz.org>
      
              * parser.c (cp_parser_template_parameter): Fix C90 issue with mixing
              declaration and code.  Update copyright year.
      
      From-SVN: r131555
      cde7bfee
    • Thomas Koenig's avatar
      re PR libfortran/34671 (any(kind=1) and all(kind=1)) · 90469382
      Thomas Koenig authored
      2008-01-15  Thomas Koenig  <tkoenig@gcc.gnu.org>
      
      	PR libfortran/34671
      	* gfortran.am: Added _gfortran_all_l1, _gfortran_all_l2,
      	_gfortran_any_l1, _gfortran_any_l2, -28,15 _gfortran_count_1_l,
      	_gfortran_count_16_l, _gfortran_count_2_l, _gfortran_count_4_l and
      	_gfortran_count_8_l Removed _gfortran_count_16_l16,
      	_gfortran_count_16_l4, _gfortran_count_16_l8,
      	_gfortran_count_4_l16, _gfortran_count_4_l4, _gfortran_count_4_l8,
      	_gfortran_count_8_l16, _gfortran_count_8_l4 and
      	_gfortran_count_8_l8.
      	* Makefile.am: Added generated/any_l1.c and generated/any_l2.c to
      	i_any_c.  Added generated/all_l1. and generated/all_l2.c to
      	i_all_c.  Removed generated/count_4_l4.c, generated/count_8_l4.c,
      	generated/count_16_l4.c, generated/count_4_l8.c,
      	generated/count_8_l8.c, generated/count_16_l8.c,
      	generated/count_4_l16.c, generated/count_8_l16.c, and
      	generated/count_16_l16.c from i_count_c.  Added count_1_l.c,
      	count_2_l.c, count_4_l.c, count_8_l.c and count_16_l.c to
      	i_count_c.  I_M4_DEPS2 depends on ifunction_logical.m4, for
      	any of the files generated from all.m4, any.m4 and count.m4.
      	* Makefile.in:  Regenerated.
      	* m4/ifunction_logical.m4:  New file.  Use
      	GFC_LOGICAL_1 pointer for access to source arrays.
      	* m4/any.m4:  Include ifunction_logical.m4 instead of
      	ifunction.m4.  Don't check atype_name.
      	* m4/all.m4:  Likewise.
      	* m4/count.m4:  Likewise.
      	* generated/any_l1.c:  New file.
      	* generated/any_l2.c:  New file.
      	* generated/all_l1.c:  New file.
      	* generated/count_1_l.c:  New file.
      	* generated/count_2_l.c:  New file.
      	* generated/count_4_l.c:  New file.
      	* generated/count_8_l.c:  New file.
      	* generated/count_16_l.c:  New file.
      	* generated/any_l4.c:  Regenerated.
      	* generated/any_l8.c:  Regenerated.
      	* generated/any_l16.c:  Regenerated.
      	* generated/all_l4.c: Regenerated.
      	* generated/all_l8.c: Regenerated.
      	* generated/all_l16.c: Regenerated.
      	* generated/count_4_l4.c:  Removed.
      	* generated/count_4_l8.c:  Removed.
      	* generated/count_4_l16.c:  Removed.
      	* generated/count_8_l4.c:  Removed.
      	* generated/count_8_l8.c:  Removed.
      	* generated/count_8_l16.c:  Removed.
      	* generated/count_16_l4.c:  Removed.
      	* generated/count_16_l8.c:  Removed.
      	* generated/count_16_l16.c:  Removed.
      
      2008-01-15  Thomas Koenig  <tkoenig@gcc.gnu.org>
      
      	PR libfortran/34671
      	* iresolve.c (gfc_resolve_all):  Call resolve_mask_arg.
      	(gfc_resolve_any):  Likewise.
      	(gfc_resolve_count):  Likewise.  Don't append kind of
      	argument to function name.
      
      2008-01-15  Thomas Koenig  <tkoenig@gcc.gnu.org>
      	
      	PR libfortran/34671
      	* gfortran.dg/anyallcount_1.f90:  New test.
      
      From-SVN: r131553
      90469382
    • Douglas Gregor's avatar
      re PR c++/34399 (ICE on invalid friend declaration of variadic template) · ac90ae18
      Douglas Gregor authored
      2008-01-15  Douglas Gregor  <doug.gregor@gmail.com>
      
      	PR c++/34399
      	* friend.c (do_friend): Don't query TYPE_BEING_DEFINED unless we
      	know we have a class type.
      
      2008-01-15  Douglas Gregor  <doug.gregor@gmail.com>
      
      	PR c++/34399
      	* g++.dg/cpp0x/vt-34399.C: New.
      	* g++.dg/template/friend50.C: New.
      
      From-SVN: r131552
      ac90ae18
    • Bruce Korb's avatar
      Clarify the second argument usage for "c-fix"-es. · 44b962f2
      Bruce Korb authored
      From-SVN: r131550
      44b962f2
    • Bruce Korb's avatar
      Clarify the second argument usage for "c-fix"-es. · 5af3679c
      Bruce Korb authored
      From-SVN: r131549
      5af3679c
    • Douglas Gregor's avatar
      re PR c++/34751 (ICE with pointer to member and variadic templates) · cdcae745
      Douglas Gregor authored
      2008-01-15  Douglas Gregor  <doug.gregor@gmail.com>
      
      	PR c++/34751
      	* pt.c (coerce_template_parameter_pack): When substituting into
      	the type of a non-type template parameter pack. use the
      	deduced/substituted arguments.
      	* parser.c (declarator_can_be_parameter_pack): A pointer-to-member
      	can be a parameter pack with the ellipsis following it.  When we
      	have an erroneous declaration, allow it to be a parameter pack.
      	(cp_parser_template_parameter): Complain about default
      	arguments on non-type template parameter packs, and parse them
      	using the new cp_parser_default_argument.
      	(cp_parser_parameter_declaration): Complain about parameter packs
      	with default arguments. Move parsing of default arguments into a
      	new function, cp_parser_default_argument.
      	(cp_parser_default_argument): New; extracted from
      	cp_parser_parameter_declaration.
      
      2008-01-15  Douglas Gregor  <doug.gregor@gmail.com>
      
      	PR c++/34751
      	* g++.dg/cpp0x/vt-34751.C: New.
      
      From-SVN: r131548
      cdcae745
    • Douglas Gregor's avatar
      re PR c++/34051 (ICE in dependent_type_p with variadic templates) · 4439d02f
      Douglas Gregor authored
      2008-01-15  Douglas Gregor  <doug.gregor@gmail.com>
      
      	PR c++/34051
      	PR c++/34055
      	PR c++/34102
      	PR c++/34103
      	* typeck.c (check_return_expr): If there are bare parameter packs
      	in the return value, set it to error_mark_node.
      	* tree.c (cp_walk_subtrees): Walk USING_DECL nodes.
      	* pt.c (find_parameter_packs_r): Look at the type of
      	IDENTIFIER_NODEs (e.g., for user-defined conversions).
      	(check_for_bare_parameter_packs): Flip the result: now returns
      	TRUE when there were bare parameter packs, FALSE otherwise.
      	(push_template_decl_real): Deal with flipped result of
      	check_for_bare_parameter_packs.
      	* semantics.c (finish_cond): If there are bare parameter packs in
      	the conditional, set it to error_mark_node.
      	(finish_expr_stmt): If there are bare parameter packs in the
      	expression, set it to error_mark_node.
      	(finish_for_expr): Ditto.
      	(finish_switch_cond): If there are bare parameter packs in
      	the conditional, set it to error_mark_node.
      	(finish_mem_initializers): If there are bare parameter packs in
      	the member initializer, set it to error_mark_node.
      	(finish_member_declaration): Check the attributes of the
      	declaration for bare parameter packs, and remove the attributes if
      	any have bare parameter packs.
      	* parser.c (cp_parser_using_declaration): Check the using
      	declaration for bare parameter packs.
      	(cp_parser_base_clause): If there are bare parameter packs in a
      	base specifier, don't add it to the chain.
      
      2008-01-15  Douglas Gregor  <doug.gregor@gmail.com>
      
      	PR c++/34051
      	PR c++/34055
      	PR c++/34102
      	PR c++/34103
      	* g++.dg/cpp0x/vt-34051-2.C: New.
      	* g++.dg/cpp0x/vt-34102.C: New.
      	* g++.dg/cpp0x/vt-34051.C: New.
      	* g++.dg/cpp0x/vt-34055.C: New.
      	* g++.dg/cpp0x/vt-34103.C: New.
      
      From-SVN: r131547
      4439d02f
    • Douglas Gregor's avatar
      re PR c++/34314 (ICE on invalid code (with variadic templates): tree check:... · a022041e
      Douglas Gregor authored
      re PR c++/34314 (ICE on invalid code (with variadic templates): tree check: expected class ‘type’, have ‘exceptional’ (error_mark) in template_class_depth)
      
      2008-01-15  Douglas Gregor  <doug.gregor@gmail.com>
      
             PR c++/34314
             * error.c (dump_simple_decl): Display ellipsis for template
             non-type parameter packs.
             (dump_decl): Display ellipsis for template type parameter packs.
             (dump_template_decl): Display ellipsis for template template
             parameter packs.
             * pt.c (redeclare_class_template): When redeclaring a class
             template, check for collisions between template parameters and
             template parameter packs.
      
      2008-01-15  Douglas Gregor  <doug.gregor@gmail.com>
      
             PR c++/34314
             * g++.dg/cpp0x/vt-34314.C: New.
             * g++.dg/cpp0x/variadic79.C: Fix the error message to reflect
             reality (the error message was wrong previously).
      
      From-SVN: r131546
      a022041e
    • Douglas Gregor's avatar
      re PR c++/33964 (internal compiler error: in dependent_type_p, at cp/pt.c:15319 (vararg templates)) · c095a4f8
      Douglas Gregor authored
      2008-01-15  Douglas Gregor  <doug.gregor@gmail.com>
      
             PR c++/33964
             * pt.c (process_partial_specialization): Don't mark template
             parameters that occur in non-deduced contexts.
             (struct pair_fn_data): Add include_nondeduced_p.
             (for_each_template_parm_r): Only visit non-deduced contexts if
             include_nondeduced_p is set.
             (for_each_template_parm): Added parameter include_nondeduced_p,
             which states whether template parameters found in non-deduced
             contexts should be visited.
             (uses_template_parms): Visit all template parameters, even those
             in non-deduced contexts.
      
      2008-01-15  Douglas Gregor  <doug.gregor@gmail.com>
      
             PR c++/33964
             * g++.dg/cpp0x/vt-33964.C: New.
             * g++.dg/template/partial5.C: New.
      
      From-SVN: r131544
      c095a4f8
    • Douglas Gregor's avatar
      re PR c++/34052 (Trouble with variadic templates as template-template parameter) · 85d85234
      Douglas Gregor authored
      2008-01-15  Douglas Gregor  <doug.gregor@gmail.com>
      
             PR c++/34052
             * pt.c (check_default_tmpl_args): Check for parameter packs that
             aren't at the end of a primary template.
             (push_template_decl_real): Remove check for parameter packs that
             aren't at the end of a primary template; that now happens in
             check_default_tmpl_args.
             * semantics.c (finish_template_template_parm): Use
             check_default_tmpl_args to check for errors in the template
             parameter list.
      
      2008-01-15  Douglas Gregor  <doug.gregor@gmail.com>
      
             PR c++/34052
             * g++.dg/cpp0x/vt-34052.C: New.
             * g++.dg/template/ttp26.C: New.
      
      From-SVN: r131543
      85d85234
    • Paolo Carlini's avatar
      list_partition.h: Formatting fixes, inline tweaks. · a4797b34
      Paolo Carlini authored
      2008-01-14  Paolo Carlini  <pcarlini@suse.de>
      
      	* include/parallel/list_partition.h: Formatting fixes, inline tweaks.
      	* include/parallel/numeric: Likewise.
      	* include/parallel/balanced_quicksort.h: Likewise.
      	* include/parallel/unique_copy.h: Likewise.
      	* include/parallel/algobase.h: Likewise.
      	* include/parallel/algo.h: Likewise.
      
      From-SVN: r131542
      a4797b34
    • GCC Administrator's avatar
      Daily bump. · ac10b0e1
      GCC Administrator authored
      From-SVN: r131540
      ac10b0e1
    • Seongbae Park's avatar
      crossconfig.m4: Add missing header checks, C99 TR1 check, and sigsetjmp check. · b9b38620
      Seongbae Park authored
      2008-01-14  Seongbae Park <seongbae.park@gmail.com>
      
      	* crossconfig.m4: Add missing header checks, C99 TR1 check,
      	and sigsetjmp check.
      
      From-SVN: r131537
      b9b38620
  3. Jan 14, 2008
    • Eric Botcazou's avatar
      Fix oversight. · 0fa8f2bc
      Eric Botcazou authored
      From-SVN: r131532
      0fa8f2bc
    • Eric Botcazou's avatar
      decl.c (gnat_to_gnu_entity): Process renamings before converting the... · 052cec9b
      Eric Botcazou authored
      decl.c (gnat_to_gnu_entity): Process renamings before converting the expression to the type of the object.
      
      	* decl.c (gnat_to_gnu_entity) <object>: Process renamings
      	before converting the expression to the type of the object.
      	* trans.c (maybe_stabilize_reference) <CONSTRUCTOR>: New case.
      	Stabilize constructors for special wrapping types.
      
      From-SVN: r131531
      052cec9b
    • Manuel López-Ibáñez's avatar
      re PR c++/24924 (front end and preprocessor pedantic_errors settings should agree) · 8103eebf
      Manuel López-Ibáñez authored
      2008-01-14  Manuel Lopez-Ibanez  <manu@gcc.gnu.org>
      
      	PR c++/24924
      	* c-opts (c_common_post_options): Do not enable CPP
      	flag_pedantic_errors by default.
      testsuite/
      	* g++.dg/cpp/pedantic-errors.C: Delete.
      	* g++.dg/cpp/permissive.C: Delete.
      
      From-SVN: r131530
      8103eebf
    • Paolo Carlini's avatar
      tree.h: Remove. · eeb77d99
      Paolo Carlini authored
      2008-01-14  Paolo Carlini  <pcarlini@suse.de>
      
      	* include/parallel/tree.h: Remove.
      	* include/Makefile.am: Update.
      	* include/Makefile.in: Rebuild.
      
      	* src/Makefile.am: Remove spurious trailing backslash.
      	* src/Makefile.in: Rebuild.
      	* po/Makefile.in: Likewise.
      	* libmath/Makefile.in: Likewise.
      	* testsuite/Makefile.in: Likewise.
      	* libsupc++/Makefile.in: Likewise.
      	* aclocal.m4: Likewise.
      	* Makefile.in: Likewise.
      	* configure: Likewise.
      
      From-SVN: r131529
      eeb77d99
    • Eric Botcazou's avatar
      re PR rtl-optimization/31944 (Endless loop while building a 64-bit 2.6.20 kernel) · d556d181
      Eric Botcazou authored
      	PR rtl-optimization/31944
      	* cse.c (remove_pseudo_from_table): New function.
      	(merge_equiv_classes): Use above function to remove pseudo-registers.
      	(invalidate): Likewise.
      
      From-SVN: r131522
      d556d181
    • Andreas Schwab's avatar
      Remove control characters. · 6bf4cbe8
      Andreas Schwab authored
      From-SVN: r131521
      6bf4cbe8
Loading