Commit Graph

29877 Commits

Author SHA1 Message Date
Richard Henderson
ae5f017f14 expmed.c (store_bit_field): Don't require MEM_IN_STRUCT_P.
* expmed.c (store_bit_field): Don't require MEM_IN_STRUCT_P.
        * expr.c (emit_group_store): Don't set it.

From-SVN: r35546
2000-08-07 01:27:54 -07:00
Jeff Law
373c27489a Daily bump.
From-SVN: r35545
2000-08-07 01:45:08 -06:00
Kazu Hirata
0811ea8f20 cp-tree.h (CLASSTYPE_HAS_PRIMARY_BASE_P): Fix a comment typo.
* cp-tree.h (CLASSTYPE_HAS_PRIMARY_BASE_P): Fix a comment typo.
        * decl.c (pop_labels): Likewise.

From-SVN: r35544
2000-08-07 01:13:13 -06:00
Kazu Hirata
d169e67cd7 invoke.texi (Options for Debugging Your Program or GCC): Remove duplicate entries for 'w' and 'z'.
* invoke.texi (Options for Debugging Your Program or GCC): Remove
	duplicate entries for 'w' and 'z'.

From-SVN: r35543
2000-08-07 01:11:38 -06:00
Kazu Hirata
f90bb3f146 * flow.c: Fix a comment typo.
From-SVN: r35542
2000-08-07 01:07:21 -06:00
Kazu Hirata
26f1aa5fd2 * decl.c: Fix a comment typo.
From-SVN: r35541
2000-08-07 01:05:52 -06:00
Ovidiu Predescu
720a9d43fd c-parse.in: Changed the language string for Objective-C to "GNU Objective-C".
Sun Aug  6 23:47:35 2000  Ovidiu Predescu  <ovidiu@cup.hp.com>

	* c-parse.in: Changed the language string for Objective-C to "GNU
	Objective-C".

From-SVN: r35540
2000-08-07 06:48:26 +00:00
Ovidiu Predescu
24feaa95a4 Changed the language string for Objective-C to "GNU Objective-C".
From-SVN: r35539
2000-08-07 06:47:34 +00:00
Ovidiu Predescu
b3dc253f84 objc-features.texi: Documented the new -fconstant-string-class option.
Sun Aug  6 23:27:49 2000  Ovidiu Predescu  <ovidiu@cup.hp.com>

	* objc-features.texi: Documented the new -fconstant-string-class
	option.

From-SVN: r35538
2000-08-07 06:28:07 +00:00
Ovidiu Predescu
9f942e8c17 Documented the new -fconstant-string-class option.
From-SVN: r35537
2000-08-07 06:27:47 +00:00
Ovidiu Predescu
9bc3876e69 thr-posix.c: Integrated Chris Ball's <cball@fmco.com> changes to improve the Posix thread...
Sun Aug  6 22:51:16 2000  Ovidiu Predescu  <ovidiu@cup.hp.com>

	* thr-posix.c: Integrated Chris Ball's <cball@fmco.com> changes to
	improve the Posix thread support for Objective-C.

From-SVN: r35536
2000-08-07 05:51:41 +00:00
Ovidiu Predescu
54359cf93b Integrated Chris Ball's <cball@fmco.com> changes to improve the Posix
thread support for Objective-C.

From-SVN: r35535
2000-08-07 05:51:14 +00:00
Ovidiu Predescu
5a4f31cf62 gthr-posix.h: Integrated Chris Ball's <cball@fmco.com> changes to improve the Posix thread...
Sun Aug  6 11:54:03 2000  Ovidiu Predescu  <ovidiu@cup.hp.com>

	* gthr-posix.h: Integrated Chris Ball's <cball@fmco.com> changes
	to improve the Posix thread support for Objective-C.

From-SVN: r35534
2000-08-06 18:54:49 +00:00
Ovidiu Predescu
447c11a54e Integrated Chris Ball's <cball@fmco.com> changes to improve the Posix
thread support for Objective-C.

From-SVN: r35533
2000-08-06 18:54:00 +00:00
Ovidiu Predescu
137fa4d0bd objc.exp (objc_target_compile): Set the ld_library_path so that running programs linked against the shared...
Sun Aug  6 11:41:51 2000  Ovidiu Predescu  <ovidiu@cup.hp.com>

	* lib/objc.exp (objc_target_compile): Set the ld_library_path so
	that running programs linked against the shared version of libobjc
	run correctly.

From-SVN: r35532
2000-08-06 18:43:22 +00:00
Ovidiu Predescu
822c7fe253 Set the ld_library_path so that running programs linked against the
shared version of libobjc run correctly.

From-SVN: r35531
2000-08-06 18:41:49 +00:00
Joseph Myers
cd7324181a c-common.h (enum c_tree_index): Add CTI_SIGNED_SIZE_TYPE and CTI_UNSIGNED_PTRDIFF_TYPE.
* c-common.h (enum c_tree_index): Add CTI_SIGNED_SIZE_TYPE and
	CTI_UNSIGNED_PTRDIFF_TYPE.
	(signed_size_type_node): Define.
	(unsigned_ptrdiff_type_node): Define.
	* c-decl.c (init_decl_processing): Create the
	signed_size_type_node and unsigned_ptrdiff_type_node types.
	* c-common.c (T_SC): Define.
	(T_SST): Define.
	(T_UPD): Define.
	(print_char_table): Use T_SST for %zd, %zi, %zn.  Use T_UPD for
	%to, %tu, %tx, %tX.  Allow %hhn (T_SC).  Add "c" to the flags for
	%s and %p.
	(scan_char_table): Use T_SC for %hhd, %hhi, %hhn.  Use T_SST for
	%zd, %zi, %zn.  Use T_UPD for %to, %tu, %tx, %tX.  Add "c" to the
	flags for %c, %s and %[.
	(check_format_info): Only allow leniency for signedness of targets
	of character pointers (when pedantic) for formats flagged with
	"c", so for strings but not for %hh formats.  When pedantic, don't
	allow character pointers to substitute for void pointers if a
	second level of indirection is present.

testsuite:
	* gcc.dg/c99-printf-1.c: New test.

From-SVN: r35530
2000-08-06 19:12:49 +01:00
Kazu Hirata
470fc13d5b invoke.texi (Options for Debugging Your Program or GCC): Update the names of dump files.
* invoke.texi (Options for Debugging Your Program or GCC): Update
	the names of dump files.

From-SVN: r35529
2000-08-06 12:08:08 -06:00
Joseph Myers
a7086ea957 * gcc.c-torture/execute/20000801-4.x: Only xfail on x86.
From-SVN: r35528
2000-08-06 19:04:54 +01:00
Kazu Hirata
7b3d46133d h8300.c (dosize): Rearrange code for conciseness.
* h8300.c (dosize): Rearrange code for conciseness.
        (split_adds_subs): Likewise.

From-SVN: r35527
2000-08-06 12:03:58 -06:00
Kazu Hirata
e6fcb60dd9 * loop.c: Fix formatting.
From-SVN: r35526
2000-08-06 11:57:57 -06:00
Kazu Hirata
556273e010 * tm.texi (FUNCTION_ARG_PARTIAL_NREGS): Fix a typo.
From-SVN: r35525
2000-08-06 11:55:22 -06:00
Jeff Law
f899e26285 * tm.texi (FUNCTION_ARG_PARTIAL_NREGS): Fix a typo.
From-SVN: r35524
2000-08-06 11:50:06 -06:00
Kazu Hirata
3a94c98401 * expr.c: Fix formatting.
From-SVN: r35523
2000-08-06 11:48:30 -06:00
Kaveh R. Ghazi
e50f5f3d69 * rs6000.c (rs6000_maybe_dead): Prototype.
From-SVN: r35522
2000-08-06 16:39:20 +00:00
Richard Henderson
157229c314 stmt.c (expand_goto): Do virtual_stack_vars_rtx replacement for HAVE_nonlocal_goto as well.
* stmt.c (expand_goto): Do virtual_stack_vars_rtx replacement for
        HAVE_nonlocal_goto as well.
        * config/i960/i960.md (nonlocal_goto): Don't do it here.
        * config/pj/pj.md (nonlocal_goto): Likewise.

From-SVN: r35521
2000-08-06 03:07:31 -07:00
Michael Hayes
d2335c2403 loop.c (try_swap_copy_prop): New function.
* loop.c (try_swap_copy_prop): New function.
	(load_mems): Rename copies to load_copies and add new regset
	store_copies.  Check for sets of shadow registers and mark
	in store_copies.   Call try_swap_copy_prop for registers
	marked in store_copies.

From-SVN: r35520
2000-08-06 08:15:28 +00:00
Ovidiu Predescu
837179cfd8 objc-act.c: New command line option -fconstant-string-class to allow specifying a user...
Sun Aug  6 00:54:42 2000  Ovidiu Predescu  <ovidiu@cup.hp.com>

	* objc/objc-act.c: New command line option -fconstant-string-class
	to allow specifying a user defined constant string class,
	different from NXConstantString.

	* toplev.c: Moved the Objective-C specific options to
	objc/lang-options.h.

	* objc/lang-options.h: Moved the Objective-C specific options from
	toplev.c. Added -fconstant-string-class.

From-SVN: r35519
2000-08-06 07:56:00 +00:00
Ovidiu Predescu
fda470306d New command line option -fconstant-string-class to allow specifying a user defined constant string class...
New command line option -fconstant-string-class to allow specifying a
user defined constant string class, different from NXConstantString.

From-SVN: r35518
2000-08-06 07:54:40 +00:00
Ovidiu Predescu
cf02c6b135 Moved the Objective-C specific options to objc/lang-options.h.
From-SVN: r35517
2000-08-06 07:52:35 +00:00
Ovidiu Predescu
52e44bb2f8 Moved the Objective-C specific options from toplev.c.
Moved the Objective-C specific options from toplev.c. Added
-fconstant-string-class to allow specifying a user defined constant
string class, different from NXConstantString.

From-SVN: r35516
2000-08-06 07:51:15 +00:00
Ovidiu Predescu
64c04091c9 lang-options.h...
lang-options.h: Added a comma after the last element to avoid syntax
errors when other languages define additional options.

From-SVN: r35515
2000-08-06 07:49:11 +00:00
Ovidiu Predescu
6389a767b8 Added a comma after the last element to avoid syntax errors when other
languages define additional options.

From-SVN: r35514
2000-08-06 07:47:20 +00:00
Jeff Law
63d5dfe350 Daily bump.
From-SVN: r35513
2000-08-06 01:45:07 -06:00
Tom Tromey
26dfad441d PrintWriter.java: Merged comments from Classpath.
* java/io/PrintWriter.java: Merged comments from Classpath.
	(printlnUnsynchronized): Removed.
	(println()): Print the separator.
	(println): Call println(), not printlnUnsynchronized.
	(out): Now protected, to match spec.

From-SVN: r35512
2000-08-06 01:54:07 +00:00
Tom Tromey
1ed67a71e4 StreamTokenizer.java (TT_NONE): Now private.
* java/io/StreamTokenizer.java (TT_NONE): Now private.
	(nextToken): Handle backslashed newline.  From Oskar Liljeblad.
	For PR java.io/301.

From-SVN: r35511
2000-08-06 00:49:29 +00:00
Chris Demetriou
f0333785db elf.h (CTOR_LIST_BEGIN, [...]): change type of __CTOR_LIST__ from func_ptr array to just func_ptr...
* mips/elf.h (CTOR_LIST_BEGIN, CTOR_LIST_END,
        DTOR_LIST_BEGIN, DTOR_LIST_END): change type of
        __CTOR_LIST__ from func_ptr array to just func_ptr, to
        avoid extra alignment imposed on arrays.
        * mips/elf64.h (CTOR_LIST_BEGIN, CTOR_LIST_END,
        DTOR_LIST_BEGIN, DTOR_LIST_END): Likewise.

From-SVN: r35510
2000-08-05 18:07:22 -06:00
Chris Demetriou
6d81ba4545 mips.h: Clean up comments and spacing near MASKs.
* mips.h: Clean up comments and spacing near MASKs.
        (TARGET_UNIX_ASM): Delete.
        (MASK_MIPS16, MASK_NO_CHECK_ZERO_DIV, MASK_CHECK_RANGE_DIV,
        MASK_UNINIT_CONST_IN_RODATA): Change values to make mask
        values contiguous.

From-SVN: r35509
2000-08-05 18:02:49 -06:00
Joseph Myers
7e9c81d69a Fix typos.
From-SVN: r35508
2000-08-06 00:08:10 +01:00
Joseph Myers
c16dc93614 c-common.c (print_char_table): Add entries for the X/Open ' format flag (print decimals with locale's...
* c-common.c (print_char_table): Add entries for the X/Open '
	format flag (print decimals with locale's thousands grouping
	character).  Make %C expect wint_t.
	(check_format_info): If pedantic, warn when the %n$ operand
	number form is used.  Allow for the ' flag; warn about it if
	pedantic.

From-SVN: r35507
2000-08-05 19:31:15 +01:00
Zack Weinberg
26f2c02a97 i386.h (FUNCTION_OK_FOR_SIBCALL): Not OK if DECL's return type is a float mode...
* i386.h (FUNCTION_OK_FOR_SIBCALL):  Not OK if DECL's return
	type is a float mode, cfun->decl's return type is not, and
	TARGET_FLOAT_RETURNS_IN_80387.

	* gcc.c-torture/execute/20000731-1.x: Delete.

From-SVN: r35506
2000-08-05 18:24:19 +00:00
Jason Merrill
0681921da1 tweak
From-SVN: r35505
2000-08-05 13:48:27 -04:00
Jeff Law
4845665631 Daily bump.
From-SVN: r35504
2000-08-05 01:45:07 -06:00
Jeffrey Oldham
f9fcf62b6a cxxabi.h (__pbase_type_info): Changed member names to match specifications.
2000-08-04  Jeffrey D. Oldham  <oldham@codesourcery.com>

	* inc/cxxabi.h (__pbase_type_info): Changed member names to match
	specifications.
	(__pointer_to_member_type_info): Likewise.
	(__base_class_info): Likewise.
	(__class_type_info): Likewise.
	(__si_class_type_info): Likewise.
	(__vmi_class_type_info): Likewise.
	* tinfo.cc (__si_class_type_info::__do_find_public_src):
	Changed member names to match specifications.
	(__vmi_class_type_info::__do_find_public_src): Likewise.
	(__si_class_type_info::__do_dyncast): Likewise.
	(__vmi_class_type_info::__do_dyncast): Likewise.
	(__si_class_type_info::__do_upcast): Likewise.
	(__vmi_class_type_info::__do_upcast): Likewise.
	* tinfo2.cc (__pbase_type_info::__do_catch): Likewise.
	(__pbase_type_info::__pointer_catch): Likewise.
	(__pointer_type_info::__pointer_catch): Likewise.
	(__pointer_to_member_type_info::__pointer_catch): Likewise.

From-SVN: r35503
2000-08-05 04:17:23 +00:00
Zack Weinberg
8cab40f72e aclocal.m4: Replace copy of ../libtool.m4 with sinclude(../libtool.m4).
* aclocal.m4: Replace copy of ../libtool.m4 with
	sinclude(../libtool.m4).

From-SVN: r35502
2000-08-05 01:13:37 +00:00
Zack Weinberg
a36556a837 [multiple changes]
2000-08-04  Andreas Schwab  <schwab@suse.de>

	* cppmain.c (cb_def_pragma): Skip the first two tokens from the
	token list, which are always `#' and `pragma'.

2000-08-04  Zack Weinberg  <zack@wolery.cumb.org>

	* tree.c (tree_expr_nonnegative_p): Move to...
	* fold-const.c: ... here.  Also handle BIND_EXPR and RTL_EXPR.
	(rtl_expr_nonnegative_p): New.
	* tree.h: Add prototype for rtl_expr_nonnegative_p.

	* real.h (CONST_DOUBLE_LOW, CONST_DOUBLE_HIGH, CONST_DOUBLE_MEM,
	CONST_DOUBLE_CHAIN: Move to...
	* rtl.h: ...here.  Use XCINT/XCEXP.

	* Makefile.in: Remove toplev.o from OBJS.  Add rule to make
	libbackend.a; add libbackend.a to STAGESTUFF.  Add BACKEND
	variable.  Use BACKEND when linking cc1, not OBJS.  Add BACKEND
	to VOL_FILES.

	* objc/Make-lang.in (cc1obj): Link with $(BACKEND).

ch:
	* Make-lang.in (cc1chill): Depend on $(BACKEND), not stamp-objlist.
	* Makefile.in (cc1chill): Link with $(BACKEND).  Define BACKEND,
	eliminate C_OBJS (was commented out), OBJS, OBJDEPS.
cp:
        * Make-lang.in (cc1plus): Depend on $(BACKEND), not stamp-objlist.
        * Makefile.in: Add C_OBJS, BACKEND; delete OBJS, OBJDEPS.
        (cc1plus): Link with $(BACKEND) and $(C_OBJS).
f:
	* Make-lang.in (f771): Depend on $(BACKEND), not stamp-objlist.
	* Makefile.in: Add BACKEND; delete OBJS, OBJDEPS.
	(f771): Link with $(BACKEND).
java:
	* Make-lang.in (jc1, jv-scan): Depend on $(BACKEND), not stamp-objlist.
	* Makefile.in: Add BACKEND; delete OBJS, OBJDEPS.
	(jc1): Link with $(BACKEND).
	(jv-scan): Depend on version.o, not all of $(OBJS) or $(BACKEND).

From-SVN: r35501
2000-08-05 00:50:02 +00:00
Zack Weinberg
2ba7ba63a1 gcc-dg.exp: Set up TORTURE_OPTIONS...
* lib/gcc-dg.exp: Set up TORTURE_OPTIONS, torture_with_loops,
	and torture_without_loops as is done by c-torture.exp.
	(search_for): Copy from c-torture.exp.
	(gcc-dg-runtest): New function, drives a directory of tests
	iterating over the TORTURE_OPTIONS.
	(scan-assembler, scan-assembler-not): Move here from
	individual directory drivers.

	* gcc.dg/dg.exp: scan-assembler, scan-assembler-not now
	defined by lib/gcc-dg.exp.
	* gcc.dg/cpp/cpp.exp: Likewise.
	* gcc.dg/noncompile/noncompile.exp: Likewise.  Use
	gcc-dg-runtest, so we cycle over optimization options.

	* gcc.dg/cpp/20000625-2.c: Expect warning on line 8, not 9.
	* gcc.dg/compare2.c: No longer expected to fail.

From-SVN: r35500
2000-08-05 00:46:17 +00:00
Jason Merrill
3af4c87cca new
From-SVN: r35499
2000-08-04 20:38:31 -04:00
Jason Merrill
baf7e33b41 pt.c (do_type_instantiation): Add complain parm; don't complain if called recursively.
* pt.c (do_type_instantiation): Add complain parm; don't complain
        if called recursively.
        * cp-tree.h, parse.y: Adjust.

From-SVN: r35498
2000-08-04 20:38:24 -04:00
Herman A.J. ten Brugge
39c1728ea7 c4x.md (return_indirect_internal): New.
2000-08-05  Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>

        * config/c4x/c4x.md (return_indirect_internal): New.
        * config/c4x/c4x.c (c4x_expand_epilogue): Use it.

From-SVN: r35497
2000-08-04 23:43:22 +00:00