1. 24 Jul, 2008 3 commits
  2. 23 Jul, 2008 11 commits
    • configure: Regenerate. · 7326a39e
      2008-07-23  Aaron W. LaFramboise  <aaronavay62@aaronwl.com>
      
      	* configure: Regenerate.
      	* configure.ac: Require texinfo 4.7.
      	* doc/install.texi: Document texinfo 4.7 requirement.
      
      From-SVN: r138097
      Aaron W. LaFramboise committed
    • condition_variable: Update to N2691 WD. · d3098c94
      2008-07-23  Chris Fairles <chris.fairles@gmail.com>
      
              * include/std/condition_variable: Update to N2691 WD.
              * include/std/mutex: Likewise.
              * testsuite/30_threads/mutex/cons/assign_neg.cc: Adjust line numbers.
              * testsuite/30_threads/mutex/cons/copy_neg.cc: Likewise.
              * testsuite/30_threads/recursive_mutex/cons/assign_neg.cc: Likewise.
              * testsuite/30_threads/recursive_mutex/cons/copy_neg.cc: Likewise.
      
      From-SVN: r138096
      Chris Fairles committed
    • ipa-cp.c (ipcp_print_edge_profiles): Test for node->analyzed rather than for DECL_SAVED_TREE. · 3e293154
      2008-07-23  Martin Jambor  <mjambor@suse.cz>
      
              * ipa-cp.c (ipcp_print_edge_profiles): Test for node->analyzed
      	rather than for DECL_SAVED_TREE.
      	* ipa-prop.c: Include diagnostic.h.
              (ipa_check_stmt_modifications): Check LHS of GIMPLE_MODIFY_EXPRs
      	thoroughly.
      	(ipa_detect_param_modifications): Function rewritten from scratch.
      	(ipa_compute_jump_functions): Changed accesses to modification flags.
      	(ipa_free_node_params_substructures): Update flags destruction.
      	(ipa_node_duplication_hook): Update flags duplication.
      	(ipa_print_all_params_modified): Updated flag access.
      	* ipa-prop.h (struct ipa_param_flags): New structure.
              (struct ipa_node_params): New field modification_analysis_done,
              modified_flags changed into param_flags.
              (ipa_is_ith_param_modified): Changed to use new flags.
      	* Makefile.in (ipa-prop.o): Add $(DIAGNOSTIC_H) to dependencies.
      
      	* ipa-prop.c (ipa_print_all_jump_functions): Moved here from
      	ipa-cp.c and split into two functions.
      	(ipa_print_node_jump_functions): New function.
      	(compute_scalar_jump_functions): New function.
      	(type_like_member_ptr_p): New function.
      	(compute_pass_through_member_ptrs): New function.
      	(fill_member_ptr_cst_jump_function): New function.
      	(determine_cst_member_ptr): New function.
      	(compute_cst_member_ptr_arguments): New function.
      	(ipa_compute_jump_functions): Complete rewrite.
      	* ipa-prop.h (enum jump_func_type): Make explicit that we depend
      	on IPA_UNKNOWN being zero. Added value IPA_CONST_MEMBER_PTR.
      	(struct ipa_member_ptr_cst): New structure.
      	(union jump_func_value): New field member_cst.
      	* ipa-cp.c (ipcp_lat_is_insertable): New function.
      	(ipcp_lattice_from_jfunc): Produces bottom lattices for unhandled
      	jump function types.
      	(ipcp_print_all_lattices): Slight fprintf rearrangement.
      	(ipcp_print_all_structures): Call ipa_print_all_jump_functions
      	instead of ipcp_print_all_jump_functions.
      	(ipcp_insert_stage): Use ipcp_lat_is_insertable, create replace maps
      	only for replacable scalars.
      
      	* doc/invoke.texi (Optimize options): Add description of
      	-findirect-inlining.
      	* common.opt (flag_indirect_inlining): New flag.
      	* opts.c (decode_options): Set flag_indirect_inlining when 
      	optimize >= 3.
      
      	* ipa-inline.c: Include ipa-prop.h.
      	(inline_indirect_intraprocedural_analysis): New function.
      	(inline_generate_summary): Allocate parameter and argument info
      	structures, call inline_indirect_intraprocedural_analysis on each
      	node when doing indirect inlining and deallocate indirect inlining 
      	data structures in the end.
      	* ipa-prop.c (ipa_create_param_decls_array): Return if already done.
      	(free_all_ipa_structures_after_iinln): New function.
      	(free_all_ipa_structures_after_ipa_cp): Checks whether iinln will be 
      	done.
      	* Makefile.in (ipa-inline.o): Added $(IPA_PROP_H) to dependencies.
      
      	* cgraphbuild.c (compute_call_stmt_bb_frequency): New function.
      	(build_cgraph_edges): Call compute_call_stmt_bb_frequency instead
      	of computing the frequency separately.
      	(rebuild_cgraph_edges): Call compute_call_stmt_bb_frequency instead
      	of computing the frequency separately.
      	* ipa-cp.c (ipcp_print_all_structures): Replace a call to 
      	ipa_print_all_param_modified with a call to ipa_print_all_param_flags.
      	* ipa-prop.c (ipa_get_member_ptr_load_param): New function.
      	(ipa_get_stmt_member_ptr_load_param): New function.
      	(ipa_is_ssa_with_stmt_def): New function.
      	(ipa_note_param_call): New function.
      	(ipa_analyze_call_uses): New function.
      	(ipa_analyze_stmt_uses): New function.
      	(ipa_analyze_params_uses): New function.
      	(ipa_free_node_params_substructures): Also free the param_calls linked
      	list.
      	(ipa_node_duplication_hook): Also duplicate the param_calls linked list.
      	(ipa_print_node_param_flags): New function.
      	(ipa_print_all_params_modified): Renamed to ipa_print_all_param_flags.
      	(ipa_print_all_param_flags): Calls ipa_print_node_param_flags.
      	* ipa-prop.h (struct ipa_param_flags): New field called.
      	(struct ipa_param_call_note): New structure.
      	(struct ipa_node_params): New fields param_calls and
      	uses_analysis_done.
      	(ipa_is_ith_param_called): New function.
      	* ipa-inline.c (inline_indirect_intraprocedural_analysis): Call
      	ipa_analyze_params_uses and dump parameter flags.
      
      	* ipa-inline.c (cgraph_decide_recursive_inlining): Call
      	ipa_propagate_indirect_call_infos if performing indirect inlining,
      	pass a new parameter new_edges to it.
      	(add_new_edges_to_heap): New fucntion.
      	(cgraph_decide_inlining_of_small_functions): New vector
      	new_indirect_edges for newly found indirect edges , call
      	ipa_propagate_indirect_call_infos after inlining.
      	(cgraph_decide_inlining): Call ipa_propagate_indirect_call_infos after
      	inlining if performing indirect inlining.  Call
      	free_all_ipa_structures_after_iinln when doing so too.
      	(inline_generate_summary): Do not call
      	free_all_ipa_structures_after_iinln here.
      	* ipa-prop.c (update_jump_functions_after_inlining): New function.
      	(print_edge_addition_message): New function.
      	(update_call_notes_after_inlining): New function.
      	(propagate_info_to_inlined_callees): New function.
      	(ipa_propagate_indirect_call_infos): New function.
      	* ipa-prop.h: Include cgraph.h
      	(struct ipa_param_call_note): Fields reordered, new field processed.
      	* cgraph.h (cgraph_edge): Shrink loop_nest field to 31 bits, add a new
      	flag indirect_call.
      	* cgraphunit.c (verify_cgraph_node): Allow indirect edges not to have
      	rediscovered call statements.
      	* cgraph.c (cgraph_create_edge): Initialize indirect_call to zero.
      	(dump_cgraph_node): Dump also the indirect_call flag.
      	(cgraph_clone_edge): Copy also the indirect_call flag.
      	* tree-inline.c (copy_bb): Do not check for fndecls from call
      	expressions, check for edge availability when moving clones.
      	(get_indirect_callee_fndecl): New function.
      	(expand_call_inline): If callee declaration is not apprent from
      	the statement, try calling get_indirect_callee_fndecl.  Do not
      	issue warnings or call sorry when not inlinings an indirect edge.
      	* Makefile.in (IPA_PROP_H): Added $(CGRAPH_H) to dependencies.
      
      	* ipa-prop.c (ipa_print_node_param_flags): Make the dump format a
      	bit more frandly to matching.
      	* testsuite/g++.dg/ipa/iinline-1.C: New testcase.
      	* testsuite/gcc.dg/ipa/iinline-1.c: New testcase.
      	* testsuite/gcc.dg/ipa/modif-1.c: New testcase.
      
      From-SVN: r138092
      Martin Jambor committed
    • re PR c/35058 (-Werror= works only with some warnings) · fcf73884
      2008-07-23  Manuel Lopez-Ibanez  <manu@gcc.gnu.org>
      
      	PR 35058
      	* diagnostic.c (pedwarn): Add opt parameter.
      	(pedwarn0): New.
      	* c-tree.h (pedwarn_init): Add opt parameter.
      	(pedwarn_c90): Likewise.
      	(pedwarn_c99): Likewise.
      	* c-errors.c (pedwarn_c99): Likewise.
      	(pedwarn_c90): Likewise.
      	* toplev.h (pedwarn): Update declaration.
      	(pedwarn0): Declare.
      	* c-lex.c: All calls to pedwarn changed.
      	* builtins.c: All calls to pedwarn changed.
      	* toplev.c: All calls to pedwarn changed.
      	* c-decl.c: All calls to pedwarn changed.
      	* c-typeck.c: All calls to pedwarn changed.
      	* c-common.c: All calls to pedwarn changed.
      	* c-parser.c: All calls to pedwarn changed.
      cp/
      	* typeck.c: All calls to pedwarn changed.
      	* decl.c: All calls to pedwarn changed.
      	* call.c: All calls to pedwarn changed.
      	* error.c: All calls to pedwarn changed.
      	* typeck2.c: All calls to pedwarn changed.
      	* pt.c: All calls to pedwarn changed.
      	* name-lookup.c: All calls to pedwarn changed.
      	* parser.c: All calls to pedwarn changed.
      fortran/
      	* f95-lang.c (gfc_mark_addressable): All calls to pedwarn changed.
      testsuite/
      	* gcc.dg/Wdeclaration-after-statement-3.c: New.
      	* gcc/testsuite/gcc.dg/Wpointer-arith.c: New.
      
      From-SVN: r138089
      Manuel López-Ibáñez committed
    • acinclude.m4 ([GLIBCXX_CHECK_CLOCK_GETTIME]): Define GLIBCXX_LIBS. · 554cd17b
      2008-07-23  Chris Fairles <chris.fairles@gmail.com>
      
              * acinclude.m4 ([GLIBCXX_CHECK_CLOCK_GETTIME]): Define GLIBCXX_LIBS.
      	Holds the lib that defines clock_gettime (-lrt or -lposix4).
              * src/Makefile.am: Use it.
              * configure: Regenerate.
              * configure.in: Likewise.
              * Makefile.in: Likewise.
              * src/Makefile.in: Likewise.
              * libsup++/Makefile.in: Likewise.
              * po/Makefile.in: Likewise.
              * doc/Makefile.in: Likewise.
      
      From-SVN: r138087
      Chris Fairles committed
    • Add missing ChangeLog from 138075 · f5ae72a9
      From-SVN: r138082
      Michael Meissner committed
    • re PR fortran/36582 (Namelist I/O error: Bogus "Cannot match namelist object") · 5295185c
      2008-07-22  Jerry DeLisle  <jvdelisle@gcc.gnu.org>
      
      	PR libfortran/36852
      	* gfortran.dg/namelist_52.f90: New test.
      
      From-SVN: r138073
      Jerry DeLisle committed
    • re PR fortran/36582 (Namelist I/O error: Bogus "Cannot match namelist object") · ac834957
      2008-07-22  Jerry DeLisle  <jvdelisle@gcc.gnu.org>
      
      	PR fortran/36852
      	* io/list_read.c: If variable rank is zero, do not adjust the found
      	namelist object pointer.
      
      From-SVN: r138072
      Jerry DeLisle committed
    • Daily bump. · b55c64bb
      From-SVN: r138069
      GCC Administrator committed
  3. 22 Jul, 2008 7 commits
    • target-supports.exp (check_effective_target_spu_auto_overlay): New procedure. · 73883255
      	* lib/target-supports.exp (check_effective_target_spu_auto_overlay):
      	New procedure.
      	* lib/compat.exp (compat-execute): Use it to test whether toolchain
      	supports automatic overlay generation for the SPU.
      
      From-SVN: r138064
      Ulrich Weigand committed
    • re PR fortran/29835 (Error message of unknown edit descriptor needs improvement) · 9cad01ce
      2008-07-22  Daniel Kraft  <d@domob.eu>
      
      	PR fortran/29835
      	* io.c (error_element), (format_locus):  New static globals.
      	(unexpected_element):  Spelled out this message fully.
      	(next_char):  Keep track of locus when not MODE_STRING.
      	(next_char_not_space):  Remember last parsed element in error_element.
      	(format_lex):  Fix two indentation errors.
      	(check_format):  Use format_locus and possibly error_element for a
      	slightly better error message on invalid format.
      	(check_format_string):  Set format_locus to start of the string
      	expression used as format.
      
      2008-07-22  Daniel Kraft  <d@domob.eu>
      
      	PR fortran/29835
      	* io/format.c (struct format_data):  New member error_element.
      	(unexpected_element):  Added '%c' to message.
      	(next_char):  Keep track of last parsed character in fmt->error_element.
      	(format_error):  If the message is unexpected_element, output the
      	offending character, too.
      
      2008-07-22  Daniel Kraft  <d@domob.eu>
      
      	PR fortran/29835
      	* gfortran.dg/fmt_error_3.f90:  New test.
      	* gfortran.dg/fmt_error_4.f90:  New test.
      	* gfortran.dg/fmt_error_5.f90:  New test.
      
      From-SVN: r138063
      Daniel Kraft committed
    • sso_string_base.h… · 1e58e43b
      sso_string_base.h (__sso_string_base<>::__sso_string_base(std::initializer_list<_CharT>, const _Alloc&)): Remove.
      
      2008-07-22  Paolo Carlini  <paolo.carlini@oracle.com>
      
      	* include/ext/sso_string_base.h
      	(__sso_string_base<>::__sso_string_base(std::initializer_list<_CharT>,
      	const _Alloc&)): Remove.
      	* include/ext/rc_string_base.h
      	(__rc_string_base<>::__rc_string_base(std::initializer_list<_CharT>,
      	const _Alloc&)): Likewise.
      	* include/ext/vstring.h
      	(__versa_string<>::__versa_string(std::initializer_list<_CharT>,
      	const _Alloc&)): Adjust.
      
      From-SVN: r138058
      Paolo Carlini committed
    • c-typeck.c (build_external_ref): Don't call assemble_external. · 3571ae2e
      2008-07-22  Rafael Avila de Espindola  <espindola@google.com>
      
             * c-typeck.c (build_external_ref): Don't call assemble_external.
             * final.c (output_operand): Call assemble_external.
      
      From-SVN: r138057
      Rafael Avila de Espindola committed
    • re PR fortran/36890 (libgfortran/io/file_pos.c:55: warning: comparison between signed and unsigned) · 4a799ae7
      2008-07-22  Thomas Koenig  <tkoenig@gcc.gnu.org>
      
      	PR libfortran/36890
      	* io/file_pos.c:  Declare READ_CHUNK as signed to avoid
      	signed/unsigned comparison warning in formatted_backspace.
      
      From-SVN: r138050
      Thomas Koenig committed
    • re PR preprocessor/28079 (#line range not verified without -pedantic) · 3b8f20a1
      2008-07-22  Manuel Lopez-Ibanez  <manu@gcc.gnu.org>
      
      	PR 28079
      libcpp/
      	* directives.c (strtolinenum): Handle overflow.
      	(do_line): Give a warning if line number overflowed.
      	(do_linemarker): Update call to strtolinenum.
      
      gcc/testsuite/
      	* gcc.dg/cpp/line6.c: New.
      
      From-SVN: r138049
      Manuel López-Ibáñez committed
    • Daily bump. · 92d30461
      From-SVN: r138047
      GCC Administrator committed
  4. 21 Jul, 2008 18 commits
    • Add initializer_list support as per N2679. · 988499f4
              * include/debug/unordered_map: Add initializer_list support.
              * include/debug/safe_association.h: Likewise.
              * include/debug/unordered_set: Likewise.
              * include/debug/vector: Likewise.
              * include/debug/deque: Likewise.
              * include/debug/map.h: Likewise.
              * include/debug/set.h: Likewise.
              * include/debug/string: Likewise.
              * include/debug/list: Likewise.
              * include/debug/multimap.h: Likewise.
              * include/tr1_impl/unordered_map: Likewise.
              * include/tr1_impl/hashtable: Likewise.
              * include/tr1_impl/unordered_set: Likewise.
              * include/tr1_impl/regex: Likewise.
              * include/std/valarray: Likewise.
              * include/std/unordered_map: Likewise.
              * include/std/unordered_set: Likewise.
              * include/bits/stl_list.h: Likewise.
              * include/bits/stl_map.h: Likewise.
              * include/bits/stl_set.h: Likewise.
              * include/bits/basic_string.h: Likewise.
              * include/bits/basic_string.tcc: Likewise.
              * include/bits/stl_multimap.h: Likewise.
              * include/bits/stl_vector.h: Likewise.
              * include/bits/stl_deque.h: Likewise.
              * include/bits/stl_multiset.h: Likewise.
              * include/bits/stl_bvector.h: Likewise.
              * include/ext/vstring.h: Likewise.
              * include/ext/rc_string_base.h: Likewise.
              * include/ext/sso_string_base.h: Likewise.
              * src/Makefile.am (w?string-inst): Build with -std=gnu++0x.
              * src/Makefile.in: Likewise.
              * config/abi/pre/gnu.ver: Add new w?string exports.
      ...
      
      From-SVN: r138043
      Jason Merrill committed
    • objc-act.c: Fix comment typos. · 39a13be5
      gcc/objc/
      
      	* objc-act.c: Fix comment typos.
      
      gcc/cp/
      
      	* call.c: Fix comment typos.
      	* class.c: Likewise.
      	* cp-tree.h: Likewise.
      	* cxx-pretty-print.c: Likewise.
      	* decl.c: Likewise.
      	* init.c: Likewise.
      	* name-lookup.c: Likewise.
      	* operators.def: Likewise.
      	* parser.c: Likewise.
      	* pt.c: Likewise.
      	* tree.c: Likewise.
      	* typeck.c: Likewise.
      
      From-SVN: r138042
      Ralf Wildenhues committed
    • arm-eabi-extra.ver: New file. · 5194c5c1
      	* config/os/gnu-linux/arm-eabi-extra.ver: New file.
      	* configure.host: Use it for arm*-*-linux-*eabi.
      
      From-SVN: r138041
      Mark Mitchell committed
    • fmt_g0_3.f08: Fix typo in expected error message. · df2fba9e
      gcc/testsuite/
      
      	* gfortran.dg/fmt_g0_3.f08: Fix typo in expected error message.
      
      gcc/fortran/
      
      	* expr.c (gfc_check_pointer_assign): Fix typo in string.
      	* io.c (check_format): Fix typo in string.  Fix comment typos.
      	* parse.c (gfc_global_used): Likewise.
      	* resolve.c (resolve_allocate_expr): Likewise.
      	* symbol.c (gfc_set_default_type): Likewise.
      	* arith.c: Fix typos in comments.
      	* array.c: Likewise.
      	* data.c: Likewise.
      	* decl.c: Likewise.
      	* dependency.c: Likewise.
      	* f95-lang.c: Likewise.
      	* gfortran.h: Likewise.
      	* matchexp.c: Likewise.
      	* module.c: Likewise.
      	* primary.c: Likewise.
      	* scanner.c: Likewise.
      	* trans-array.c: Likewise.
      	* trans-common.c: Likewise.
      	* trans-decl.c: Likewise.
      	* trans-expr.c: Likewise.
      	* trans-intrinsic.c: Likewise.
      	* trans-types.c: Likewise.
      	* trans.c: Likewise.
      	* trans.h: Likewise.
      
      From-SVN: r138040
      Ralf Wildenhues committed
    • h8300.c (h8300_hard_regno_scratch_ok): New. · 2e762884
      * config/h8300/h8300.c (h8300_hard_regno_scratch_ok): New.
      (TARGET_HARD_REGNO_SCRATCH_OK): Define.
      
      From-SVN: r138038
      DJ Delorie committed
    • spu.md ("div<mode>3"): Convert into expander, move original insn and splitter contents into ... · a03f1b22
      	* config/spu/spu.md ("div<mode>3"): Convert into expander, move
      	original insn and splitter contents into ...
      	("*div<mode>3_fast"): ... this new pattern.  Enable only if
      	flag_unsafe_math_optimizations.  Add dummy scratch register.
      	("*div<mode>3_adjusted"): New insn and splitter.  Enable only if
      	!flag_unsafe_math_optimizations.  Returns number with next
      	highest magnitude if this is still less or equal to the true
      	quotient in magnitude.
      
      From-SVN: r138036
      Ulrich Weigand committed
    • re PR c++/36871 (__has_nothrow_copy(T) false for T with a template ctor) · 279086c3
      /cp
      2008-07-21  Paolo Carlini  <paolo.carlini@oracle.com>
      
      	PR c++/36871
      	PR c++/36872
      	* semantics.c (classtype_has_nothrow_assign_or_copy_p): Only check
      	copy constructors and copy assignment operators proper.
      
      /testsuite
      2008-07-21  Paolo Carlini  <paolo.carlini@oracle.com>
      
              PR c++/36871
      	PR c++/36872
              * g++.dg/ext/has_nothrow_copy.C: Rename to...
              * g++.dg/ext/has_nothrow_copy-1.C: ... this.
              * g++.dg/ext/has_nothrow_copy-2.C: New.
              * g++.dg/ext/has_nothrow_copy-3.C: Likewise.
              * g++.dg/ext/has_nothrow_copy-4.C: Likewise.
              * g++.dg/ext/has_nothrow_copy-5.C: Likewise.
              * g++.dg/ext/has_nothrow_copy-6.C: Likewise.
              * g++.dg/ext/has_nothrow_copy-7.C: Likewise.
      
      From-SVN: r138034
      Paolo Carlini committed
    • Fix the year on the ChangeLog. · 099735e9
      From-SVN: r138032
      Rafael Espindola committed
    • Makefile.in: Replace toplev.h with TOPLEV_H. · aa14403d
      2007-07-21  Rafael Avila de Espindola  <espindola@google.com>
      
      	* Makefile.in: Replace toplev.h with TOPLEV_H.
      	* c-decl.c (merge_decls): Don't set DECL_IN_SYSTEM_HEADER.
      	* c-lex.c (fe_file_change): Don't set in_system_header.
      	* c-parser.c (c_token): Remove in_system_header.
      	(c_lex_one_token): Don't set in_system_header.
      	(c_parser_set_source_position_from_token): Don't set in_system_header.
      	* diagnostic.c (diagnostic_report_diagnostic): Use location from
      	diagnostic_info.
      	(warning_at): New.
      	* diagnostic.h (diagnostic_report_warnings_p): Add LOC argument.
      	* flags.h (in_system_header): Remove.
      	* function.c (saved_in_system_header): Remove.
      	(push_cfun): Don't set in_system_header.
      	(pop_cfun): Don't set in_system_header.
      	(push_struct_function): Don't set in_system_header.
      	* input.h (expanded_location): Add sysp.
      	(in_system_header_at): New.
      	(in_system_header): New.
      	* toplev.c (in_system_header): Remove.
      	* toplev.h: Include input.h
      	(warning_at): New.
      	* tree-cfg.c (execute_warn_function_return): Call warning_at.
      	* tree-ssa.c (warn_uninit): Call warning_at.
      	(warn_uninitialized_var): Update calls to warn_uninit.
      	(warn_uninitialized_phi): Update calls to warn_uninit.
      	* tree.c (make_node_stat): Don't set DECL_IN_SYSTEM_HEADER.
      	(expand_location): Initialize xloc.sysp.
      	* tree.h (DECL_IN_SYSTEM_HEADER): Use in_system_header_at.
      	(tree_decl_with_vis): Remove in_system_header_flag.
      
      2007-07-21  Rafael Avila de Espindola  <espindola@google.com>
      
      	* parser.c (cp_token): Remove in_system_header.
      	(eof_token): Remove in_system_header.
      	(cp_lexer_get_preprocessor_token): Don't set in_system_header.
      	(cp_lexer_set_source_position_from_token): Don't set in_system_header.
      	(cp_parser_member_declaration):  Use in_system_header_at.
      	* pt.c (lookup_template_class): Don't set DECL_IN_SYSTEM_HEADER.
      	(pop_tinst_level): Don't set in_system_header.
      	(instantiate_class_template): Don't set in_system_header.
      	(instantiate_decl): Don't set in_system_header.
      	(instantiate_pending_templates): Don't set in_system_header.
      
      From-SVN: r138031
      Rafael Avila de Espindola committed
    • re PR libfortran/36773 (zero-sized arrays with cshift and eoshift) · c44109aa
      2008-07-21  Thomas Koenig  <tkoenig@gcc.gnu.org>
      
      	PR libfortran/36773
      	* intrinsics/cshift0.c (cshift0):  Return early if size of array
      	is zero.
      	* intrinsics/eoshift0.c (eoshift0):  Return early if size of
      	return array is zero.
      	* intrinsics/eoshift2.c (eoshift2):  Likewise.
      	* m4/eoshift1.m4 (eoshift1):  Return early if size of array
      	is zero.
      	* m4/eoshift3.m4 (eoshift3):  Likewise.
      	* m4/eoshift2.m4 (eoshift2):  Return early if size of return
      	array is zero.
      	* m4/eoshift4.m4 (eoshift2):  Return early if size of return
      	array is zero.
      	* generated/cshift1_16.c: Regenerated.
      	* generated/cshift1_4.c: Regenerated.
      	* generated/cshift1_8.c: Regenerated.
      	* generated/eoshift1_16.c: Regenerated.
      	* generated/eoshift1_4.c: Regenerated.
      	* generated/eoshift1_8.c: Regenerated.
      	* generated/eoshift3_16.c: Regenerated.
      	* generated/eoshift3_4.c: Regenerated.
      	* generated/eoshift3_8.c: Regenerated.
      
      2008-07-21  Thomas Koenig  <tkoenig@gcc.gnu.org>
      
      	PR libfortran/36773
      	* gfortran.dg/zero_sized_5.f90:  New test case.
      
      From-SVN: r138027
      Thomas Koenig committed
    • line-map.h (linenum_type): New typedef. · 1bb64668
      2008-07-21  Manuel Lopez-Ibanez  <manu@gcc.gnu.org>
      
      	* include/line-map.h (linenum_type): New typedef.
      	(struct line_map): Use it.
      	(SOURCE_LINE): Second arguments is a LOCATION not a LINE.
      	(SOURCE_COLUMN): Likewise.
      	* macro.c (_cpp_builtin_macro_text): Use linenum_type. Don't store
      	source_location values in a variable of type linenum_type.
      	* directives.c (struct if_stack): Use linenum_type.
      	(strtoul_for_line): Rename as strtolinenum.
      	(do_line): Use linenum_type.
      	(do_linemarker): Use linenum_type and strtolinenum.
      	(_cpp_do_file_change): Use linenum_t.
      	* line-map.c (linemap_add): Likewise.
      	(linemap_line_start): Likewise.
      	* traditional.c (struct fun_macro): 'line' is a source_location.
      	* errors.c (print_location): Use linenum_type.
      	* directives-only.c (_cpp_preprocess_dir_only): Likewise.
      	* internal.h (CPP_INCREMENT_LINE): Likewise.
      	* lex.c (_cpp_skip_block_comment): Use source_location.
      
      From-SVN: r138026
      Manuel López-Ibáñez committed
    • re PR c++/36870 (__has_nothrow_constructor violates the ODR) · e24313f3
      /cp
      2008-07-21  Paolo Carlini  <paolo.carlini@oracle.com>
      
      	PR c++/36870
      	* semantics.c (classtype_has_nothrow_assign_or_copy_p): Use
      	TYPE_NOTHROW_P, not TREE_NOTHROW.
      	(trait_expr_value): Likewise.
      
      /testsuite
      2008-07-21  Paolo Carlini  <paolo.carlini@oracle.com>
      
      	PR c++/36870
      	* g++.dg/ext/has_nothrow_assign_odr.C: New.
      	* g++.dg/ext/has_nothrow_copy_odr.C: Likewise.
      	* g++.dg/ext/has_nothrow_constructor_odr.C: Likewise.
      	* g++.dg/ext/has_nothrow_assign.C: Adjust.
      	* g++.dg/ext/has_nothrow_copy.C: Likewise.
      	* g++.dg/ext/has_nothrow_constructor.C: Likewise.
      
      From-SVN: r138024
      Paolo Carlini committed
    • [multiple changes] · c499b300
      2008-07-21  Andreas Krebbel  <krebbel1@de.ibm.com>
      
      	PR target/36822
      	* recog.c (asm_operand_ok): Change the order of the extra
      	memory constraint checks.
      
      2008-07-17  Andreas Krebbel  <krebbel1@de.ibm.com>
      
      	PR target/36822
      	* gcc.target/s390/pr36822.c: New testcase.
      
      From-SVN: r138022
      Andreas Krebbel committed
    • re PR libfortran/36857 (Non-English locale breaks gfortran float formatting ("printf is broken")) · 302b150e
      2008-07-20  Jerry DeLisle  <jvdelisle@gcc.gnu.org>
      
      	PR fortran/36857
      	* io/write_float.def: Comment out locale dependent code and fix general
      	comments.
      
      From-SVN: r138021
      Jerry DeLisle committed
    • re PR middle-end/36143 (FAIL: g++.dg/tree-ssa/pr19637.C) · 8ca73389
      	PR middle-end/36143
      	* g++.dg/tree-ssa/pr19637.C: XFAIL.
      
      From-SVN: r138020
      Hans-Peter Nilsson committed
    • re PR rtl-optimization/33642 (unrecognizable insn for -frtl-abstract-sequences) · 113278e2
      	PR rtl-optimization/33642
      	* gcc.c-torture/compile/pr11832.c: Skip for CRIS.
      	* gcc.c-torture/compile/pr33009.c: Likewise.
      
      From-SVN: r138019
      Hans-Peter Nilsson committed
    • re PR middle-end/36509 (gcc.dg/Wstrict-aliasing-float-ptr-int-obj.c) · afeb58ed
      	PR middle-end/36509
      	* gcc.dg/Wstrict-aliasing-float-ptr-int-obj.c: XFAIL.
      
      From-SVN: r138018
      Hans-Peter Nilsson committed
    • Daily bump. · b94142c9
      From-SVN: r138016
      GCC Administrator committed
  5. 20 Jul, 2008 1 commit