1. 03 Apr, 2007 17 commits
    • re PR fortran/31304 (REPEAT argument NCOPIES is not converted as it should) · f1412ca5
      	PR fortran/31304
      
      	* fortran/gfortran.h (gfc_charlen_int_kind): New prototype.
      	* fortran/trans-types.c (gfc_charlen_int_kind): New variable.
      	(gfc_init_types): Define gfc_charlen_int_kind. 
      	* fortran/trans.h (gfor_fndecl_string_repeat): Remove prototype.
      	* fortran/trans-decl.c (gfor_fndecl_string_repeat): Delete.
      	(gfc_build_intrinsic_function_decls): Don't set
      	gfor_fndecl_string_repeat.
      	* fortran/trans-intrinsic.c (gfc_conv_intrinsic_repeat): Rewrite
      	so that we don't have to call a library function.
      	* fortran/simplify.c (gfc_simplify_repeat): Perform the necessary
      	checks on the NCOPIES argument, and work with arbitrary size
      	arguments.
      
      	* intrinsics/string_intrinsics.c (string_repeat): Remove.
      
      	* gfortran.dg/repeat_2.f90: New test.
      	* gfortran.dg/repeat_3.f90: New test.
      	* gfortran.dg/repeat_4.f90: New test.
      
      From-SVN: r123481
      Francois-Xavier Coudert committed
    • stl_algobase.h (__copy_aux(_II, _II, _OI), [...]): Use __is_pod. · ff2ea587
      2007-04-03  Paolo Carlini  <pcarlini@suse.de>
      
      	* include/bits/stl_algobase.h (__copy_aux(_II, _II, _OI),
      	__copy_backward_aux(_BI1, _BI1, _BI2)): Use __is_pod.
      	* include/bits/stl_deque.h (deque<>::_M_destroy_data(iterator,
      	iterator, const std::allocator<>&)): Use __has_trivial_constructor.
      	(deque<>::_M_destroy_data_dispatch): Remove.
      	* include/bits/stl_uninitialized.h (uninitialized_copy(_InputIterator,
      	_InputIterator, _ForwardIterator), uninitialized_fill(_ForwardIterator,
      	_ForwardIterator, const _Tp&), uninitialized_fill_n(_ForwardIterator,
      	_Size, const _Tp&)): Use __is_pod.
      	* include/bits/stl_tempbuf.h (_Temporary_buffer::
      	_Temporary_buffer(_ForwardIterator, _ForwardIterator)): Use __is_pod.
      	(_Temporary_buffer::_M_initialize_buffer): Remove.
      	* include/bits/stl_construct.h (_Destroy(_ForwardIterator,
      	_ForwardIterator)): Use __has_trivial_destructor.
      	(__destroy_aux): Remove.
      
      From-SVN: r123480
      Paolo Carlini committed
    • opt-3.c: Use -mregparm=3 only for ilp32 on x86_64 targets. · e1584860
              * gcc.dg/tls/opt-3.c: Use -mregparm=3 only for ilp32 on x86_64 targets.
      
      From-SVN: r123479
      Uros Bizjak committed
    • expr.c (store_expr): If get_signed_or_unsigned_type doesn't yield an appropriate type... · fdd84500
              * expr.c (store_expr): If get_signed_or_unsigned_type doesn't yield
              an appropriate type, use the mode instead.
      
      From-SVN: r123477
      Richard Henderson committed
    • jvgenmain.c (main): Change main to use class$, not class$$. · 696fbee7
      2007-04-03  Andrew Haley  <aph@redhat.com>
      
              * jvgenmain.c (main): Change main to use class$, not class$$.
              (do_mangle_classname): Likewise.
              * class.c (hide): New function.
              (add_field): Hide everything that shouldn't be visible outside a
              DSO.
              (build_static_class_ref): Likewise.
              (build_classdollar_field): Likewise.
              (make_class_data): Likewise.
              (layout_class_method): Likewise.
              * expr.c (special_method_p): New function.
      
              * class.c (push_class): Don't bogusly guess the source filename.
              * jcf-parse.c (give_name_to_class): Don't set input_location from
              DECL_ARTIFICIAL decls.
      
      From-SVN: r123476
      Andrew Haley committed
    • ProxyTest.java: New test. · 83ff0d10
      2007-04-03  Andrew Haley  <aph@redhat.com>
      
              * testsuite/libjava.lang/ProxyTest.java: New test.
      
      From-SVN: r123466
      Andrew Haley committed
    • re PR target/31175 (isinf incorrectly expanded) · 81e864cb
             PR target/31175
             * config/i386/i386.md (isinf<mode>2): Expand only when
             TARGET_C99_FUNCTIONS is set.
      
      From-SVN: r123465
      Uros Bizjak committed
    • config.gcc (mips-wrs-vxworks): Add vx-common.h to tm_file. · 9200d6c8
      gcc/
      	* config.gcc (mips-wrs-vxworks): Add vx-common.h to tm_file.
      	Set the default --with-arch setting to mips2.
      	* config/mips/t-vxworks (MULTILIB_OPTIONS, MULTILIB_MATCHES)
      	(MULTILIB_EXCEPTIONS): Redefine with new multilibs.
      	(MULTILIB_OSDIRNAMES): Delete.
      	(MULTILIB_DIRNAMES): Define.
      	* config/mips/vxworks.h (LINK_SPEC): Add VXWORKS_LINK_SPEC.
      	(LIB_SPEC, STARTFILE_SPEC, ENDFILE_SPEC): Define.
      	(TARGET_OS_CPP_BUILTINS): Incorporate old SUBTARGET_CPP_SPEC
      	definitions, except for _WRS_R3K_EXC_SUPPORT.  Call
      	VXWORKS_OS_CPP_BUILTINS.
      	(SUBTARGET_CPP_SPEC): Redefine to VXWORKS_ADDITIONAL_CPP_SPEC.
      	(MIPS_DEBUGGING_INFO): Undefine.
      	(FUNCTION_PROFILER): Define to VXWORKS_FUNCTION_PROFILER.
      
      From-SVN: r123459
      Richard Sandiford committed
    • closures.c: Include sys/statfs.h. · f0920e6c
      	* src/closures.c: Include sys/statfs.h.
      	(_GNU_SOURCE): Define on Linux.
      	(FFI_MMAP_EXEC_SELINUX): Define.
      	(selinux_enabled): New variable.
      	(selinux_enabled_check): New function.
      	(is_selinux_enabled): Define.
      	(dlmmap): Use it.
      
      	* configure.ac (NO_EXECUTE_PERMISSION): Set by default.
      	* configure: Rebuilt.
      
      From-SVN: r123457
      Jakub Jelinek committed
    • re PR c++/30847 (ICE with invalid statement expression) · df3473fa
      	PR c++/30847
      	* typeck.c (build_modify_expr): For COND_EXPR on LHS, if RHS has void
      	type issue error and return early.
      
      	* g++.dg/parse/cond3.C: New test.
      
      From-SVN: r123456
      Jakub Jelinek committed
    • re PR middle-end/30704 (Incorrect constant generation for long long) · 0a9430a8
      	PR middle-end/30704
      	* fold-const.c (native_encode_real): Encode real.c provided longs
      	as a series of 32-bit native integers.
      	(native_interpret_real): Interpret buffer as a series of 32-bit
      	native integers.
      
      	* gcc.c-torture/execute/ieee/pr30704.c: New test.
      
      From-SVN: r123455
      Jakub Jelinek committed
    • stl_map.h (map<>::insert(iterator, const value_type&): Uglify parameter. · eb9af792
      2007-04-03  Paolo Carlini  <pcarlini@suse.de>
      
      	* include/bits/stl_map.h (map<>::insert(iterator, const value_type&):
      	Uglify parameter.
      
      From-SVN: r123453
      Paolo Carlini committed
    • re PR libstdc++/31440 (libstdc++-g++-v3 discarded qualifiers) · f7e52577
      2007-04-03  Paolo Carlini  <pcarlini@suse.de>
      
      	PR libstdc++/31440
      	* include/bits/stl_tree.h (_M_lower_bound(_Link_type, _Link_type,
      	const _Key&), _M_upper_bound(_Link_type, _Link_type, const _Key&)):
      	Add.
      	(_M_equal_range(const _Key&) const): Remove.
      	(lower_bound(const key_type&), lower_bound(const key_type&) const,
      	upper_bound(const key_type&), upper_bound(const key_type&) const,
      	equal_range(const key_type&), equal_range(const key_type&) const):
      	Adjust.
      	(find(const _Key&), find(const _Key&) const): Tweak.
      	* testsuite/23_containers/map/operations/31440.cc: New.
      
      From-SVN: r123452
      Paolo Carlini committed
    • genpreds.c (write_insn_constraint_len): Write function optimized for CONSTRAINT_LEN implementation. · 5be527d0
      2007-04-03  Richard Guenther  <rguenther@suse.de>
      
      	* genpreds.c (write_insn_constraint_len): Write function
      	optimized for CONSTRAINT_LEN implementation.
      	(write_tm_preds_h): Output insn_constraint_len inline and
      	use it for CONSTRAINT_LEN.
      	(write_insn_preds_c): Don't output insn_constraint_len.
      	* doc/md.texi (define_register_constraint): Document multi-letter
      	constraints shall have the same length if they start with the same
      	letter.
      
      From-SVN: r123451
      Richard Guenther committed
    • config.gcc (i[34567]86-*-linux*): Add i386/t-crtpc to tm-file. · 577565f9
      	* config.gcc (i[34567]86-*-linux*): Add i386/t-crtpc to tm-file.
      	(x86_64-*-linux*): Ditto.
      	* config/i386/i386.opt (mpc): New option.
      	* config/i386/i386.c (overrride_options): Handle
      	ix87_precision_string.
      	* config/i386/crtprec.c: New file.
      	* config/i386/t-crtpc: Ditto.
      	* config/i386/linux.h (ENDFILE_SPEC): Add handling of -mpc32, -mpc64
      	and -mpc80 options.
      	* config/i386/linux64.h (ENDFILE_SPEC): Ditto.
      	* config/i386/t-linux64 (EXTRA_MULTILIB_PARTS): Add
      	crtprec32.o, crtprec64.o and crtprec80.o.
      
      	* doc/invoke.texi (Machine Dependent Options): Add -mpc32, -mpc64
      	and -mpc80 options.
      	(i386 and x86-64 Options): Document -mpc32, -mpc64 and -mpc80 options.
      
      libgcc/ChangeLog:
      
      	* config/i386/t-crtpc: New file.
      	* config.host (i[34567]86-*-linux*): Add i386/t-crtpc to tm-file.
              (x86_64-*-linux*): Ditto.
      
      From-SVN: r123450
      Uros Bizjak committed
    • natFileChannelPosix.cc (mapImpl): Extend file, when writing, if it is too short. · 8854e14c
      	http://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=205157
      	* gnu/java/nio/channels/natFileChannelPosix.cc (mapImpl): Extend
      	file, when writing, if it is too short.
      
      From-SVN: r123447
      Tom Tromey committed
    • invoke.texi (i386 and x86-64 Options): Document -m64 limitations on darwin. · cb7ad97b
      2007-04-02  Eric Christopher  <echristo@apple.com>
      
      	    * doc/invoke.texi (i386 and x86-64 Options): Document -m64
      	    limitations on darwin.
      
      From-SVN: r123446
      Eric Christopher committed
  2. 02 Apr, 2007 18 commits
  3. 01 Apr, 2007 5 commits