1. 05 Apr, 2007 13 commits
    • extend.texi (Other Builtins): Add decimal float variants of signbit. · 44aea9ac
      	* doc/extend.texi (Other Builtins): Add decimal float variants
      	of signbit.
      	* builtins.def: Ditto.
      	* builtins.c (expand_builtin): Ditto.
      testsuite/
      	* gcc.dg/dfp/signbit-1.c
      	* gcc.dg/dfp/signbit-2.c
      M    gcc/doc/extend.texi
      M    gcc/builtins.c
      M    gcc/ChangeLog
      A    gcc/testsuite/gcc.dg/dfp/signbit-2.c
      A    gcc/testsuite/gcc.dg/dfp/signbit-1.c
      M    gcc/testsuite/ChangeLog
      M    gcc/builtins.def
      
      From-SVN: r123528
      Janis Johnson committed
    • re PR target/31478 (Typos in sse2_umulv2siv2di3, sse2_pmaddwd, sdot_prodv8hi) · 27120a59
      2007-04-05  Uros Bizjak  <ubizjak@gmail.com>
      	    H.J. Lu  <hongjiu.lu@intel.com>
      
      	PR target/31478
      	* config/i386/sse.md (sse2_umulv2siv2di3): Use V4SImode instead
      	of V8HImode when calling ix86_binary_operator_ok.
      	(sse2_pmaddwd): Call ix86_binary_operator_ok.
      	(sdot_prodv8hi): Operands 1 and 2 must be register.
      
      Co-Authored-By: H.J. Lu <hongjiu.lu@intel.com>
      
      From-SVN: r123527
      Uros Bizjak committed
    • tree-sra.c (try_instantiate_multiple_fields): Needlessly initialize align to silence bogus warning. · fa574e51
      * tree-sra.c (try_instantiate_multiple_fields): Needlessly
      initialize align to silence bogus warning.
      
      From-SVN: r123526
      Alexandre Oliva committed
    • re PR middle-end/22156 (bit-field copying regressed) · dc808df6
      PR middle-end/22156
      * tree-sra.c (struct sra_elt): Add in_bitfld_block.  Remove
      all_no_warning.
      (struct sra_walk_fns): Remove use_all parameter from use.
      (sra_hash_tree): Handle BIT_FIELD_REFs.
      (sra_elt_hash): Don't hash bitfld blocks.
      (sra_elt_eq): Skip them in parent compares as well.  Handle
      BIT_FIELD_REFs.
      (sra_walk_expr): Don't maintain or pass down use_all_p.
      (scan_use): Remove use_all parameter.
      (scalarize_use): Likewise.  Re-expand assignment to
      BIT_FIELD_REF of gimple_reg.  De-scalarize before input or
      output, and re-scalarize after output.  Don't mark anything
      for no warning.
      (scalarize_ldst): Adjust.
      (scalarize_walk_gimple_modify_statement): Likewise.
      (build_element_name_1): Handle BIT_FIELD_REFs.
      (instantiate_element): Don't warn for any element whose parent
      is used as a whole.
      (instantiate_missing_elements_1): Return the sra_elt.
      (canon_type_for_field): New.
      (try_instantiate_multiple_fields): New.
      (instantiate_missing_elemnts): Use them.
      (mark_no_warning): Removed.
      (generate_one_element_ref): Handle BIT_FIELD_REFs.
      (REPLDUP, sra_build_elt_assignment): New.
      (generate_copy_inout): Use them.
      (generate_element_copy): Likewise.  Handle bitfld differences.
      (generate_element_zero): Don't recurse for blocks.  Use
      sra_build_elt_assignment.
      (generate_one_element_int): Take elt instead of var.  Use
      sra_build_elt_assignment.
      (generate_element_init_1): Adjust.
      (scalarize_use, scalarize_copy): Use REPLDUP.
      (scalarize_ldst): Move assert before dereference.
      (dump_sra_elt_name): Handle BIT_FIELD_REFs.
      
      From-SVN: r123524
      Alexandre Oliva committed
    • regmove.c (STACK_GROWS_DOWNWARD): Don't boolean-ize. · a78f3e71
      	* regmove.c (STACK_GROWS_DOWNWARD): Don't boolean-ize.
      	(regmove_bb_head): Remove.
      	(copy_src_to_dest): Don't update regmove_bb_head and BB_HEAD.
      	(regmove_optimize): Don't do unnecessary CFG fixes for non-existing
      	problems with fixup_match_1.
      	Don't initialize/free regmove_bb_head.
      
      	(reg_is_remote_constant_p): If an insn is in the same basic block
      	but not before INSN, consider it remote, too.
      
      From-SVN: r123522
      Steven Bosscher committed
    • re PR target/25448 (Unfounded warnings from the AVR backend) · f9ca0dee
      	PR target/25448
      	* config/avr/avr.c (avr_handle_fndecl_attribute): Use the 
      	DECL_ASSEMBLER_NAME, not the DECL_NAME.
      
      From-SVN: r123519
      Anatoly Sokolov committed
    • re PR fortran/31483 ([4.1/4.2 only] ICE on fortran Code) · 276ca25d
      2007-04-05  Paul Thomas  <pault@gcc.gnu.org>
      
      	PR fortran/31483
      	* trans-expr.c (gfc_conv_function_call): Give a dummy
      	procedure the correct type if it has alternate returns.
      
      2007-04-05  Paul Thomas  <pault@gcc.gnu.org>
      
      	PR fortran/31483
      	* gfortran.dg/altreturn_5.f90: New test.
      
      From-SVN: r123518
      Paul Thomas committed
    • re PR fortran/31292 (ICE with module procedure interface in a procedure body) · 060fca4a
      2007-04-05  Paul Thomas  <pault@gcc.gnu.org>
      
      	PR fortran/31292
      	* decl.c (gfc_match_modproc): Go up to the top of the namespace
      	tree to find the module namespace for gfc_get_symbol.
      
      2007-04-05  Paul Thomas  <pault@gcc.gnu.org>
      
      	PR fortran/31292
      	* gfortran.dg/contained_module_proc_1.f90: New test.
      
      From-SVN: r123517
      Paul Thomas committed
    • i386.h (TARGET_CPU_CPP_BUILTINS): Reformat. · 7706ca5d
      2007-04-05  H.J. Lu  <hongjiu.lu@intel.com>
      
      	* config/i386/i386.h (TARGET_CPU_CPP_BUILTINS): Reformat.
      	(CONDITIONAL_REGISTER_USAGE): Likewise.
      
      From-SVN: r123516
      H.J. Lu committed
    • DecimalFormatSymbols.java: Added the year 2007 to Copyright information and… · 618bf37b
      DecimalFormatSymbols.java: Added the year 2007 to Copyright information and introduced new variable, currency.
      
      2007-04-04  Tania Bento  <tbento@redhat.com>
      
      	* java/text/DecimalFormatSymbols.java: Added the year 2007 to
      	Copyright information and introduced new variable, currency.
      	(DecimalFormatSymbols(Locale)): Define currency and intlCurrencySymbol
      	to "XXX", currencySymbol to "?" and localCurrency appropriately.
      	(getCurrency): Fixed documentation and return the value of currency.
      	(setCurrency): Fixed documentation and update the value of currency.
      	(setInternationalCurrencySymbol): Fixed documentation and update the
      	value of currency.
      	* java/util/Currency.java: Introduced two new variables, properties
      	and fractionDigits. In the static block, a properties object is
      	created and the currency resource is loaded.
      	(Currency(Locale)): fractionDigits is defined.
      	(Currency(String)): New method.
      	(getDefaultFractionDigits): Return the value of fractionDigits.
      	(getInstance(String)): Check if String is equal to "XXX".
      
      From-SVN: r123512
      Tania Bento committed
    • VariableTable.java: Change longs to ints for argCnt and slots. · dabf6200
      2007-04-04  Kyle Galloway  <kgallowa@redhat.com>
      
      	* classpath/gnu/classpath/jdwp/util/VariableTable.java: Change longs
      	to ints for argCnt and slots.
      	(write): Replace writeLong with writeInt for the above.
      
      From-SVN: r123511
      Kyle Galloway committed
  2. 04 Apr, 2007 13 commits
  3. 03 Apr, 2007 14 commits
    • Daily bump. · d4c3cb8c
      From-SVN: r123487
      GCC Administrator committed
    • pr29902.C: Require ilp32. · 8ffa7f55
      2007-04-03  Eric Christopher  <echristo@apple.com>
      
      	    * g++.dg/tree-ssa/pr29902.C: Require ilp32.
      
      From-SVN: r123482
      Eric Christopher committed
    • 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