Richard Henderson [Tue, 8 Aug 2000 08:28:00 +0000 (01:28 -0700)]
tm.texi (LOCAL_REGNO): Document.
* tm.texi (LOCAL_REGNO): Document.
* flow.c (LOCAL_REGNO, EPILOGUE_USES): Provide default.
(mark_regs_live_at_end): Don't mark LOCAL_REGNO registers.
* reload1.c (reload): Likewise when considering nonlocal labels.
* config/ia64/ia64.h (LOCAL_REGNO): New.
* config/sparc/sparc.h (LOCAL_REGNO): New.
From-SVN: r35564
Joseph Myers [Tue, 8 Aug 2000 08:23:31 +0000 (09:23 +0100)]
c-lex.c (yylex): Don't allow integer suffixes 'LUL', 'Ll', 'lL'.
* c-lex.c (yylex): Don't allow integer suffixes 'LUL', 'Ll', 'lL'.
testsuite:
* gcc.dg/noncompile/const-ll-1.c: New test.
From-SVN: r35563
Jeff Law [Tue, 8 Aug 2000 07:45:08 +0000 (01:45 -0600)]
Daily bump.
From-SVN: r35562
Tom Tromey [Tue, 8 Aug 2000 03:34:51 +0000 (03:34 +0000)]
Method.java (hashCode): Use getName().
* java/lang/reflect/Method.java (hashCode): Use getName().
(toString): Likewise.
* java/lang/reflect/natMethod.cc (getType): Initialize
exception_types.
From-SVN: r35561
Alexandre Petit-Bianco [Tue, 8 Aug 2000 03:33:36 +0000 (03:33 +0000)]
2000-08-07 Alexandre Petit-Bianco <apbianco@cygnus.com
* parse.y (build_dot_class_method_invocation): Changed parameter
name to `type.' Build signature from `type' and convert it to a
STRING_CST if it's an array.
(patch_incomplete_class_ref): `build_dot_class_method_invocation'
to use `ref_type' directly.
2000-08-01 Alexandre Petit-Bianco <apbianco@cygnus.com>
* parse.y (maybe_yank_clinit): When generating bytecode: non empty
method bodies not to rule out discarding `<clinit>'; don't use
<clinit> to initialize static fields with constant initializers.
2000-08-01 Alexandre Petit-Bianco <apbianco@cygnus.com>
* gjavah.c (print_method_info): Added `synth' parameter. Skip
synthetic methods.
(method_synthetic): New global.
(HANDLE_METHOD): Recognize synthetic method and tell
`print_method_info' about it.
(HANDLE_END_METHOD): Do not issue an additional `;\n' if we're
processing a synthetic method.
* jcf-reader.c (skip_attribute): New function.
( skip_attribute): Likewise.
2000-08-01 Alexandre Petit-Bianco <apbianco@cygnus.com>
* parse.y (build_outer_field_access): Fixed comments.
(fix_constructors): Emit the initialization of this$<n> before
calling $finit$.
(resolve_qualified_expression_name): Build an access to `decl' if
necessary.
2000-07-31 Alexandre Petit-Bianco <apbianco@cygnus.com>
* parse-scan.y (curent_class): Non longer const.
(inner_qualifier, inner_qualifier_length): Deleted.
(current_class_length): New global.
(bracket_count): Fixed typo in leading comment.
(anonymous_count): New global.
(class_instance_creation_expression:): Handle anonymous classes.
(anonymous_class_creation:): New rule.
(push_class_context): Rewritten.
(pop_class_context): Likewise.
(INNER_QUALIFIER): Macro deleted.
(report_class_declaration): call `push_class_context' when
entering the function. `fprintf' format modified not to use
INNER_QUALIFIER.
(report_class_declaration): Assign `package_name' and
`current_class' to NULL separatly.
2000-07-31 Alexandre Petit-Bianco <apbianco@cygnus.com>
* expr.c (build_invokeinterface): Call layout_class_methods on
target interface.
(http://gcc.gnu.org/ml/gcc-patches/2000-08/msg00339.html)
From-SVN: r35560
Nick Clifton [Tue, 8 Aug 2000 01:17:06 +0000 (01:17 +0000)]
Fix most compile time warning messages
From-SVN: r35559
Toon Moene [Mon, 7 Aug 2000 21:19:48 +0000 (23:19 +0200)]
g77spec.c (lang_specific_driver): Clearer g77 version message.
2000-08-07 Toon Moene <toon@moene.indiv.nluug.nl>
* g77spec.c (lang_specific_driver): Clearer g77 version message.
From-SVN: r35558
Tom Tromey [Mon, 7 Aug 2000 20:03:40 +0000 (20:03 +0000)]
Method.java (toString): Use Class.getName, not Class.toString.
* java/lang/reflect/Method.java (toString): Use Class.getName, not
Class.toString.
* java/lang/reflect/Field.java (toString): Correct formatting.
From Corey Minyard.
From-SVN: r35557
Tom Tromey [Mon, 7 Aug 2000 19:59:48 +0000 (19:59 +0000)]
PipedInputStream.java (read(byte[],int,int)): Mostly rewrote.
* java/io/PipedInputStream.java (read(byte[],int,int)): Mostly
rewrote.
(receive): Streamlined.
From-SVN: r35556
Felix Natter [Mon, 7 Aug 2000 19:29:19 +0000 (19:29 +0000)]
porting-howto.html: New version.
2000-08-07 Felix Natter <fnatter@gmx.net>
* docs/17_intro/porting-howto.html: New version.
From-SVN: r35555
DJ Delorie [Mon, 7 Aug 2000 15:04:48 +0000 (11:04 -0400)]
* MAINTAINERS: Add self as a DJGPP maintainer
From-SVN: r35554
DJ Delorie [Mon, 7 Aug 2000 15:00:46 +0000 (11:00 -0400)]
configure.in (FLAGS_FOR_TARGET): invert test for xgcc...
* configure.in (FLAGS_FOR_TARGET): invert test for xgcc, should mean
"if we're also building gcc, and it's a gcc that will run on the
build machine, we want to use its includes instead of the system's
default includes".
From-SVN: r35553
Nick Clifton [Mon, 7 Aug 2000 11:35:06 +0000 (11:35 +0000)]
* mn10300.h (TARGET_SWITCHES): Document `-mam33'.
From-SVN: r35552
Graham Stott [Mon, 7 Aug 2000 11:28:02 +0000 (11:28 +0000)]
mn10300.md: Use nonimmediate_operand instead of general_operand on output operands.
* mn10300.md: Use nonimmediate_operand instead of general_operand
on output operands.
From-SVN: r35551
Graham Stott [Mon, 7 Aug 2000 11:26:59 +0000 (11:26 +0000)]
* mn10300.h (PREFERRED_RELOAD_CLASS): Limit memory reloads.
From-SVN: r35550
Alexandre Oliva [Mon, 7 Aug 2000 11:20:25 +0000 (11:20 +0000)]
Remove dangling whitespace
From-SVN: r35549
Alexandre Oliva [Mon, 7 Aug 2000 09:58:29 +0000 (09:58 +0000)]
sh.h (EXTRA_CONSTRAINT_Q): Adjust to GNU Coding Standards.
* sh.h (EXTRA_CONSTRAINT_Q): Adjust to GNU Coding Standards.
* sh.c (expand_block_move): Break long lines.
(expand_ashiftrt, fpscr_set_from_mem): Likewise.
* sh.md (mulsi3): Likewise.
(movdi): Adjust spacing.
From-SVN: r35548
Joseph Myers [Mon, 7 Aug 2000 09:48:23 +0000 (10:48 +0100)]
* gcc.dg/c90-printf-2.c, gcc.dg/c99-printf-2.c: New tests.
From-SVN: r35547
Richard Henderson [Mon, 7 Aug 2000 08:27:54 +0000 (01:27 -0700)]
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
Jeff Law [Mon, 7 Aug 2000 07:45:08 +0000 (01:45 -0600)]
Daily bump.
From-SVN: r35545
Kazu Hirata [Mon, 7 Aug 2000 07:13:13 +0000 (07:13 +0000)]
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
Kazu Hirata [Mon, 7 Aug 2000 07:11:38 +0000 (07:11 +0000)]
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
Kazu Hirata [Mon, 7 Aug 2000 07:07:21 +0000 (07:07 +0000)]
* flow.c: Fix a comment typo.
From-SVN: r35542
Kazu Hirata [Mon, 7 Aug 2000 07:05:52 +0000 (07:05 +0000)]
* decl.c: Fix a comment typo.
From-SVN: r35541
Ovidiu Predescu [Mon, 7 Aug 2000 06:48:26 +0000 (06:48 +0000)]
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
Ovidiu Predescu [Mon, 7 Aug 2000 06:47:34 +0000 (06:47 +0000)]
Changed the language string for Objective-C to "GNU Objective-C".
From-SVN: r35539
Ovidiu Predescu [Mon, 7 Aug 2000 06:28:07 +0000 (06:28 +0000)]
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
Ovidiu Predescu [Mon, 7 Aug 2000 06:27:47 +0000 (06:27 +0000)]
Documented the new -fconstant-string-class option.
From-SVN: r35537
Ovidiu Predescu [Mon, 7 Aug 2000 05:51:41 +0000 (05:51 +0000)]
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
Ovidiu Predescu [Mon, 7 Aug 2000 05:51:14 +0000 (05:51 +0000)]
Integrated Chris Ball's <cball@fmco.com> changes to improve the Posix
thread support for Objective-C.
From-SVN: r35535
Ovidiu Predescu [Sun, 6 Aug 2000 18:54:49 +0000 (18:54 +0000)]
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
Ovidiu Predescu [Sun, 6 Aug 2000 18:54:00 +0000 (18:54 +0000)]
Integrated Chris Ball's <cball@fmco.com> changes to improve the Posix
thread support for Objective-C.
From-SVN: r35533
Ovidiu Predescu [Sun, 6 Aug 2000 18:43:22 +0000 (18:43 +0000)]
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
Ovidiu Predescu [Sun, 6 Aug 2000 18:41:49 +0000 (18:41 +0000)]
Set the ld_library_path so that running programs linked against the
shared version of libobjc run correctly.
From-SVN: r35531
Joseph Myers [Sun, 6 Aug 2000 18:12:49 +0000 (19:12 +0100)]
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
Kazu Hirata [Sun, 6 Aug 2000 18:08:08 +0000 (18:08 +0000)]
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
Joseph Myers [Sun, 6 Aug 2000 18:04:54 +0000 (19:04 +0100)]
* gcc.c-torture/execute/
20000801-4.x: Only xfail on x86.
From-SVN: r35528
Kazu Hirata [Sun, 6 Aug 2000 18:03:58 +0000 (18:03 +0000)]
h8300.c (dosize): Rearrange code for conciseness.
* h8300.c (dosize): Rearrange code for conciseness.
(split_adds_subs): Likewise.
From-SVN: r35527
Kazu Hirata [Sun, 6 Aug 2000 17:57:57 +0000 (17:57 +0000)]
* loop.c: Fix formatting.
From-SVN: r35526
Kazu Hirata [Sun, 6 Aug 2000 17:55:22 +0000 (17:55 +0000)]
* tm.texi (FUNCTION_ARG_PARTIAL_NREGS): Fix a typo.
From-SVN: r35525
Jeff Law [Sun, 6 Aug 2000 17:50:06 +0000 (11:50 -0600)]
* tm.texi (FUNCTION_ARG_PARTIAL_NREGS): Fix a typo.
From-SVN: r35524
Kazu Hirata [Sun, 6 Aug 2000 17:48:30 +0000 (17:48 +0000)]
* expr.c: Fix formatting.
From-SVN: r35523
Kaveh R. Ghazi [Sun, 6 Aug 2000 16:39:20 +0000 (16:39 +0000)]
* rs6000.c (rs6000_maybe_dead): Prototype.
From-SVN: r35522
Richard Henderson [Sun, 6 Aug 2000 10:07:31 +0000 (03:07 -0700)]
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
Michael Hayes [Sun, 6 Aug 2000 08:15:28 +0000 (08:15 +0000)]
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
Ovidiu Predescu [Sun, 6 Aug 2000 07:56:00 +0000 (07:56 +0000)]
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
Ovidiu Predescu [Sun, 6 Aug 2000 07:54:40 +0000 (07:54 +0000)]
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
Ovidiu Predescu [Sun, 6 Aug 2000 07:52:35 +0000 (07:52 +0000)]
Moved the Objective-C specific options to objc/lang-options.h.
From-SVN: r35517
Ovidiu Predescu [Sun, 6 Aug 2000 07:51:15 +0000 (07:51 +0000)]
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
Ovidiu Predescu [Sun, 6 Aug 2000 07:49:11 +0000 (07:49 +0000)]
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
Ovidiu Predescu [Sun, 6 Aug 2000 07:47:20 +0000 (07:47 +0000)]
Added a comma after the last element to avoid syntax errors when other
languages define additional options.
From-SVN: r35514
Jeff Law [Sun, 6 Aug 2000 07:45:07 +0000 (01:45 -0600)]
Daily bump.
From-SVN: r35513
Tom Tromey [Sun, 6 Aug 2000 01:54:07 +0000 (01:54 +0000)]
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
Tom Tromey [Sun, 6 Aug 2000 00:49:29 +0000 (00:49 +0000)]
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
Chris Demetriou [Sun, 6 Aug 2000 00:07:22 +0000 (00:07 +0000)]
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
Chris Demetriou [Sun, 6 Aug 2000 00:02:49 +0000 (00:02 +0000)]
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
Joseph Myers [Sat, 5 Aug 2000 23:08:10 +0000 (00:08 +0100)]
Fix typos.
From-SVN: r35508
Joseph Myers [Sat, 5 Aug 2000 18:31:15 +0000 (19:31 +0100)]
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
Zack Weinberg [Sat, 5 Aug 2000 18:24:19 +0000 (18:24 +0000)]
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
Jason Merrill [Sat, 5 Aug 2000 17:48:27 +0000 (13:48 -0400)]
tweak
From-SVN: r35505
Jeff Law [Sat, 5 Aug 2000 07:45:07 +0000 (01:45 -0600)]
Daily bump.
From-SVN: r35504
Jeffrey Oldham [Sat, 5 Aug 2000 04:17:23 +0000 (04:17 +0000)]
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
Zack Weinberg [Sat, 5 Aug 2000 01:13:37 +0000 (01:13 +0000)]
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
Zack Weinberg [Sat, 5 Aug 2000 00:50:02 +0000 (00:50 +0000)]
[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
Zack Weinberg [Sat, 5 Aug 2000 00:46:17 +0000 (00:46 +0000)]
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
Jason Merrill [Sat, 5 Aug 2000 00:38:31 +0000 (20:38 -0400)]
new
From-SVN: r35499
Jason Merrill [Sat, 5 Aug 2000 00:38:24 +0000 (20:38 -0400)]
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
Herman A.J. ten Brugge [Fri, 4 Aug 2000 23:43:22 +0000 (01:43 +0200)]
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
Joseph Myers [Fri, 4 Aug 2000 23:03:21 +0000 (00:03 +0100)]
c-common.c (time_char_table): Mark up formats added in C99 and make other corrections.
* c-common.c (time_char_table): Mark up formats added in C99 and
make other corrections. %D and %g were added in C99. %Og is an
extension. %EX is permitted. %R, %T, %n, %r, %t were added in
C99. %e was added in C99. %Oj is an extension. %G and %z are in
C99 rather than GNU extensions, but %OG and %Oz are extensions.
%h was added in C99. %C was added in C99. %OY and %OC are
extensions. Add the C99 format %F.
(check_format_info): If pedantic and not in C99 mode, warn for C99
formats, %E and %O.
From-SVN: r35496
J"orn Rennecke [Fri, 4 Aug 2000 22:06:49 +0000 (22:06 +0000)]
function.c (schedule_fixup_var_refs): New function, broken out of put_reg_into_stack.
* function.c (schedule_fixup_var_refs): New function, broken out
of put_reg_into_stack.
(put_reg_into_stack): Use it.
(put_var_into_stack): In CONCAT case, fixup up references for
components only after fixing up references to the whole concat.
testsuite:
* gcc.c-torture/execute/
20000804-1.c: New test.
From-SVN: r35495
Rodney Brown [Fri, 4 Aug 2000 20:28:08 +0000 (20:28 +0000)]
alias.c (mark_constant_function): Use INSN_P.
* alias.c (mark_constant_function): Use INSN_P.
(init_alias_analysis): Likewise.
* combine.c (combine_instructions): Use INSN_P.
(can_combine_p): Likewise.
(try_combine): Likewise.
(distribute_notes): Likewise.
(distribute_links): Likewise.
* cse.c (cse_around_loop): Use INSN_P.
(invalidate_skipped_block): Likewise.
(cse_set_around_loop): Likewise.
(cse_end_of_basic_block): Likewise.
(delete_trivially_dead_insns): Likewise.
* emit-rtl.c (unshare_all_rtl_again): Use INSN_P.
(unshare_all_rtl_1): Likewise.
(next_cc0_user): Likewise.
(try_split make_insn_raw): Likewise.
(remove_unnecessary_notes): Likewise.
* final.c (shorten_branches): Use INSN_P.
(leaf_renumber_regs): Likewise.
(leaf_renumber_regs_insn): Likewise.
* flow.c (find_label_refs): Use INSN_P.
(verify_wide_reg): Likewise.
(notice_stack_pointer_modification): Likewise.
(count_or_remove_death_notes): Likewise.
(verify_flow_info): Likewise.
(clear_log_links): Likewise.
* function.c (fixup_var_refs_insns): Use INSN_P.
(compute_insns_for_mem): Likewise.
* gcse.c (alloc_gcse_mem): Use INSN_P.
(compute_sets): Likewise.
(compute_hash_table): Likewise.
(classic_gcse): Likewise.
(cprop): Likewise.
(insert_insn_end_bb): Likewise.
(delete_null_pointer_checks_1): Likewise.
* global.c (expand_preferences): Use INSN_P.
(build_insn_chain): Likewise.
* graph.c (node_data): Use INSN_P.
* haifa-sched.c (priority): Use INSN_P.
(rm_line_notes): Likewise.
(rm_other_notes): Likewise.
(find_insn_reg_weight): Likewise.
(init_target_units): Likewise.
(schedule_block): Likewise.
(compute_block_forward_dependences): Likewise.
(debug_dependencies): Likewise.
(set_priorities): Likewise.
* integrate.c (function_cannot_inline_p): Use INSN_P.
(save_parm_insns): Likewise.
(copy_insn_list): Likewise.
* jump.c (mark_all_labels): Use INSN_P.
(never_reached_warning): Likewise.
* lcm.c (optimize_mode_switching): Use INSN_P.
* local-alloc.c (validate_equiv_mem): Use INSN_P.
(memref_used_between_p): Likewise.
(update_equiv_regs): Likewise.
(block_alloc): Likewise.
(no_conflict_p): Likewise.
* loop.c (scan_loop): Use INSN_P.
(find_and_verify_loops): Likewise.
(count_loop_regs_set): Likewise.
(loop_reg_used_before_p): Likewise.
(strength_reduce): Likewise.
(recombine_givs): Likewise.
(check_dbra_loop): Likewise.
(load_mems): Likewise.
(try_copy_prop): Likewise.
* print-rtl.c (print_rtx): Use INSN_P.
* recog.c (find_single_use): Use INSN_P.
* reg-stack.c (stack_regs_mentioned): Use INSN_P.
(next_flags_user): Likewise.
(swap_rtx_condition): Likewise.
* regmove.c (mark_flags_life_zones): Use INSN_P.
(optimize_reg_copy_1): Likewise.
(optimize_reg_copy_2): Likewise.
(optimize_reg_copy_3): Likewise.
(reg_is_remote_constant_p): Likewise.
(fixup_match_2): Likewise.
(regmove_optimize): Likewise.
(fixup_match_1): Likewise.
* regrename.c (build_def_use): Use INSN_P.
(replace_reg_in_block): Likewise.
(consider_use): Likewise.
* reload.c (find_equiv_reg): Use INSN_P.
* reload1.c (reload): Use INSN_P.
(maybe_fix_stack_asms): Likewise.
(calculate_needs_all_insns): Likewise.
(reload_as_needed): Likewise.
(emit_output_reload_insns): Likewise.
(delete_address_reloads_1): Likewise.
(reload_cse_regs_1): Likewise.
(reload_combine): Likewise.
(reload_cse_move2add): Likewise.
* reorg.c (redundant_insn): Use INSN_P.
(dbr_schedule): Likewise.
* resource.c (find_dead_or_set_registers): Use INSN_P.
(mark_target_live_regs): Likewise.
* rtlanal.c (reg_used_between_p): Use INSN_P.
(reg_referenced_between_p): Likewise.
(reg_set_between_p): Likewise.
(reg_set_p): Likewise.
(single_set): Likewise.
(multiple_sets): Likewise.
(find_last_value): Likewise.
(reg_set_last): Likewise.
(find_reg_note): Likewise.
(find_regno_note): Likewise.
* sibcall.c (sequence_uses_addressof): Use INSN_P.
* simplify-rtx.c (cselib_process_insn): Use INSN_P.
* ssa.c (find_evaluations): Use INSN_P.
(rename_block): Likewise.
(rename_equivalent_regs): Likewise.
* unroll.c (loop_find_equiv_value): Use INSN_P.
(set_dominates_use): Likewise.
* varasm.c (mark_constant_pool): Use INSN_P.
(mark_constants): Likewise.
* config/alpha/alpha.c (alpha_does_function_need_gp): Use INSN_P.
(alphaev4_next_group): Likewise.
(alphaev5_next_group): Likewise.
* config/c4x/c4x.c (c4x_process_after_reload): Use INSN_P.
(c4x_rptb_rpts_p): Likewise.
* config/mips/mips.c (mips16_optimize_gp): Use INSN_P.
* config/rs6000/rs6000.c (uses_TOC): Use INSN_P.
(rs6000_adjust_priority): Likewise.
* config/sh/sh.c (sh_loop_align): Use INSN_P.
(machine_dependent_reorg): Likewise.
(split_branches): Likewise.
* config/tahoe/tahoe.c (tahoe_cmp_check): Use INSN_P.
From-SVN: r35494
Mark Mitchell [Fri, 4 Aug 2000 20:24:47 +0000 (20:24 +0000)]
Minor tweaks
From-SVN: r35493
John Wehle [Fri, 4 Aug 2000 19:16:05 +0000 (19:16 +0000)]
combine.c (recog_for_combine): Remove the old notes prior to attempting to recognize the new pattern.
* combine.c (recog_for_combine): Remove the old notes
prior to attempting to recognize the new pattern.
(distribute_notes): Ignore REG_NONNEG notes.
From-SVN: r35492
Mark Mitchell [Fri, 4 Aug 2000 18:49:13 +0000 (18:49 +0000)]
Fix typo
From-SVN: r35491
Mark Mitchell [Fri, 4 Aug 2000 18:41:00 +0000 (18:41 +0000)]
cp-tree.h (add_method): Change prototype.
* cp-tree.h (add_method): Change prototype.
* class.c (add_method): Remove FIELDS parameter. Add ERROR_P.
Don't double the size of the method vector in the error case.
(handle_using_decl): Adjust call to add_method.
(add_implicitly_declared_members): Likewise.
(clone_function_decl): Likewise.
* decl2.c (check_classfn): Likewise.
* semantics.c (finish_member_declaration): Likewise.
From-SVN: r35490
Chandrakala Chavva [Fri, 4 Aug 2000 18:11:16 +0000 (14:11 -0400)]
* varasm.c (output_constructor): Add .align 0 for packed vars.
From-SVN: r35489
J. David Anglin [Fri, 4 Aug 2000 17:39:19 +0000 (17:39 +0000)]
configure.in: Use default thread_file even when enable_threads is yes or dce because...
* configure.in: Use default thread_file even when enable_threads is
yes or dce because hpux10.20 pa port uses MULTILIB implementation.
* configure: Rebuilt.
From-SVN: r35488
J. David Anglin [Fri, 4 Aug 2000 17:25:19 +0000 (17:25 +0000)]
* gthr-dce.h (__gthread_objc_condition_allocate): Fix typo.
From-SVN: r35487
David E O'Brien [Fri, 4 Aug 2000 17:22:03 +0000 (11:22 -0600)]
mask_array.h (mask_array): Rename template type parameter to avoid conflicts with ctype.h on BSD systems.
* std/mask_array.h (mask_array): Rename template type
parameter to avoid conflicts with ctype.h on BSD systems.
* std/slice_array.h (slice_array): Likewise.
From-SVN: r35486
Jeff Law [Fri, 4 Aug 2000 17:02:51 +0000 (11:02 -0600)]
* prefix.c (translate_name): Don't strip trailing DIR_SEPARATOR.
From-SVN: r35485
Mark Elbrecht [Fri, 4 Aug 2000 16:19:19 +0000 (16:19 +0000)]
x-djgpp: Delete code that conditionally modifies target_alias.
* i386/x-djgpp: Delete code that conditionally modifies target_alias.
Delete code that conditionally modifies 'version'.
Delete X_CPPFLAGS. Add comment for SYSTEM_HEADER_DIR.
* i386/xm-djgpp.h (GCC_DRIVER_HOST_INITIALIZATION): New macro.
* gcc.c (main): Use it.
* config/i386/xm-djgpp.h (UPDATE_PATH_HOST_CANONICALIZE): New macro.
* prefix.c (update_path): Use it.
* i386/djgpp.h (STANDARD_INCLUDE_DIR): Define.
(MD_EXEC_PREFIX): Set to '/dev/env/DJDIR/bin/'.
(ASM_OUTPUT_SECTION_NAME): Add code attribute to sections containing
code.
(SUPPORTS_WEAK, SUPPORTS_ONE_ONLY): Default to true.
(SUBTARGET_SWITCHES): Adjust.
(WCHAR_UNSIGNED, WCHAR_TYPE_SIZE, WCHAR_TYPE): Undefine before
defining.
(WINT_TYPE, SIZE_TYPE, PTRDIFF_TYPE): Define.
From-SVN: r35484
Mark Elbrecht [Fri, 4 Aug 2000 16:17:37 +0000 (16:17 +0000)]
mh-djgpp: Conditionally set 'target_alias' to djgpp.
* mh-djgpp: Conditionally set 'target_alias' to djgpp. Conditionally
modify 'gcc_version'.
From-SVN: r35483
Joseph Myers [Fri, 4 Aug 2000 16:10:14 +0000 (17:10 +0100)]
c-common.h (flag_isoc94): Declare.
* c-common.h (flag_isoc94): Declare.
* c-decl.c (flag_isoc94): Define.
(c_decode_option): Set flag_isoc94 as appropriate.
* c-common.c (T_PD, T_IM, T_UIM): Define.
(format_char_info): Add tlen and jlen.
(print_char_table): Add entries for %t and %j. Allow %zn. Allow
%F. Allow %lf.
(scan_char_table): Add entries for %t and %j. Allow %F. Allow
%l[.
(time_char_table): Add NULL entries for %t and %j.
(check_format_info): Allow for %t and %j. Warn for %F if pedantic
and not C99. Warn for %lc, %ls and %l[ if pedantic and not C94.
Warn for printf %lf if pedantic and not C99. Don't warn for empty
precision. Allow precision argument to be unsigned int. If
pedantic, warn for %p passed an argument not a pointer to possibly
qualified void or a possibly qualified character type, and for
pointer targets of the wrong sign, except for character pointers.
cp:
* decl.c (flag_isoc94): New variable.
testsuite:
* gcc.dg/c90-printf-1.c, gcc.dg/c94-printf-1.c: New tests.
From-SVN: r35482
Joseph Myers [Fri, 4 Aug 2000 16:00:48 +0000 (17:00 +0100)]
stddef.h: Don't declare wint_t unless __need_wint_t.
* ginclude/stddef.h: Don't declare wint_t unless __need_wint_t.
* c-common.h (enum c_tree_index): Add CTI_WINT_TYPE.
(wint_type_node): Define.
* c-decl.c (WINT_TYPE): Define.
(init_decl_processing): Create the wint_type_node type.
* c-common.c (T_WI): Define.
(print_char_table): Use T_WI for %lc format.
From-SVN: r35481
Bruce Korb [Fri, 4 Aug 2000 14:20:42 +0000 (14:20 +0000)]
Removed conditional #defines of macros GCC always defines
From-SVN: r35480
Bruce Korb [Fri, 4 Aug 2000 14:16:57 +0000 (14:16 +0000)]
Implement, but leave disabled, MSDOS functionality
From-SVN: r35479
Joseph Myers [Fri, 4 Aug 2000 12:45:57 +0000 (13:45 +0100)]
cppdefault.h (WINT_TYPE): Define.
* cppdefault.h (WINT_TYPE): Define.
* cppinit.c (builtin_array): Define __WINT_TYPE__.
* tradcpp.c (initialize_builtins): Define __WINT_TYPE__.
* tm.texi (NO_BUILTIN_WINT_TYPE, WINT_TYPE): Document.
From-SVN: r35478
Clinton Popetz [Fri, 4 Aug 2000 11:52:08 +0000 (11:52 +0000)]
(mips_legitimate_address_p): Don't allow register+offset if the offset is large and negative...
* (mips_legitimate_address_p): Don't allow register+offset
if the offset is large and negative, and we are compiling
for 64 bit registers.
From-SVN: r35477
Joseph Myers [Fri, 4 Aug 2000 08:37:37 +0000 (09:37 +0100)]
* MAINTAINERS: Add self to Write After Approval list.
From-SVN: r35476
Jeff Law [Fri, 4 Aug 2000 07:45:12 +0000 (01:45 -0600)]
Daily bump.
From-SVN: r35475
Kazu Hirata [Fri, 4 Aug 2000 07:07:55 +0000 (07:07 +0000)]
h8300.c (function_prologue): Rearrange code for conciseness.
* h8300.c (function_prologue): Rearrange code for conciseness.
(function_epilogue): Likewise.
* hh8300.h (OK_FOR_U): Fix formatting.
From-SVN: r35474
Herman A.J. ten Brugge [Fri, 4 Aug 2000 07:01:30 +0000 (09:01 +0200)]
gencodes.c (main): Define CODE_FOR_nothing as the last possible insn_code_number + 1.
* gencodes.c (main): Define CODE_FOR_nothing as the last possible
insn_code_number + 1.
From-SVN: r35473
Kazu Hirata [Fri, 4 Aug 2000 06:55:10 +0000 (06:55 +0000)]
* cse.c: Fix a comment typo. Fix formatting.
From-SVN: r35472
Richard Henderson [Fri, 4 Aug 2000 04:14:52 +0000 (21:14 -0700)]
i386.md (return_indirect_internal): New.
* i386.md (return_indirect_internal): New.
* i386.c (ix86_expand_epilogue): Use it.
From-SVN: r35471
Zack Weinberg [Fri, 4 Aug 2000 01:30:06 +0000 (01:30 +0000)]
cpplex.c (parse_name): Might have to glue a CPP_OTHER token before the name.
* cpplex.c (parse_name): Might have to glue a CPP_OTHER token
before the name.
(lex_line): Glue @ onto the beginning of identifiers and
string constants, in Objective-C mode.
(output_token, spell_token): Handle CPP_OSTRING.
(can_paste, maybe_paste_with_next): Handle pasting @ onto the
beginning of a NAME or a STRING, in objc mode.
* cpplib.c (get_define_node): Do not permit identifiers that
begin with @ to be #defined.
* cppmacro.c (CAN_PASTE_AFTER): Add CPP_OTHER.
* cpplib.h (TTYPE_TABLE): Add CPP_OSTRING.
* c-lang.c, objc/objc-act.c (build_objc_string): Delete.
* c-tree.h (build_objc_string): Delete prototype.
* objc/objc-tree.def: Delete OBJC_STRING_CST.
* c-lex.c (yylex): Use build_string for all three kinds of strings.
* gcc.dg/cpp/
20000625-2.c: Don't expect a warning on line 4.
From-SVN: r35470
Bryce McKinlay [Fri, 4 Aug 2000 01:15:51 +0000 (02:15 +0100)]
Missing changelog entry
From-SVN: r35469
Warren Levy [Fri, 4 Aug 2000 00:42:20 +0000 (00:42 +0000)]
ObjectInputStream.java (readFields): Turn off readDataFromBlock while reading via GetField.
* java/io/ObjectInputStream.java (readFields): Turn off
readDataFromBlock while reading via GetField.
(GetField$1.get(String, Object)): Pass Class of default value to
getField.
(getField): Allow for null default values.
* java/io/ObjectOutputStream.java: Fixed typo in comment.
(PutField$1.put): Fixed calls of checkType in most of the put
methods to pass the correct parameter.
(PutField$1.put(String, Object)): Allow for null value arg.
(PutField$1.write): Turn off writeDataAsBlocks while writing via
PutField.
* java/io/ObjectStreamClass.java (serialPersistentFields): Fixed
typo in spec'ed field name.
(getSerialPersistentFields): Changed spelling of method to match
the correct spelling of the spec'ed field name.
More serialization fixes per Mauve errors.
From-SVN: r35468
Jason Merrill [Fri, 4 Aug 2000 00:02:19 +0000 (20:02 -0400)]
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: r35467
Mark Mitchell [Thu, 3 Aug 2000 23:55:24 +0000 (23:55 +0000)]
* extend.texi: Fix typo in last change.
From-SVN: r35466
Alexandre Oliva [Thu, 3 Aug 2000 23:52:12 +0000 (23:52 +0000)]
* configure.in (libstdcxx_flags): Don't use `"'.
From-SVN: r35465