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
Mark Mitchell [Thu, 3 Aug 2000 23:10:18 +0000 (23:10 +0000)]
extend.texi: Add commentary on statement-expressions and their interactions with C++.
* extend.texi: Add commentary on statement-expressions and their
interactions with C++.
From-SVN: r35464
Mark Mitchell [Thu, 3 Aug 2000 23:07:43 +0000 (23:07 +0000)]
ChangeLog
From-SVN: r35463
Nick Clifton [Thu, 3 Aug 2000 22:41:38 +0000 (22:41 +0000)]
Change java language number to 0x000b
From-SVN: r35462
Mark Mitchell [Thu, 3 Aug 2000 21:30:29 +0000 (21:30 +0000)]
* dce: New file.
From-SVN: r35461
Anthony Green [Thu, 3 Aug 2000 21:04:42 +0000 (21:04 +0000)]
Apply patch from Anthony Green to add java language support to Dwarf generation.
From-SVN: r35460
Alexandre Oliva [Thu, 3 Aug 2000 19:19:33 +0000 (19:19 +0000)]
config-ml.in: Adjust multilib search paths to the appropriate multilib tree.
* config-ml.in: Adjust multilib search paths to the
appropriate multilib tree.
From-SVN: r35459
Jan Hubicka [Thu, 3 Aug 2000 18:36:14 +0000 (18:36 +0000)]
reg-stack.c (subst_stack_regs_pat): Use replace_reg to swap operands.
* reg-stack.c (subst_stack_regs_pat): Use replace_reg to swap
operands.
* i386.c (ix86_expand_branch): Mode of comparison in
IF_THEN_ELSE is VOIDmode.
From-SVN: r35458
Tom Tromey [Thu, 3 Aug 2000 17:56:02 +0000 (17:56 +0000)]
Makefile.in: Rebuilt.
* Makefile.in: Rebuilt.
* Makefile.am (awt_java_source_files): Added new files.
From-SVN: r35457
Akiko Matsushita [Thu, 3 Aug 2000 16:06:13 +0000 (01:06 +0900)]
* gengenrtl.c, rtl.c: Avoid #elif.
From-SVN: r35456
Kazu Hirata [Thu, 3 Aug 2000 15:20:43 +0000 (15:20 +0000)]
h8300.c: Fix a comment typo.
* h8300.c: Fix a comment typo.
* h8300.h (OK_FOR_U): Accept a 32-bit constant address on H8/S.
From-SVN: r35455
Michael Poole [Thu, 3 Aug 2000 15:05:25 +0000 (09:05 -0600)]
tm.texi (Register Classes): Clarify order of sub-initializers in REG_CLASS_CONTENTS.
* tm.texi (Register Classes): Clarify order of sub-initializers
in REG_CLASS_CONTENTS.
From-SVN: r35454
Kazu Hirata [Thu, 3 Aug 2000 15:01:36 +0000 (15:01 +0000)]
* jump.c: Fix formatting.
From-SVN: r35453
J"orn Rennecke [Thu, 3 Aug 2000 14:55:05 +0000 (14:55 +0000)]
From SAITOH Masanobu:
* sh.h (ASM_OUTPUT_REG_PUSH): Fix syntax.
From-SVN: r35452
David Billinghurst [Thu, 3 Aug 2000 13:30:18 +0000 (13:30 +0000)]
cygwin.h: Remove -remap from CPP_SPEC since this option is not supported by tradcpp and...
* config/i386/cygwin.h: Remove -remap from CPP_SPEC since this option is not
supported by tradcpp and isn't actually needed for cygwin.
From-SVN: r35451
Bryce McKinlay [Thu, 3 Aug 2000 12:09:41 +0000 (13:09 +0100)]
Makefile.am: Add new AWT stubs.
* Makefile.am: Add new AWT stubs.
* java/awt/Canvas.java: New placeholder class.
* java/awt/Checkbox.java: Ditto.
* java/awt/CheckboxMenuItem.java: Ditto.
* java/awt/Choice.java: Ditto.
* java/awt/Dialog.java: Ditto.
* java/awt/FileDialog.java: Ditto.
* java/awt/List.java: Ditto.
* java/awt/ScrollPane.java: Ditto.
* java/awt/TextField.java: Ditto.
* java/awt/datatransfer/Clipboard.java: Ditto.
* java/awt/Component.java (treeLock): Now a static String. Add
comment.
* java/awt/MenuItem.java (MenuItem): Add default constructor.
* java/awt/Toolkit.java: Added all methods from J2SE 1.3 API docs.
Some commented out. Partially implemented.
* java/awt/natToolkit.cc: Removed file.
From-SVN: r35450
Zack Weinberg [Thu, 3 Aug 2000 08:26:36 +0000 (08:26 +0000)]
decl2.c: Silently ignore -Wstrict-prototypes; warn about -Wno-strict-prototypes.
* decl2.c: Silently ignore -Wstrict-prototypes; warn about
-Wno-strict-prototypes.
From-SVN: r35449
Mark Mitchell [Thu, 3 Aug 2000 07:56:17 +0000 (07:56 +0000)]
locale_facets.h (ctype::ctype): Don't name unused parameters.
* bits/locale_facets.h (ctype::ctype): Don't name unused
parameters.
From-SVN: r35448
Jeffrey A Law [Thu, 3 Aug 2000 07:46:44 +0000 (07:46 +0000)]
* gcc.c-torture/compile/
20000803-1.c: New test.
From-SVN: r35447
Jeff Law [Thu, 3 Aug 2000 07:45:10 +0000 (01:45 -0600)]
Daily bump.
From-SVN: r35446
Joseph Myers [Thu, 3 Aug 2000 07:36:13 +0000 (01:36 -0600)]
20000801-3.c, [...]: New tests.
* gcc.c-torture/execute/
20000801-3.c, gcc.c-torture/
20000801-4.c:
New tests.
* gcc.c-torture/execute/
20000801-3.x, gcc/c-torture/
20000801-4.x:
Xfail.
From-SVN: r35445
Kazu Hirata [Thu, 3 Aug 2000 07:29:11 +0000 (07:29 +0000)]
* toplev.c: Fix formatting.
From-SVN: r35444
Jeffrey A Law [Thu, 3 Aug 2000 07:16:39 +0000 (07:16 +0000)]
flow.c (find_auto_inc): Verify that we've got a REG before peeking at its regno.
* flow.c (find_auto_inc): Verify that we've got a REG before
peeking at its regno. Fail, don't abort if we can't find
the increment of the desired register.
From-SVN: r35443
Jeffrey A Law [Thu, 3 Aug 2000 07:05:28 +0000 (07:05 +0000)]
* pa.md (shadd height reduction patterns/splitters): Remove.
From-SVN: r35442
Bryce McKinlay [Thu, 3 Aug 2000 06:48:34 +0000 (06:48 +0000)]
Makefile.am: Make inner class CNI headers depend on libgcj.zip only.
2000-08-03 Bryce McKinlay <bryce@albatross.co.nz>
* Makefile.am: Make inner class CNI headers depend on libgcj.zip
only.
Fixes "make -j" builds.
* Makefile.in: Rebuild.
From-SVN: r35441
Alexandre Oliva [Thu, 3 Aug 2000 01:56:16 +0000 (01:56 +0000)]
configure.in (CHILL_FOR_TARGET, [...]): Convert blanks to commas in $LANGUAGES.
* configure.in (CHILL_FOR_TARGET, CXX_FOR_TARGET): Convert blanks to
commas in $LANGUAGES.
From-SVN: r35440
Jim Wilson [Thu, 3 Aug 2000 00:31:39 +0000 (00:31 +0000)]
Workaround for -fssa testsuite failures.
* config/ia64/ia64-protos.h (flag_ssa): Declare.
* config/ia64/ia64.md (movti_internal, movti_internal+1): New.
From-SVN: r35439
Mark Mitchell [Thu, 3 Aug 2000 00:17:11 +0000 (00:17 +0000)]
dce.c: Remove all uses of assert.
* dce.c: Remove all uses of assert.
* dwarf2out.c: Likewise.
* dwarfout.c: Likewise.
* ssa.c: Likewise.
From-SVN: r35438
Geoff Keating [Wed, 2 Aug 2000 22:24:35 +0000 (22:24 +0000)]
objc.exp (objc_target_compile): Look for libobjc.a in libobjc/.libs to allow for libtool.
* lib/objc.exp (objc_target_compile): Look for libobjc.a in
libobjc/.libs to allow for libtool.
From-SVN: r35437
Zack Weinberg [Wed, 2 Aug 2000 22:03:53 +0000 (22:03 +0000)]
* pexecute.c: Don't use vfork. Initialize 'pid' before retry loop.
From-SVN: r35436
Tom Tromey [Wed, 2 Aug 2000 21:54:04 +0000 (21:54 +0000)]
Makefile.in: Rebuilt.
* Makefile.in: Rebuilt.
* Makefile.am (libgcj_la_SOURCES): Added posix.cc.
* java/net/natPlainSocketImpl.cc: Include posix.h.
(accept): Use _Jv_select.
* java/net/natPlainDatagramSocketImpl.cc: Include posix.h.
(receive): Use _Jv_select.
* java/io/natFileDescriptorPosix.cc: Include posix.h.
(available): Use _Jv_select.
* java/lang/natSystem.cc: Include posix.h.
(currentTimeMillis): Use _Jv_gettimeofday.
* include/posix.h: New file.
* posix.cc: New file.
From-SVN: r35435
Jakub Jelinek [Wed, 2 Aug 2000 20:46:32 +0000 (22:46 +0200)]
* gcc.c-torture/compile/
20000802-1.c: New test.
From-SVN: r35434
Zack Weinberg [Wed, 2 Aug 2000 20:21:27 +0000 (20:21 +0000)]
gcc.h (lang_specific_driver): Constify second argument.
* gcc.h (lang_specific_driver): Constify second argument.
* gcc.c (translate_options, process_command, main): Likewise.
Constify variables to match. Cast second argument to
pexecute.
* cppspec.c, gccspec.c, g++spec.c, g77spec.c, jvspec.c: Adjust
type of second argument to lang_specific_driver, and update
code as necessary.
From-SVN: r35433
Tom Tromey [Wed, 2 Aug 2000 19:56:53 +0000 (19:56 +0000)]
encodings.pl: New file.
* scripts/encodings.pl: New file.
* Makefile.in: Rebuilt.
* Makefile.am (convert_source_files): Added IOConverter.java.
* gnu/gcj/convert/UnicodeToBytes.java (UnicodeToBytes): Extend
IOConverter.
(getDefaultDecodingClass): Canonicalize default encoding name.
(getEncoder): Likewise.
* gnu/gcj/convert/BytesToUnicode.java (BytesToUnicode): Extend
IOConverter.
(getDefaultDecodingClass): Canonicalize default encoding name.
(getDecoder): Likewise.
* gnu/gcj/convert/IOConverter.java: New file.
From-SVN: r35432
Tom Tromey [Wed, 2 Aug 2000 19:46:07 +0000 (19:46 +0000)]
gc_priv.h (GC_generic_malloc_inner): Prototype.
* gc_priv.h (GC_generic_malloc_inner): Prototype.
(GC_generic_malloc): Likewise.
(GC_add_to_black_list_normal): Likewise.
(GC_find_header): Likewise.
(GC_ADD_TO_BLACK_LIST_NORMAL): Cast bits argument to word.
* gc_mark.h (GC_find_start): Prototype.
(GC_signal_mark_stack_overflow): Likewise.
From-SVN: r35431
Manfred Hollstein [Wed, 2 Aug 2000 18:44:04 +0000 (18:44 +0000)]
configure.in: Re-enable all references to libg++ and librx.
2000-08-02 Manfred Hollstein <manfredh@redhat.com>
* configure.in: Re-enable all references to libg++ and librx.
From-SVN: r35429
Jakub Jelinek [Wed, 2 Aug 2000 17:29:52 +0000 (19:29 +0200)]
loop.c (scan_loop): Ensure update_end label does not go away until reg_scan_update is run.
* loop.c (scan_loop): Ensure update_end label does not
go away until reg_scan_update is run.
From-SVN: r35428
Zack Weinberg [Wed, 2 Aug 2000 17:01:13 +0000 (17:01 +0000)]
c-common.h: Prototype min_precision and c_build_qualified_type here...
* c-common.h: Prototype min_precision and c_build_qualified_type here...
* c-tree.h: ... not here.
* errors.h: Prototype fancy_abort.
* emit-rtl.c (gen_lowpart_common): Move variable 'c' into
HOST_BITS_PER_WIDE_INT == 64 ifdef block.
* regrename.c (regrename_optimize): Make control flow explicit.
(replace_reg_in_block): Initialize reg_use to 0.
* i386.c (legitimate_address_p): Rename error label to
report_error to avoid namespace clash.
cp:
* cp-tree.h: Don't prototype min_precision here.
(my_friendly_assert): Cast expression to void.
* semantics.c (do_poplevel): Initialize scope_stmts.
f:
* expr.c (ffeexpr_finished_): Cast signed side of ?:
expression to bool.
java:
* class.c (build_dtable_decl): Initialize dummy.
intl:
* dcgettext.c (find_msg): Initialize act before loop.
(guess_category_value): Add dummy uses of both parameters.
* localealias.c (read_alias_file): Cast arg of strchr to char *.
From-SVN: r35427
Mark Mitchell [Wed, 2 Aug 2000 16:02:43 +0000 (16:02 +0000)]
* cp-tree.h (DECL_NEEDED_P): Tweak.
From-SVN: r35426
Kazu Hirata [Wed, 2 Aug 2000 15:28:44 +0000 (15:28 +0000)]
* fold-const.c: Fix formatting.
From-SVN: r35425
Jan Hubicka [Wed, 2 Aug 2000 14:28:14 +0000 (14:28 +0000)]
i386.c (legitimate_address_p): Accept other bases than pic_offset_table_rtx for GOTOFF constructs.
* i386.c (legitimate_address_p): Accept other bases than
pic_offset_table_rtx for GOTOFF constructs.
From-SVN: r35424
Jan Hubicka [Wed, 2 Aug 2000 14:02:16 +0000 (14:02 +0000)]
* i386.md (shift to lea splitter): Use const_int_operand.
From-SVN: r35423
Jeff Law [Wed, 2 Aug 2000 07:45:08 +0000 (01:45 -0600)]
Daily bump.
From-SVN: r35422
Zack Weinberg [Wed, 2 Aug 2000 07:08:49 +0000 (07:08 +0000)]
cppexp.c, [...]: Do not use 'legal' or 'illegal' in error messages and comments.
* cppexp.c, cppinit.c, cpplex.c, cpplib.c, cppmacro.c,
cppspec.c: Do not use 'legal' or 'illegal' in error messages
and comments.
* cppmain.c (cb_define, cb_undef): Don't generate any output
if not done_initializing.
* cpplex.c (maybe_paste_with_next): When the token after a ##
is an omitted rest argument, only delete the token before it
if that token is a comma. Do not warn about bogus token
pastes for , ## rest_arg.
* cpp.texi: Update.
* cpp.1: Regenerate.
* gcc.dg/cpp/macsyntx.c: Fix error regexp.
From-SVN: r35421
Fred Fish [Wed, 2 Aug 2000 07:04:33 +0000 (07:04 +0000)]
beos-elf.h (STARTFILE_SPEC): Add i386-mcount.o when user gives -p option.
* config/i386/beos-elf.h (STARTFILE_SPEC): Add i386-mcount.o
when user gives -p option. Add init_term_dyn.o for BeOS 5.0
and later.
* config/i386/beos-elf.h (INCLUDE_DEFAULTS): Add additional
Be directories to search path.
Remove support for __declspec(dllimport) and __declspec(dllexport).
This is leftover cruft from the earlier BeOS gcc port when BeOS
used Microsoft's PE object file format.
* configure.in (i*86-*-beoself): Remove extra_objs=winnt.o.
* config/i386/t-beos (winnt.o): Remove Makefile frag.
* config/i386/beos-elf.h (TARGET_NOP_FUN_DLLIMPORT): Remove.
(VALID_MACHINE_DECL_ATTRIBUTE): Remove.
(VALID_MACHINE_TYPE_ATTRIBUTE): Remove.
(MERGE_MACHINE_DECL_ATTRIBUTES): Remove.
(REDO_SECTION_INFO_P): Remove.
(ASM_EXPORT_DECL): Remove.
(ASM_DECLARE_FUNCTION_NAME): Remove.
(ASM_DECLARE_OBJECT_NAME): Remove.
(ASM_OUTPUT_ALIGNED_COMMON): Remove.
(ASM_OUTPUT_ALIGNED_DECL_COMMON): Remove.
(ASM_OUTPUT_ALIGNED_LOCAL): Remove.
(STRIP_NAME_ENCODING): Remove.
Remove support for obsolete version of BeOS that is no longer
supported by Be.
* configure.in (i*86-*-beospe*): Remove.
* config/i386/beos-pe.h: Remove.
From-SVN: r35420
Jeffrey Oldham [Wed, 2 Aug 2000 04:21:27 +0000 (04:21 +0000)]
Makefile.in (OBJS): Added dce.o.
* Makefile.in (OBJS): Added dce.o.
(ssa.o): Updated target to include ssa.h.
(flow.o): Likewise.
(toplev.o): Likewise.
(dce.o): Created target.
* basic-block.h: Added comments.
(INVALID_BLOCK): Added definition.
(connect_infinite_loops_to_exit): Added declaration.
Moved SSA declarations to ssa.h.
* flow.c: Added inclusion of ssa.h.
(struct depth_first_search_dsS, depth_first_search_ds):
Added definitions.
(compute_immediate_postdominators): Added definition.
(connect_infinite_loops_to_exit): Likewise.
(flow_dfs_compute_reverse_init): Likewise.
(flow_dfs_compute_reverse_add_bb): Likewise.
(flow_dfs_compute_reverse_execute): Likewise.
(flow_dfs_compute_reverse_finish): Likewise.
* rtl.h (rtx/in_struct): Added use to determine insn necessity.
(LABEL_P): Added definition.
(JUMP_P): Likewise.
(NOTE_P): Likewise.
(BARRIER_P): Likewise.
(JUMP_TABLE_DATA_P): Likewise.
(INSN_DEAD_CODE_P): Likewise.
* ssa.c: Replaced inclusions with ssa.h inclusion.
(CONVERT_HARD_REGISTER_TO_SSA_P): Moved to ssa.h.
(rename_registers): Removed unnecessary variables.
* ssa.h: Created by moving declarations from ssa.c and
basic-block.h.
* timevar.def: Defined TV_DEAD_CODE_ELIM.
* toplev.c: Added ssa.h inclusion.
(dump_file_index): Added DFI_dce.
(dump_file): Added "dce" entry.
Defined flag_ssa.
(f_options): Added dce entry.
* invoke.texi: Document -fdce. Emphasize experimental status of
-fssa.
Co-Authored-By: Mark Mitchell <mark@codesourcery.com>
From-SVN: r35419
Bryce McKinlay [Wed, 2 Aug 2000 03:25:13 +0000 (04:25 +0100)]
[multiple changes]
2000-08-02 Bryce McKinlay <bryce@albatross.co.nz>
* interpret.cc (_Jv_InterpMethod::continue1): Type of `fun' changed
to match C declaration in ffi.h.
* Makefile.am: Add java/awt/Button.java.
* Makefile.in: Rebuilt.
2000-07-29 Alexandre Petit-Bianco <apbianco@cygnus.com>
* java/lang/reflect/natMethod.cc (_Jv_CallAnyMethodA): Type of the
cast of the second argument to `ffi_raw_call' changed to match
prototype.
2000-07-26 Alexandre Petit-Bianco <apbianco@cygnus.com>
* jni.cc (_Jv_JNIMethod::call): Type of the cast of the second
argument to `ffi_raw_call' changed to match prototype.
From-SVN: r35418
Zack Weinberg [Wed, 2 Aug 2000 01:19:30 +0000 (01:19 +0000)]
Resurrect - accidentally deleted in previous commit
From-SVN: r35417
Zack Weinberg [Wed, 2 Aug 2000 01:14:37 +0000 (01:14 +0000)]
argh, forgot to save file
From-SVN: r35416
Zack Weinberg [Wed, 2 Aug 2000 01:13:45 +0000 (01:13 +0000)]
cpperror.c (v_message): Split into _cpp_begin_message and v_message macro.
* cpperror.c (v_message): Split into _cpp_begin_message and
v_message macro. All callers updated.
(_cpp_begin_message): Do inhibit_errors/inhibit_warnings
checks here.
* cppfiles.c (cpp_syshdr_flags): New function.
(read_include_file): Don't call cpp_output_tokens. Call
enter_file hook.
* cppinit.c (dump_macros_helper): Moved to cppmain.c.
(cpp_reader_init): Don't initialize token_buffer. Call
_cpp_init_internal_pragmas.
(cpp_cleanup): Don't clear token_buffer.
(cpp_start_read): Don't worry about output from -D processing.
Don't call cpp_output_tokens.
(cpp_finish): Don't dump macros here. Don't call
cpp_output_tokens.
* cppmacro.c (_cpp_dump_definition): Rename
cpp_dump_definition. Write directly to a FILE *.
(dump_funlike_macro): Delete.
(dump_macro_args): New.
* cpplex.c (TOKEN_LEN): Convert to inline function.
(_cpp_grow_token_buffer, safe_fwrite, cpp_output_tokens,
cpp_scan_line, _cpp_dump_list): Delete.
(cpp_printf, cpp_output_list): New.
(output_line_command): Don't worry about entering or leaving files.
(cpp_scan_buffer): Just output each token as we hit it.
(process_directive): Don't call cpp_output_tokens.
(_cpp_glue_header_name): Don't use token_buffer.
(output_token, dump_param_spelling): Write directly to a FILE *.
* cpplib.c (pass_thru_directive, dump_macro_name,
pragma_dispatch, do_pragma_gcc): Delete.
(do_define, do_undef, parse_include, do_line, do_ident, do_pragma,
do_pragma_poison, cpp_pop_buffer): Call the appropriate hook
functions.
(do_error, do_warning, pragma_dependency): Call
_cpp_begin_message, then cpp_output_list.
(cpp_register_pragma, cpp_register_pragma_space,
_cpp_init_internal_pragmas): New.
(do_pragma): Walk the pragmas table here.
(do_pragma_once, do_pragma_poison, do_pragma_system_header,
do_pragma_dependency): Return void.
(do_pragma_implementation): Moved to cppmain.c.
* cpplib.h: Update prototypes.
(struct cpp_reader): Remove printer, token_buffer,
token_buffer_size, and limit. Add struct cb, and pragmas.
(struct cpp_printer): Remove last_id and written.
(CPP_WRITTEN, CPP_PWRITTEN, CPP_SET_WRITTEN,
CPP_ADJUST_WRITTEN): Delete.
* cpphash.h: Update prototypes.
(ufputs): New wrapper.
* cppmain.c (cb_define, cb_undef, cb_include, cb_ident,
cb_enter_file, cb_leave_file, cb_def_pragma): New functions.
(main): Set up callbacks. Register #pragma implementation.
Dump macros from here.
From-SVN: r35415
Geoff Keating [Wed, 2 Aug 2000 00:53:59 +0000 (00:53 +0000)]
rtl.h (enum reg_note): Add REG_MAYBE_DEAD.
* rtl.h (enum reg_note): Add REG_MAYBE_DEAD.
* rtl.c (reg_note_name): Add REG_MAYBE_DEAD.
* flow.c (propagate_one_insn): Allow deletion of prologue/epilogue
insns if they have a REG_MAYBE_DEAD note attached.
* config/rs6000/rs6000.c (rs6000_maybe_dead): New function.
(rs6000_emit_load_toc_table): TOC loads may go dead.
From-SVN: r35414
Jim Wilson [Tue, 1 Aug 2000 22:23:56 +0000 (22:23 +0000)]
Finish ABI change started by last patch, this time I tested it.
* config/ia64/ia64.c (ia64_function_arg): Fix last change. Verify
type exists before using it. Use number of words as alignment
otherwise.
(ia64_function_arg_partial_nregs, ia64_function_arg_advance,
ia64_va_arg): Propagate ia64_function_args changes here.
From-SVN: r35413
Richard Henderson [Tue, 1 Aug 2000 20:24:22 +0000 (13:24 -0700)]
elfos.h (ASM_DECLARE_OBJECT_NAME): Care for null DECL.
* config/elfos.h (ASM_DECLARE_OBJECT_NAME): Care for null DECL.
* config/ia64/sysv4.h (ASM_OUTPUT_ALIGNED_DECL_LOCAL): Likewise.
From-SVN: r35412
Bernd Schmidt [Tue, 1 Aug 2000 18:45:53 +0000 (18:45 +0000)]
From Joern Rennecke:
* sh.h (CPP_SPEC, TARGET_SWITCHES): Add m4-nofpu.
* sh.md (udivsi3, divsi3): Don't use libcalls that use the FPU
unless TARGET_SH3E is set.
* t-sh (MULTILIB_MATCHES): Add m2=m4-nofpu.
* sh.md (ashlsi3_d, ashlsi3_k): Remove, replace with
(ashlsi3_std): New pattern.
(ashlsi3 expander): Use it for TARGET_SH3.
* sh.c (gen_ashift): Use it instead of ashlsi3_k.
From-SVN: r35411
Benjamin Kosnik [Tue, 1 Aug 2000 18:07:23 +0000 (18:07 +0000)]
install.html: Edit bits about requiring a special version of the autotools.
2000-08-01 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
* docs/install.html: Edit bits about requiring a special version
of the autotools.
From-SVN: r35410
Jan Hubicka [Tue, 1 Aug 2000 10:36:25 +0000 (10:36 +0000)]
loop.c (canonicalize_condition): use destination, not source to determine set's mode.
* loop.c (canonicalize_condition): use destination, not source to
determine set's mode.
From-SVN: r35409
Jeff Law [Tue, 1 Aug 2000 07:45:41 +0000 (01:45 -0600)]
Daily bump.
From-SVN: r35408
Benjamin Kosnik [Tue, 1 Aug 2000 07:44:11 +0000 (07:44 +0000)]
fileops.cc: Update to current glibc sources.
2000-07-31 Benjamin Kosnik <bkoz@cygnus.com>
* libio/fileops.cc: Update to current glibc sources.
* libio/genops.c: Same.
* libio/iofwide.c: Same.
* libio/libio.h: Same.
* libio/libioP.h: Same.
* libio/wfiledoalloc.c: Same.
* libio/wgenops.c: Same.
From-SVN: r35407
Mark Mitchell [Tue, 1 Aug 2000 06:42:51 +0000 (06:42 +0000)]
* flow.c (clear_log_links): Fix typo.
From-SVN: r35406
Alexandre Oliva [Tue, 1 Aug 2000 04:45:34 +0000 (04:45 +0000)]
ltconfig, ltmain.sh: Update from libtool multi-language branch.
* ltconfig, ltmain.sh: Update from libtool multi-language branch.
* ltcf-c.sh (need_lc): Fix test message. Set wl for archive_cmds.
(ac_cv_prog_cc_pic): Don't print `cached' without `checking'.
* ltcf-cxx.sh (need_lc): Set based on postdeps.
From-SVN: r35405
Jeffrey A Law [Tue, 1 Aug 2000 04:19:47 +0000 (04:19 +0000)]
loop.c (check_dbra_loop): Make change from July 17...
* loop.c (check_dbra_loop): Make change from July 17, 2000 work
on targets which need more than one insn for a compare/cbranch
operation.
From-SVN: r35404
Jeffrey A Law [Tue, 1 Aug 2000 04:11:57 +0000 (04:11 +0000)]
20000731-2.c: New test.
* gcc-c-torture/execute/
20000731-2.c: New test.
Fix will be applied shortly...
From-SVN: r35403
Alexandre Oliva [Tue, 1 Aug 2000 04:10:47 +0000 (04:10 +0000)]
* configure.in (qCXX_FOR_TARGET): Use echo instead of expr.
From-SVN: r35402
Jim Wilson [Tue, 1 Aug 2000 03:22:53 +0000 (03:22 +0000)]
Adjust structure parameter passing to match ABI change.
* config/ia64/ia64.c (ia64_function_arg): Use alignment not size
when computing offset.
From-SVN: r35401
Denis Chertykov [Tue, 1 Aug 2000 03:16:19 +0000 (03:16 +0000)]
* genpeep.c (main): Handle DEFINE_PEEPHOLE2.
From-SVN: r35400
Jeffrey A Law [Tue, 1 Aug 2000 03:14:49 +0000 (03:14 +0000)]
20000731-1.c: New test.
* gcc.c-torture/execute/
20000731-1.c: New test.
* gcc.c-torture/execute/
20000731-1.x: Expected to fail for i?86-*-*.
From-SVN: r35399
Kazu Hirata [Tue, 1 Aug 2000 03:11:55 +0000 (03:11 +0000)]
* combine.c: Fix formatting.
From-SVN: r35398
Kazu Hirata [Tue, 1 Aug 2000 03:05:52 +0000 (03:05 +0000)]
* h8300.md: Fix formatting.
From-SVN: r35397
Geoff Keating [Tue, 1 Aug 2000 01:27:45 +0000 (01:27 +0000)]
flow.c (clear_log_links): Nuke global_live_at_start and global_live_at_end data...
* flow.c (clear_log_links): Nuke global_live_at_start and
global_live_at_end data, since if the log_links stuff is invalid
so is global_live_at_*.
From-SVN: r35396
Richard Henderson [Tue, 1 Aug 2000 00:07:43 +0000 (17:07 -0700)]
* tm.texi (Addressing Modes): Clarify PRE/POST_MODIFY descriptions.
From-SVN: r35395
Zack Weinberg [Mon, 31 Jul 2000 23:47:19 +0000 (23:47 +0000)]
[multiple changes]
2000-07-31 Jakub Jelinek <jakub@redhat.com>
* cpplex.c (_cpp_get_line): If index is 0, return line 0 col 0.
(_cpp_get_token): Don't macro expand a just pasted token if it
was pasted at no_expand_level.
* testsuite/gcc.dg/cpp/paste7.c: New test.
2000-07-31 Zack Weinberg <zack@wolery.cumb.org>
* cppmacro.c (find_param, count_params, save_expansion):
Permit 'defined' as a macro parameter name.
From-SVN: r35394
Zack Weinberg [Mon, 31 Jul 2000 23:39:08 +0000 (23:39 +0000)]
Oops - this went with the previous change set
From-SVN: r35393
Jason Merrill [Mon, 31 Jul 2000 21:00:36 +0000 (17:00 -0400)]
* lang-specs.h: Use %i in rule for .ii files.
From-SVN: r35392
Jakub Jelinek [Mon, 31 Jul 2000 19:51:10 +0000 (21:51 +0200)]
* gcc.dg/cpp/
20000725-1.c: New test.
From-SVN: r35391
Alexandre Oliva [Mon, 31 Jul 2000 19:29:03 +0000 (19:29 +0000)]
configure.in (qCXX_FOR_TARGET): Quote `&' characters in CXX_FOR_TARGET for sed.
* configure.in (qCXX_FOR_TARGET): Quote `&' characters in
CXX_FOR_TARGET for sed.
From-SVN: r35390
Zack Weinberg [Mon, 31 Jul 2000 18:29:58 +0000 (18:29 +0000)]
Makefile.in: Rename cpp to cpp0, tradcpp to tradcpp0, and xcpp to cpp throughout.
* Makefile.in: Rename cpp to cpp0, tradcpp to tradcpp0, and
xcpp to cpp throughout.
(native): Remove unnecessary dependency on cpp.
* gcc.c (trad_capable_cpp, C specs): Rename cpp to cpp,
tradcpp to tradcpp0.
(.i spec): Add missing output-file spec to cc1 command line.
* ch/lang-specs.h, cp/lang-specs.h, f/lang-specs.h,
objc/lang-specs.h: Rename cpp to cpp0 and/or tradcpp to tradcpp0.
From-SVN: r35389
Zack Weinberg [Mon, 31 Jul 2000 18:19:28 +0000 (18:19 +0000)]
c90-digraph-1.c: Restore { dg-do run } marker.
* gcc.dg/c90-digraph-1.c: Restore { dg-do run } marker.
* gcc.dg/noncompile/990416-1.c: Do not expect an implicit-
declaration warning for __builtin_dwarf_reg_size.
From-SVN: r35387
Zack Weinberg [Mon, 31 Jul 2000 18:10:31 +0000 (18:10 +0000)]
c-decl.c (mesg_implicit_function_declaration): Init to -1.
* c-decl.c (mesg_implicit_function_declaration): Init to -1.
(implicit_decl_warning): New function.
(implicitly_declare): Use it.
* c-typeck.c (build_external_ref): Use implicit_decl_warning
to complain about implicit decls of builtins.
* c-lang.c (lang_init): Set mesg_implicit_function_declaration
based on pedantic && flag_isoc99, if not already set.
* c-tree.h: Declare mesg_implicit_function_declaration.
Prototype implicit_decl_warning.
* gcc.dg/c99-impl-decl-1.c: No longer XFAIL.
From-SVN: r35385
Jeffrey D. Oldham [Mon, 31 Jul 2000 17:33:28 +0000 (17:33 +0000)]
Makefile.in (ssa.o): Updated header files in dependences.
* Makefile.in (ssa.o): Updated header files in dependences.
* basic-block.h: Added compute_immediate_postdominators declaration.
* config/i386/i386.h (CONVERT_HARD_REGISTER_TO_SSA_P): Added
definition.
* flow.c (compute_immediate_dominators): Updated comment.
(compute_immediate_postdominators): Added definition.
* rtl.h (HARD_REGISTER_P): Added definition.
* ssa.c: Include additional header files.
(assert): Added definition.
(ssa_rename_to_lookup): Added to reimplement ssa_rename_to to
include select hard registers.
(ssa_rename_to_insert): Likewise.
(ssa_rename_from_initialize): Likewise.
(ssa_rename_from_lookup): Likewise.
(original_register): Likewise.
(ssa_rename_from_insert): Added to reimplement ssa_rename_from to
include select hard reigsters.
(ssa_rename_from_traverse): Likewise.
(ssa_rename_from_free): Likewise.
(ssa_rename_from_print): Likewise.
(ssa_rename_from_print_1): Likewise.
(ssa_rename_from_hash_function): Likewise.
(ssa_rename_from_equal): Likewise.
(ssa_rename_from_delete): Likewise.
(simplify_to_immediate_dominators): Removed in favor of
flow.c:compute_immediate_dominators.
(find_evaluations_1): Modified to work with hard registers.
(insert_phi_node): Likewise.
(insert_phi_nodes): Likewise.
(struct rename_set_data): Updated prev_reg comment.
(create_delayed_rename): Modified to work with hard registers.
(RENAME_NO_RTX): Updated comment.
(apply_delayed_renames): Modified to work with hard registers.
(rename_insn_1): Likewise and added handling of CLOBBER rtls.
(rename_block): Updated to use revised ssa_rename_to interface.
(rename_registers): Updated to use revised ssa_rename_to and
ssa_rename_from interface.
(convert_to_ssa): Revised to use compute_immediate_dominators and
deal with hard registers.
(make_regs_equivalent_over_bad_edges): Modified to work with hard
registers. Added check for illegal unification of hard register.
(make_equivalent_phi_alternatives_equivalent): Modified to work
with hard registers.
(compute_conservative_reg_partition): Likewise.
(coalesce_if_unconflicting): Modified to work with hard registers
and check for conflicting hard registers.
(mark_phi_and_copy_regs): Revised loop to work only on pseudo
registers.
(rename_equivalent_regs_in_insn): Modified to work with hard
registers.
(record_canonical_element_1): Added definition.
(check_hard_regs_in_partition): Added definition.
(convert_from_ssa): Added data structure deallocation and check
for illegal hard register unification.
(conflict_hard_regs_p): Added definition.
* toplev.c (rest_of_compilation): Added comment.
From-SVN: r35384
Anthony Green [Mon, 31 Jul 2000 17:23:25 +0000 (17:23 +0000)]
crtbegin.asm (__EH_FRAME_BEGIN__): Align correctly.
2000-07-30 Anthony Green <green@redhat.com>
* config/ia64/crtbegin.asm (__EH_FRAME_BEGIN__): Align correctly.
From-SVN: r35383
Jason McMullan [Mon, 31 Jul 2000 16:37:34 +0000 (16:37 +0000)]
builtins.c (expand_builtin_apply): Don't defer pop during argument setup.
* builtins.c (expand_builtin_apply): Don't defer pop during
argument setup.
From-SVN: r35382