Commit Graph

42201 Commits

Author SHA1 Message Date
Jeroen Dobbelaere
10fdbed6ec * config/arm/linux-elf.h (CPLUSPLUS_CPP_SPEC): Define.
From-SVN: r52296
2002-04-14 10:27:33 -04:00
David Billinghurst
4b27e132f1 f77-edit-i-in.f: Use internal buffer in place of scratch file.
2002-04-12  David Billinghurst <David.Billinghurst@riotinto.com>

	* g77.dg/f77-edit-i-in.f: Use internal buffer in place
	of scratch file.

From-SVN: r52294
2002-04-14 13:46:24 +00:00
Jason Merrill
85b7def6e0 typeck.c (get_member_function_from_ptrfunc): Don't do gratuitious division and multiplication on ptrmemfunc_vbit_in_delta...
* typeck.c (get_member_function_from_ptrfunc): Don't do
        gratuitious division and multiplication on
        ptrmemfunc_vbit_in_delta targets.

From-SVN: r52293
2002-04-14 09:14:52 -04:00
David Billinghurst
cf56e373c4 re PR c/6277 (Failure of test gcc.dg/i386-387-1.c on cygwin)
2002-04-14  David Billinghurst <David.Billinghurst@riotinto.com>

	PR c/6277
	* gcc.dg/i386-387-1.c:  Allow optional leading underscore
	in scan-assembler function name

From-SVN: r52292
2002-04-14 11:52:25 +00:00
GCC Administrator
8bc879161c Daily bump.
From-SVN: r52290
2002-04-14 07:17:01 +00:00
Mark Mitchell
77660a9a05 gnu.h (CPP_PREDEFINES): Define __gnu_hurd__, not gnu_hurd.
* config/i386/gnu.h (CPP_PREDEFINES): Define __gnu_hurd__,
	not gnu_hurd.

From-SVN: r52286
2002-04-13 22:10:56 +00:00
Hans-Peter Nilsson
e0ff1ded8f * config/cris/linux.h (CRIS_CPP_SUBTARGET_SPEC): Fix typo.
From-SVN: r52283
2002-04-13 20:16:13 +00:00
Joel Sherrill
2341c7ea03 t-elf: Enable v8 multilibs.
2002-04-13	Joel Sherrill <joel@OARcorp.com>

	* config/sparc/t-elf: Enable v8 multilibs.  Impacts
	sparc-elf and sparc-rtems targets.

From-SVN: r52281
2002-04-13 19:47:57 +00:00
Toon Moene
1dbdda4e57 news.texi: Deprecate frontend version number; update list of fixed bugs.
2002-04-13  Toon Moene  <toon@moene.indiv.nluug.nl>

	* news.texi: Deprecate frontend version number;
	update list of fixed bugs.

From-SVN: r52280
2002-04-13 19:41:29 +00:00
Mark Mitchell
d29350c02f linux.h: Define __gnu_linux__ wherever __linux__ is defined...
* alpha/linux.h: Define __gnu_linux__ wherever __linux__ is
	defined, and __gnu_hurd__ wherever __GNU__ is defined.
	* arm/linux-elf.h: Likewise.
	* cris/aout.h: Likewise.
	* cris/linux.h: Likewise.
	* i370/linux.h: Likewise.
	* i386/gnu.h: Likewise.
	* i386/linux-aout.h: Likewise.
	* i386/linux-oldld.h: Likewise.
	* i386/linux.h: Likewise.
	* i386/linux64.h: Likewise.
	* ia64/linux.h: Likewise.
	* m68k/linux-aout.h: Likewise.
	* m68k/linux.h: Likewise.
	* mips/linux.h: Likewise.
	* pa/pa-linux.h: Likewise.
	* pj/linux.h: Likewise.
	* rs6000/sysv4.h: Likewise.
	* s390/linux.h: Likewise.
	* sh/linux.h: Likewise.
	* sparc/linux-aout.h: Likewise.
	* sparc/linux.h: Likewise.
	* sparc/linux64.h: Likewise.
	* xtensa/linux.h: Likewise.

From-SVN: r52279
2002-04-13 19:21:08 +00:00
Hans-Peter Nilsson
1aa65134e4 980628-4.x, [...]: xfail powerpc-*-* hosted on i[34567]86-*-*.
* g77.f-torture/execute/980628-4.x,
	g77.f-torture/execute/980628-5.x,
	g77.f-torture/execute/980628-6.x, g77.f-torture/execute/alpha2.x,
	g77.f-torture/execute/auto0.x, g77.f-torture/execute/auto1.x,
	g77.f-torture/compile/alpha1.x: xfail powerpc-*-* hosted on
	i[34567]86-*-*.

From-SVN: r52273
2002-04-13 12:05:53 +00:00
David S. Miller
791b23feaf 20020413-1.c: New test.
2002-04-13  David S. Miller  <davem@redhat.com>

	* gcc.c-torture/execute/20020413-1.c: New test.

From-SVN: r52272
2002-04-13 03:32:46 -07:00
Richard Sandiford
4fb0780208 * gcc.dg/asm-6.c,
* g++.dg/ext/asm1.C: New tests.

From-SVN: r52270
2002-04-13 09:33:01 +00:00
Richard Sandiford
fc55285160 stmt.c (check_unique_operand_names): Expect operand names to be strings rather than identifiers.
* stmt.c (check_unique_operand_names): Expect operand names to
	be strings rather than identifiers.  Use simple_cst_equal to
	compare them.
	(resolve_operand_name_1): Make same identifier to string change here.
	* c-parse.in (asm_operand): Convert a named operand into a string.
	* cp/parse.y (asm_operand): Likewise.

From-SVN: r52269
2002-04-13 09:29:03 +00:00
GCC Administrator
c882522104 Daily bump.
From-SVN: r52268
2002-04-13 07:16:56 +00:00
Mark Mitchell
0481bc2173 re PR c++/5373 (Statement expressions broken in C++)
PR c++ 5373.
	* g++.dg/parse/stmtexpr1.C: New test.

	PR c++/5373.
	* semantics.c (finish_expr_stmt): Remember the type of the
	expression before any conversions are performed.

From-SVN: r52264
2002-04-13 07:10:12 +00:00
Andreas Schwab
1d405c5eba * config/ia64/ia64.h (CPP_SPEC): Include %(cpp_cpu).
From-SVN: r52262
2002-04-13 01:59:10 +00:00
Mark Mitchell
9928a3d53a re PR c++/5189 (g++ -c bug.cpp crashed on simple stupid file)
PR c++/5189.
	* call.c (add_template_candidate_real): Do not treat member
	templates as copy constructors.

	PR c++/5189.
	* g++.dg/template/copy1.C: New test.

From-SVN: r52260
2002-04-13 01:33:23 +00:00
Mark Mitchell
c740732f62 Revert these changes:
2002-04-06  Mark Mitchell  <mark@codesourcery.com>

	PR c++/5571
	* stor-layout.c (layout_decl): Reset the RTL for the decl.

	* decl.c (duplicate_decls): Do not copy the RTL for a variable
	declaration if the old variable had an incomplete type and the new
	variable does not.
	(complete_vars): Do not call layout_decl for completed variables.

From-SVN: r52258
2002-04-13 01:25:27 +00:00
Richard Henderson
21b1475254 * gcc.c-torture/execute/20020406-1.c (DUPFFnew): Use calloc.
From-SVN: r52255
2002-04-12 16:55:05 -07:00
DJ Delorie
0a1e123a75 Missed this entry in last commit
From-SVN: r52253
2002-04-12 19:17:54 -04:00
Richard Henderson
3fc602a055 config.gcc (sparcv9-*-solaris2): Default to 32-bit code.
* config.gcc (sparcv9-*-solaris2): Default to 32-bit code.
        (sparc*-*-solaris): Clean up header files.
        * configure.in (AS_SPARC64_FLAG): Error out if can't find it
        and plan on generating 64-bit code.
        * toplev.c (decode_g_option): Remove LINKER_DOES_NOT_WORK_WITH_DWARF2.
        * config/sparc/sol2-64.h: Delete and reuse for default 64-bit code.
        * config/sparc/sol2-sld-64.h: Rename ...
        * config/sparc/sol2-bi.h: ... here.  Remove the bits that checked
        for AS_SPARC64_FLAG not defined.
        * config/sparc/sol2-gld-bi.h: New.
        * config/sparc/sol2-sld.h: Remove.
        * config/sparc/sol26-sld.h: New.
        * config/sparc/sol2.h: Tidy comments.
        * doc/install.texi: Document sparc-solaris configury changes.

From-SVN: r52251
2002-04-12 16:02:45 -07:00
Richard Henderson
2f15e255ed recog.c (offsettable_address_p): Match the logic in adjust_address.
* recog.c (offsettable_address_p): Match the logic in adjust_address.

        * config/sparc/sparc.h (LEGITIMIZE_RELOAD_ADDRESS): Handle TFmode
        in 64-bit mode only.  Use only for 32-bit or MEDLOW.

From-SVN: r52250
2002-04-12 15:47:34 -07:00
Steve Ellcey
ef290537a3 * gcc/libstdc++-v3/config/os/hpux/bits/os_defines.h
(strtoll, strtoull): In 64 bit mode HP-UX (IA64 and HPPA)
	does not define strtoll or strtoull, but does define strtol
	and strtoul which are the same since in 64 bit mode
	sizeof(long) == sizeof(long long).

From-SVN: r52247
2002-04-12 22:31:27 +00:00
Rainer Orth
cc8475cbc3 * config/alpha/osf.h (LINK_SPEC): Pass -S to silence ld warnings.
From-SVN: r52246
2002-04-12 22:25:08 +00:00
Jeff Law
ef1b885812 Fix typo in ChangeLog entry.
From-SVN: r52244
2002-04-12 15:52:46 -06:00
Jeff Law
6f133a4aeb pa.c (pa_can_combine_p): Call insn_extract before calling constrain_operands.
* pa.c (pa_can_combine_p): Call insn_extract before calling
	constrain_operands.

From-SVN: r52242
2002-04-12 15:43:17 -06:00
Geoffrey Keating
869b8e4d40 20020412-1.c: New file, renamed from gcc.c-torture/execute/20020307-2.c.
* gcc.c-torture/execute/20020412-1.c: New file, renamed from
	gcc.c-torture/execute/20020307-2.c.

From-SVN: r52241
2002-04-12 20:41:58 +00:00
Douglas B Rupp
2d424b9fa3 * config/i386/i386-interix.h (CPP_PREDEFINES): Handle __declspec.
From-SVN: r52239
2002-04-12 15:56:00 -04:00
Douglas B Rupp
1329e60058 i386-interix.h (EH_FRAME_IN_DATA_SECTION): Define.
* config/i386/i386-interix.h (EH_FRAME_IN_DATA_SECTION): Define.
	(TARGET_ASM_NAMED_SECTION, RETURN_IN_MEMORY) Define.
	(DEFAULT_PCC_STRUCT_RETURN): Define as 0.
	* config/i386/t-interix (USER_H): Remove.

From-SVN: r52237
2002-04-12 15:47:45 -04:00
Phil Edwards
b963aad8ed std_bitset.h: Doxygenate std::bitset<>.
2002-04-12  Phil Edwards  <pme@gcc.gnu.org>

	* include/std/std_bitset.h:  Doxygenate std::bitset<>.  Clean up
	trailing spaces, indentation, and macro names.  Make exception
	messages more informative.

From-SVN: r52233
2002-04-12 19:15:59 +00:00
DJ Delorie
0339d2395b integrate.c (compare_blocks): Make comparisons safe for when sizeof(int) < sizeof(char *).
* integrate.c (compare_blocks): Make comparisons safe for when
sizeof(int) < sizeof(char *).
(find_block): Likewise.

From-SVN: r52232
2002-04-12 14:37:56 -04:00
Jan Hubicka
cc4d5fec87 rs6000.c (call_operand): Allow LINK and COUNT registers.
2002-04-12  Jan Hubicka  <jh@suse.cz>
            David Edelsohn  <edelsohn@gnu.org>

        * config/rs6000/rs6000.c (call_operand): Allow LINK and COUNT
        registers.
        (symbol_ref_operand): New.
        * config/rs6000/rs6000.h (PREDICATE_CODES): Add symbol_ref_operand.
        * config/rs6000/rs6000.md (call_nonlocal_aix): Use symbol_ref_operand.

Co-Authored-By: David Edelsohn <edelsohn@gnu.org>

From-SVN: r52231
2002-04-12 12:57:47 -04:00
Anthony Green
2274b9b3fe Fix botch in last commit.
From-SVN: r52230
2002-04-12 14:51:37 +00:00
Andreas Schwab
93215a1b43 ia64.h (ASM_SPEC): Moved from here ...
* config/ia64/ia64.h (ASM_SPEC): Moved from here ...
	* config/ia64/sysv4.h (ASM_SPEC): ... to here, so that it
	overrides the definition in config/svr4.h.

From-SVN: r52228
2002-04-12 14:41:01 +00:00
Anthony Green
9fef1fe3e4 Add --extdirs support.
From-SVN: r52227
2002-04-12 14:28:50 +00:00
Anthony Green
395cb21141 Install libgcj.jar as libgcj-VERSION.jar.
From-SVN: r52226
2002-04-12 14:28:10 +00:00
Eric Norum
1d80248e2f rtems.h, [...] (*-rtems*): Cleanup pass to move common definitions to config/rtems.h and make the targets...
2002-04-12	Eric Norum <eric.norum@usask.ca>

	* config/rtems.h, config/a29k/rtems.h, config/arm/rtems-elf.h,
	config/c4x/rtems.h, config/h8300/rtems.h, config/i386/rtems.h,
	config/i386/rtemself.h, config/i960/rtems.h, config/m68k/rtems.h,
	config/m68k/rtemself.h, config/mips/rtems.h, config/mips/rtems64.h,
	config/pa/rtems.h, config/rs6000/rtems.h, config/sh/rtems.h,
	config/sh/rtemself.h, config/sparc/rtems.h, config/sparc/rtemself.h,
	config/v850/rtems.h (*-rtems*): Cleanup pass to move common
	definitions to config/rtems.h and make the targets more similar.

From-SVN: r52225
2002-04-12 13:35:03 +00:00
Richard Kenner
fa06ab5c42 expr.c (expand_assigment): Remove duplicate conversions #ifdef POINTERS_EXTEND_UNSIGNED.
* expr.c (expand_assigment): Remove duplicate conversions #ifdef
	POINTERS_EXTEND_UNSIGNED.
	(store_constructor, expand_expr, case COMPONENT_REF): Likewise.
	(store_expr): Use TYPE_MODE (sizetype), not ptr_mode.

From-SVN: r52223
2002-04-12 08:33:24 -04:00
Richard Kenner
fa1591cb15 emit-rtl.c (widen_memory_access): Don't do anything if MEMOFFSET not specified.
* emit-rtl.c (widen_memory_access): Don't do anything if MEMOFFSET
	not specified.

From-SVN: r52221
2002-04-12 08:17:59 -04:00
J"orn Rennecke
12e85a0e1d sh.c (calc_live_regs, [...]): Use of PR_MEDIA_REG / PR_REG depends on TARGET_SHMEDIA, not TARGET_SH5.
* sh.c (calc_live_regs, sh_pr_n_sets): Use of PR_MEDIA_REG / PR_REG
	depends on TARGET_SHMEDIA, not TARGET_SH5.

From-SVN: r52220
2002-04-12 13:14:33 +01:00
Hans-Peter Nilsson
1ab3e58a2f function.c (fixup_var_refs_1): For paradoxical (subreg VAR), replace VAR, don't try the subreg.
* function.c (fixup_var_refs_1) <SET, handling VAR in SET_SRC>:
	For paradoxical (subreg VAR), replace VAR, don't try the subreg.

From-SVN: r52217
2002-04-12 11:31:25 +00:00
Richard Sandiford
4b72e8edac * g++.dg/ext/attrib5.C,
* g++.dg/lookup/struct1.C: New tests.

From-SVN: r52215
2002-04-12 10:59:33 +00:00
J"orn Rennecke
18778292a0 sh.c (broken_move): Constant 0.
* sh.c (broken_move): Constant 0. / 1. load is OK if there is
	no r0 clobber.

From-SVN: r52214
2002-04-12 11:55:32 +01:00
Richard Sandiford
4782bd5bee decl.c (duplicate_decls): Don't try to unify an implicit typedef with an explicit one.
* decl.c (duplicate_decls): Don't try to unify an implicit typedef
	with an explicit one.
	(follow_tag_typedef): New.
	(lookup_tag): Use it to extract the tag of an explicit typedef.
	(xref_tag): Likewise.

From-SVN: r52213
2002-04-12 10:55:27 +00:00
Jason Merrill
e6f648758e fix whitespace
From-SVN: r52210
2002-04-12 06:35:30 -04:00
Andrew Haley
2f4d058f0c typeck.c (type_after_usual_arithmetic_conversions): If two types have the same variant, return immediately.
2002-04-11  Andrew Haley  <aph@redhat.com>

	* typeck.c (type_after_usual_arithmetic_conversions):
	If two types have the same variant, return immediately.
	When two floating-point operands are the same precision:
	  convert to float if one of the operands is float;
	  if neither operand is one of the standard types, return the type
	  of the first operand.

From-SVN: r52209
2002-04-12 09:08:17 +00:00
Loren J. Rittle
4b4248b674 SyncGlobal.java, [...]: New test case.
* libjava.lang/SyncGlobal.java, libjava.lang/SyncGlobal.out:
	New test case.

From-SVN: r52207
2002-04-12 08:33:13 +00:00
Andreas Schwab
9002507c70 * config/ia64/ia64.h (EXTRA_SPECS): Fix missing backslash.
From-SVN: r52206
2002-04-12 08:27:54 +00:00
Richard Henderson
9be4083349 re PR bootstrap/4191 (GCC does not build for d30v-elf - needs tweaking for crtstuff.c changes)
PR bootstrap/4191
        * config/d30v/d30v.h (INIT_SECTION_ASM_OP): Don't undef.

        * flow.c (mark_used_reg): Manage reg_cond_dead properly for
        modes spanning multiple hard regs.

        * recog.c (peephole2_optimize): Rebuild jump labels as needed.

From-SVN: r52205
2002-04-12 00:52:05 -07:00