- 03 Mar, 2007 7 commits
-
-
PR libfortran/31001 * intrinsics/pack_generic.c (pack_internal): Add special checks for zero-sized arrays. * gfortran.dg/zero_sized_3.f90: New test. From-SVN: r122507
Francois-Xavier Coudert committed -
2007-03-03 Benjamin Kosnik <bkoz@redhat.com> * include/debug/functions.h: Use cstddef. * testsuite/tr1/3_function_objects/headers/functional/ using_namespace_std_tr1_placeholders.cc: Fix include. From-SVN: r122506
Benjamin Kosnik committed -
2007-03-03 Manuel Lopez-Ibanez <manu@gcc.gnu.org> PR c++/15787 * parser.c (struct cp_parser): New IN_IF_STMT. (cp_parser_statement_seq_opt): Handle an unexpected 'else', returning if parsing the body of an 'if' statement or issuing an error and continuing. (cp_parser_selection_statement): Set IN_IF_STMT bit when parsing body of 'if'. (cp_parser_jump_statement): Mask new IN_IF_STMT bit. testsuite/ * g++.dg/parse/else.C: New. * g++.dg/parse/else-2.C: New. From-SVN: r122505
Manuel López-Ibáñez committed -
2007-03-03 Benjamin Kosnik <bkoz@redhat.com> * crossconfig.m4 (djgpp): Correct builtin defines to HAVE___, instead of HAVE____. * configure: Regenerate. From-SVN: r122504
Benjamin Kosnik committed -
re PR fortran/30882 ([4.1 and 4.2 only] size with initialization expression value for dim= is rejected) 2007-03-03 Paul Thomas <pault@gcc.gnu.org> PR fortran/30882 * check.c (dim_rank_check): The shape of subsections of assumed-size arrays is known. 2007-03-03 Paul Thomas <pault@gcc.gnu.org> PR fortran/30882 * gfortran.dg/size_dim.f90: New test. -- Diese und die folgenden Zeilen werden ignoriert -- M gcc/testsuite/ChangeLog A gcc/testsuite/gfortran.dg/size_dim.f90 M gcc/fortran/ChangeLog M gcc/fortran/check.c Co-Authored-By: Tobias Burnus <burnus@net-b.de> From-SVN: r122503
Paul Thomas committed -
2007-03-03 Paolo Carlini <pcarlini@suse.de> PR libstdc++/28080 (partial) * include/bits/stl_algobase.h: Do not include <iosfwd>, <bits/functexcept.h> is enough; adjust __copy_aux declarations; remove declaration of copy overload for istreambuf_iterator / ostreambuf_iterator. * src/debug.cc: Include <cstdio>. * include/ext/rope: Include <iosfwd>. * include/bits/char_traits.h: Include <cstdio> and <cwchar>. * include/bits/stl_algo.h: Remove declaration of find overload for istreambuf_iterator. * include/std/queue: Clean up includes. * include/std/stack: Likewise. * include/std/memory: Likewise. * include/std/algorithm: Likewise. * include/std/vector: Likewise. * include/std/deque: Likewise. * include/std/list: Likewise. * include/bits/stl_tree.h: Likewise. * testsuite/ext/type_traits/remove_unsigned_integer_neg.cc: Adjust dg-error markers. * testsuite/ext/type_traits/add_unsigned_floating_neg.cc: Likewise. * testsuite/ext/type_traits/remove_unsigned_floating_neg.cc: Likewise. * testsuite/ext/type_traits/add_unsigned_integer_neg.cc: Likewise. * testsuite/23_containers/set/operators/1_neg.cc: Likewise. * testsuite/23_containers/map/operators/1_neg.cc: Likewise. * testsuite/20_util/auto_ptr/assign_neg.cc: Likewise. * include/ext/type_traits.h: Fix type of __max_digits10; clean up includes. * testsuite/util/testsuite_hooks.h: Do not include <cstddef>. * testsuite/util/testsuite_hooks.cc: Do it here. From-SVN: r122502
Paolo Carlini committed -
From-SVN: r122499
GCC Administrator committed
-
- 02 Mar, 2007 33 commits
-
-
2007-03-02 Paul Thomas <pault@gcc.gnu.org> Tobias Burnus <burnus@net-b.de> PR fortran/30873 * decl.c (gfc_match_entry): Remove erroneous entry result check. 2007-03-02 Paul Thomas <pault@gcc.gnu.org> Tobias Burnus <burnus@net-b.de> PR fortran/30873 * gfortran.dg/entry_9.f90: New test. Co-Authored-By: Tobias Burnus <burnus@net-b.de> From-SVN: r122495
Paul Thomas committed -
From-SVN: r122494
Mike Stump committed -
* tree-sra.c (sra_walk_fns) <ldst>: Document new restriction. (sra_walk_modify_expr) <rhs_elt>: Treat the reference as a use if the lhs has side-effects. <lhs_elt>: Treat the reference as a use if the rhs has side-effects. From-SVN: r122492
Eric Botcazou committed -
* config/i386/i386.h (TUNEMASK): Remove define. (ARCHMASK): Remove define. (TARGET_*): Use ix86_tune_mask variable instead of TUNEMASK. Use ix86_arch_mask variable instead of ARCHMASK. * config/i386/i386.c (override_options): Ditto. (standard_80387_constant_p): Ditto. From-SVN: r122491
Uros Bizjak committed -
2007-03-02 Simon Martin <simartin@users.sourceforge.net> PR c++/28253 * class.c (update_vtable_entry_for_fn): Properly handle invalid overriders for thunks. From-SVN: r122490
Simon Martin committed -
2007-03-02 Geoffrey Keating <geoffk@apple.com> * g++spec.c (lang_specific_driver): Add -lstdc++ when compiling Objective-C++. Don't exit early if -shared-libgcc needs to be added. Index: gcc/testsuite/ChangeLog 2007-03-02 Geoffrey Keating <geoffk@apple.com> * g++.dg/other/darwin-minversion-1.C: New. From-SVN: r122488
Geoffrey Keating committed -
* tree-vrp.c (uses_overflow_infinity): New static function. (supports_overflow_infinity): New static function. (make_overflow_infinity): New static function. (negative_overflow_infinity): New static function. (positive_overflow_infinity): New static function. (is_negative_overflow_infinity): New static function. (is_positive_overflow_infinity): New static function. (is_overflow_infinity): New static function. (overflow_infinity_range_p): New static function. (compare_values_warnv): New function split out of compare_values. (compare_value): Call it. (set_value_range_to_nonnegative): Add overflow_infinity parameter. Change caller. (vrp_expr_computes_nonnegative): Add strict_overflow_p parameter. Change callers. (vrp_expr_computes_nonzero): Likewise. (compare_ranges, compare_range_with_value): Likewise. (compare_name_with_value, compare_names): Likewise. (vrp_evaluate_conditional): Likewise. (set_value_range): Handle infinity (vrp_operand_equal_p, operand_less_p): Likewise. (extract_range_from_assert): Likewise. (vrp_int_const_binop): Likewise. (extract_range_from_binary_expr): Likewise. (extract_range_from_unary_expr): Likewise. (extract_range_from_comparison): Likewise. (extract_range_from_expr): Likewise. (dump_value_range): Likewise. (vrp_visit_cond_stmt, vrp_visit_phi_node): Likewise. (test_for_singularity): Likewise. (vrp_int_const_binop): Remove inline qualifier. (adjust_range_with_scev): Add comment. * tree-flow.h (vrp_evaluate_conditional): Update declaration. From-SVN: r122487
Ian Lance Taylor committed -
2007-03-02 Andrew Haley <aph@redhat.com> * sun/reflect/annotation/AnnotationInvocationHandler.java: Generify in a few places. (equals): Rewrite to use invoke on local proxy. (deepToString): Remove most of it. (toString): Make nonstatic. (arrayClone): Delete. (coerce): New method. (invoke): Rewrite to handle gcj's structures correctly. * java/lang/natClass.cc (getDeclaredAnnotations): Fix test for null loader. * sources.am: Regenerate. * Makefile.am: Likewise. From-SVN: r122485
Andrew Haley committed -
* tree-ssa-structalias.c (could_have_pointers): Tidy. (get_constraint_for): Likewise. (do_structure_copy): Likewise. (find_func_aliases): Fix references to MODIFY_EXPR. (intra_create_variable_infos): Tidy. * tree-ssa-operands.c (add_virtual_operand): Add argument IS_CALL_SITE. When adding members of alias sets, if IS_CALL_SITE is true and the symbol is not call-clobbered, skip it. Adjust all callers. testsuite/ChangeLog * gcc.dg/tree-ssa/20070302-1.c: New test. From-SVN: r122484
Diego Novillo committed -
2007-03-02 Andrew Haley <aph@redhat.com> * sun/reflect/annotation/AnnotationInvocationHandler.java: Generify in a few places. (equals): Rewrite to use invoke on local proxy. (deepToString): Remove most of it. (toString): Make nonstatic. (arrayClone): Delete. (coerce): New method. (invoke): Rewrite to handle gcj's structures correctly. * java/lang/natClass.cc (getDeclaredAnnotations): Fix test for null loader. * sources.am: Regenerate. * Makefile.am: Likewise. From-SVN: r122483
Andrew Haley committed -
2007-03-02 Paolo Carlini <pcarlini@suse.de> * testsuite/27_io/objects/wchar_t/9661-1.cc: Include <cstdlib>. * testsuite/27_io/objects/wchar_t/7.cc: Likewise. * testsuite/27_io/objects/char/9661-1.cc: Likewise. * testsuite/27_io/objects/char/7.cc: Likewise. * testsuite/27_io/basic_istream/ignore/wchar_t/2.cc: Likewise. * testsuite/27_io/basic_istream/ignore/char/2.cc: Likewise. * testsuite/27_io/basic_istream/getline/wchar_t/5.cc: Likewise. * testsuite/27_io/basic_istream/getline/char/5.cc: Likewise. * testsuite/27_io/basic_istream/extractors_arithmetic/char/ 11.cc: Likewise. * testsuite/27_io/basic_istream/extractors_character/wchar_t/ 4.cc: Likewise. * testsuite/27_io/basic_istream/extractors_character/char/ 4.cc: Likewise. * testsuite/27_io/basic_ostream/seekp/wchar_t/ 2346-fstream.cc: Likewise. * testsuite/27_io/basic_ostream/seekp/char/ 2346-fstream.cc: Likewise. * testsuite/27_io/basic_filebuf/seekoff/char/26777.cc: Likewise. * testsuite/27_io/basic_filebuf/imbue/wchar_t/13582-2.cc: Likewise. * testsuite/27_io/basic_filebuf/imbue/wchar_t/14975-2.cc: Likewise. * testsuite/27_io/basic_filebuf/imbue/char/13171-2.cc: Likewise. * testsuite/27_io/basic_filebuf/imbue/char/13582-2.cc: Likewise. * testsuite/27_io/basic_filebuf/close/char/4879.cc: Likewise. * testsuite/27_io/basic_filebuf/close/char/9964.cc: Likewise. * testsuite/27_io/basic_filebuf/underflow/char/10097.cc: Likewise. * testsuite/27_io/basic_filebuf/showmanyc/char/9533-1.cc: Likewise. * testsuite/21_strings/basic_string/inserters_extractors/ wchar_t/10.cc: Likewise. * testsuite/21_strings/basic_string/inserters_extractors/ wchar_t/11.cc: Likewise. * testsuite/21_strings/basic_string/inserters_extractors/ char/10.cc: Likewise. * testsuite/21_strings/basic_string/inserters_extractors/ char/11.cc: Likewise. * testsuite/ext/pb_ds/example/trie_dna.cc: Likewise. * testsuite/ext/new_allocator/deallocate_global.cc: Likewise. * testsuite/ext/new_allocator/deallocate_local.cc: Likewise. * testsuite/performance/27_io/filebuf_sgetn_unbuf.cc: Likewise. * testsuite/performance/27_io/ifstream_getline.cc: Likewise. * testsuite/22_locale/locale/cons/4.cc: Likewise. * testsuite/22_locale/locale/cons/5.cc: Likewise. * testsuite/tr1/2_general_utilities/shared_ptr/thread/ mutex_weaktoshared.cc: Likewise. * testsuite/tr1/2_general_utilities/shared_ptr/thread/ default_weaktoshared.cc: Likewise. * testsuite/thread/pthread5.cc: Likewise. * testsuite/thread/pthread1.cc: Likewise. * testsuite/23_containers/deque/cons/assign/1.cc: Likewise. From-SVN: r122482
Paolo Carlini committed -
* config/alpha/alpha.c (alpha_gp_save_rtx): Insert the insns at the entry by means of emit_insn_at_entry. From-SVN: r122480
Eric Botcazou committed -
* expr.h (promoted_input_arg): Remove decl. * function.c (promoted_input_arg): Merge into ... * combine.c (setup_incoming_promotions): ... only caller. Rearrange to avoid double loop. From-SVN: r122479
Richard Henderson committed -
2007-03-02 Paolo Carlini <pcarlini@suse.de> * testsuite/thread/pthread1.cc: Include <pthread.h>. * testsuite/thread/pthread2.cc: Likewise. * testsuite/thread/pthread3.cc: Likewise. * testsuite/thread/pthread4.cc: Likewise. * testsuite/thread/pthread5.cc: Likewise. * testsuite/thread/pthread6.cc: Likewise. * testsuite/thread/pthread7-rope.cc: Likewise. 2007-03-02 Paolo Carlini <pcarlini@suse.de> PR libstdc++/28080 (partial) * include/tr1/random (class random_device): Rework to use simple <cstdio> input, do not include <fstream>. * include/tr1/random.tcc (all inserters and extractors): Refer to ios_base as base class of basic_istream or basic_ostream. From-SVN: r122478
Paolo Carlini committed -
* config/rs6000/dfp.md: New file. * config/rs6000/rs6000.md: Include dfp.md. (add<mode>3_internal1): Disable for DECIMAL_FLOAT_MODE_P operands. * config/rs6000/rs6000.c (rs6000_hard_regno_mode_ok): Handle DDmode and TDmode decimal float modes in FP registers. (num_insns_constant): Likewise. (rs6000_legitimate_offset_address_p): Likewise. (rs6000_legitimize_address): Likewise. (rs6000_legitimize_reload_address): Likewise. (rs6000_legitimate_address): Likewise. (rs6000_emit_move): Likewise. (function_arg_boundary): Likewise. (function_arg_advance): Likewise. (rs6000_darwin64_record_arg_recurse): Likewise. (function_arg): Likewise. (rs6000_gimplify_va_arg): Likewise. (rs6000_split_multireg_move): Likewise. (rs6000_output_function_epilogue): Likewise. (rs6000_output_function_epilogue): Likewise. (rs6000_register_move_cost): Likewise. (rs6000_function_value): Likewise. (rs6000_libcall_value): Likewise. Co-Authored-By: Janis Johnson <janis187@us.ibm.com> Co-Authored-By: Peter Bergner <bergner@vnet.ibm.com> From-SVN: r122477
Ben Elliston committed -
i386.c (override_options): Put initialization of ix86_tune_mask and ix86_arch_mask to the correct place. * config/i386/i386.c (override_options): Put initialization of ix86_tune_mask and ix86_arch_mask to the correct place. From-SVN: r122476
Uros Bizjak committed -
gcc/ * config/t-vxworks (LIMITS_H_TEST): Define to true for VxWorks. From-SVN: r122475
Richard Sandiford committed -
gcc/ * config/t-vxworks (LIBGCC2_INCLUDES): Pass -nostdinc. Use $MULTIDIR to choose between the kernel and RTP headers, and use $WIND_BASE and $WIND_USR to locate them. From-SVN: r122474
Richard Sandiford committed -
PR target/31019 * config/i386/i386.h (TUNEMASK): Redefine to use ix86_tune_mask. (ARCHMASK): Define. (TARGET_CMOVE): Use ARCHMASK. (TARGET_CMPXCHG): Ditto. (TARGET_CMPXCHG8B): Ditto. (TARGET_XADD): Ditto. (TARGET_BSWAP): Ditto. * config/i386/i386.c (ix86_tune_mask): New global variable. (ix86_arch_mask): Ditto. (override_options): Initialize ix86_tune_mask and ix86_arch_mask. Use ARCHMASK to clear MASK_NO_FANCY_MATH_387 in target_flags. Co-Authored-By: Michael Meissner <michael.meissner@amd.com> From-SVN: r122473
Uros Bizjak committed -
2007-03-02 Manuel Lopez-Ibanez <manu@gcc.gnu.org> * typeck.c (common_base_type): Delete unused function. From-SVN: r122472
Manuel López-Ibáñez committed -
2007-03-02 Andrew Haley <aph@redhat.com> * sun/reflect/annotation/AnnotationInvocationHandler.java: Whitespace only changes. 2007-03-02 Andrew Haley <aph@redhat.com> * sun/reflect/annotation/AnnotationInvocationHandler.java: Moved from Classpath to libgcj local. From-SVN: r122471
Andrew Haley committed -
2007-03-02 Andrew Haley <aph@redhat.com> * sun/reflect/annotation/AnnotationInvocationHandler.java: Moved from Classpath to libgcj local. From-SVN: r122470
Andrew Haley committed -
re PR middle-end/30992 (Scaling error in decimal floating-point arithmetic blows conversions to integers) 2007-03-02 Ben Elliston <bje@au.ibm.com> PR 30992 * config/dfp-bit.c (DFP_TO_INT): Initialise qval with "1.". From-SVN: r122469
Ben Elliston committed -
* target.h (init_dwarf_reg_sizes_extra): New target hook. * target-def.h (TARGET_INIT_DWARF_REG_SIZES_EXTRA): New default. * doc/tm.texi (TARGET_INIT_DWARF_REG_SIZES_EXTRA): Document. * dwarf2out.c (expand_builtin_init_dwarf_reg_sizes): Call this hook. * config/rs6000/rs6000.c (TARGET_INIT_DWARF_REG_SIZES_EXTRA, rs6000_init_dwarf_reg_sizes_extra): New. * config/rs6000/linux-unwind.h (ppc_fallback_frame_state): Support SPE register high parts. testsuite: * gcc.target/powerpc/spe-unwind-1.c, g++.dg/eh/simd-5.C: New tests. From-SVN: r122468
Joseph Myers committed -
* configure.ac: Add "--with-pdfdir" configure option, which defines pdfdir variable. * Makefile.def (target=fixincludes): Add install-pdf to missing targets. (recursive_targets): Add install-pdf target. (flags_to_pass): Add pdfdir. * Makefile.tpl: Add pdfdir handling, add do-install-pdf target. * configure: Regenerate * Makefile.in: Regenerate From-SVN: r122467
Brooks Moses committed -
* Makefile.in: Add install-pdf target as copied from automake v1.10 rules. * configure.ac: Add install-pdf to target list. * configure: Regenerate. From-SVN: r122466
Brooks Moses committed -
* Make-lang.in: Add install-pdf target as copied from automake v1.10 rules. From-SVN: r122465
Brooks Moses committed -
* Make-lang.in: Add install-pdf target as copied from automake v1.10 rules. From-SVN: r122464
Brooks Moses committed -
* Make-lang.in: Add install-pdf target as copied from automake v1.10 rules. From-SVN: r122463
Brooks Moses committed -
* Make-lang.in: Add install-pdf target as copied from automake v1.10 rules. From-SVN: r122461
Brooks Moses committed -
From-SVN: r122460
GCC Administrator committed -
From-SVN: r122457
Brooks Moses committed -
From-SVN: r122456
Brooks Moses committed
-