- 08 May, 2007 16 commits
-
-
2007-05-08 Sandra Loosemore <sandra@codesourcery.com> Nigel Stephens <nigel@mips.com> gcc/ * config/mips/mips.h (MAX_FPRS_PER_FMT): Renamed from FP_INC. Update comments and all uses. (MIN_FPRS_PER_FMT): Define. * config/mips/mips.c (function_arg): Fix to correctly handle the -mips32r2 -mfp64 -mabi=32 case. (override_options): Enable use of odd-numbered registers for SFmode values on MIPS32. (mips_save_reg_p): Save whole floating-point register pair if either half is used. (compute_frame_size): Fix comment. Co-Authored-By: Nigel Stephens <nigel@mips.com> From-SVN: r124545
Sandra Loosemore committed -
* config/bfin/bfin-protos.h (enum bfin_cpu): Add BFIN_CPU_BF534, BFIN_CPU_BF536 and BFIN_CPU_BF561. * config/bfin/bfin.c (bfin_handle_option): Handle -mcpu=bf534, -mcpu=bf536 and -mcpu=bf561. * config/bfin/bfin.h (TARGET_CPU_CPP_BUILTINS): Support bf534, bf536 and bf561. * doc/invoke.texi (Blackfin Options): Document -mcpu and -msim. From-SVN: r124544
Jie Zhang committed -
2007-05-08 Benjamin Kosnik <bkoz@redhat.com> * include/std/type_traits (make_signed): Remove specializations for floating point types. (make_unsigned): Same. * testsuite/20_util/make_signed/requirements/typedefs_neg.cc: Fix. * testsuite/20_util/make_signed/requirements/typedefs-1.cc: Same. * testsuite/20_util/make_signed/requirements/typedefs-2.cc: Same. * testsuite/20_util/make_unsigned/requirements/typedefs_neg.cc: Same. * testsuite/20_util/make_unsigned/requirements/typedefs-1.cc: Same. * testsuite/20_util/make_unsigned/requirements/typedefs-2.cc: Same. From-SVN: r124543
Benjamin Kosnik committed -
* config/bfin/bfin-protos.h (bfin_expand_epilogue): Add a third argument of type bool. * config/bfin/bfin.c (add_to_reg): Add epilogue_p as a fourth argument. Safely select temporary P register according to it. (do_link): Change call site of add_to_reg accordingly. (do_unlink): Add epilogue_p as a fourth argument and pass it to add_to_reg. (expand_interrupt_handler_epilogue): Change call of do_unlink accordingly. (bfin_expand_prologue): Add a third argument sibcall_p. * config/bfin/bfin.md (epilogue): Change call of bfin_expand_epilogue accordingly. (sibcall_epilogue): Likewise. (eh_return_internal): Likewise. From-SVN: r124542
Jie Zhang committed -
2007-05-08 Paul Thomas <pault@gcc.gnu.org> PR fortran/29397 PR fortran/29400 * decl.c (add_init_expr_to_sym): Expand a scalar initializer for a parameter array into an array expression with the right shape. * array.c (spec_dimen_size): Remove static attribute. * gfortran.h : Prototype for spec_dimen_size. 2007-05-08 Paul Thomas <pault@gcc.gnu.org> PR fortran/29397 * gfortran.dg/parameter_array_init_1.f90: New test. PR fortran/29400 * gfortran.dg/parameter_array_init_2.f90: New test. From-SVN: r124541
Paul Thomas committed -
2007-05-08 Benjamin Kosnik <bkoz@redhat.com> * testsuite/26_numerics/headers/cmath/types_std_c++0x_neg.cc: New. From-SVN: r124540
Benjamin Kosnik committed -
* libsupc++/cxxabi-internal.h: Remove, to be replaced by... * libsupc++/cxxabi-forced.h: ...this new file. * include/ext/vstring.tcc: Include cxxabi-forced.h instead. * include/bits/istream.tcc: Likewise. * include/bits/ostream.tcc: Likewise. * include/bits/basic_string.tcc: Likewise. * include/bits/ostream_insert.h: Likewise. * include/bits/fstream.tcc: Likewise. * include/std/bitset: Likewise. * libsupc++/cxxabi.h: Restore previous contents. * Makefile.am (headers): Add cxxabi-forced.h. * Makefile.in: Regenerate. From-SVN: r124539
Jason Merrill committed -
PR target/31854 * config/i386/i386.c (ix86_function_regparm): Process local functions only when TREE_CODE (decl) equals FUNCTION_DECL. From-SVN: r124538
Uros Bizjak committed -
2007-05-08 Benjamin Kosnik <bkoz@redhat.com> * testsuite/util/testsuite_abi.cc: Add CXXABI_1.3.2. * libsupc++/cxxabi-internal.h (__foreign_exception::__pure): To __pure_virtual. From-SVN: r124537
Benjamin Kosnik committed -
From-SVN: r124536
Jason Merrill committed -
From-SVN: r124535
Janis Johnson committed -
invoke.texi (Warning Options): Document that -Wempty-body also checks for and while statements in C++. * doc/invoke.texi (Warning Options): Document that -Wempty-body also checks for and while statements in C++. cp: * parser.c (check_empty_body): Add. (cp_parser_iteration_statement): Add call to check_empty_body. testsuite: * g++.old-deja/g++.mike/empty.C: Add. From-SVN: r124534
Mike Stump committed -
2007-05-07 Eric Christopher <echristo@apple.com> * gcc.dg/invalid-call-1.c: Fix options for 32-bit x86. From-SVN: r124533
Eric Christopher committed -
include/ 2007-05-07 Nathan Froyd <froydnj@codesourcery.com> * libiberty.h (writeargv): Declare. libiberty/ 2007-05-07 Nathan Froyd <froydnj@codesourcery.com> * argv.c (writeargv): New function. gcc/ 2007-05-07 Nathan Froyd <froydnj@codesourcery.com> * gcc.c (at_file_supplied): New variable. (main): Set it if we expanded argv. (do_spec_1): Pass an @-file to the linker if we were called with an @-file argument and HAVE_GNU_LD. * collect2.c (at_file_supplied): New variable. (response_file): New variable. (collect_exit): Unlink response_file if necessary. (handler): Likewise. (do_wait): Likewise. (main): Set at_file_supplied if we expanded argv. (collect_execute): Pass an @-file to subprocesses if we were called with an @-file argument. * configure.ac: Add define for HAVE_GNU_LD. * configure: Regenerate. * config.in: Regenerate. From-SVN: r124532
Nathan Froyd committed -
PR java/31842 * java/lang/natString.cc (_Jv_FormatInt): Avoid undefined signed overflow. From-SVN: r124530
Ian Lance Taylor committed -
From-SVN: r124527
GCC Administrator committed
-
- 07 May, 2007 24 commits
-
-
* config/m32c/muldiv.md (mulhisi3_c): Limit the mode of the 2nd operand to HI mode. (mulsi3): New. (divsi3): New. (udivsi3): New. From-SVN: r124524
Naveen.H.S committed -
* config/m32c/m32c.c (SYMBOL_FLAG_FUNCVEC_FUNCTION): Define. (TARGET_ENCODE_SECTION_INFO): Re-define. (m32c_encode_section_info): New (function_vector_handler): New (current_function_special_page_vector): New (m32c_special_page_vector_p): New. * config/m32c/m32c-protos.h (m32c_special_page_vector_p): Prototype. * config/m32c/jump.md: Added instruction JSRS for functions with attribute "function_vector". * doc/extend.texi (function_vector): Added description for M16C, M32C targets. From-SVN: r124523
Jayant Sonar committed -
From-SVN: r124522
Jason Merrill committed -
PR 31794 * config/m32c/shift.md (ashlpsi3_i, ashrpsi3_i, ashlpsi3, ashrpsi3, lshrpsi3): Update shift count constraint. From-SVN: r124521
DJ Delorie committed -
* config/abi/pre/gnu.ver: Fix symbol versions. * config/abi/pre/gnu-versioned-namespace.ver: Likewise. From-SVN: r124520
Jason Merrill committed -
From-SVN: r124519
Danny Smith committed -
re PR other/28145 (C++ (throw() and catch(...) {/* fall through */ } ) and pthread cancellation are incompatible (at least with NPTL)) PR c++/28145 * libsupc++/cxxabi.h (__forced_unwind, __foreign_exception): New classes. * libsupc++/eh_exception.cc: Define their destructors. * config/abi/pre/gnu.ver: Export their type_infos. * config/abi/pre/gnu-versioned-namespace.ver: Likewise. * libsupc++/eh_personality.cc: A handler for abi::__forced_unwind matches a forced unwind, and a handler for abi::__foreign_exception matches a foreign exception. * include/bits/istream.tcc: Rethrow forced unwind. * include/bits/ostream.tcc: Likewise. * include/bits/ostream_insert.h: Likewise. * include/bits/basic_string.tcc (operator>>, getline): Likewise. * include/bits/fstream.tcc (basic_filebuf::close): Likewise. * include/ext/vstring.cc (operator>>, getline): Likewise. * src/istream.cc: Likewise. * src/compatibility.cc (basic_istream::ignore): Likewise. * include/std/bitset (operator>>): Likewise. * include/std/fstream (basic_filebuf::close): Remove throw() spec. * libsupc++/cxxabi-internal.h: Split out from... * libsupc++/cxxabi.h: ...here. From-SVN: r124517
Jason Merrill committed -
* classpath/lib/gnu/classpath/jdwp/Jdwp.class: Regenerate. * classpath/lib/gnu/classpath/jdwp/Jdwp$1.class: Regenerate. * classpath/lib/gnu/classpath/jdwp/event/Event.class: Regenerate. * classpath/lib/gnu/classpath/jdwp/transport/JdwpConnection.class: Regenerate. * gnu/classpath/jdwp/Jdwp.h: Regenerate. * gnu/classpath/jdwp/event/Event.h: Regenerate. * gnu/classpath/jdwp/transport/JdwpConnection.h: Regenerate. From-SVN: r124515
Keith Seitz committed -
* gnu/classpath/jdwp/Jdwp.java (notify): Rewrite to call new array-based method. (notify): New function. (sendEvent): Rewrite to use sendEvents. (sendEvents): New method. * gnu/classpath/jdwp/event/Event.java (toPacket): Make static. Change parameters to use arrays for events and requests. Add suspendPolicy parameter. Move per-event data transformation to... (_toData): ... here. * gnu/classpath/jdwp/transport/JdwpConnection.java (sendEvent): Renamed to ... (sendEvents): ... this. Change parameters to use arrays for events and requests. Add suspendPolicy parameter. From-SVN: r124514
Keith Seitz committed -
* Remove spurious space in last ChangeLog entry. From-SVN: r124513
Paolo Carlini committed -
2007-05-07 Paolo Carlini <pcarlini@suse.de> * include/bits/stl_algobase.h: Do not include <cstring>. (copy(const _Tp*, const _Tp*, _Tp*), __copy_b(const _Tp*, const _Tp*, _Tp*)): Use __builtin_memmove. (__fill_aux): Use __builtin_memset. (equal(const _Tp*, const _Tp*, const _Tp*), lexicographical_compare(const unsigned char*, const unsigned char*, const unsigned char*, const unsigned char*)): Use __builtin_memcmp. * include/bits/valarray_array.h: Do not include <cstring>. (_Array_default_ctor<, true>::_S_do_it): Use __builtin_memset. (_Array_copy_ctor<, true>::_S_do_it, _Array_copier<, true>::_S_do_it): Use __builtin_memcpy. * include/ext/algorithm (__lexicographical_compare_3way(const unsigned char*, const unsigned char*, const unsigned char*, const unsigned char*)): Use __builtin_memcmp. * testsuite/23_containers/vector/requirements/dr438/ constructor_1_neg.cc: Adjust dg-error line number. * testsuite/23_containers/vector/requirements/dr438/ constructor_2_neg.cc: Likewise. From-SVN: r124512
Paolo Carlini committed -
2007-05-07 Paolo Carlini <pcarlini@suse.de> * include/bits/stl_algobase.h: Do not include <cstring>. (copy(const _Tp*, const _Tp*, _Tp*), __copy_b(const _Tp*, const _Tp*, _Tp*)): Use __builtin_memmove. (__fill_aux): Use __builtin_memset. (equal(const _Tp*, const _Tp*, const _Tp*), lexicographical_compare(const unsigned char*, const unsigned char*, const unsigned char*, const unsigned char*)): Use __builtin_memcmp. * include/bits/valarray_array.h: Do not include <cstring>. (_Array_default_ctor<, true>::_S_do_it): Use __builtin_memset. (_Array_copy_ctor<, true>::_S_do_it, _Array_copier<, true>::_S_do_it): Use __builtin_memcpy. * include/ext/algorithm (__lexicographical_compare_3way(const unsigned char*, const unsigned char*, const unsigned char*, const unsigned char*)): Use __builtin_memcmp. * testsuite/23_containers/vector/requirements/dr438/ constructor_1_neg.cc: Adjust dg-error line number. * testsuite/23_containers/vector/requirements/dr438/ constructor_2_neg.cc: Likewise. From-SVN: r124511
Paolo Carlini committed -
PR libfortran/31607 * intrinsics/system.c (system_sub): Call flush_all_units. * io/io.h (flush_all_units): Move prototype to libgfortran.h. * libgfortran.h (flush_all_units): Add prototype. From-SVN: r124510
Francois-Xavier Coudert committed -
* testsuite/22_locale/num_put/put/char/14220.cc: XFAIL on Solaris 2.10. * testsuite/22_locale/num_put/put/wchar_t/14220.cc: Likewise. From-SVN: r124508
Mark Mitchell committed -
* gcc.dg/dfp/convert-bfp-fold.c: Remove extra assignment to sf variable. Rearrange conversions from binary float to decimal float. From-SVN: r124507
Uros Bizjak committed -
* gcc.dg/special/gcsec-1.c: Don't link statically on Solaris 10 x86. From-SVN: r124506
Mark Mitchell committed -
libstdc++.exp (v3_target_compile_as_c): In installed-tree testing, use "remote_exec host", not "remote_exec exec". * testsuite/lib/libstdc++.exp (v3_target_compile_as_c): In installed-tree testing, use "remote_exec host", not "remote_exec exec". Trip trailing newlines from output of -dumpversion and -dumpmachine. From-SVN: r124505
Mark Mitchell committed -
PR 22133 * c-incpath.c (add_path): Strip trailing path separators. From-SVN: r124504
Danny Smith committed -
2007-05-07 Benjamin Kosnik <bkoz@redhat.com> Howard Hinnant <hhinnant@apple.com> * include/std/type_traits: (make_signed, make_unsigned): Adjust for enum sizes. * testsuite/20_util/make_unsigned/requirements/typedefs.cc: Move to... * testsuite/20_util/make_unsigned/requirements/typedefs-1.cc: ...here. * testsuite/20_util/make_unsigned/requirements/typedefs-2.cc: Add, compile with -funsigned-char -fshort-enums. * testsuite/20_util/make_signed/requirements/typedefs.cc: Move to... * testsuite/20_util/make_signed/requirements/typedefs-1.cc: ...here. * testsuite/20_util/make_signed/requirements/typedefs-2.cc: Add, compile with -funsigned-char -fshort-enums. * testsuite/20_util/headers/type_traits/types_std_c++0x_neg.cc: Add a temporary xfail to this test for all platforms. Co-Authored-By: Howard Hinnant <hhinnant@apple.com> From-SVN: r124500
Benjamin Kosnik committed -
* tree-ssa-dom.c (tree_ssa_dominator_optimize): Do not free dominance info after purging EH edges. (eliminate_degenerate_phis): Likewise. From-SVN: r124499
Eric Botcazou committed -
* tree-ssa-dom.c (tree_ssa_dominator_optimize): Reset cfg_altered. Free dominance info before purging EH edges as well as after. (eliminate_degenerate_phis): Likewise. (propagate_rhs_into_lhs): Set cfg_altered to true instead of 1. From-SVN: r124498
Eric Botcazou committed -
* gimplify.c (gimplify_expr): Do not crash when folding (void *)(int)&a + 4. From-SVN: r124497
Jan Hubicka committed -
PR fortran/31399 * trans-stmt.c (gfc_trans_do): Handle large loop counts. * gfortran.dg/do_3.F90: New test. From-SVN: r124496
Francois-Xavier Coudert committed -
PR driver/31694 * c-opts.c (lang_fortran): Make it non static. * c-common.h (lang_fortran): New prototype. * c-cppbuiltin.c (c_cpp_builtins): Create a __GFORTRAN__ if the -lang-fortran option was passed by the driver. From-SVN: r124495
Francois-Xavier Coudert committed
-