1. 25 Jun, 2008 10 commits
  2. 24 Jun, 2008 16 commits
    • re PR middle-end/36594 (multiple regressions on powerpc at rev.136976) · cba2d79f
      2008-06-24  Andrew Pinski  <andrew_pinski@playstation.sony.com>
      
              PR middle-end/36594
              * builtins.c (expand_builtin_nonlocal_goto): Stabilize the address of
              the memory instead of the memory itself for the save area.
      
      From-SVN: r137089
      Andrew Pinski committed
    • re PR fortran/36371 (Wrong locus for errors in DATA statement) · c4e3543d
      2008-06-24  Paul Thomas  <pault@gcc.gnu.org>
      
      	PR fortran/34371
      	* expr.c (gfc_check_assign):  Change message and locus for
      	error when conform == 0.
      
      2008-06-24  Paul Thomas  <pault@gcc.gnu.org>
      
      	PR fortran/36371
      	* gfortran.dg/data_array_5.f90: New test.
      
      From-SVN: r137088
      Paul Thomas committed
    • re PR c++/23194 (Unhelpful diagnostic for incorrect pointer-to-member function syntax) · 7b98a725
      	PR c++/23194
      	* typeck.c (cp_build_function_call): Show example syntax in
      	diagnostic.
      
      From-SVN: r137086
      Jonathan Wakely committed
    • parallel_mode.xml: Clarify use of explicit parallel algorithms. · d3cf4d72
      2008-06-24  Benjamin Kosnik  <bkoz@redhat.com>
      
      	* doc/xml/manual/parallel_mode.xml: Clarify use of explicit
      	parallel algorithms.
      	* doc/xml/manual/using.xml: Markup fixes caught by validation check.
      	* doc/xml/manual/test.xml: Remove empty para tags.
      
      	* doc/html/*: Regenerate.
      
      From-SVN: r137085
      Benjamin Kosnik committed
    • re PR libgcj/32198 (rmic fails if remote method throws superclass of RemoteException) · 2e10f49b
      	PR libgcj/32198:
      	* tools/gnu/classpath/tools/rmic/SourceGiopRmicCompiler.java
      	(compile): Reverse isAssignableFrom test.
      	* tools/gnu/classpath/tools/rmic/SourceGiopRmicCompiler.class:
              Rebuilt.
      
      From-SVN: r137084
      Tom Tromey committed
    • utils2.c (known_alignment): Derive the alignment from pointed-to types only if… · 324ed5a6
      utils2.c (known_alignment): Derive the alignment from pointed-to types only if it is otherwise unknown.
      
      	* utils2.c (known_alignment): Derive the alignment from pointed-to
      	types only if it is otherwise unknown.
      	<INTEGER_CST>: Tidy.
      	<MULT_EXPR>: Likewise.
      	<POINTER_PLUS_EXPR>: If the alignment of the offset is unknown, use
      	that of the base.
      
      From-SVN: r137081
      Eric Botcazou committed
    • stl_algo.h (remove_if): Cast __pred result to bool. · a057a4f1
      2008-06-24  Paolo Carlini  <paolo.carlini@oracle.com>
      
      	* include/bits/stl_algo.h (remove_if): Cast __pred result to bool.
      	(copy_if): Add, per N2666.
      	* testsuite/25_algorithms/copy_if/requirements/explicit_instantiation/
      	2.cc: New.
      	* testsuite/25_algorithms/copy_if/requirements/explicit_instantiation/
      	pod.cc: Likewise.
      	* testsuite/25_algorithms/headers/algorithm/synopsis.cc: Update.
      
      From-SVN: r137080
      Paolo Carlini committed
    • re PR libstdc++/36616 (Open issues from a test run) · db16ca8c
      2008-06-24  Paolo Carlini  <paolo.carlini@oracle.com>
      
      	PR libstdc++/36616
      	* testsuite/22_locale/money_put/put/char/9780-3.cc: Fix expected
      	results for recent glibcs (2.8 and later).
      	* testsuite/22_locale/time_put/put/wchar_t/4.cc: Likewise.
      	* testsuite/22_locale/time_put/put/char/4.cc: Likewise.
      
      From-SVN: r137073
      Paolo Carlini committed
    • Makefile.am, [...] (AM_CFLAGS): Add @EXTRA_CFLAGS@. · c0a781c2
      2008-06-11  Andrew Haley  <aph@redhat.com>
      
              * native/jawt/Makefile.am,
              native/fdlibm/Makefile.am,
              native/jni/java-util/Makefile.am,
              native/jni/gstreamer-peer/Makefile.am,
              native/jni/native-lib/Makefile.am,
              native/jni/gconf-peer/Makefile.am,
              native/jni/gtk-peer/Makefile.am,
              native/jni/xmlj/Makefile.am,
              native/jni/midi-alsa/Makefile.am,
              native/jni/java-nio/Makefile.am,
              native/jni/midi-dssi/Makefile.am,
              native/jni/classpath/Makefile.am,
              native/jni/java-io/Makefile.am,
              native/jni/java-lang/Makefile.am,
              native/jni/java-net/Makefile.am (AM_CFLAGS): Add @EXTRA_CFLAGS@.
              * configure.ac (EXTRA_CFLAGS): New macro.
      
              * lib/Makefile.am (resources): Add .svn.
      
      From-SVN: r137072
      Andrew Haley committed
    • gengtype.c (srcdir_len): size_t instead of int. · 8de8de02
      2008-06-24  Olivier Hainque  <hainque@adacore.com>
                  Nicolas Roche  <roche@adacore.com>
      
      	* gengtype.c (srcdir_len): size_t instead of int.
      	(get_file_realbasename): New function.  For F a filename, the real
      	basename of F, with all the path components stripped.
      	(get_file_srcdir_relative_path): New function.  For F a filename, the
      	relative path to F from $(srcdir).
      	(get_file_basename): Rewrite using get_file_srcdir_relative_path and
      	get_file_realbasename.  Adjust the head comment.
      	(get_prefix_langdir_index): New function. For F a filename, return the
      	lang_dir_names[] relative index of the language directory that is
      	a prefix in F.
      	(get_file_langdir): For F a filename, return the name of the language
      	directory where F is located.
      	(get_file_gtfilename): New function. The gt- output file name for an
      	input filename F.
      	(get_output_file_with_visibility): Replace in-line computations with
      	uses of get_file_gtfilename and get_prefix_langdir_index.
      	* Makefile.in (GTFILES_H): Adjust to match what gengtype generates.
      
      
      Co-Authored-By: Nicolas Roche <roche@adacore.com>
      
      From-SVN: r137070
      Olivier Hainque committed
    • jcf-path.c (jcf_path_init): Don't name variable 'try'. · f02a84d9
      	* jcf-path.c (jcf_path_init): Don't name variable 'try'.
      	* expr.c (add_type_assertion): Rename argument.
      	(build_java_arrayaccess): Don't name variable 'throw'.
      	(ARRAY_NEW_MULTI): Don't name variable 'class'.
      	* jcf-io.c (find_class): Don't name variable 'class'.
      	* mangle.c (compression_table_add): Don't name variable 'new'.
      	* constants.c (cpool_for_class): Rename argument.
      	(alloc_constant_fieldref): Likewise.
      	* jcf-parse.c (handle_innerclass_attribute): Don't name variable
      	'class'.
      	(read_class): Likewise.
      	(parse_zip_file_entries): Likewise.
      	(process_zip_dir): Likewise.
      	* decl.c (java_mark_class_local): Rename argument.
      	* class.c (GEN_TABLE): Use type_name, not typename.
      	(gen_indirect_dispatch_tables): Likewise.
      	(add_field): Rename argument.
      	(is_compiled_class): Likewise.
      	(safe_layout_class): Likewise.
      	(emit_assertion_table): Likewise.
      	* typeck.c (has_method): Rename argument.
      
      From-SVN: r137069
      Tom Tromey committed
    • 2008-06-24 Paolo Carlini <paolo.carlini@oracle.com> · f9993944
      	* Add PR # to last ChangeLog entry.
      
      From-SVN: r137067
      Paolo Carlini committed
    • exception.hpp (__throw_container_error, [...]): Mark inline. · 40753806
      2008-06-24  Paolo Carlini  <paolo.carlini@oracle.com>
      	    Chalathip Thumkanon  <chalathip@gmail.com>
      
      	* include/ext/pb_ds/exception.hpp (__throw_container_error,
      	__throw_insert_error, __throw_join_error, __throw_resize_error):
      	Mark inline.
      
      Co-Authored-By: Chalathip Thumkanon <chalathip@gmail.com>
      
      From-SVN: r137065
      Paolo Carlini committed
    • re PR tree-optimization/36504 (ICE when building xorg-server with -O3 -fprefetch-loop-arrays) · a80a2701
      	PR tree-optimization/36504
      	* tree-ssa-loop-prefetch.c (gather_memory_references_ref): Skip
      	references without base address.
      
      	* gcc.dg/pr36504.c: New test.
      
      From-SVN: r137061
      Jakub Jelinek committed
    • libiberty.h (XALLOCA, [...]): New. · 190a9bd7
      	* libiberty.h (XALLOCA, XDUP, XALLOCAVEC, XDUPVEC, XALLOCAVAR,
      	XDUPVAR, XOBNEWVEC, XOBNEWVAR): New.
      
      From-SVN: r137058
      Kaveh R. Ghazi committed
    • Daily bump. · 64e12224
      From-SVN: r137056
      GCC Administrator committed
  3. 23 Jun, 2008 9 commits
  4. 22 Jun, 2008 5 commits
    • * config/avr/avr.h (SUPPORTS_INIT_PRIORITY): Define. · 34babc73
      From-SVN: r137021
      Andy Hutchinson committed
    • re PR middle-end/34906 (valgrind error indication from testsuite gimplify.c: gimplify_asm_expr) · 2c68ba8e
      2008-06-22  Laurynas Biveinis  <laurynas.biveinis@gmail.com>
      
      	PR middle-end/34906
      	* gimplify.c (gimplify_asm_expr): Check the return code of
      	parse_output_constraint call, set function return and is_inout
      	value if it failed.
      
      From-SVN: r137020
      Laurynas Biveinis committed
    • c-lex.c (narrowest_unsigned_type): Change itk to int. · d75d71e0
      	* c-lex.c (narrowest_unsigned_type): Change itk to int.
      	(narrowest_signed_type): Likewise.
      	* c-typeck.c (c_common_type): Change local variable mclass to enum
      	mode_class, twice.
      	(parser_build_binary_op): Compare the TREE_CODE_CLASS with
      	tcc_comparison, not the tree code itself.
      	* c-common.c (def_fn_type): Pass int, not an enum, to va_arg.
      	(c_expand_expr): Cast modifier to enum expand_modifier.
      	* c-common.h (C_RID_CODE): Add casts.
      	(C_SET_RID_CODE): Define.
      	* c-parser.c (c_parse_init): Use C_SET_RID_CODE.
      	(c_lex_one_token): Add cast to avoid warning.
      	(c_parser_objc_type_name): Rename local typename to type_name.
      	(check_no_duplicate_clause): Change code parameter to enum
      	omp_clause_code.
      	(c_parser_omp_var_list_parens): Change kind parameter to enum
      	omp_clause_code.
      	(c_parser_omp_flush): Pass OMP_CLAUSE_ERROR, not 0, to
      	c_parser_omp_list_var_parens.
      	(c_parser_omp_threadprivate): Likewise.
      	* cp/lex.c (init_reswords): Use C_SET_RID_CODE.
      	* cp/parser.c (cp_lexer_get_preprocessor_token): Likewise.
      	* c-format.c (NO_FMT): Define.
      	(printf_length_specs): Use NO_FMT.
      	(asm_fprintf_length_specs): Likewise.
      	(gcc_diag_length_specs): Likewise.
      	(scanf_length_specs): Likewise.
      	(strfmon_length_specs): Likewise.
      	(gcc_gfc_length_specs): Likewise.
      	(printf_flag_specs): Change 0 to STD_C89.
      	(asm_fprintf_flag_specs): Likewise.
      	(gcc_diag_flag_specs): Likewise.
      	(gcc_cxxdiag_flag_specs): Likewise.
      	(scanf_flag_specs): Likewise.
      	(strftime_flag_specs): Likewise.
      	(strfmon_flag_specs): Likewise.
      	(print_char_table): Likewise.
      	(asm_fprintf_char_table): Likewise.
      	(gcc_diag_char_table): Likewise.
      	(gcc_tdiag_char_table): Likewise.
      	(gcc_cdiag_char_table): Likewise.
      	(gcc_cxxdiag_char_table): Likewise.
      	(gcc_gfc_char_table): Likewise.
      	(scan_char_table): Likewise.
      	(time_char_table): Likewis.
      	(monetary_char_table): Likewise.
      	* c-format.h (BADLEN): Likewise.
      
      From-SVN: r137019
      Ian Lance Taylor committed
    • move.h (swap(_Tp (&)[_Nm], _Tp (&)[_Nm])): Add, per DR 809. · caa8b3c6
      2008-06-22  Paolo Carlini  <paolo.carlini@oracle.com>
      
      	* include/bits/move.h (swap(_Tp (&)[_Nm], _Tp (&)[_Nm])): Add,
      	per DR 809.
      	* include/bits/algorithmfwd.h: Add.
      	* doc/xml/manual/intro.xml: Add an entry for DR 809.
      	* testsuite/25_algorithms/swap/dr809.cc: New.
      
      	* testsuite/25_algorithms/swap/requirements/explicit_instantiation/
      	2.cc: Remove stray empty line.
      
      From-SVN: r137012
      Paolo Carlini committed
    • Daily bump. · 40401358
      From-SVN: r137010
      GCC Administrator committed