aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2007-05-10ffi.c (ffi_prep_args,ffi_prep_cif_machdep): Fix numerous test suite failures.Roman Zippel3-69/+98
* src/m68k/ffi.c (ffi_prep_args,ffi_prep_cif_machdep): Fix numerous test suite failures. * src/m68k/sysv.S (ffi_call_SYSV): Likewise. From-SVN: r124599
2007-05-10assumed_dummy_1.f90: Fix dg directive.Dominique d'Humieres5-4/+11
2007-05-10 Dominique d'Humieres <dominiq@lps.ens.fr> * assumed_dummy_1.f90: Fix dg directive. * char_initialiser_actual.f90: Likewise. * nested_modules_2.f90: Likewise. * shift-alloc.f90: Likewise. From-SVN: r124598
2007-05-10Improve comment...Mike Stump1-2/+3
From-SVN: r124597
2007-05-10bfin.h (MOVE_RATIO): Define.Bernd Schmidt2-0/+8
* config/bfin/bfin.h (MOVE_RATIO): Define. From-SVN: r124596
2007-05-10config.gcc (sparc-wrs-vxworks): New target.Richard Sandiford10-20/+190
gcc/ * config.gcc (sparc-wrs-vxworks): New target. * config/sparc/vxworks.h, config/sparc/t-vxworks: New files. * config/sparc/sparc-protos.h (sparc_emit_call_insn): Declare. * config/sparc/sparc.h: Include vxworks-dummy.h. (PRINT_OPERAND_ADDRESS): Extend SYMBOL_REF handling to include LABEL_REFs too. * config/sparc/sparc.c (sparc_expand_move): Don't assume that _GLOBAL_OFFSET_TABLE_ - label_ref is a link-time constant on VxWorks. (legitimize_pic_address): Handle LABEL_REFs like SYMBOL_REFs on VxWorks. (load_pic_register): Use gen_vxworks_load_got for VxWorks. (sparc_emit_call_insn): New function. (sparc_function_ok_for_sibcall): Restrict sibcalls to locally-binding functions when generating VxWorks PIC. * config/sparc/sparc.md (vxworks_load_got): New pattern. (call, call_value): Use sparc_emit_call_insn instead of emit_call_insn. libgcc/ * config.host (sparc-wrs-vxworks): New target. From-SVN: r124595
2007-05-1020070507-1.c: Disable for non-pic targets.Andreas Krebbel2-1/+5
2007-05-10 Andreas Krebbel <krebbel1@de.ibm.com> * gcc.dg/20070507-1.c: Disable for non-pic targets. From-SVN: r124593
2007-05-10re PR libfortran/31880 ([4.2 only] silent data corruption in gfortran read ↵Jerry DeLisle1-1/+1
statement) 2007-05-09 Jerry DeLisle <jvdelisle@gcc.gnu.org> PR libfortran/31880 * gfortran.dg/unf_read_corrupted_2.f90: Fix test. From-SVN: r124591
2007-05-10re PR libfortran/31880 ([4.2 only] silent data corruption in gfortran read ↵Jerry DeLisle2-0/+32
statement) 2007-05-09 Jerry DeLisle <jvdelisle@gcc.gnu.org> PR libfortran/31880 * gfortran.dg/unf_read_corrupted_2.f90: New test. From-SVN: r124590
2007-05-10* g++.dg/parse/attr-externally-visible-1.C: Likewise.Mike Stump2-0/+2
From-SVN: r124589
2007-05-10re PR libfortran/31880 ([4.2 only] silent data corruption in gfortran read ↵Jerry DeLisle2-2/+7
statement) 2007-05-09 Jerry DeLisle <jvdelisle@gcc.gnu.org> PR libfortran/31880 * io/unix.c (fd_alloc_r_at): Fix calculation of physical offset. From-SVN: r124588
2007-05-10Daily bump.GCC Administrator1-1/+1
From-SVN: r124586
2007-05-09Fix whitespacingMike Stump1-1/+1
From-SVN: r124583
2007-05-09* g++.dg/other/first-global.C: Add -fpie for darwin.Mike Stump2-0/+6
From-SVN: r124580
2007-05-09* config/xtensa/xtensa.c (xtensa_output_literal): Don't use #if.Bob Wilson2-7/+11
From-SVN: r124579
2007-05-09xtensa.c (xtensa_output_literal): Mask out high bits for floating-point ↵Bob Wilson2-2/+17
values if HOST_BITS_PER_LONG > 32. * config/xtensa/xtensa.c (xtensa_output_literal): Mask out high bits for floating-point values if HOST_BITS_PER_LONG > 32. Use split_double instead of operand_subword. From-SVN: r124578
2007-05-09bfin.h (LOCAL_ALIGNMENT): Define.Bernd Schmidt4-0/+37
* config/bfin/bfin.h (LOCAL_ALIGNMENT): Define. * config/bfin/bfin.c (bfin_local_alignment): New function. * config/bfin/bfin-protos.h (bfin_local_alignment): Declare it. From-SVN: r124570
2007-05-0920070507-1.c: New testcase.Andreas Krebbel2-0/+107
2007-05-09 Andreas Krebbel <krebbel1@de.ibm.com> * gcc.dg/20070507-1.c: New testcase. From-SVN: r124567
2007-05-09Remove conflict markerMark Mitchell1-1/+0
From-SVN: r124566
2007-05-09cxxabi.h (_GLIBCXX_NOTHROW): New macro.Mark Mitchell3-5/+29
* libstdc++-v3/libsupc++/cxxabi.h (_GLIBCXX_NOTHROW): New macro. (__cxa_atexit): Use it. * testsuite/lib/libstdc++.exp (v3_target_compile_as_c): For installed-tree testing, search more include directories. From-SVN: r124565
2007-05-08typeck.c (build_unary_op): Remove code that used to handle non lvalue ↵Andrew Pinski2-35/+5
increments/decrements. 2007-05-07 Andrew Pinski <andrew_pinski@playstation.sony.com> * typeck.c (build_unary_op): Remove code that used to handle non lvalue increments/decrements. From-SVN: r124564
2007-05-09Daily bump.GCC Administrator1-1/+1
From-SVN: r124562
2007-05-08* gcc.target/mips/msub-1.c, gcc.target/mips/msub-2.c,Chao-ying Fu9-0/+171
* gcc.target/mips/msub-3.c, gcc.target/mips/msub-4.c, * gcc.target/mips/msubu-1.c, gcc.target/mips/msubu-2.c, * gcc.target/mips/msubu-3.c, gcc.target/mips/msubu-4.c: New tests. From-SVN: r124559
2007-05-08md.texi (msub@var{m}@var{n}4, [...]): Document.Chao-ying Fu8-28/+103
* doc/md.texi (msub@var{m}@var{n}4, usub@var{m}@var{n}4): Document. * optabs.h (OTI_smsub_widen, OTI_umsub_widen): New optab_indexes. (smsub_widen_optab, umsub_widen_optab): Define. * optabs.c (init_optabs): Initialize smsub_widen_optab and umsub_widen_optab. * genopinit.c (optabs): Fill in smsub_widen_optab and umsub_widen_optab. * expr.c (expand_expr_real_1): Try to use smsub_widen_optab and umsub_widen_optab to implement multiply-subtract sequences. * config/mips/mips.md (*msac<u>_di): Rename to... (<u>msubsidi4): ...this. Extend condition to include GENERATE_MADD_MSUB and TARGET_DSPR2. Change the constraint of operand 0 to "ka" and use the three-operand form of msub<u> for TARGET_DSPR2. * config/mips/mips-dspr2.md (mips_msub, mips_msubu): Convert to define_expands. From-SVN: r124558
2007-05-08re PR rtl-optimization/28011 ([SH] g++ generates wrong code, if ↵Kaz Kojima2-2/+11
'-fno-exceptions' and '-O' options are specified) PR rtl-optimization/28011 * reload.c (push_reload): Set dont_share if IN appears in OUT also when IN is a PLUS rtx. (reg_overlap_mentioned_for_reload_p): Return true if X and IN are same PLUS rtx. From-SVN: r124557
2007-05-08emit-rtl.c (unshare_all_rtl_1): Don't copy DECL_RTL.Kazu Hirata2-30/+10
* emit-rtl.c (unshare_all_rtl_1): Don't copy DECL_RTL. Don't call unshare_all_decls. (unshare_all_rtl): Adjust the call to unshare_all_rtl_1. (unshare_all_decls): Remove. From-SVN: r124556
2007-05-08re PR tree-optimization/31847 (Printing to dump file broken)Simon Martin4-1/+27
2007-05-08 Simon Martin <simartin@users.sourceforge.net> PR 31847 * tree-dump.c (dump_options): Don't use TDF_DIAGNOSTIC in "*-all" tree dumps. From-SVN: r124551
2007-05-08re PR fortran/31630 (ICE on nasty derived types code)Paul Thomas2-15/+11
2007-05-08 Paul Thomas <pault@gcc.gnu.org> PR fortran/31630 * resolve.c (resolve_symbol): Remove the flagging mechanism from the formal namespace resolution and instead check that the formal namespace is not the current namespace. From-SVN: r124550
2007-05-08re PR fortran/31692 (Wrong code when passing function name as result to ↵Paul Thomas4-5/+115
procedures) 2007-05-08 Paul Thomas <pault@gcc.gnu.org> PR fortran/31692 * trans-array.c (gfc_conv_array_parameter): Convert full array references to the result of the procedure enclusing the call. 2007-05-08 Paul Thomas <pault@gcc.gnu.org> PR fortran/31692 * gfortran.dg/actual_array_result_1.f90: New test. From-SVN: r124546
2007-05-08mips.h (MAX_FPRS_PER_FMT): Renamed from FP_INC.Sandra Loosemore3-24/+58
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
2007-05-08bfin-protos.h (enum bfin_cpu): Add BFIN_CPU_BF534, BFIN_CPU_BF536 and ↵Jie Zhang5-7/+54
BFIN_CPU_BF561. * 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
2007-05-08type_traits (make_signed): Remove specializations for floating point types.Benjamin Kosnik8-61/+22
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
2007-05-08bfin-protos.h (bfin_expand_epilogue): Add a third argument of type bool.Jie Zhang4-18/+77
* 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
2007-05-08re PR fortran/29397 (Constant logical expression with parameter array)Paul Thomas7-2/+95
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
2007-05-08types_std_c++0x_neg.cc: New.Benjamin Kosnik2-0/+78
2007-05-08 Benjamin Kosnik <bkoz@redhat.com> * testsuite/26_numerics/headers/cmath/types_std_c++0x_neg.cc: New. From-SVN: r124540
2007-05-08cxxabi-internal.h: Remove, to be replaced by...Jason Merrill14-569/+570
* 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
2007-05-08re PR target/31854 (internal compiler error: in cgraph_local_info, at ↵Uros Bizjak4-3/+25
cgraph.c:618) PR target/31854 * config/i386/i386.c (ix86_function_regparm): Process local functions only when TREE_CODE (decl) equals FUNCTION_DECL. From-SVN: r124538
2007-05-08testsuite_abi.cc: Add CXXABI_1.3.2.Benjamin Kosnik3-1/+9
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
2007-05-08include cstring as wellJason Merrill1-0/+1
From-SVN: r124536
2007-05-08* gcc.dg/pch/pch.exp: XFAIL largefile on Solaris 10 x86.Janis Johnson2-0/+5
From-SVN: r124535
2007-05-08invoke.texi (Warning Options): Document that -Wempty-body also checks for ↵Mike Stump6-2/+95
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
2007-05-08invalid-call-1.c: Fix options for 32-bit x86.Eric Christopher2-7/+11
2007-05-07 Eric Christopher <echristo@apple.com> * gcc.dg/invalid-call-1.c: Fix options for 32-bit x86. From-SVN: r124533
2007-05-08libiberty.h (writeargv): Declare.Nathan Froyd10-7/+238
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
2007-05-08re PR java/31842 (r124338 causes java Divide_1 and pr6388 to fail)Ian Lance Taylor2-4/+10
PR java/31842 * java/lang/natString.cc (_Jv_FormatInt): Avoid undefined signed overflow. From-SVN: r124530
2007-05-08Daily bump.GCC Administrator1-1/+1
From-SVN: r124527
2007-05-07muldiv.md (mulhisi3_c): Limit the mode of the 2nd operand to HI mode.Naveen.H.S2-2/+37
* 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
2007-05-07m32c.c (SYMBOL_FLAG_FUNCVEC_FUNCTION): Define.Jayant Sonar5-3/+193
* 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
2007-05-07* include/bits/ostream.tcc (operator<<(char*)): Add __s.Jason Merrill2-4/+6
From-SVN: r124522
2007-05-07re PR target/31794 (Problem while compiling gcc for m32c-elf)DJ Delorie2-5/+11
PR 31794 * config/m32c/shift.md (ashlpsi3_i, ashrpsi3_i, ashlpsi3, ashrpsi3, lshrpsi3): Update shift count constraint. From-SVN: r124521
2007-05-07gnu.ver: Fix symbol versions.Jason Merrill3-4/+21
* config/abi/pre/gnu.ver: Fix symbol versions. * config/abi/pre/gnu-versioned-namespace.ver: Likewise. From-SVN: r124520
2007-05-07* config/os/mingw32/os_defines.h (NOMINMAX): Update comment.Danny Smith2-1/+5
From-SVN: r124519