- 03 Jun, 2003 21 commits
-
-
vasprintf.c: Likewise. (vasprintf): Return -1 upon error. functions.texi: Document changes to asprintf and vasprintf. From-SVN: r67395
Nick Clifton committed -
2003-06-03 Benjamin Kosnik <bkoz@redhat.com> * include/bits/fstream.tcc (pbackfail): Make a rarely taken 'if' branch less obscure. From-SVN: r67394
Benjamin Kosnik committed -
* configure.in (gcc_cv_as_hidden): Disable .hidden completely on IRIX 6 without GNU ld. * configure: Regenerate. From-SVN: r67390
Rainer Orth committed -
expr.c (emit_move_insn_1): Use emit_move_insn to move the parts of a complex number rather than invoke... * expr.c (emit_move_insn_1): Use emit_move_insn to move the parts of a complex number rather than invoke mov_optab directly. From-SVN: r67389
Roger Sayle committed -
* combine.c (simplify_set): Don't move a subreg in SET_SRC to SET_DEST if WORD_REGISTER_OPERATIONS is not defined. From-SVN: r67388
Kazu Hirata committed -
* gcc.dg/torture/builtin-noret-1.c (_exit, _Exit): Make weak. * gcc.dg/torture/builtin-noret-2.c (_exit, _Exit): Likewise. From-SVN: r67387
Joern Rennecke committed -
From-SVN: r67382
Nathanael Nerode committed -
* config/i386/x86-64.h: Remove two target-independent comments; replace "GNU CC" with "GCC". From-SVN: r67381
Nathanael Nerode committed -
* Makefile.tpl: Rename [+target+] to [+make_target+]. * Makefile.def: Rename 'target' to 'make_target'. From-SVN: r67380
Nathanael Nerode committed -
x86_64-signal.h (MAKE_THROW_FRAME): Mark sigcontext on stack volatile to prevent optimization from removing it. 2003-06-03 Andrew Haley <aph@redhat.com> * include/x86_64-signal.h (MAKE_THROW_FRAME): Mark sigcontext on stack volatile to prevent optimization from removing it. From-SVN: r67379
Andrew Haley committed -
From-SVN: r67375
Anthony Green committed -
2003-06-03 Aldy Hernandez <aldyh@redhat.com> * testsuite/gcc.c-torture/compile/simd-5.x: Remove xfail for PPC64. From-SVN: r67374
Aldy Hernandez committed -
PR c++/10940 * pt.c (check_explicit_specialization): Check for 'static' earlier. * g++.dg/template/spec10.C: New test. From-SVN: r67373
Kriang Lerdsuwanakij committed -
* builtins.def (BUILT_IN_CABS, BUILT_IN_CABSF, BUILT_IN_CABSL): New builtins representing ISO C99's cabs, cabsf and cabsl. * builtins.c (expand_builtin_fabs): New function. (expand_builtin_cabs): New function. (expand_builtin): Expand BUILT_IN_FABS{,F,L} and BUILT_IN_CABS{,F,L} using expand_builtin_fabs and expand_builtin_cabs respectively. * doc/extend.texi: Document new cabs, cabsf and cabsl builtins. * gcc.dg/builtins-16.c: New test case. From-SVN: r67368
Roger Sayle committed -
2003-06-03 Aldy Hernandez <aldyh@redhat.com> * function.c (assign_parms): Split complex arguments. * doc/tm.texi (SPLIT_COMPLEX_ARGS): Document. * expr.h (SPLIT_COMPLEX_ARGS): Define. (split_complex_types): Protoize. (split_complex_values): Protoize. * calls.c (expand_call): Split complex arguments on architectures that require it. (split_complex_values): New. (split_complex_types): New. * config/rs6000/rs6000.c (rs6000_libcall_value): New. (rs6000_function_value): Handle complex values on AIX. (rs6000_complex_function_value): New. * config/rs6000/rs6000-protos.h (rs6000_libcall_value): Protoize. * config/rs6000/rs6000.h (LIBCALL_VALUE): Call function. (SPLIT_COMPLEX_ARGS): New. From-SVN: r67367
Aldy Hernandez committed -
* configure.in (HAVE_LD_PIE): Check for ld -pie. * config.in: Rebuilt. * configure: Rebuilt. * toplev.c (flag_pie, flag_shlib): New variables. (f_options): Add -fpie and -fPIE. (parse_options_and_default_flags): Set flag_pic if -fpie/-fPIE. Set flag_shlib if flag_pic and not -fpie/-fPIE. * flags.h (flag_pic, flag_shlib): Add. * varasm.c (default_binds_local_p): Use flag_shlib instead of flag_pic. * gcc.c (LINK_PIE_SPEC): Define. (LINK_COMMAND_SPEC): Use LINK_PIE_SPEC. (option_map): Add --pie -> -pie mapping. * config/sol2.h (ASM_SPEC): Handle -fpie the same way as -fpic and -fPIE the same way as -fPIC. * config/openbsd.h (ASM_SPEC): Likewise. * config/frv/frv.h (ASM_SPEC): Likewise. * config/arm/linux-gas.h (SUBTARGET_CPP_SPEC): Likewise. * config/arm/semi.h (ASM_SPEC): Likewise. * config/arm/netbsd-elf.h (SUBTARGET_EXTRA_ASM_SPEC): Likewise. * config/freebsd-spec.h (FBSD_CPP_SPEC): Likewise. * config/i386/beos-elf.h (CC1_SPEC): Likewise. * config/i386/freebsd-aout.h (ASM_SPEC): Likewise. * config/m68k/linux.h (CPP_SPEC): Likewise. * config/m68k/netbsd.h (ASM_SPEC): Likewise. * config/m68k/openbsd.h (ASM_SPEC): Likewise. * config/m68k/netbsd-elf.h (ASM_SPEC): Likewise. * config/mips/linux.h (SUBTARGET_CPP_SPEC): Likewise. * config/mips/openbsd.h (SUBTARGET_ASM_SPEC): Likewise. * config/pa/pa-linux.h (CPP_SPEC): Likewise. * config/netbsd-aout.h (ASM_SPEC): Likewise. * config/rs6000/sysv4.h (ASM_SPEC, CPP_SYSV_SPEC): Likewise. * config/rs6000/vxworks.h (CPP_SPEC): Likewise. * config/sparc/linux.h (CPP_SUBTARGET_SPEC, ASM_SPEC): Likewise. * config/sparc/linux64.h (CPP_SUBTARGET_SPEC, ASM_SPEC): Likewise. * config/sparc/sparc.h (ASM_SPEC): Likewise. * config/sparc/sp64-elf.h (ASM_SPEC): Likewise. * config/sparc/sysv4.h (ASM_SPEC): Likewise. * config/sparc/netbsd-elf.h (ASM_SPEC): Likewise. * config/sparc/openbsd64.h (ASM_SPEC): Likewise. * config/cris/linux.h (CRIS_ASM_SUBTARGET_SPEC): Likewise. * config/linux.h (STARTFILE_SPEC, ENDFILE_SPEC): Handle -pie. Simplify. * config/alpha/elf.h (STARTFILE_SPEC, ENDFILE_SPEC): Likewise. * config/i386/linux64.h (STARTFILE_SPEC, ENDFILE_SPEC): Likewise. * config/ia64/linux.h (STARTFILE_SPEC, ENDFILE_SPEC): Likewise. * config/rs6000/sysv4.h (STARTFILE_SPEC, ENDFILE_SPEC): Likewise. * config/rs6000/linux64.h (STARTFILE_SPEC, ENDFILE_SPEC): Likewise. * config/sparc/linux.h (STARTFILE_SPEC, ENDFILE_SPEC): Likewise. * config/sparc/linux64.h (STARTFILE_SPEC, ENDFILE_SPEC): Likewise. * doc/invoke.texi: Document -pie, -fpie and -fPIE options. From-SVN: r67359
Jakub Jelinek committed -
* builtins.c (expand_builtin_memcpy): Remove endp argument and endp != 0 handling. Pass 0 to store_by_pieces. (expand_builtin_mempcpy): Add endp argument. Don't call expand_builtin_memcpy, call store_by_pieces resp. move_by_pieces directly. If ignoring result, only do expand_call. (expand_builtin_stpcpy): Likewise. Call expand_builtin_mempcpy otherwise. (expand_builtin_strncpy, expand_builtin_memset): Adjust store_by_pices callers. (expand_builtin): Adjust expand_builtin_memcpy and expand_builtin_mempcpy callers. * expr.c (can_move_by_pieces): New function. (move_by_pieces): Add endp argument, return to resp. memory at end or one byte earlier depending on endp. (store_by_pieces): Likewise. (emit_block_move): Adjust call to move_by_pieces. (emit_push_insn): Adjust move_by_pieces caller. * expr.h (can_move_by_pieces): New prototype. (store_by_pieces): Adjust prototypes. * rtl.h (move_by_pieces): Adjust prototype. * config/mips/mips.c (expand_block_move): Adjust move_by_pieces caller. * gcc.c-torture/execute/builtins/string-4.c (main_test): Remove mempcpy test with post-increments. * gcc.c-torture/execute/string-opt-3.c: New test. * gcc.dg/string-opt-1.c: New test. From-SVN: r67358
Jakub Jelinek committed -
From-SVN: r67355
Ben Elliston committed -
* c-opts.c (c_common_handle_option): New, pulled out of c_common_decode_option. Substitute uses of argv. (c_common_decode_option): Broken into two. From-SVN: r67354
Neil Booth committed -
From-SVN: r67351
GCC Administrator committed -
2003-06-03 David Billinghurst (David.Billinghurst@riotinto.com) PR fortran/10965 * g77.f-torture/compile/20000601-2.f: Fix non-standard code. From-SVN: r67349
David Billinghurst committed
-
- 02 Jun, 2003 19 commits
-
-
* lib/scanasm.exp (dg-scan): New function, factored out of ... (scan-assembler): ... here. Use dg-scan. (scan-assembler-not): Likewise. (scan-file): New function. (scan-file-not): Likewise. * gcc.dg/cpp/19990228-1.c: Use scan-file and/or scan-file-not. * gcc.dg/cpp/_Pragma4.c: Likewise. * gcc.dg/cpp/_Pragma5.c: Likewise. * gcc.dg/cpp/avoidpaste1.c: Likewise. * gcc.dg/cpp/avoidpaste2.c: Likewise. * gcc.dg/cpp/cmdlne-C2.c: Likewise. * gcc.dg/cpp/cmdlne-P.c: Likewise. * gcc.dg/cpp/cmdlne-dD-M.c: Likewise. * gcc.dg/cpp/cmdlne-dD-dM.c: Likewise. * gcc.dg/cpp/cmdlne-dI-M.c: Likewise. * gcc.dg/cpp/cmdlne-dM-M.c: Likewise. * gcc.dg/cpp/cmdlne-dM-dD.c: Likewise. * gcc.dg/cpp/cmdlne-dN-M.c: Likewise. * gcc.dg/cpp/cxxcom1.c: Likewise. * gcc.dg/cpp/line1.c: Likewise. * gcc.dg/cpp/maccom1.c: Likewise. * gcc.dg/cpp/maccom2.c: Likewise. * gcc.dg/cpp/maccom3.c: Likewise. * gcc.dg/cpp/maccom4.c: Likewise. * gcc.dg/cpp/maccom5.c: Likewise. * gcc.dg/cpp/maccom6.c: Likewise. * gcc.dg/cpp/multiline.c: Likewise. * gcc.dg/cpp/spacing1.c: Likewise. * gcc.dg/cpp/spacing2.c: Likewise. * gcc.dg/cpp/trad/cmdlne-C2.c: Likewise. * gcc.dg/cpp/trad/maccom1.c: Likewise. * gcc.dg/cpp/trad/maccom2.c: Likewise. * gcc.dg/cpp/trad/maccom3.c: Likewise. * gcc.dg/cpp/trad/maccom4.c: Likewise. * gcc.dg/cpp/trad/maccom6.c: Likewise. * gcc.dg/cpp/cxxcom2.c: Likewise. * gcc.dg/cpp/cxxcom2.h: New file. From-SVN: r67347
Mark Mitchell committed -
From-SVN: r67346
Richard Sandiford committed -
2003-06-02 Andrew Pinski <pinskia@physics.uc.edu> PR libstdc++/9815 * config/cpu/i386/atomicity.h (__exchange_and_add): add intel asm case to asm. * config/cpu/i486/atomicity.h (__exchange_and_add): Likewise. (__atomic_add): likewise. From-SVN: r67343
Andrew Pinski committed -
2003-06-02 Paolo Carlini <pcarlini@unitus.it> * include/bits/sstream.tcc (pbackfail): Minor clean up and reformatting, consistent with basic_filebuf::pbackfail. From-SVN: r67342
Paolo Carlini committed -
2003-06-02 Richard Kreckel <Richard.Kreckel@GiNaC.DE> PR libstdc++/11062 * config/cpu/mips/atomicity.h: Change __attribute__ ((unused)) to __attribute__ ((__unused__)). * config/os/aix/atomicity.h: Likewise. From-SVN: r67340
Richard Kreckel committed -
2003-06-02 Paolo Carlini <pcarlini@unitus.it> PR libstdc++/9761 * include/bits/fstream.tcc (pbackfail): If the pback buffer is already active don't try to store in it a second char. * testsuite/27_io/basic_filebuf/pbackfail/char/9761.cc: New. * include/bits/fstream.tcc (pbackfail): Add unbuffered bits. From-SVN: r67337
Paolo Carlini committed -
2003-06-02 Paolo Carlini <pcarlini@unitus.it> * testsuite/27_io/basic_stringbuf/seekpos/char/3.cc: Tweak line spacing. From-SVN: r67336
Paolo Carlini committed -
From-SVN: r67335
Nick Clifton committed -
std_fstream.h (_M_destroy_pback): Use _M_in_beg instead of unnecessarily taking the address of _M_pback. 2003-06-02 Paolo Carlini <pcarlini@unitus.it> * include/std/std_fstream.h (_M_destroy_pback): Use _M_in_beg instead of unnecessarily taking the address of _M_pback. (xsgetn): Simplify slightly for a single char pback buffer. 2003-06-02 Paolo Carlini <pcarlini@unitus.it> * include/bits/sstream.tcc (seekoff): Remove four unnecessary variables and two 'if', clean up. 2003-06-02 Paolo Carlini <pcarlini@unitus.it> * include/bits/sstream.tcc (seekpos): Test against _M_out_lim not _M_out_end, since the former actually points to the string end (vs buffer end). * testsuite/27_io/basic_stringbuf/seekpos/char/3.cc: New. From-SVN: r67334
Paolo Carlini committed -
* gcc.dg/cpp/truefalse.cpp: Move it to ... * g++.dg/cpp/truefalse.C: Here. * gcc.dg/cpp/cpp.exp: Remove scanning of ".cpp" files. From-SVN: r67333
Mark Mitchell committed -
* emit-rtl.c (gen_complex_constant_part): Remove unnecessary test of TREE_CONSTANT_POOL_ADDRESS_P. Co-Authored-By: Zack Weinberg <zack@codesourcery.com> From-SVN: r67331
Roger Sayle committed -
* mips.c: Don't include output.h twice. * stormy16.c: Likewise. * xtensa.c: Likewise. * output.h: Protect against multiple inclusion. From-SVN: r67330
Kaveh R. Ghazi committed -
* sh.h (OLD_ARG_MODE): New macro. (FUNCTION_ARG_ADVANCE, FUNCTION_ARG_PASS_BY_REFERENCE): Use it. (FUNCTION_ARG_1): Break out of: (FUNCTION_ARG). Use OLD_ARG_MODE. From-SVN: r67329
J"orn Rennecke committed -
From-SVN: r67328
Nick Clifton committed -
From-SVN: r67327
Kazuhiro Inaoka committed -
* Makefile.in (c-options.c): Pass in $(AWK) to opts.sh. (mostlyclean): Delete c-options.c and c-options.h. From-SVN: r67326
Kaveh R. Ghazi committed -
* c-opts.c (CL_REJECT_NEGATIVE): New. (c_common_decode_option): Update to use it. * c.opt: Update documentation; use RejectNegative. * opts.sh: Handle RejectNegative. From-SVN: r67325
Neil Booth committed -
From-SVN: r67324
Ben Elliston committed -
* ggc-page.c (init_ggc): Give better diagnostics on failure to open /dev/zero. * toplev.c (crash_signal): Reset handling for received signal to SIG_DFL. From-SVN: r67323
Zack Weinberg committed
-