Commit Graph

43872 Commits

Author SHA1 Message Date
Douglas B Rupp
7fda878c25 configure.in (OUTPUT_OPTION,NO_MINUS_C_MINUS_O): Configure.
2002-06-30  Douglas Rupp  <rupp@gnat.com>

	* configure.in (OUTPUT_OPTION,NO_MINUS_C_MINUS_O): Configure.
	* Makefile.in (OUTPUT_OPTION): Use.

From-SVN: r55127
2002-07-01 05:38:50 +00:00
T.J. Mather
32c4621e89 gcj.texi: Fixed gcj invocation example so that it compiles.
2002-06-29  T.J. Mather  <tjmather@maxmind.com>

	* gcj.texi: Fixed gcj invocation example so that it compiles.

From-SVN: r55126
2002-07-01 04:48:39 +01:00
Devang Patel
118f8dc12c objc-act.c (finish_file): Avoid finish_objc() if -fsyntax-only.
2002-06-30  Devang Patel  <dpatel@apple.com>

        * objc/objc-act.c (finish_file): Avoid finish_objc() if
        -fsyntax-only.

2002-06-30  Devang Patel  <dpatel@apple.com>

        * objc.dg/fsyntax-only.m: New test.

From-SVN: r55125
2002-07-01 00:43:41 +00:00
Nathan Sidwell
d689a8f192 cp-tree.h (CPTI_TINFO_DECL_TYPE): Replace with ...
* cp-tree.h (CPTI_TINFO_DECL_TYPE): Replace with ...
	(CPTI_TYPE_INFO_PTR_TYPE): ... this.
	(tinfo_decl_type): Replace with ...
	(type_info_ptr_type): ... this.
	(import_export_tinfo): Declare.
	(tinfo_decl_p): Rename to ...
	(unemitted_tinfo_decl_p): ... this.
	* decl2.c (import_export_decl): Break out tinfo handling into ...
	(import_export_tinfo): ... here. New function.
	(finish_file): Adjust.
	* rtti.c (TINFO_REAL_NAME): New macro.
	(init_rtti_processing): Create the tinfo types.
	(get_tinfo_decl_dynamic): Use type_info_ptr_type, get_tinfo_ptr.
	(get_tinfo_decl): Adjust.
	(get_tinfo_ptr): New function.
	(get_type_id): Use it.
	(tinfo_base_init): Create vtable decl here, if it doesn't exist.
	(ptr_initializer): Use get_tinfo_ptr.
	(ptm_initializer): Likewise.
	(synthesize_tinfo_var): Break into ...
	(get_pseudo_ti_init): ... this. Just create the initializer.
	(get_pseudo_ti_desc): .. and this.
	(create_real_tinfo_var): Remove.
	(create_pseudo_type_info): Don't create the vtable decl here.
	(get_vmi_pseudo_type_info): Remove.
	(create_tinfo_types): Adjust.
	(tinfo_decl_p): Rename to ...
	(unemitted_tinfo_decl_p): ... here. Adjust.
	(emit_tinfo_decl): Adjust. Create the initializer.

From-SVN: r55124
2002-06-30 20:41:38 +00:00
Denis Chertykov
e3223ea293 extend.texi: Add ip2k port to description of attribute naked.
* doc/extend.texi: Add ip2k port to description of attribute
	naked.
	* doc/install.texi (Specific): Add ip2k description.
	* doc/install-old.texi (Configurations): Add ip2k to possible
	cpu types.
	* doc/md.texi: Document ip2k constraints.
	* config/ip2k/crt0.S: New file.
	* config/ip2k/ip2k-protos.h: New file.
	* config/ip2k/ip2k.c: New file.
	* config/ip2k/ip2k.h: New file.
	* config/ip2k/ip2k.md: New file.
	* config/ip2k/libgcc.S: New file.
	* config/ip2k/t-ip2k: New file.

Co-Authored-By: Alan Lehotsky <apl@alum.mit.edu>
Co-Authored-By: Bernd Schmidt <bernds@redhat.com>
Co-Authored-By: Dave Hudson <dave.hudson@ubicom.com>
Co-Authored-By: Frank Ch. Eigler <fche@redhat.com>
Co-Authored-By: Graham Stott <grahams@redhat.com>
Co-Authored-By: Jeff Johnston <jjohnstn@redhat.com>
Co-Authored-By: Matthew Green <mrg@redhat.com>
Co-Authored-By: Richard Henderson <rth@redhat.com>

From-SVN: r55122
2002-06-30 23:27:48 +04:00
Hans-Peter Nilsson
66b8c57f68 mmix.md ("return"): New pattern.
* config/mmix/mmix.md ("return"): New pattern.
	* config/mmix/mmix.h (TARGET_MASK_USE_RETURN_INSN)
	(TARGET_USE_RETURN_INSN): New macros.
	(TARGET_DEFAULT): Include TARGET_MASK_USE_RETURN_INSN.
	(TARGET_SWITCHES): Add -msingle-exit and -mno-single-exit.
	* config/mmix/mmix.c (MMIX_OUTPUT_REGNO): Fix spacing.
	(MMIX_POP_ARGUMENT): New macro.
	(mmix_target_asm_function_prologue): When no epilogue is executed,
	just emit a blank line.  Use MMIX_POP_ARGUMENT with final POP insn.
	(mmix_print_operand) <case '.'>: New case.
	(mmix_print_operand_punct_valid_p): Match '.'.
	(mmix_use_simple_return): New function.
	* config/mmix/mmix-protos.h (mmix_use_simple_return): Prototype.
	* doc/invoke.texi (Option Summary) <MMIX Summary>: Add
	-msingle-exit, -mno-single-exit.
	(MMIX Options): Ditto.

From-SVN: r55121
2002-06-30 18:53:53 +00:00
Aldy Hernandez
e7a60f5696 i386.c (ix86_init_mmx_sse_builtins): Fix typos.
2002-06-30  Aldy Hernandez  <aldyh@redhat.com>

        * config/i386/i386.c (ix86_init_mmx_sse_builtins): Fix typos.

From-SVN: r55120
2002-06-30 17:01:39 +00:00
Kaveh R. Ghazi
1ef7d32b91 * gengtype.c (oprintf): Move VA_CLOSE after all fixedarg uses.
From-SVN: r55119
2002-06-30 12:14:15 +00:00
GCC Administrator
76147cce13 Daily bump.
From-SVN: r55117
2002-06-30 07:18:09 +00:00
Alan Modra
c8b64bf26d * unroll.c (loop_iterations): Handle EQ loops.
From-SVN: r55111
2002-06-30 14:36:01 +09:30
David Edelsohn
35aba846c1 rs6000.md (ctrdi): Allocate pseudo for FPR constraint in define_expand, not splitter.
* config/rs6000/rs6000.md (ctrdi): Allocate pseudo for FPR
        constraint in define_expand, not splitter.
        Formatting.

From-SVN: r55110
2002-06-29 21:44:43 -04:00
Aldy Hernandez
b4de2f7db7 i386.c (ix86_init_mmx_sse_builtins): Use build_function_type_list instead of build_function_type.
2002-06-29  Aldy Hernandez  <aldyh@redhat.com>

        * config/i386/i386.c (ix86_init_mmx_sse_builtins): Use
        build_function_type_list instead of build_function_type.

        * config/ia64/ia64.c (ia64_init_builtins): Same.

        * config/alpha/alpha.c (alpha_init_builtins): Same.

        * config/rs6000/rs6000.c (altivec_init_builtins): Same.

        * config/arm/arm.c (arm_init_builtins): Same.

        * tree.h: Add build_function_type_list prototype.

        * tree.c (build_function_type_list): New.

From-SVN: r55109
2002-06-30 01:19:58 +00:00
Kaveh R. Ghazi
1691051fc9 * collect2.c (scan_prog_file): Fix typo in message.
From-SVN: r55107
2002-06-29 22:51:11 +00:00
Aaron Lehmann
7bfb14f14f fold-cont.c: Remove unused CHARMASK.
2002-06-28  Aaron Lehmann  <aaronl@vitelus.com>

        * fold-cont.c: Remove unused CHARMASK.

From-SVN: r55106
2002-06-29 21:14:21 +00:00
Hans Boehm
5ddf82b4c7 * win32_threads.c (GC_push_all_stacks): Tolerate bad sp.
From-SVN: r55104
2002-06-29 17:34:06 +00:00
Neil Booth
38800fe876 re PR preprocessor/7150 (gcc -dM -E ... SegFault)
PR preprocessor/7150
	* cppmain.c (scan_translation_unit_trad): Simplify.
	* cpplib.c (cpp_scan_nooutput): Handle traditional case.

From-SVN: r55102
2002-06-29 15:49:24 +00:00
Neil Booth
f60ed6be98 crtdll.h: Define EXTRA_OS_CPP_BUILTINS.
* config/i386/crtdll.h: Define EXTRA_OS_CPP_BUILTINS.
	Don't use CPP_PREDEFINES.
	* config/i386/cygwin.h (EXTRA_OS_CPP_BUILTINS): New.
	Used TARGET_OS_CPP_BUILTINS in preference to CPP_PREDEFINES.
	* config/i386/djgpp.h, config/i386/i386-coff.h,
	config/i386/i386-interix.h, config/i386/i386-interix3.h,
	config/i386/lynx-ng.h, config/i386/lynx.h, config/i386/mingw32.h,
	config/i386/openbsd.h, config/i386/ptx4-i.h, config/i386/sysv3.h,
	config/i386/uwin.h: Similarly.

From-SVN: r55101
2002-06-29 09:10:04 +00:00
GCC Administrator
ddd9819e57 Daily bump.
From-SVN: r55100
2002-06-29 07:17:41 +00:00
Herman A.J. ten Brugge
76118c1102 c4x.h: (TARGET_CPU_CPP_BUILTINS): Check flag_inline_functions and flag_inline_trees to...
* c4x.h: (TARGET_CPU_CPP_BUILTINS): Check flag_inline_functions and
	flag_inline_trees to enable inlining.

From-SVN: r55091
2002-06-29 03:05:50 +00:00
Phil Edwards
446c5b11aa PR libstdc++/7157, PR libstdc++/7158, PR libstdc++/7161
2002-06-28  Phil Edwards  <pme@gcc.gnu.org>

	PR libstdc++/7157, PR libstdc++/7158, PR libstdc++/7161
	* include/std/std_queue.h:  Include deque.tcc, vector.tcc.
	* include/std/std_stack.h:  Include deque.tcc.
	* testsuite/23_containers/adaptors.cc:  New file.

From-SVN: r55090
2002-06-29 01:10:51 +00:00
Phil Edwards
9137b119fa configure.in (gcc_gxx_include_dir): Change to match versioned C++ headers if --enable-version-specific-runtime-libs...
2002-06-28  Phil Edwards  <pme@gcc.gnu.org>

	* configure.in (gcc_gxx_include_dir):  Change to match versioned
	C++ headers if --enable-version-specific-runtime-libs is used.
	* configure:  Regenerate.

From-SVN: r55088
2002-06-29 00:19:00 +00:00
Jan Hubicka
6bdb8dd695 * gcse.c (gcse_emit_move_after): Use gen_move_insn to produce the move.
From-SVN: r55087
2002-06-28 17:41:19 -06:00
Stephen Clarke
f1b1186f6c combine.c (combine_simplify_rtx): Pass the mode of the shift count...
* combine.c (combine_simplify_rtx): Pass the mode of the
        shift count, not the shift operation when trying to simplify
        a shift on a SHIFT_COUNT_TRUNCATED target.

From-SVN: r55085
2002-06-28 15:34:47 -06:00
Stephane Carrez
ae9bd48177 m68hc11.md ("*addsi3"): Use 'o' constraint to avoid the auto increment addressing modes.
* config/m68hc11/m68hc11.md ("*addsi3"): Use 'o' constraint to
	avoid the auto increment addressing modes.
	("*subsi3"): Likewise.
	(split for add/sub on address): For 68HC12 push the value on
	the stack and do the operation with a pop.

From-SVN: r55083
2002-06-28 23:16:58 +02:00
Graham Stott
2fe938856a MAINTAINERS: Update my email address.
2002-06-28  Graham Stott  <graham.stott@btinternet.com>

	* MAINTAINERS: Update my email address.

From-SVN: r55082
2002-06-28 21:07:30 +00:00
Graham Stott
4c3158022f * Update email address.
From-SVN: r55081
2002-06-28 21:00:15 +00:00
Stephane Carrez
4caff360ac m68hc11.h (OPTIMIZATION_OPTIONS): Define.
* config/m68hc11/m68hc11.h (OPTIMIZATION_OPTIONS): Define.
	* config/m68hc11/m68hc11-protos.h (m68hc11_optimization_options):
	Declare.
	* config/m68hc11/m68hc11.c (m68hc11_optimization_options): New,
	do not reorder basic blocks at the end when optimizing for size.

From-SVN: r55079
2002-06-28 22:49:36 +02:00
Neil Booth
1d63a28afc cpplib.c (_cpp_handle_directive): Move #define-specific code to the #define handler...
* cpplib.c (_cpp_handle_directive): Move #define-specific
	code to the #define handler...
	(do_define): ...here.
	(lex_macro_node): No longer a need to check for comments here.

From-SVN: r55077
2002-06-28 20:27:14 +00:00
Stephane Carrez
2cc2149737 m68hc11.c (autoinc_mode): New function.
* config/m68hc11/m68hc11.c (autoinc_mode): New function.
	(m68hc11_make_autoinc_notes): New function.
	(m68hc11_split_move): Be very cautious when spliting a move with
	auto increment/decrement modes because this may result in incompatible
	directions; add REG_INC notes to the resulting insn for CSE reg.

From-SVN: r55076
2002-06-28 22:26:16 +02:00
Toon Moene
ba18d6d38b news.texi: Mention 2 Gbyte limit on 32-bit targets for arrays explicitly in news on g77-3.1.
2002-06-28  Toon Moene  <toon@moene.indiv.nluug.nl>

	* news.texi: Mention 2 Gbyte limit on 32-bit targets
	for arrays explicitly in news on g77-3.1.

From-SVN: r55075
2002-06-28 19:58:32 +00:00
Stephane Carrez
3cdd28216b m68hc11.c (register_indirect_p): For 68HC12 a constant can be a valid address.
* config/m68hc11/m68hc11.c (register_indirect_p): For 68HC12 a constant
	can be a valid address.

From-SVN: r55073
2002-06-28 21:52:17 +02:00
Aldy Hernandez
7c3abc7301 ok, this is the right version ;-)
From-SVN: r55071
2002-06-28 19:13:15 +00:00
Aldy Hernandez
14b32f4e02 fix stupidity of committing the wrong version of the file
From-SVN: r55070
2002-06-28 19:11:22 +00:00
Aldy Hernandez
e6a82e8067 rs6000.c: Remove unusued variables from last patch.
2002-06-28  Aldy Hernandez  <aldyh@redhat.com>

        * config/rs6000/rs6000.c: Remove unusued variables from last
        patch.

From-SVN: r55069
2002-06-28 19:06:08 +00:00
Aldy Hernandez
a7ae18e278 revert: rs6000.c (rs6000_override_options): Move *SUBTARGET_OVERRIDE_OPTIONS before the -m options.
2002-06-27  Aldy Hernandez  <aldyh@redhat.com>

        Revert:
        * config/rs6000/rs6000.c (rs6000_override_options): Move
        *SUBTARGET_OVERRIDE_OPTIONS before the -m options.

From-SVN: r55068
2002-06-28 18:07:41 +00:00
Aldy Hernandez
3a9b8c7e91 rs6000.c (altivec_expand_builtin): Move lvx/stv/dst builtins...
2002-06-27  Aldy Hernandez  <aldyh@redhat.com>

        * config/rs6000/rs6000.c (altivec_expand_builtin): Move
        lvx/stv/dst builtins...
        (altivec_expand_ld_builtin): ...to here.
        (altivec_expand_st_builtin): ...here.
        (altivec_expand_dst_builtin): ...and here (respectively).

From-SVN: r55067
2002-06-28 17:32:12 +00:00
Bob Wilson
5f9dc2143b * config/xtensa/xtensa.h (RETURN_IN_MEMORY): Update comment.
From-SVN: r55066
2002-06-28 17:24:34 +00:00
Bernd Schmidt
53501a19fa Prevent creation of paradoxical FLOAT_MODE subregs
From-SVN: r55064
2002-06-28 15:43:54 +00:00
GCC Administrator
20c2d1fea3 Daily bump.
From-SVN: r55061
2002-06-28 07:18:09 +00:00
Andreas Jaeger
c168bbd714 re PR ada/7144 (Typo in Makefile-comment)
PR ada/7144
	* Makefile.in: Fix typo in comment, patch by Adrian Knoth
	<adi@thur.de>.

From-SVN: r55056
2002-06-28 08:35:14 +02:00
Neil Booth
d1a586888e re PR preprocessor/7138 (gcc-3.2 failed to compile kernel)
PR preprocessor/7138
	* cpplib.c (_cpp_handle_directive): Do traditional
	preparation after setting state.angled_headers.
	* cpptrad.c (scan_out_logical_line): Fix potential
	quote bug.

From-SVN: r55055
2002-06-28 06:26:54 +00:00
Aldy Hernandez
55c1c60d4f Aldy Hernandez <aldyh@redhat.com>
* config/rs6000/rs6000.c (rs6000_override_options): Move
        *SUBTARGET_OVERRIDE_OPTIONS before the -m options.

From-SVN: r55053
2002-06-28 04:21:17 +00:00
Bob Wilson
3219c65bc9 xtensa.md: Give "*xxx" names to all unnamed insn's.
* config/xtensa/xtensa.md: Give "*xxx" names to all unnamed insn's.
        (*lsiu, *ssiu, movstrsi_internal, zero_cost_loop_start,
        zero_cost_loop_end): Remove unnecessary "parallel" from insns.

From-SVN: r55046
2002-06-27 23:17:46 +00:00
Phil Edwards
07a6e20be9 stl_alloc.h: Deprecate all 'reallocate' memfns.
2002-06-27  Phil Edwards  <pme@gcc.gnu.org>

	* include/bits/stl_alloc.h:  Deprecate all 'reallocate' memfns.
	* docs/html/ext/howto.html:  Update allocator notes.

From-SVN: r55044
2002-06-27 22:09:02 +00:00
Mark Mitchell
5ce49b4b08 re PR c++/6695 (Regression: template friend declaration doesn't work)
PR c++/6695
	* pt.c (tsubst_friend_class): Substitute into the context of the
	friend before using it.

	PR c++/6695
	* g++.dg/template/friend7.C: New file.

From-SVN: r55041
2002-06-27 21:45:56 +00:00
Roger Sayle
c8f863fc55 d30v.h: Remove commented out STACK_REGS #defines.
* config/d30v/d30v.h: Remove commented out STACK_REGS #defines.
	* config/stormy16/stormy16.h: Likewise.

	* config/stormy16/stormy16.h (CUMULATIVE_ARGS): Replace typedef
	with #define.

From-SVN: r55039
2002-06-27 20:15:57 +00:00
Gerald Pfeifer
8d5362b772 install.texi (Binaries): Add Sinix/Reliant Unix.
* doc/install.texi (Binaries): Add Sinix/Reliant Unix.  Move
        Hitachi entry.  Make punctuation more consistent.

From-SVN: r55037
2002-06-27 19:08:52 +00:00
Aldy Hernandez
759236dd7c string-opt-8.c (strncmp): Fix typo in return type.
2002-06-27  Aldy Hernandez  <aldyh@redhat.com>

        * gcc.c-torture/execute/string-opt-8.c (strncmp): Fix typo in
        return type.

From-SVN: r55035
2002-06-27 18:23:33 +00:00
Matt Kraai
57694e4011 install.texi: Change bit' to -bit'.
* doc/install.texi: Change ` bit' to `-bit'.
	* doc/md.texi: Change `-bits' to `-bit'.
	* doc/tm.texi: Change `-bits' to ` bits'.

From-SVN: r55033
2002-06-27 17:19:06 +00:00
Daniel Berlin
c635a1ec84 gcse.c (hoist_code): Rewrite to only get list of dominated blocks once per BB.
* gcse.c (hoist_code): Rewrite to only get list of dominated
        blocks once per BB. Also fix reversed test (by removing need for
        the test at all).

From-SVN: r55031
2002-06-27 09:56:40 -06:00