1. 22 Apr, 2012 13 commits
    • mksysinfo: More fixes to emulate master Go library. · f04e40af
      From-SVN: r186685
      Ian Lance Taylor committed
    • mksysinfo: Define more structs. · df32732f
      From-SVN: r186683
      Ian Lance Taylor committed
    • re PR c/44774 (-Werror=edantic) · c1771a20
      2012-04-22  Manuel López-Ibáñez  <manu@gcc.gnu.org>
      
      	PR c/44774
      gcc/
      	* doc/invoke.texi (pedantic): Rename to Wpedantic.
      	* common.opt (Wpedantic): New.
      	(pedantic): Alias Wpedantic.
      	* diagnostic.c (warning_at): Likewise.
      	* c-decl.c (diagnose_mismatched_decls): Likewise.
      	(build_array_declarator): Likewise.
      	(mark_forward_parm_decls):
      	(check_bitfield_type_and_width): Likewise.
      	(grokdeclarator): Likewise.
      	(grokfield): Likewise.
      	(finish_struct): Likewise.
      	(build_enumerator): Likewise.
      	(store_parm_decls_oldstyle): Likewise.
      	(declspecs_add_qual): Likewise.
      	(declspecs_add_type): Likewise.
      	(finish_declspecs): Likewise.
      	* c-typeck.c (composite_type): Likewise.
      	(comp_target_types): Likewise.
      	(build_array_ref): Likewise.
      	(pointer_diff): Likewise.
      	(build_unary_op): Likewise.
      	(build_conditional_expr): Likewise.
      	(build_c_cast): Likewise.
      	(convert_for_assignment): Likewise.
      	(maybe_warn_string_init): Likewise.
      	(digest_init): Likewise.
      	(pop_init_level): Likewise.
      	(set_init_index): Likewise.
      	(c_finish_goto_label): Likewise.
      	(c_finish_return): Likewise.
      	(do_case): Likewise.
      	(build_binary_op): Likewise.
      	* c-parser.c (static): Likewise.
      	(c_parser_external_declaration): Likewise.
      	(c_parser_declaration_or_fndef): Likewise.
      	(c_parser_static_assert_declaration_no_se): Likewise.
      	(c_parser_enum_specifier): Likewise.
      	(c_parser_struct_or_union_specifier): Likewise.
      	(c_parser_struct_declaration): Likewise.
      	(c_parser_alignas_specifier): Likewise.
      	(c_parser_braced_init): Likewise.
      	(c_parser_initelt): Likewise.
      	(c_parser_compound_statement_nostart): Likewise.
      	(c_parser_conditional_expression): Likewise.
      	(c_parser_alignof_expression): Likewise.
      	(c_parser_postfix_expression): Likewise.
      	(c_parser_postfix_expression_after_paren_): Likewise.
      	(c_parser_objc_class_instance_variables): Likewise.
      	(c_parser_objc_method_definition): Likewise.
      	(c_parser_objc_methodprotolist): Likewise.
      
      c-family/
      	* c.opt (Wpedantic): New.
      	(pedantic): Alias Wpedantic.
      	* c-opts.c (c_common_handle_option): Replace -pedantic with -Wpedantic.
      	(c_common_post_options): Likewise.
      	(sanitize_cpp_opts): Likewise.
      	* c-lex.c (interpret_float): Likewise.
      	* c-format.c (check_format_types): Likewise.
      	* c-common.c (pointer_int_sum): Likewise.
      	(c_sizeof_or_alignof_type): Likewise.
      	(c_add_case_label): Likewise.
      	(c_do_switch_warnings): Likewise.
      	* c-pragma.c (handle_pragma_float_const_decimal64): Likewise.
      cp/
      	* typeck.c (composite_pointer_type): Likewise.
      	(cxx_sizeof_or_alignof_type): Likewise.
      	(cp_build_array_ref): Likewise.
      	(cp_build_function_call_vec): Likewise.
      	(cp_build_addr_expr_1): Likewise.
      	(convert_member_func_to_ptr): Likewise.
      	* decl.c (check_tag_decl): Likewise.
      	(check_static_variable_definition): Likewise.
      	(compute_array_index_type): Likewise.
      	(create_array_type_for_decl): Likewise.
      	(grokdeclarator): Likewise.
      	(grok_op_properties): Likewise.
      	* error.c (maybe_warn_cpp0x): Likewise.
      	* pt.c (maybe_process_partial_specialization): Likewise.
      	(convert_template_argument): Likewise.
      	(do_decl_instantiation): Likewise.
      	(do_type_instantiation): Likewise.
      	* parser.c (cp_parser_primary_expression): Likewise.
      	(cp_parser_postfix_expression): Likewise.
      	(cp_parser_unary_expression): Likewise.
      	(cp_parser_question_colon_clause): Likewise.
      	(cp_parser_lambda_introducer): Likewise.
      	(cp_parser_lambda_declarator_opt): Likewise.
      	(cp_parser_compound_statement): Likewise.
      	(cp_parser_jump_statement): Likewise.
      	(cp_parser_declaration_seq_opt): Likewise.
      	(cp_parser_enum_specifier): Likewise.
      	(cp_parser_enumerator_list): Likewise.
      	(cp_parser_initializer_list): Likewise.
      	(cp_parser_member_declaration): Likewise.
      	* call.c (build_conditional_expr_1): Likewise.
      	* friend.c (make_friend_class): Likewise.
      	* name-lookup.c (pushdecl_maybe_friend_1): Likewise.
      
      From-SVN: r186681
      Manuel López-Ibáñez committed
    • godump.c (go_output_typedef): Dump size of structs. · f12e8bd5
      	* godump.c (go_output_typedef): Dump size of structs.
      
      mksysinfo, syscall: Change Sizeof names from var to const.
      
      From-SVN: r186678
      Ian Lance Taylor committed
    • re PR c++/53067 (c++0x GCC 4.7.0 Regression std::ref with unordered sets) · 970aa0b9
      2012-04-22  Paolo Carlini  <paolo.carlini@oracle.com>
      
      	PR libstdc++/53067
      	* include/bits/hashtable_policy.h: Change inheritances to public.
      	* testsuite/23_containers/unordered_map/requirements/53067.cc: New.
      	* testsuite/23_containers/unordered_set/requirements/53067.cc: Likewise.
      
      From-SVN: r186676
      Paolo Carlini committed
    • re PR libfortran/53051 (I/O: Support reading floating-point numbers which use "Q" for the exponent) · 96b3ee1c
      2012-04-22  Tobias Burnus  <burnus@net-b.de>
      
              PR fortran/53051
              * io/list_read.c (parse_real): Support "q" for the
              exponential.
              * io/read.c (read_f): Ditto.
      
      2012-04-22  Tobias Burnus  <burnus@net-b.de>
      
              PR fortran/53051
              * gfortran.dg/read_float_4.f90: New.
      
      From-SVN: r186675
      Tobias Burnus committed
    • alloc_traits.h (__alloc_traits::difference_type): Define. · 605aed29
      	* include/ext/alloc_traits.h (__alloc_traits::difference_type):
      	Define.
      
      From-SVN: r186673
      Jonathan Wakely committed
    • Add PR number to ChangeLog entry. · b3baa4a5
      From-SVN: r186672
      Jonathan Wakely committed
    • ptr_traits.h (pointer_traits::rebind): Make public. · fcf6e948
      	* include/bits/ptr_traits.h (pointer_traits::rebind): Make public.
      	* testsuite/20_util/pointer_traits/requirements/typedefs.cc: Check
      	rebind works.
      
      From-SVN: r186670
      Jonathan Wakely committed
    • forward_list (forward_list::splice_after): Check allocators are equal. · 7c688ade
      	* include/debug/forward_list (forward_list::splice_after): Check
      	allocators are equal.
      	* src/c++11/debug.cc: Fix spelling.
      	* testsuite/23_containers/forward_list/debug/splice_after5_neg.cc:
      	New.
      	* testsuite/23_containers/forward_list/debug/splice_after6_neg.cc:
      	Likewise.
      	* testsuite/23_containers/forward_list/debug/splice_after7_neg.cc:
      	Likewise.
      
      From-SVN: r186669
      Jonathan Wakely committed
    • ChangeLog: Fix. · 49c45e28
      	* ChangeLog: Fix.
      	* testsuite/ChangeLog: Ditto.
      
      From-SVN: r186668
      Uros Bizjak committed
    • Correcting transform_to_exit_first_loop + fix to PR tree-optimization/46886 · 69958396
      2012-04-20  Razya Ladelsky  <razya@il.ibm.com>
                       Correcting transform_to_exit_first_loop + fix to
                       PR tree-optimization/46886
                       * tree-parloops.c (transform_to_exit_first_loop):
                       * Remove setting of number of iterations according to
                       * the loop pattern.
                       Duplicate from entry to exit->src instead of
      loop->latch.
                       (pallelize_loops): Remove the condition preventing
      do-while loops.
                       * tree-cfg.c (bool bb_in_region_p): New.
                       (gimple_duplicate_sese_tail): Adjust duplication of the
      the subloops.
                       Adjust redirection of the duplicated iteration.
      
      From-SVN: r186667
      Razya Ladelsky committed
    • Daily bump. · bf310e12
      From-SVN: r186662
      GCC Administrator committed
  2. 21 Apr, 2012 7 commits
  3. 20 Apr, 2012 20 commits