- 25 Jun, 2008 10 commits
-
-
2008-06-25 Paolo Carlini <paolo.carlini@oracle.com> * include/bits/stl_algo.h (__find_if_not, find_if_not, all_of, any_of, none_of): Add in C++0x, per N2666. * include/bits/algorithmfwd.h: Update. * testsuite/25_algorithms/headers/algorithm/synopsis.cc: Likewise. * testsuite/25_algorithms/all_of/check_type.cc: New. * testsuite/25_algorithms/all_of/1.cc: Likewise. * testsuite/25_algorithms/all_of/requirements/explicit_instantiation/ 2.cc: Likewise. * testsuite/25_algorithms/all_of/requirements/explicit_instantiation/ pod.cc: Likewise. * testsuite/25_algorithms/any_of/check_type.cc: Likewise. * testsuite/25_algorithms/any_of/1.cc: Likewise. * testsuite/25_algorithms/any_of/requirements/explicit_instantiation/ 2.cc: Likewise. * testsuite/25_algorithms/any_of/requirements/explicit_instantiation/ pod.cc: Likewise. * testsuite/25_algorithms/none_of/check_type.cc: Likewise. * testsuite/25_algorithms/none_of/1.cc: Likewise. * testsuite/25_algorithms/none_of/requirements/explicit_instantiation/ 2.cc: Likewise. * testsuite/25_algorithms/none_of/requirements/explicit_instantiation/ pod.cc: Likewise. * testsuite/25_algorithms/find_if_not/check_type.cc: Likewise. * testsuite/25_algorithms/find_if_not/1.cc: Likewise. * testsuite/25_algorithms/find_if_not/requirements/ explicit_instantiation/2.cc: Likewise. * testsuite/25_algorithms/find_if_not/requirements/ explicit_instantiation/pod.cc: Likewise. * testsuite/25_algorithms/copy_if/check_type.cc: Likewise. * testsuite/25_algorithms/remove_copy_if/check_type.cc: Likewise. * testsuite/25_algorithms/find_if/1.cc: Minor tweaks. From-SVN: r137118
Paolo Carlini committed -
gcc/ada/ * Makefile.in: Use mlib-tgt-specific-linux.adb for sh4 as well. From-SVN: r137108
Samuel Tardieu committed -
2008-06-25 Olivier Hainque <hainque@adacore.com> * Makefile.in (GTFILES_H): Use | instead of ; as separator in sed substitutions. From-SVN: r137107
Olivier Hainque committed -
2008-06-25 Richard Guenther <rguenther@suse.de> * tree-ssa-structalias.c (fieldoff_compare): Make sure to not overflow the result type. * gcc.c-torture/compile/20080625-1.c: New testcase. From-SVN: r137104
Richard Guenther committed -
2008-06-25 Richard Guenther <rguenther@suse.de> * tree-vn.c (vn_add): Handle TRUTH_*_EXPR. (vn_lookup): Likewise. * g++.dg/torture/20080625-1.C: New testcase. From-SVN: r137102
Richard Guenther committed -
2008-06-25 Richard Guenther <rguenther@suse.de> PR tree-optimization/35518 * fold-const.c (fold_ternary): Strip trivial BIT_FIELD_REFs. * tree-sra.c (instantiate_element): Use fold_build3 to build BIT_FIELD_REFs. (try_instantiate_multiple_fields): Likewise. From-SVN: r137100
Richard Guenther committed -
2008-06-24 Andrew Pinski <andrew_pinski@playstation.sony.com> * config/rs6000/rs6000.md: Change all string instruction's clobber to be early clobbers. From-SVN: r137098
Andrew Pinski committed -
2008-06-24 Andrew Pinski <andrew_pinski@playstation.sony.com> * config/rs6000/rs6000.c (rs6000_emit_epilogue): Set use_backchain_to_restore_sp to true if the offset of the link register save area would go over the 32k - 1 offset limit of the load instructions. From-SVN: r137097
Andrew Pinski committed -
* doc/invoke.texi (Optimize Options) <fstrict-aliasing>: Add anchor for the type-punning blurb. Cross-reference "Structures unions enumerations and bit-fields implementation". Provide a cast-through-pointer example. Make final sentence self-contained. * doc/implement-c.texi (Structures unions enumerations and bit-fields implementation): Cross-reference the type-punning blurb in the -fstrict-aliasing documentation. From-SVN: r137095
Hans-Peter Nilsson committed -
From-SVN: r137093
GCC Administrator committed
-
- 24 Jun, 2008 16 commits
-
-
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 -
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 -
PR c++/23194 * typeck.c (cp_build_function_call): Show example syntax in diagnostic. From-SVN: r137086
Jonathan Wakely committed -
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 -
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 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 -
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 -
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 -
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 -
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'. * 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 -
* Add PR # to last ChangeLog entry. From-SVN: r137067
Paolo Carlini committed -
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 -
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, XDUP, XALLOCAVEC, XDUPVEC, XALLOCAVAR, XDUPVAR, XOBNEWVEC, XOBNEWVAR): New. From-SVN: r137058
Kaveh R. Ghazi committed -
From-SVN: r137056
GCC Administrator committed
-
- 23 Jun, 2008 9 commits
-
-
PR middle-end/PR36584 * calls.c (expand_call): Increase alignment for recursive functions. testsuite/ChangeLog: PR middle-end/PR36584 * testsuite/gcc.dg/pr36584.c: New test. * testsuite/gcc.target/i386/local2.c: Remove invalid test. From-SVN: r137045
Uros Bizjak committed -
* config/avr/avr.c (avr_function_value): Add new 'outgoing' argument. (TARGET_FUNCTION_VALUE): New define. * config/avr/avr-protos.h (avr_function_value): Remove declaration. * config/avr/avr.h (FUNCTION_VALUE): Remove. From-SVN: r137042
Anatoly Sokolov committed -
* config/i386/i386.md (fmodxf3): Change sequence of move instructions. (fmod<mode>3): Ditto. (remainderxf3): Ditto. (remainder<mode>3): Ditto. From-SVN: r137040
Uros Bizjak committed -
PR target/36533 * emit-rtl.c (set_reg_attrs_from_value): Do nothing if REG is a hard register. * gcc.target/i386/pr36533.c: New test. From-SVN: r137038
Jakub Jelinek committed -
PR tree-optimization/36508 * tree-ssa-pre.c (compute_antic): Allow num_iterations up to 499, don't check it at all in release compilers. * gcc.dg/pr36508.c: New test. From-SVN: r137036
Jakub Jelinek committed -
* config/i386/i386.md (*fop_<MODEF:mode>_2_i387): Fix a typo. (*fop_<MODEF:mode>_3_i387): Ditto. From-SVN: r137035
Uros Bizjak committed -
PR fortran/36597 * cpp.c (cpp_define_builtins): Change _OPENMP value to 200805. From-SVN: r137034
Jakub Jelinek committed -
i386.md (*fop_<mode>_1_i387): Use SSE_FLOAT_MODE_P together with SSE_TARGET_MATH to disable insn pattern. * config/i386/i386.md (*fop_<mode>_1_i387): Use SSE_FLOAT_MODE_P together with SSE_TARGET_MATH to disable insn pattern. (*fop_<MODEF:mode>_2_i387): Ditto. (*fop_<MODEF:mode>_3_i387): Ditto. From-SVN: r137032
Uros Bizjak committed -
From-SVN: r137029
GCC Administrator committed
-
- 22 Jun, 2008 5 commits
-
-
From-SVN: r137021
Andy Hutchinson committed -
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. (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 -
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 -
From-SVN: r137010
GCC Administrator committed
-