Commit Graph

50324 Commits

Author SHA1 Message Date
Mark Mitchell
ac871ee12a dg-pch.exp: New file.
* lib/dg-pch.exp: New file.
	* g++.dg/pch/pch.exp: Use dg-pch.exp.
	* gcc.dg/pch/pch.exp: Likewise.

From-SVN: r67443
2003-06-04 15:32:08 +00:00
Jakub Jelinek
9739c90c8d linux.h (NO_PROFILE_COUNTERS): Define to 1.
* 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.

Co-Authored-By: Alan Modra <amodra@bigpond.net.au>

From-SVN: r67442
2003-06-04 17:23:42 +02:00
Daniel Jacobowitz
150b72ed1f * config.gcc: Revert accidentally committed ARM changes.
From-SVN: r67440
2003-06-04 14:53:59 +00:00
Roger Sayle
385a9348eb builtins.c (dconstpi, dconste): New mathematical constants.
* 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.

From-SVN: r67438
2003-06-04 12:20:40 +00:00
Roger Sayle
8c6a82695b calls.c (expand_call): Avoid calling pure or const functions when the result is ignored (or void) and...
* 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.

From-SVN: r67436
2003-06-04 12:07:52 +00:00
Andreas Jaeger
e2d8bb2946 system.h: Do not poison TDESC_SECTION_ASM_OP, RDATA_SECTION_ASM_OP and SUBTARGET_PROLOGUE.
* system.h: Do not poison TDESC_SECTION_ASM_OP,
	RDATA_SECTION_ASM_OP and SUBTARGET_PROLOGUE.

From-SVN: r67435
2003-06-04 13:35:10 +02:00
Kaveh R. Ghazi
b17213394b final.c (asm_fprintf): Update comments...
* 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.

From-SVN: r67434
2003-06-04 08:34:22 +00:00
Zdenek Dvorak
9bf8cfbfcd Makefile.in (cse.o): Add params.h dependency.
* 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.

From-SVN: r67433
2003-06-04 07:51:41 +00:00
Jan Hubicka
253c7a0090 i386.c (ix86_reorg): Replace the jump instead of adding nop.
* i386.c (ix86_reorg): Replace the jump instead of adding nop.
	* i386.md (UNSPEC_REP): New constant.
	(return_internal_long): New pattern.

From-SVN: r67432
2003-06-04 07:50:27 +00:00
Eric Botcazou
01d3224a48 re PR rtl-optimization/11018 ([SPARC] -mcpu=ultrasparc busts tar-1.13.25)
PR optimization/11018
	* config/sparc/sparc.c (sparc_v8plus_shift): Use which_alternative
	consistently to decide whether the scratch register is really
	required.

From-SVN: r67429
2003-06-04 07:13:03 +00:00
Eric Botcazou
ef0139b122 re PR rtl-optimization/10876 (Segfault when compiling KDE 3.1.2)
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.

From-SVN: r67426
2003-06-04 06:52:17 +00:00
Andreas Jaeger
74764b8442 * unwind-dw2-fde-glibc.c (_Unwind_IteratePhdrCallback):Remove usage of
CRT_GET_RFIB_TEXT.

From-SVN: r67425
2003-06-04 07:41:31 +02:00
Chris Demetriou
18de8a9870 t-linux64 (CRTSTUFF_T_CFLAGS_S): Define.
2003-06-03  Chris Demetriou  <cgd@broadcom.com>

        * config/mips/t-linux64 (CRTSTUFF_T_CFLAGS_S): Define.

From-SVN: r67424
2003-06-03 22:35:15 -07:00
Andreas Jaeger
f691dc3b22 uwin.h: Remove SUBTARGET_PROLOGUE.
* 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.

From-SVN: r67423
2003-06-04 07:21:41 +02:00
Andreas Jaeger
6d3a8e3c78 * collect2.c (is_ctor_dtor): Remove CFRONT_LOSSAGE dependend code.
From-SVN: r67422
2003-06-04 06:56:26 +02:00
Andreas Jaeger
a816c98137 fix-header.c: Remove ADD_MISSING_EXTERN_C dependend variables.
* 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.

From-SVN: r67421
2003-06-04 06:50:47 +02:00
Andreas Jaeger
81c0e50a30 g77spec.c (lang_specific_driver): Remove ALT_LIBM usage.
* g77spec.c (lang_specific_driver): Remove ALT_LIBM usage.

	* g++spec.c (lang_specific_driver): Remove ALT_LIBM usage.

From-SVN: r67419
2003-06-04 06:48:16 +02:00
Roger Sayle
df8ca70ebb optabs.c (expand_binop): Optimize complex multiplication for the case of squaring a complex argument.
* optabs.c (expand_binop): Optimize complex multiplication for
	the case of squaring a complex argument.

From-SVN: r67418
2003-06-04 04:42:14 +00:00
Roger Sayle
894207cf0a optabs.c (expand_binop): Attempt to reuse pseudos for duplicate non-volatile operands of binary operations.
* optabs.c (expand_binop): Attempt to reuse pseudos for duplicate
	non-volatile operands of binary operations.
	(prepare_cmp_insn): Likewise.

From-SVN: r67417
2003-06-04 04:40:26 +00:00
Roger Sayle
1063147cc0 varasm.c (force_const_mem): Handle alignment of constants not representable as a type in the front-end language.
* varasm.c (force_const_mem): Handle alignment of constants not
	representable as a type in the front-end language.

From-SVN: r67416
2003-06-04 04:36:53 +00:00
Aldy Hernandez
120c6dca56 forgot to commit.
From-SVN: r67415
2003-06-04 01:12:00 +00:00
Jason Merrill
dbe85b8010 cp-tree.h (CP_AGGREGATE_TYPE_P): Accept vectors.
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.

From-SVN: r67414
2003-06-04 01:06:09 +00:00
GCC Administrator
280c3e883e Daily bump.
From-SVN: r67412
2003-06-04 00:16:08 +00:00
Kazu Hirata
a7a7d7ace8 flow.c (initialize_uninitialized_subregs): Use emit_move_insn instead of emitting a hardcoded move.
* flow.c (initialize_uninitialized_subregs): Use
	emit_move_insn instead of emitting a hardcoded move.

From-SVN: r67409
2003-06-03 23:17:27 +00:00
Glen Nakamura
61274a14e5 * gcc.dg/20020525-1.c: Replace 0x5a5a5a5a with -1.
From-SVN: r67407
2003-06-03 23:08:22 +00:00
Olivier Hainque
dee2df7288 re PR ada/9953 (Unsatisfied symbols: U_prep_frame_rec_for_unwind (code))
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.

From-SVN: r67406
2003-06-03 22:30:11 +00:00
Olivier Hainque
0df807b276 re PR ada/9953 (Unsatisfied symbols: U_prep_frame_rec_for_unwind (code))
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.

From-SVN: r67405
2003-06-03 22:25:02 +00:00
Richard Henderson
2ef0a55511 optabs.c (expand_abs_nojump): Split out from ...
* 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.

From-SVN: r67404
2003-06-03 14:29:48 -07:00
Alan Modra
b0c242c029 * dwarf2out.c (DEBUG_STR_SECTION_FLAGS): Heed flag_merge_constants.
From-SVN: r67403
2003-06-04 06:15:01 +09:30
Nathanael Nerode
1358ccea48 Makefile.tpl: Make 'recursive targets' using autogen rather than shell loop.
* 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.

From-SVN: r67402
2003-06-03 20:42:13 +00:00
Jason Thorpe
2121a768f7 config.gcc (default_use_cxa_atexit): New variable, defaults to no.
* 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.

From-SVN: r67401
2003-06-03 20:39:52 +00:00
Douglas Rupp
ccb36e104b Makefile.in (TEXI_GCC_FILES): Remove vms.texi entry.
* Makefile.in (TEXI_GCC_FILES): Remove vms.texi entry.
	* doc/gcc.texi: Remove vms.texi section.
	* doc/vms.texi: Remove obsolete file.

From-SVN: r67400
2003-06-03 20:28:14 +00:00
Douglas B Rupp
6f6a3861aa *** empty log message ***
From-SVN: r67399
2003-06-03 20:22:20 +00:00
J"orn Rennecke
aa6b9f6dcd * g++.dg/abi/empty6.C (B): Request alignment of 8 bytes.
From-SVN: r67398
2003-06-03 20:10:09 +01:00
Joern Rennecke
2365664203 builtin-noret-1.c (_exit, _Exit): Make weak.
* gcc.dg/torture/builtin-noret-1.c (_exit, _Exit): Make weak.
	* gcc.dg/torture/builtin-noret-2.c (_exit, _Exit): Likewise.

From-SVN: r67397
2003-06-03 20:04:23 +01:00
J"orn Rennecke
dc06db2019 configure.in (inhibit_libc): Don't define when configuring with --with-newlib --with-headers.
* 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.

From-SVN: r67396
2003-06-03 20:01:22 +01:00
Nick Clifton
8d398258b5 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.

From-SVN: r67395
2003-06-03 18:19:17 +00:00
Benjamin Kosnik
f24ce7c1c3 fstream.tcc (pbackfail): Make a rarely taken 'if' branch less obscure.
2003-06-03  Benjamin Kosnik  <bkoz@redhat.com>

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

From-SVN: r67394
2003-06-03 18:06:09 +00:00
Rainer Orth
6d07784ac2 configure.in (gcc_cv_as_hidden): Disable .hidden completely on IRIX 6 without GNU ld.
* configure.in (gcc_cv_as_hidden): Disable .hidden completely on
	IRIX 6 without GNU ld.
	* configure: Regenerate.

From-SVN: r67390
2003-06-03 17:18:00 +00:00
Roger Sayle
a79b3dc7c8 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
2003-06-03 17:13:06 +00:00
Kazu Hirata
8d6b2775ec combine.c (simplify_set): Don't move a subreg in SET_SRC to SET_DEST if...
* 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
2003-06-03 17:10:48 +00:00
Joern Rennecke
bf46042bdb builtin-noret-1.c (_exit, _Exit): Make weak.
* gcc.dg/torture/builtin-noret-1.c (_exit, _Exit): Make weak.
	* gcc.dg/torture/builtin-noret-2.c (_exit, _Exit): Likewise.

From-SVN: r67387
2003-06-03 18:00:23 +01:00
Nathanael Nerode
ae74ed1fc5 * MAINTAINERS: "GNATS only" -> "Bug database only".
From-SVN: r67382
2003-06-03 16:48:03 +00:00
Nathanael Nerode
48ff03c711 x86-64.h: Remove two target-independent comments; replace "GNU CC" with "GCC".
* config/i386/x86-64.h: Remove two target-independent comments;
	 replace "GNU CC" with "GCC".

From-SVN: r67381
2003-06-03 16:40:42 +00:00
Nathanael Nerode
1a1e6b96a2 Makefile.tpl: Rename [+target+] to [+make_target+].
* Makefile.tpl: Rename [+target+] to [+make_target+].
	* Makefile.def: Rename 'target' to 'make_target'.

From-SVN: r67380
2003-06-03 16:35:42 +00:00
Andrew Haley
9f47031337 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
2003-06-03 16:13:22 +00:00
Anthony Green
b09d2739b0 Commit patch that was approved last october. Oops.
From-SVN: r67375
2003-06-03 15:19:16 +00:00
Aldy Hernandez
284ca13ea9 simd-5.x: Remove xfail for PPC64.
2003-06-03  Aldy Hernandez  <aldyh@redhat.com>

        * testsuite/gcc.c-torture/compile/simd-5.x: Remove xfail for PPC64.

From-SVN: r67374
2003-06-03 13:46:28 +00:00
Kriang Lerdsuwanakij
6c07f44866 re PR c++/10940 (Bad code with explicit specialization)
PR c++/10940
	* pt.c (check_explicit_specialization): Check for 'static'
	earlier.

	* g++.dg/template/spec10.C: New test.

From-SVN: r67373
2003-06-03 13:01:44 +00:00
Roger Sayle
075ec276a0 builtins.def (BUILT_IN_CABS, [...]): New builtins representing ISO C99's cabs, cabsf and cabsl.
* 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
2003-06-03 11:27:23 +00:00