summaryrefslogtreecommitdiffstats
path: root/gcc
Commit message (Collapse)AuthorAgeFilesLines
* * config.gcc: Revert accidentally committed ARM changes.drow2003-06-042-3/+16
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@67440 138bc75d-0d04-0410-961f-82ee72b054a4
* * builtins.c (dconstpi, dconste): New mathematical constants.sayle2003-06-049-2/+258
| | | | | | | | | | | | | | | | | | | (init_builtin_dconsts): New function to initialize dconstpi and dconste. (fold_builtin): Optimize exp(1.0) = e. Evaluate exp(x) at compile time with -ffast-math when x is an integer constant. Optimize tan(0.0) = 0.0. Optimize atan(0.0) = 0.0, atan(1.0) = pi/4 and tan(atan(x)) = x with -ffast-math. * gcc.dg/builtins-2.c: Add tests for tan(atan(x)). * gcc.dg/builtins-3.c: Add tests for tan(0.0) and atan(0.0). * gcc.dg/builtins-7.c: Add tests for tan(atan(x)) == x. * gcc.dg/builtins-17.c: New test case. * gcc.dg/i386-387-4.c: New test case. * gcc.c-torture/execute/ieee/mzero4.c: New test case. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@67438 138bc75d-0d04-0410-961f-82ee72b054a4
* * calls.c (expand_call): Avoid calling pure or const functionssayle2003-06-042-6/+39
| | | | | | | | when the result is ignored (or void) and none of the arguments are volatile. Move warning diagnostic earlier in function. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@67436 138bc75d-0d04-0410-961f-82ee72b054a4
* * system.h: Do not poison TDESC_SECTION_ASM_OP,aj2003-06-042-2/+6
| | | | | | | RDATA_SECTION_ASM_OP and SUBTARGET_PROLOGUE. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@67435 138bc75d-0d04-0410-961f-82ee72b054a4
* * final.c (asm_fprintf): Update comments, accept "-+ #0" flags,ghazi2003-06-042-19/+36
| | | | | | | | optimize '%' case, handle %c, don't accept %p, %e, %f or %g, handle %ll, optimize regular character case. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@67434 138bc75d-0d04-0410-961f-82ee72b054a4
* * Makefile.in (cse.o): Add params.h dependency.rakdver2003-06-044-7/+27
| | | | | | | | | | | | * cse.c: Include params.h. (PATHLENGTH): Removed. (struct cse_basic_block_data): Make path array dynamic. (cse_end_of_basic_block): Use PARAM_MAX_CSE_PATH_LENGTH instead of PATHLENGTH. (cse_main, cse_basic_block): Allocate path array. * params.def (PARAM_MAX_CSE_PATH_LENGTH): New. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@67433 138bc75d-0d04-0410-961f-82ee72b054a4
* * i386.c (ix86_reorg): Replace the jump instead of adding nop.hubicka2003-06-043-8/+34
| | | | | | | | * i386.md (UNSPEC_REP): New constant. (return_internal_long): New pattern. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@67432 138bc75d-0d04-0410-961f-82ee72b054a4
* PR optimization/11018ebotcazou2003-06-044-2/+58
| | | | | | | | | * config/sparc/sparc.c (sparc_v8plus_shift): Use which_alternative consistently to decide whether the scratch register is really required. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@67429 138bc75d-0d04-0410-961f-82ee72b054a4
* PR optimization/10876ebotcazou2003-06-047-83/+94
| | | | | | | | | | | | | | | | | | | | | | | | * config/sparc/sparc.h (CONST_OK_FOR_LETTER): Add new 'O' constraint for constant 4096. (CONST_DOUBLE_OK_FOR_LETTER_P): Likewise. * config/sparc/sparc.md (adddi3 expander): Canonicalize pattern. Do not transform into MINUS insn for constant 4096. (*adddi3_sp64 insn): Canonicalize pattern. Add new alternative for constant 4096 as third operand. (addsi3 expander): Remove. (*addsi3 insn): Rename into 'addsi3'. Canonicalize pattern. Add new alternative for constant 4096 as third operand. (subdi3 expander): Do not transform into PLUS insn for constant 4096. (*subdi3_sp64 insn): Add new alternative for constant 4096 as third operand. (subsi3 expander): Remove. (*subsi3 insn): Rename into 'subsi3'. Add new alternative for constant 4096 as third operand. * doc/md.texi (Machine Constraints): Document new 'O' constraint for the SPARC port. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@67426 138bc75d-0d04-0410-961f-82ee72b054a4
* * unwind-dw2-fde-glibc.c (_Unwind_IteratePhdrCallback):Remove usage ofaj2003-06-042-5/+3
| | | | | | | CRT_GET_RFIB_TEXT. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@67425 138bc75d-0d04-0410-961f-82ee72b054a4
* 2003-06-03 Chris Demetriou <cgd@broadcom.com>cgd2003-06-042-0/+5
| | | | | | | * config/mips/t-linux64 (CRTSTUFF_T_CFLAGS_S): Define. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@67424 138bc75d-0d04-0410-961f-82ee72b054a4
* * config/i386/uwin.h: Remove SUBTARGET_PROLOGUE.aj2003-06-0412-237/+69
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * config/i386/i386.c (ix86_expand_prologue): Do not use SUBTARGET_PROLOGUE. * system.h: Poision SUBTARGET_PROLOGUE. * config/arm/arm-protos.h: Remove unused rdate_section prototype. * output.h: Remove TDESC_SECTION_ASM_OP and RDATA_SECTION_ASM_OP dependend code. * system.h: Poison TDESC_SECTION_ASM_OP and RDATA_SECTION_ASM_OP. * system.h: Poison INSN_CACHE_DEPTH, INSN_CACHE_SIZE and INSN_CACHE_LINE_WIDTH. * libgcc2.c (INSN_CACHE_PLANE_SIZE): Removed. (__clear_cache): Remove code dependend on INSN_CACHE_DEPTH, INSN_CACHE_SIZE and INSN_CACHE_LINE_WIDTH. * doc/tm.texi (Trampolines): Remove INSN_CACHE_DEPTH, INSN_CACHE_SIZE and INSN_CACHE_LINE_WIDTH. * dbxout.c (dbxout_type): Remove usage of DBX_OUTPUT_ENUM. (dbxout_symbol): Remove usage of DBX_OUTPUT_CONSTANT_SYMBOL. (dbxout_block): Remove usage of DBX_OUTPUT_CATCH. (dbxout_block): Remove usage of DBX_LBRAC_FIRST. (dbxout_source_file): Remove usage of DBX_OUTPUT_SOURCE_FILENAME. (dbxout_init): Remove test for DBX_WORKING_DIRECTORY. * doc/tm.texi (DBX Options): Do not document DBX_LBRAC_FIRST, DBX_OUTPUT_SOURCE_FILENAME and DBX_OUTPUT_ENUM and DBX_WORKING_DIRECTORY. * system.h: Poison DBX_LBRAC_FIRST, DBX_OUTPUT_ENUM, DBX_OUTPUT_SOURCE_FILENAME and DBX_WORKING_DIRECTORY. * config/frv/frv-protos.h: Remove unused const_section declaration. * config/vax/vax-protos.h: Likewise. * output.h: Remove CONST_SECTION_ASM_OP usage. * system.h: Poison CONST_SECTION_ASM_OP. * crtstuff.c (__do_global_dtors_aux): Remove usage of CRT_GET_RFIB_TEXT (frame_dummy): Likewise. * unwind-dw2-fde-glibc.c (_Unwind_IteratePhdrCallback): Likewise. * system.h: Poison CRT_GET_RFIB_TEXT. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@67423 138bc75d-0d04-0410-961f-82ee72b054a4
* * collect2.c (is_ctor_dtor): Remove CFRONT_LOSSAGE dependend code.aj2003-06-042-8/+2
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@67422 138bc75d-0d04-0410-961f-82ee72b054a4
* * fix-header.c: Remove ADD_MISSING_EXTERN_C dependend variables.aj2003-06-042-29/+8
| | | | | | | | | (write_lbrac): Remove ADD_MISSING_EXTERN_C dependend code. (recognized_function): Likewise. (read_scan_file): Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@67421 138bc75d-0d04-0410-961f-82ee72b054a4
* * g77spec.c (lang_specific_driver): Remove ALT_LIBM usage.aj2003-06-044-8/+9
| | | | | | | * g++spec.c (lang_specific_driver): Remove ALT_LIBM usage. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@67419 138bc75d-0d04-0410-961f-82ee72b054a4
* * optabs.c (expand_binop): Optimize complex multiplication forsayle2003-06-042-2/+12
| | | | | | | the case of squaring a complex argument. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@67418 138bc75d-0d04-0410-961f-82ee72b054a4
* * optabs.c (expand_binop): Attempt to reuse pseudos for duplicatesayle2003-06-042-4/+28
| | | | | | | | non-volatile operands of binary operations. (prepare_cmp_insn): Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@67417 138bc75d-0d04-0410-961f-82ee72b054a4
* * varasm.c (force_const_mem): Handle alignment of constants notsayle2003-06-042-2/+10
| | | | | | | representable as a type in the front-end language. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@67416 138bc75d-0d04-0410-961f-82ee72b054a4
* forgot to commit.aldyh2003-06-041-0/+5
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@67415 138bc75d-0d04-0410-961f-82ee72b054a4
* 2003-06-03 Jason Merrill <jason@redhat.com>aldyh2003-06-043-4/+15
| | | | | | | | | | | * cp/cp-tree.h (CP_AGGREGATE_TYPE_P): Accept vectors. * cp/decl.c (reshape_init): Handle vectors. * testsuite/g++.dg/init/array10.C: New. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@67414 138bc75d-0d04-0410-961f-82ee72b054a4
* Daily bump.gccadmin2003-06-041-1/+1
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@67412 138bc75d-0d04-0410-961f-82ee72b054a4
* * flow.c (initialize_uninitialized_subregs): Usekazu2003-06-032-2/+10
| | | | | | | emit_move_insn instead of emitting a hardcoded move. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@67409 138bc75d-0d04-0410-961f-82ee72b054a4
* * gcc.dg/20020525-1.c: Replace 0x5a5a5a5a with -1.kazu2003-06-032-3/+7
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@67407 138bc75d-0d04-0410-961f-82ee72b054a4
* PR ada/9953:hainque2003-06-031-0/+8
| | | | | | | | | * 5hsystem.ads: Remove pragma Linker_Option for pthreads library, and turn ZCX_By_Default back to False since the underlying support is not quite there yet. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@67406 138bc75d-0d04-0410-961f-82ee72b054a4
* 2003-06-04 Olivier Hainque <hainque@act-europe.fr>hainque2003-06-031-4/+1
| | | | | | | | | | PR ada/9953: * 5hsystem.ads: Remove pragma Linker_Option for pthreads library, and turn ZCX_By_Default back to False, since the underlying support is not quite there yet. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@67405 138bc75d-0d04-0410-961f-82ee72b054a4
* * optabs.c (expand_abs_nojump): Split out from ...rth2003-06-035-7/+33
| | | | | | | | | | (expand_abs): ... here. * optabs.h (expand_abs_nojump): Declare. * ifcvt.c: (noce_try_abs): Use expand_abs_nojump. * Makefile.in (ifcvt.o): Depend on optabs.h. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@67404 138bc75d-0d04-0410-961f-82ee72b054a4
* * dwarf2out.c (DEBUG_STR_SECTION_FLAGS): Heed flag_merge_constants.amodra2003-06-032-1/+7
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@67403 138bc75d-0d04-0410-961f-82ee72b054a4
* * config.gcc (default_use_cxa_atexit): New variable, defaults to no.thorpej2003-06-034-279/+307
| | | | | | | | | | | | (*-*-netbsd[2-9]* | *-*-netbsdelf[2-9]*): Set default_use_cxa_atexit to yes. * configure.in: Allow default_use_cxa_atexit to determine the value of DEFAULT_USE_CXA_ATEXIT if not explicitly enabled or disabled. * configure: Regenerate. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@67401 138bc75d-0d04-0410-961f-82ee72b054a4
* * Makefile.in (TEXI_GCC_FILES): Remove vms.texi entry.rupp2003-06-031-3/+3
| | | | | | | | * doc/gcc.texi: Remove vms.texi section. * doc/vms.texi: Remove obsolete file. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@67400 138bc75d-0d04-0410-961f-82ee72b054a4
* *** empty log message ***rupp2003-06-034-228/+7
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@67399 138bc75d-0d04-0410-961f-82ee72b054a4
* * g++.dg/abi/empty6.C (B): Request alignment of 8 bytes.amylaar2003-06-032-1/+8
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@67398 138bc75d-0d04-0410-961f-82ee72b054a4
* * gcc.dg/torture/builtin-noret-1.c (_exit, _Exit): Make weak.amylaar2003-06-031-0/+5
| | | | | | | * gcc.dg/torture/builtin-noret-2.c (_exit, _Exit): Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@67397 138bc75d-0d04-0410-961f-82ee72b054a4
* * configure.in (inhibit_libc): Don't define when configuringamylaar2003-06-034-46/+49
| | | | | | | | | | with --with-newlib --with-headers. * configure: Regenerate. * t-sh: Remove LIB2FUNCS_EXTRA and embed-bb.c rules. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@67396 138bc75d-0d04-0410-961f-82ee72b054a4
* * configure.in (gcc_cv_as_hidden): Disable .hidden completely onro2003-06-033-17/+23
| | | | | | | | IRIX 6 without GNU ld. * configure: Regenerate. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@67390 138bc75d-0d04-0410-961f-82ee72b054a4
* * expr.c (emit_move_insn_1): Use emit_move_insn to move the partssayle2003-06-032-16/+15
| | | | | | | of a complex number rather than invoke mov_optab directly. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@67389 138bc75d-0d04-0410-961f-82ee72b054a4
* * combine.c (simplify_set): Don't move a subreg in SET_SRC tokazu2003-06-032-10/+13
| | | | | | | SET_DEST if WORD_REGISTER_OPERATIONS is not defined. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@67388 138bc75d-0d04-0410-961f-82ee72b054a4
* * gcc.dg/torture/builtin-noret-1.c (_exit, _Exit): Make weak.amylaar2003-06-032-0/+17
| | | | | | | * gcc.dg/torture/builtin-noret-2.c (_exit, _Exit): Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@67387 138bc75d-0d04-0410-961f-82ee72b054a4
* * config/i386/x86-64.h: Remove two target-independent comments;neroden2003-06-032-14/+10
| | | | | | | replace "GNU CC" with "GCC". git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@67381 138bc75d-0d04-0410-961f-82ee72b054a4
* Commit patch that was approved last october. Oops.green2003-06-032-1/+5
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@67375 138bc75d-0d04-0410-961f-82ee72b054a4
* 2003-06-03 Aldy Hernandez <aldyh@redhat.com>aldyh2003-06-032-11/+4
| | | | | | | * testsuite/gcc.c-torture/compile/simd-5.x: Remove xfail for PPC64. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@67374 138bc75d-0d04-0410-961f-82ee72b054a4
* PR c++/10940lerdsuwa2003-06-034-10/+50
| | | | | | | | | | * pt.c (check_explicit_specialization): Check for 'static' earlier. * g++.dg/template/spec10.C: New test. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@67373 138bc75d-0d04-0410-961f-82ee72b054a4
* * builtins.def (BUILT_IN_CABS, BUILT_IN_CABSF, BUILT_IN_CABSL):sayle2003-06-036-4/+134
| | | | | | | | | | | | | | | 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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@67368 138bc75d-0d04-0410-961f-82ee72b054a4
* 2003-06-03 Aldy Hernandez <aldyh@redhat.com>aldyh2003-06-038-8/+259
| | | | | | | | | | | | | | | | | | | | | | | | | | | * 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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@67367 138bc75d-0d04-0410-961f-82ee72b054a4
* * configure.in (HAVE_LD_PIE): Check for ld -pie.jakub2003-06-0341-90/+251
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@67359 138bc75d-0d04-0410-961f-82ee72b054a4
* * builtins.c (expand_builtin_memcpy): Remove endp argument and endpjakub2003-06-0310-92/+412
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | != 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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@67358 138bc75d-0d04-0410-961f-82ee72b054a4
* * doc/md.texi (Processor pipeline description): Improve wording.bje2003-06-032-17/+21
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@67355 138bc75d-0d04-0410-961f-82ee72b054a4
* * c-opts.c (c_common_handle_option): New, pulled out ofneil2003-06-032-16/+35
| | | | | | | | c_common_decode_option. Substitute uses of argv. (c_common_decode_option): Broken into two. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@67354 138bc75d-0d04-0410-961f-82ee72b054a4
* Daily bump.gccadmin2003-06-031-1/+1
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@67351 138bc75d-0d04-0410-961f-82ee72b054a4
* 2003-06-03 David Billinghurst (David.Billinghurst@riotinto.com)billingd2003-06-032-2/+7
| | | | | | | | PR fortran/10965 * g77.f-torture/compile/20000601-2.f: Fix non-standard code. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@67349 138bc75d-0d04-0410-961f-82ee72b054a4
* * lib/scanasm.exp (dg-scan): New function, factored out of ...mmitchel2003-06-0234-245/+162
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | (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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@67347 138bc75d-0d04-0410-961f-82ee72b054a4
OpenPOWER on IntegriCloud