OSDN Git Service

pf3gnuchains/gcc-fork.git
19 years ago * g++.dg/abi/vague1.C: Use xfail, rather than embedded Tcl code.
mmitchel [Wed, 4 Jun 2003 15:35:58 +0000 (15:35 +0000)]
* g++.dg/abi/vague1.C: Use xfail, rather than embedded Tcl code.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@67444 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago * lib/dg-pch.exp: New file.
mmitchel [Wed, 4 Jun 2003 15:32:08 +0000 (15:32 +0000)]
* lib/dg-pch.exp: New file.
* g++.dg/pch/pch.exp: Use dg-pch.exp.
* gcc.dg/pch/pch.exp: Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@67443 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago * config/i386/linux.h (NO_PROFILE_COUNTERS): Define to 1.
jakub [Wed, 4 Jun 2003 15:23:42 +0000 (15:23 +0000)]
* config/i386/linux.h (NO_PROFILE_COUNTERS): Define to 1.
* config/i386/freebsd.h (NO_PROFILE_COUNTERS): Likewise.
* config/i386/netbsd-elf.h (NO_PROFILE_COUNTERS): Likewise.
* config/xtensa/xtensa.h (NO_PROFILE_COUTNERS): Likewise.
* config/darwin.h (NO_PROFILE_COUNTERS): Likewise.
* final.c (NO_PROFILE_COUNTERS): Define to 0 if not defined.
(profile_function): Allow NO_PROFILE_COUNTERS to be non-constant.
* config/rs6000/rs6000.c (output_profile_hook): Likewise.

* configure.in (powerpc*-*, s390*-*): Set tls_as_opt.
Pass it to $gcc_cv_as.
* configure: Rebuilt.

* config/rs6000/rs6000.c (rs6000_abi_name): Remove initializer.
(print_operand): Allow TARGET_AIX to be non-constant.
(rs6000_aix_emit_builtin_unwind_init, rs6000_emit_eh_toc_restore):
Define unconditionally.
(rs6000_elf_declare_function_name): New function.
* config/rs6000/rs6000.md (eh_return): Allow TARGET_AIX to be
non-constant.
* config/rs6000/linux64.h [!RS6000_BI_ARCH] (TARGET_64BIT): Define
to 1.
(DEFAULT_ARCH64_P, RS6000_BI_ARCH_P): Define.
[IN_LIBGCC2] (TARGET_64BIT): Define based on whether __powerpc64__
is defined.
(TARGET_AIX): Define to 1 if TARGET_64BIT.
(PROCESSOR_DEFAULT): Remove.
(TARGET_RELOCATABLE, RS6000_ABI_NAME, INVALID_64BIT,
INVALID_32BIT, SUBSUBTARGET_OVERRIDE_OPTIONS): Define.
[RS6000_BI_ARCH] (OVERRIDE_OPTIONS, ASM_FILE_START): Define.
(ASM_DEFAULT_SPEC, ASM_SPEC, LINK_OS_LINUX_SPEC): Define for both
-m32 and -m64.
(MULTILIB_DEFAULTS): Define.
(SUBSUBTARGET_EXTRA_SPECS): Define.
(ASM_SPEC32, ASM_SPEC64, ASM_SPEC_COMMON): Define.
(TARGET_TOC): Define only if !RS6000_BI_ARCH.
(TARGET_NO_TOC): Remove.
[!RS6000_BI_ARCH] (TARGET_RELOCATABLE, TARGET_EABI,
TARGET_PROTOTYPE): Define to 0.
(NO_PROFILE_COUNTERS): Define to TARGET_64BIT.
(PROFILE_HOOK): Only call output_profile_hook if TARGET_64BIT.
(ADJUST_FIELD_ALIGN, ROUND_TYPE_ALIGN): Adjust to work properly
if !TARGET_64BIT.
(USER_LABEL_PREFIX): Remove.
(JUMP_TABLES_IN_TEXT_SECTION): Define to TARGET_64BIT.
(SETUP_FRAME_ADDRESSES): Only call rs6000_aix_emit_builtin_unwind_init
if TARGET_64BIT.
(TARGET_OS_CPP_BUILTINS): Handle both -m32 and -m64.
(LINK_OS_LINUX_SPEC32, LINK_OS_LINUX_SPEC64): Define.
(STARTFILE_LINUX_SPEC, ENDFILE_LINUX_SPEC): Remove.
(TOC_SECTION_ASM_OP): Define depending on TARGET_64BIT.
(MINIMAL_TOC_SECTION_ASM_OP): Likewise.
(SIZE_TYPE, PTRDIFF_TYPE, WCHAR_TYPE): Define depending on
TARGET_64BIT.
(RS6000_CALL_GLUE): Likewise.
(SAVE_FP_PREFIX, SAVE_FP_SUFFIX, RESTORE_FP_PREFIX,
RESTORE_FP_SUFFIX): Likewise.
(ASM_DECLARE_FUNCTION_NAME): Remove.
(ASM_DECLARE_FUNCTION_SIZE, ASM_OUTPUT_SOURCE_LINE,
DBX_OUTPUT_BRAC, DBX_OUTPUT_NFUN): Only output dot before function
name if TARGET_64BIT.
(ASM_OUTPUT_SPECIAL_POOL_ENTRY_P): Handle both TARGET_64BIT and
!TARGET_64BIT.
(ASM_OUTPUT_REG_PUSH, ASM_OUTPUT_REG_POP): Remove undefs.
(ASM_PREFERRED_EH_DATA_FORMAT): Take TARGET_64BIT into account.
(DRAFT_V4_STRUCT_RET): Define.
(SIGNAL_FRAMESIZE): New enum value.
(MD_FALLBACK_FRAME_STATE_FOR): Define.
* config/rs6000/default64.h: New file.
* config/rs6000/sysv4.h (SUBTARGET_SWITCHES): Add -m32 and -m64
options.
(SUBTARGET_OVERRIDE_OPTIONS): If rs6000_abi_name is NULL, set it
to RS6000_ABI_NAME.  Only disallow mixing of -fPIC with -mcall-aixdesc
if !TARGET_64BIT.
[!RS6000_BI_ARCH] (SUBSUBTARGET_OVERRIDE_OPTIONS): Define.
(ASM_DECLARE_FUNCTION_NAME): Use rs6000_elf_declare_function_name
function.
(TARGET_OS_SYSV_CPP_BUILTINS): Define.
(TARGET_OS_CPP_BUILTINS): Use it.
(CPP_SYSV_SPEC): Remove.
(CPP_SPEC): Remove cpp_sysv.
(SUBTARGET_EXTRA_SPECS): Remove cpp_sysv.
Add SUBSUBTARGET_EXTRA_SPECS.
(SUBSUBTARGET_EXTRA_SPECS): Define.
* config/rs6000/biarch64.h: New file.
* config/rs6000/rs6000-protos.h (rs6000_elf_declare_function_name):
New prototype.
* config/rs6000/x-linux64: New file.
* config/rs6000/t-linux64: Build -m64, -m32 and -m32 -msoft-float
multilibs.
* config/rs6000/eabi-ci.asm: Protect with #ifndef __powerpc64__.
* config/rs6000/eabi-cn.asm: Likewise.
* config/rs6000/tramp.asm: Likewise.
* config/rs6000/sol-ci.asm: Likewise.
* config/rs6000/sol-cn.asm: Likewise.
* config/rs6000/linux.h (TARGET_64BIT): Define to 0.
(TARGET_OS_CPP_BUILTINS): Use TARGET_OS_SYSV_CPP_BUILTINS.
* config/rs6000/ppc-asm.h: Move __powerpc64__ section before
_CALL_AIXDESC section.
* config.gcc (powerpc64-*-linux*): Configure a bi-arch compiler,
defaulting to -m64 unless --with-cpu= is one of the 32-bit CPUs
or default32.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@67442 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago * config.gcc: Revert accidentally committed ARM changes.
drow [Wed, 4 Jun 2003 14:53:59 +0000 (14:53 +0000)]
* config.gcc: Revert accidentally committed ARM changes.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@67440 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago * builtins.c (dconstpi, dconste): New mathematical constants.
sayle [Wed, 4 Jun 2003 12:20:40 +0000 (12:20 +0000)]
* builtins.c (dconstpi, dconste): New mathematical constants.
(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

19 years ago * calls.c (expand_call): Avoid calling pure or const functions
sayle [Wed, 4 Jun 2003 12:07:52 +0000 (12:07 +0000)]
* calls.c (expand_call): Avoid calling pure or const functions
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

19 years ago * system.h: Do not poison TDESC_SECTION_ASM_OP,
aj [Wed, 4 Jun 2003 11:35:10 +0000 (11:35 +0000)]
* system.h: Do not poison TDESC_SECTION_ASM_OP,
RDATA_SECTION_ASM_OP and SUBTARGET_PROLOGUE.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@67435 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago * final.c (asm_fprintf): Update comments, accept "-+ #0" flags,
ghazi [Wed, 4 Jun 2003 08:34:22 +0000 (08:34 +0000)]
* final.c (asm_fprintf): Update comments, accept "-+ #0" flags,
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

19 years ago * Makefile.in (cse.o): Add params.h dependency.
rakdver [Wed, 4 Jun 2003 07:51:41 +0000 (07:51 +0000)]
* Makefile.in (cse.o): Add params.h dependency.
* 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

19 years ago * i386.c (ix86_reorg): Replace the jump instead of adding nop.
hubicka [Wed, 4 Jun 2003 07:50:27 +0000 (07:50 +0000)]
* i386.c (ix86_reorg): Replace the jump instead of adding nop.
* 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

19 years ago PR optimization/11018
ebotcazou [Wed, 4 Jun 2003 07:13:03 +0000 (07:13 +0000)]
PR optimization/11018
* 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

19 years ago PR optimization/10876
ebotcazou [Wed, 4 Jun 2003 06:52:17 +0000 (06:52 +0000)]
PR optimization/10876
* 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

19 years ago * unwind-dw2-fde-glibc.c (_Unwind_IteratePhdrCallback):Remove usage of
aj [Wed, 4 Jun 2003 05:41:31 +0000 (05:41 +0000)]
* unwind-dw2-fde-glibc.c (_Unwind_IteratePhdrCallback):Remove usage of
CRT_GET_RFIB_TEXT.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@67425 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago2003-06-03 Chris Demetriou <cgd@broadcom.com>
cgd [Wed, 4 Jun 2003 05:35:15 +0000 (05:35 +0000)]
2003-06-03  Chris Demetriou  <cgd@broadcom.com>

        * 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

19 years ago * config/i386/uwin.h: Remove SUBTARGET_PROLOGUE.
aj [Wed, 4 Jun 2003 05:21:41 +0000 (05:21 +0000)]
* config/i386/uwin.h: Remove SUBTARGET_PROLOGUE.

* 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

19 years ago * collect2.c (is_ctor_dtor): Remove CFRONT_LOSSAGE dependend code.
aj [Wed, 4 Jun 2003 04:56:26 +0000 (04:56 +0000)]
* collect2.c (is_ctor_dtor): Remove CFRONT_LOSSAGE dependend code.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@67422 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago * fix-header.c: Remove ADD_MISSING_EXTERN_C dependend variables.
aj [Wed, 4 Jun 2003 04:50:47 +0000 (04:50 +0000)]
* fix-header.c: Remove ADD_MISSING_EXTERN_C dependend variables.
(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

19 years ago * g77spec.c (lang_specific_driver): Remove ALT_LIBM usage.
aj [Wed, 4 Jun 2003 04:48:16 +0000 (04:48 +0000)]
* g77spec.c (lang_specific_driver): Remove ALT_LIBM usage.

* 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

19 years ago * optabs.c (expand_binop): Optimize complex multiplication for
sayle [Wed, 4 Jun 2003 04:42:14 +0000 (04:42 +0000)]
* optabs.c (expand_binop): Optimize complex multiplication for
the case of squaring a complex argument.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@67418 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago * optabs.c (expand_binop): Attempt to reuse pseudos for duplicate
sayle [Wed, 4 Jun 2003 04:40:26 +0000 (04:40 +0000)]
* optabs.c (expand_binop): Attempt to reuse pseudos for duplicate
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

19 years ago * varasm.c (force_const_mem): Handle alignment of constants not
sayle [Wed, 4 Jun 2003 04:36:53 +0000 (04:36 +0000)]
* varasm.c (force_const_mem): Handle alignment of constants not
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

19 years agoforgot to commit.
aldyh [Wed, 4 Jun 2003 01:12:00 +0000 (01:12 +0000)]
forgot to commit.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@67415 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago2003-06-03 Jason Merrill <jason@redhat.com>
aldyh [Wed, 4 Jun 2003 01:06:09 +0000 (01:06 +0000)]
2003-06-03  Jason Merrill  <jason@redhat.com>

* 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

19 years agoDaily bump.
gccadmin [Wed, 4 Jun 2003 00:16:08 +0000 (00:16 +0000)]
Daily bump.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@67412 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago * flow.c (initialize_uninitialized_subregs): Use
kazu [Tue, 3 Jun 2003 23:17:27 +0000 (23:17 +0000)]
* flow.c (initialize_uninitialized_subregs): Use
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

19 years ago * gcc.dg/20020525-1.c: Replace 0x5a5a5a5a with -1.
kazu [Tue, 3 Jun 2003 23:08:22 +0000 (23:08 +0000)]
  * gcc.dg/20020525-1.c: Replace 0x5a5a5a5a with -1.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@67407 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago PR ada/9953:
hainque [Tue, 3 Jun 2003 22:30:11 +0000 (22:30 +0000)]
    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@67406 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago2003-06-04 Olivier Hainque <hainque@act-europe.fr>
hainque [Tue, 3 Jun 2003 22:25:02 +0000 (22:25 +0000)]
2003-06-04  Olivier Hainque  <hainque@act-europe.fr>

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

19 years ago * optabs.c (expand_abs_nojump): Split out from ...
rth [Tue, 3 Jun 2003 21:29:48 +0000 (21:29 +0000)]
    * optabs.c (expand_abs_nojump): Split out from ...
        (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

19 years ago * dwarf2out.c (DEBUG_STR_SECTION_FLAGS): Heed flag_merge_constants.
amodra [Tue, 3 Jun 2003 20:45:01 +0000 (20:45 +0000)]
* dwarf2out.c (DEBUG_STR_SECTION_FLAGS): Heed flag_merge_constants.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@67403 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago * Makefile.tpl: Make 'recursive targets' using autogen rather
neroden [Tue, 3 Jun 2003 20:42:13 +0000 (20:42 +0000)]
* Makefile.tpl: Make 'recursive targets' using autogen rather
than shell loop.  Remove duplicate 'clean' targets and false
comments.
* Makefile.def: Add systematic dependencies to 'recursive' targets.
Add systematic method of specifying missing targets in subdirs.
Add copyright boilerplate.
* Makefile.in: Regenerate.
* configure.in: Add 'recursive targets' to maybe list.
* configure: Regenerate.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@67402 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago* config.gcc (default_use_cxa_atexit): New variable, defaults to no.
thorpej [Tue, 3 Jun 2003 20:39:52 +0000 (20:39 +0000)]
* config.gcc (default_use_cxa_atexit): New variable, defaults to no.
(*-*-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

19 years ago * Makefile.in (TEXI_GCC_FILES): Remove vms.texi entry.
rupp [Tue, 3 Jun 2003 20:28:14 +0000 (20:28 +0000)]
* Makefile.in (TEXI_GCC_FILES): Remove vms.texi entry.
* 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

19 years ago*** empty log message ***
rupp [Tue, 3 Jun 2003 20:22:20 +0000 (20:22 +0000)]
*** empty log message ***

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@67399 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago * g++.dg/abi/empty6.C (B): Request alignment of 8 bytes.
amylaar [Tue, 3 Jun 2003 19:10:09 +0000 (19:10 +0000)]
* g++.dg/abi/empty6.C (B): Request alignment of 8 bytes.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@67398 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago * gcc.dg/torture/builtin-noret-1.c (_exit, _Exit): Make weak.
amylaar [Tue, 3 Jun 2003 19:04:23 +0000 (19:04 +0000)]
* gcc.dg/torture/builtin-noret-1.c (_exit, _Exit): Make weak.
* 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

19 years ago * configure.in (inhibit_libc): Don't define when configuring
amylaar [Tue, 3 Jun 2003 19:01:22 +0000 (19:01 +0000)]
* configure.in (inhibit_libc): Don't define when configuring
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

19 years agoasprintf.c: Change comment to note that -1 is returned upon error.
nickc [Tue, 3 Jun 2003 18:19:17 +0000 (18:19 +0000)]
asprintf.c: Change comment to note that -1 is returned upon error.
vasprintf.c: Likewise. (vasprintf): Return -1 upon error.
functions.texi: Document changes to asprintf and vasprintf.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@67395 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago2003-06-03 Benjamin Kosnik <bkoz@redhat.com>
paolo [Tue, 3 Jun 2003 18:06:09 +0000 (18:06 +0000)]
2003-06-03  Benjamin Kosnik  <bkoz@redhat.com>

* include/bits/fstream.tcc (pbackfail): Make a rarely taken
'if' branch less obscure.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@67394 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago * configure.in (gcc_cv_as_hidden): Disable .hidden completely on
ro [Tue, 3 Jun 2003 17:18:00 +0000 (17:18 +0000)]
* configure.in (gcc_cv_as_hidden): Disable .hidden completely on
IRIX 6 without GNU ld.
* configure: Regenerate.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@67390 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago * expr.c (emit_move_insn_1): Use emit_move_insn to move the parts
sayle [Tue, 3 Jun 2003 17:13:06 +0000 (17:13 +0000)]
* expr.c (emit_move_insn_1): Use emit_move_insn to move the parts
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

19 years ago * combine.c (simplify_set): Don't move a subreg in SET_SRC to
kazu [Tue, 3 Jun 2003 17:10:48 +0000 (17:10 +0000)]
* combine.c (simplify_set): Don't move a subreg in SET_SRC to
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

19 years ago * gcc.dg/torture/builtin-noret-1.c (_exit, _Exit): Make weak.
amylaar [Tue, 3 Jun 2003 17:00:23 +0000 (17:00 +0000)]
* gcc.dg/torture/builtin-noret-1.c (_exit, _Exit): Make weak.
* 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

19 years ago * MAINTAINERS: "GNATS only" -> "Bug database only".
neroden [Tue, 3 Jun 2003 16:48:03 +0000 (16:48 +0000)]
* MAINTAINERS: "GNATS only" -> "Bug database only".

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@67382 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago * config/i386/x86-64.h: Remove two target-independent comments;
neroden [Tue, 3 Jun 2003 16:40:42 +0000 (16:40 +0000)]
* config/i386/x86-64.h: Remove two target-independent comments;
 replace "GNU CC" with "GCC".

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@67381 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago * Makefile.tpl: Rename [+target+] to [+make_target+].
neroden [Tue, 3 Jun 2003 16:35:42 +0000 (16:35 +0000)]
* Makefile.tpl: Rename [+target+] to [+make_target+].
* Makefile.def: Rename 'target' to 'make_target'.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@67380 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago2003-06-03 Andrew Haley <aph@redhat.com>
aph [Tue, 3 Jun 2003 16:13:22 +0000 (16:13 +0000)]
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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@67379 138bc75d-0d04-0410-961f-82ee72b054a4

19 years agoCommit patch that was approved last october. Oops.
green [Tue, 3 Jun 2003 15:19:16 +0000 (15:19 +0000)]
Commit patch that was approved last october. Oops.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@67375 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago2003-06-03 Aldy Hernandez <aldyh@redhat.com>
aldyh [Tue, 3 Jun 2003 13:46:28 +0000 (13:46 +0000)]
2003-06-03  Aldy Hernandez  <aldyh@redhat.com>

        * 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

19 years ago PR c++/10940
lerdsuwa [Tue, 3 Jun 2003 13:01:44 +0000 (13:01 +0000)]
PR c++/10940
* 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

19 years ago * builtins.def (BUILT_IN_CABS, BUILT_IN_CABSF, BUILT_IN_CABSL):
sayle [Tue, 3 Jun 2003 11:27:23 +0000 (11:27 +0000)]
* 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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@67368 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago2003-06-03 Aldy Hernandez <aldyh@redhat.com>
aldyh [Tue, 3 Jun 2003 11:14:07 +0000 (11:14 +0000)]
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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@67367 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago * configure.in (HAVE_LD_PIE): Check for ld -pie.
jakub [Tue, 3 Jun 2003 09:06:55 +0000 (09:06 +0000)]
* 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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@67359 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago * builtins.c (expand_builtin_memcpy): Remove endp argument and endp
jakub [Tue, 3 Jun 2003 08:57:55 +0000 (08:57 +0000)]
* 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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@67358 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago * doc/md.texi (Processor pipeline description): Improve wording.
bje [Tue, 3 Jun 2003 06:56:42 +0000 (06:56 +0000)]
* doc/md.texi (Processor pipeline description): Improve wording.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@67355 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago * c-opts.c (c_common_handle_option): New, pulled out of
neil [Tue, 3 Jun 2003 05:42:25 +0000 (05:42 +0000)]
* 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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@67354 138bc75d-0d04-0410-961f-82ee72b054a4

19 years agoDaily bump.
gccadmin [Tue, 3 Jun 2003 00:16:07 +0000 (00:16 +0000)]
Daily bump.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@67351 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago2003-06-03 David Billinghurst (David.Billinghurst@riotinto.com)
billingd [Tue, 3 Jun 2003 00:10:35 +0000 (00:10 +0000)]
2003-06-03  David Billinghurst (David.Billinghurst@riotinto.com)

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

19 years ago * lib/scanasm.exp (dg-scan): New function, factored out of ...
mmitchel [Mon, 2 Jun 2003 19:21:15 +0000 (19:21 +0000)]
* 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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@67347 138bc75d-0d04-0410-961f-82ee72b054a4

19 years agoRevert accidental change to mips_output_move.
rsandifo [Mon, 2 Jun 2003 19:13:41 +0000 (19:13 +0000)]
Revert accidental change to mips_output_move.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@67346 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago2003-06-02 Andrew Pinski <pinskia@physics.uc.edu>
bkoz [Mon, 2 Jun 2003 18:38:32 +0000 (18:38 +0000)]
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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@67343 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago2003-06-02 Paolo Carlini <pcarlini@unitus.it>
paolo [Mon, 2 Jun 2003 18:24:30 +0000 (18:24 +0000)]
2003-06-02  Paolo Carlini  <pcarlini@unitus.it>

* include/bits/sstream.tcc (pbackfail): Minor clean up and
reformatting, consistent with basic_filebuf::pbackfail.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@67342 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago2003-06-02 Richard Kreckel <Richard.Kreckel@GiNaC.DE>
pme [Mon, 2 Jun 2003 18:03:23 +0000 (18:03 +0000)]
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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@67340 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago2003-06-02 Paolo Carlini <pcarlini@unitus.it>
paolo [Mon, 2 Jun 2003 16:46:28 +0000 (16:46 +0000)]
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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@67337 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago2003-06-02 Paolo Carlini <pcarlini@unitus.it>
paolo [Mon, 2 Jun 2003 15:53:14 +0000 (15:53 +0000)]
2003-06-02  Paolo Carlini  <pcarlini@unitus.it>

* testsuite/27_io/basic_stringbuf/seekpos/char/3.cc: Tweak
line spacing.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@67336 138bc75d-0d04-0410-961f-82ee72b054a4

19 years agoremove addition to ARM configure accidentally added with m32r commit
nickc [Mon, 2 Jun 2003 15:40:43 +0000 (15:40 +0000)]
remove addition to ARM configure accidentally added with m32r commit

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@67335 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago2003-06-02 Paolo Carlini <pcarlini@unitus.it>
paolo [Mon, 2 Jun 2003 15:36:24 +0000 (15:36 +0000)]
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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@67334 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago * gcc.dg/cpp/truefalse.cpp: Move it to ...
mmitchel [Mon, 2 Jun 2003 15:25:50 +0000 (15:25 +0000)]
* gcc.dg/cpp/truefalse.cpp: Move it to ...
* g++.dg/cpp/truefalse.C: Here.
* gcc.dg/cpp/cpp.exp: Remove scanning of ".cpp" files.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@67333 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago * emit-rtl.c (gen_complex_constant_part): Remove unnecessary
sayle [Mon, 2 Jun 2003 14:19:24 +0000 (14:19 +0000)]
* emit-rtl.c (gen_complex_constant_part):  Remove unnecessary
test of TREE_CONSTANT_POOL_ADDRESS_P.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@67331 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago * mips.c: Don't include output.h twice.
ghazi [Mon, 2 Jun 2003 14:15:15 +0000 (14:15 +0000)]
* mips.c: Don't include output.h twice.
* stormy16.c: Likewise.
* xtensa.c: Likewise.
* output.h: Protect against multiple inclusion.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@67330 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago * sh.h (OLD_ARG_MODE): New macro.
amylaar [Mon, 2 Jun 2003 14:04:56 +0000 (14:04 +0000)]
* 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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@67329 138bc75d-0d04-0410-961f-82ee72b054a4

19 years agoAdd support multilib parts for m32rx processor.
nickc [Mon, 2 Jun 2003 12:11:49 +0000 (12:11 +0000)]
Add support multilib parts for m32rx processor.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@67328 138bc75d-0d04-0410-961f-82ee72b054a4

19 years agoAdd support multilib parts for m32rx processor.
nickc [Mon, 2 Jun 2003 11:48:21 +0000 (11:48 +0000)]
Add support multilib parts for m32rx processor.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@67327 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago * Makefile.in (c-options.c): Pass in $(AWK) to opts.sh.
ghazi [Mon, 2 Jun 2003 11:41:51 +0000 (11:41 +0000)]
* Makefile.in (c-options.c): Pass in $(AWK) to opts.sh.
(mostlyclean): Delete c-options.c and c-options.h.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@67326 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago * c-opts.c (CL_REJECT_NEGATIVE): New.
neil [Mon, 2 Jun 2003 05:48:30 +0000 (05:48 +0000)]
* 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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@67325 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago* Shorten a line in my 2003-06-02 entry that was too long.
bje [Mon, 2 Jun 2003 05:15:17 +0000 (05:15 +0000)]
* Shorten a line in my 2003-06-02 entry that was too long.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@67324 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago * ggc-page.c (init_ggc): Give better diagnostics on failure to
zack [Mon, 2 Jun 2003 05:05:49 +0000 (05:05 +0000)]
* 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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@67323 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago2003-06-02 Ben Elliston <bje@wasabisystems.com>
bje [Mon, 2 Jun 2003 03:53:54 +0000 (03:53 +0000)]
2003-06-02  Ben Elliston  <bje@wasabisystems.com>

* config/arm/arm.c (arm_use_dfa_pipeline_interface): Declare.
(TARGET_SCHED_USE_DFA_PIPELINE_INTERFACE): Define if not already defined.
(arm_use_dfa_pipeline_interface): Implement.
* config/arm/arm.md (arm): New automaton.
(write_buf): Remove function units; new cpu unit.
(write_blockage): Remove function units; new cpu unit.
(core): Remove function units; new cpu unit.
(r_mem_f_wbuf): New instruction reservation.
(store1_wbuf, store2_wbuf, store3_wbuf, store4_wbuf): Likewise.
(store1_ldsched, store2, store3, store4): Likewise.
(load_ldsched, load_ldsched_xscale, load_or_store): Likewise.
(mult, mult_ldsched, mult_ldsched_strongarm): Likewise.
(multi_cycle, single_cycle): Likewise.
* config/arm/fpa.md (armfp): New automaton.
(fpa): Remove function units; new cpu unit.
(fpa_mem): Remove function unit; new cpu unit.
(fdivx, fdivd, fdivs, fmul, ffmul, farith, ffarith): New reservations.
(r_2_f, f_2_r, f_load, f_store, r_mem_f, f_mem_r): Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@67322 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago * builtin-attrs.def (ATTR_ASM_FPRINTF): New.
ghazi [Mon, 2 Jun 2003 01:41:05 +0000 (01:41 +0000)]
* builtin-attrs.def (ATTR_ASM_FPRINTF): New.
* c-format.c (enum format_type): Add asm_fprintf_format_type.
(NOARGUMENTS, asm_fprintf_length_specs, asm_fprintf_flag_specs,
asm_fprintf_flag_pairs, asm_fprintf_char_table): New.
(format_types_orig): Renamed from format_types.  Add new data.
(format_types): Declare as pointer.
(handle_format_attribute): Move later in file so we have all
necessary declarations.  Add section to capture HOST_WIDE_INT.
* output.h (ATTRIBUTE_ASM_FPRINTF, __gcc_host_wide_int__): New.
(asm_fprintf): Mark with ATTRIBUTE_ASM_FPRINTF.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@67319 138bc75d-0d04-0410-961f-82ee72b054a4

19 years agoDaily bump.
gccadmin [Mon, 2 Jun 2003 00:16:07 +0000 (00:16 +0000)]
Daily bump.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@67317 138bc75d-0d04-0410-961f-82ee72b054a4

19 years agoForgot with last commit.
aj [Sun, 1 Jun 2003 20:11:27 +0000 (20:11 +0000)]
Forgot with last commit.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@67314 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago * doc/tm.texi (Storage Layout): Remove ROUND_TYPE_SIZE and
aj [Sun, 1 Jun 2003 19:44:22 +0000 (19:44 +0000)]
* doc/tm.texi (Storage Layout): Remove ROUND_TYPE_SIZE and
ROUND_TYPE_SIZE_UNIT.

* stor-layout.c (finalize_record_size): Remove usages of
ROUND_TYPE_SIZE and ROUND_TYPE_SIZE_UNIT.
(finalize_type_size): Likewise.
(layout_type): Likewise.

* system.h: Poison ROUND_TYPE_SIZE and ROUND_TYPE_SIZE_UNIT.

ada:
* utils.c (finish_record_type): Remove usages of
ROUND_TYPE_SIZE and ROUND_TYPE_SIZE_UNIT.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@67313 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago * loop.c (check_insn_for_givs): Remove DONT_REDUCE_ADDR macro.
aj [Sun, 1 Jun 2003 19:38:28 +0000 (19:38 +0000)]
* loop.c (check_insn_for_givs): Remove DONT_REDUCE_ADDR macro.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@67312 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago * config/d30v/d30v.h: Remove text copied from the manual.
aj [Sun, 1 Jun 2003 19:32:15 +0000 (19:32 +0000)]
* config/d30v/d30v.h: Remove text copied from the manual.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@67311 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago * emit-rtl.c (gen_lowpart_common): Handle interpreting integer
sayle [Sun, 1 Jun 2003 18:59:17 +0000 (18:59 +0000)]
* emit-rtl.c (gen_lowpart_common): Handle interpreting integer
constants as condition code values.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@67309 138bc75d-0d04-0410-961f-82ee72b054a4

19 years agoOops, wrong date
dj [Sun, 1 Jun 2003 18:55:52 +0000 (18:55 +0000)]
Oops, wrong date

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@67308 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago* cppmacro.c (warn_of_redefinition): Handle cases where the two
dj [Sun, 1 Jun 2003 18:55:15 +0000 (18:55 +0000)]
* cppmacro.c (warn_of_redefinition): Handle cases where the two
definitions have different numbers of tokens.

* gcc.dg/cpp/redef3.c: New file.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@67307 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago2003-06-01 Andreas Jaeger <aj@suse.de>
aj [Sun, 1 Jun 2003 18:48:38 +0000 (18:48 +0000)]
2003-06-01  Andreas Jaeger  <aj@suse.de>

* gen-protos.c (main): Readd unused attribute for argc.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@67306 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago * Makefile.in (c-options.c, c-options.h): Parallel make safe.
neil [Sun, 1 Jun 2003 18:24:08 +0000 (18:24 +0000)]
* Makefile.in (c-options.c, c-options.h): Parallel make safe.
* c.opt: End in blank line.
* opts.sh: Take AWK from environment if available; use C locale.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@67305 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago * config/m68k/linux.h: Remove code protected by USE_GNULIBC_1.
schwab [Sun, 1 Jun 2003 17:43:20 +0000 (17:43 +0000)]
* config/m68k/linux.h: Remove code protected by USE_GNULIBC_1.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@67304 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago * gen-protos.c (main): Revert patch to check for argument.
aj [Sun, 1 Jun 2003 16:48:05 +0000 (16:48 +0000)]
* gen-protos.c (main): Revert patch to check for argument.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@67303 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago PR target/11044
ebotcazou [Sun, 1 Jun 2003 16:10:09 +0000 (16:10 +0000)]
PR target/11044
* config/i386/i386.md (length attribute): Set length to 4
for instructions of type "fcmp".

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@67300 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago * toplev.c: Use ISO C90 prototypes.
aj [Sun, 1 Jun 2003 16:04:55 +0000 (16:04 +0000)]
    * toplev.c: Use ISO C90 prototypes.

        * toplev.h: Use ISO C90 prototypes.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@67299 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago * genattrtab.c (copy_rtx_unchanging): Remove #if 0'ed code.
aj [Sun, 1 Jun 2003 16:02:11 +0000 (16:02 +0000)]
    * genattrtab.c (copy_rtx_unchanging): Remove #if 0'ed code.
        Remove #if 0'ed function simplify_by_alternatives.
        (optimize_attrs): Remove #if 0'ed code.
        Remove ^L.
        Use ISO C90 prototypes.
        (make_canonical): Remove #if 0'ed code.
        (convert_const_symbol_ref): Remove #if 0'ed function.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@67298 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago * genrecog.c: Use ISO C90 prototypes.
aj [Sun, 1 Jun 2003 15:59:10 +0000 (15:59 +0000)]
* genrecog.c: Use ISO C90 prototypes.
(nodes_identical): Correct declaration to match prototype.
(maybe_both_true): Likewise.
(merge_trees): Likewise.

* genpeep.c (gen_peephole): Remove #if 0 code.
Use ISO C90 prototypes.

* genattrtab.c (copy_rtx_unchanging): Remove #if 0'ed code.
Remove #if 0'ed function simplify_by_alternatives.
(optimize_attrs): Remove #if 0'ed code.
Remove ^L.
Use ISO C90 prototypes.
(make_canonical): Remove #if 0'ed code.
(convert_const_symbol_ref): Remove #if 0'ed function.

* gen-protos.c (main): Check for argument.

* rtl.h: Use ISO C90 prototypes for functions from lists.c.

* params.h: Use ISO C90 prototypes.
* params.c: Likewise.
* intl.c: Likewise.
* intl.h: Likewise.
* lists.c: Likewise.
* errors.c: Likewise.
* errors.h: Likewise.
* gencodes.c: Likewise.
* genpreds.c: Likewise.
* genattr.c: Likewise.
* gen-protos.c: Likewise.
* genflags.c: Likewise
* genconditions.c: Likewise.
* genautomata.c: Likewise.
* gencheck.c: Likewise.
* genconfig.c: Likewise.
* genconstants.c: Likewise.
* genemit.c: Likewise.
* genextract.c: Likewise.
* gengenrtl.c: Likewise.
* gengtype.c: Likewise.
* gengtype.h: Likewise.
* genopinit.c: Likewise.
* genoutput.c: Likewise.
* gensupport.c: Likewise.
* gensupport.h: Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@67296 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago2003-06-01 Bud Davis <bdavis9659@comcast.net>
toon [Sun, 1 Jun 2003 15:45:05 +0000 (15:45 +0000)]
2003-06-01  Bud Davis  <bdavis9659@comcast.net>

* ste.c (ffeste_R838): Handle ERROR_MARK.
(ffeste_R839): Ditto.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@67295 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago * sdbout.h: Use ISO C90 prototypes.
aj [Sun, 1 Jun 2003 15:43:59 +0000 (15:43 +0000)]
* sdbout.h: Use ISO C90 prototypes.

* sdbout.c (CONTIN): Removed empty macro.
(sdbout_one_type): Remove CONTIN usages.
Remove ^Ls.
(tag_of_ru_type): Remove #if 0'ed function.
(sdbout_symbol): Remove #if 0'ed code.
(sdbout_one_type): Remove a #if 1.
(sdbout_one_type): Remove #if 0'ed code.
(sdbout_init): Remove RMS_QUICK_HACK_1 code.
Remove PARAMS, use ISO C90 prototypes for all functions.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@67294 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago * rtl.def (CONST_DOUBLE): Update comment.
zlomek [Sun, 1 Jun 2003 14:42:42 +0000 (14:42 +0000)]
* rtl.def (CONST_DOUBLE): Update comment.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@67293 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago * opts.sh: Remove path from sort.
neil [Sun, 1 Jun 2003 13:19:50 +0000 (13:19 +0000)]
* opts.sh: Remove path from sort.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@67291 138bc75d-0d04-0410-961f-82ee72b054a4

19 years agoadd PR#
aldyh [Sun, 1 Jun 2003 11:36:25 +0000 (11:36 +0000)]
add PR#

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@67290 138bc75d-0d04-0410-961f-82ee72b054a4