Commit Graph

29719 Commits

Author SHA1 Message Date
J. David Anglin 1ba2dbaa74 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
2000-08-04 11:39:19 -06:00
J. David Anglin c54dbf8b44 * gthr-dce.h (__gthread_objc_condition_allocate): Fix typo.
From-SVN: r35487
2000-08-04 11:25:19 -06:00
David E O'Brien 2c2a534b33 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
2000-08-04 11:22:03 -06:00
Jeff Law a6e919b382 * prefix.c (translate_name): Don't strip trailing DIR_SEPARATOR.
From-SVN: r35485
2000-08-04 11:02:51 -06:00
Mark Elbrecht 93284395b0 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
2000-08-04 10:19:19 -06:00
Mark Elbrecht 326c5cd1b3 mh-djgpp: Conditionally set 'target_alias' to djgpp.
* mh-djgpp: Conditionally set 'target_alias' to djgpp. Conditionally
        modify 'gcc_version'.

From-SVN: r35483
2000-08-04 10:17:37 -06:00
Joseph Myers b8458e3e8b 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
2000-08-04 17:10:14 +01:00
Joseph Myers c5ab7f9110 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
2000-08-04 17:00:48 +01:00
Bruce Korb f1fe1ac0a8 Removed conditional #defines of macros GCC always defines
From-SVN: r35480
2000-08-04 14:20:42 +00:00
Bruce Korb 62a99405cf Implement, but leave disabled, MSDOS functionality
From-SVN: r35479
2000-08-04 14:16:57 +00:00
Joseph Myers d677797245 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
2000-08-04 13:45:57 +01:00
Clinton Popetz 5896d7940b (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
2000-08-04 07:52:08 -04:00
Joseph Myers 2d0de2459f * MAINTAINERS: Add self to Write After Approval list.
From-SVN: r35476
2000-08-04 09:37:37 +01:00
Jeff Law 2db2ad5cc7 Daily bump.
From-SVN: r35475
2000-08-04 01:45:12 -06:00
Kazu Hirata cda4bd430b 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
2000-08-04 01:07:55 -06:00
Herman A.J. ten Brugge 024a650bcb 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
2000-08-04 01:01:30 -06:00
Kazu Hirata 278a83b26f * cse.c: Fix a comment typo. Fix formatting.
From-SVN: r35472
2000-08-04 00:55:10 -06:00
Richard Henderson 1183777788 i386.md (return_indirect_internal): New.
* i386.md (return_indirect_internal): New.
        * i386.c (ix86_expand_epilogue): Use it.

From-SVN: r35471
2000-08-03 21:14:52 -07:00
Zack Weinberg ba89d661ac 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
2000-08-04 01:30:06 +00:00
Bryce McKinlay d31772ca70 Missing changelog entry
From-SVN: r35469
2000-08-04 02:15:51 +01:00
Warren Levy 9b4773cbba 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
2000-08-04 00:42:20 +00:00
Jason Merrill a1bcc528be 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
2000-08-03 20:02:19 -04:00
Mark Mitchell 57cac71461 * extend.texi: Fix typo in last change.
From-SVN: r35466
2000-08-03 23:55:24 +00:00
Alexandre Oliva 83440c1e96 * configure.in (libstdcxx_flags): Don't use `"'.
From-SVN: r35465
2000-08-03 23:52:12 +00:00
Mark Mitchell 0dc52a0050 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
2000-08-03 23:10:18 +00:00
Mark Mitchell b98e139b31 ChangeLog
From-SVN: r35463
2000-08-03 23:07:43 +00:00
Nick Clifton 9897911d45 Change java language number to 0x000b
From-SVN: r35462
2000-08-03 22:41:38 +00:00
Mark Mitchell 368f42501f * dce: New file.
From-SVN: r35461
2000-08-03 21:30:29 +00:00
Anthony Green 28985b8152 Apply patch from Anthony Green to add java language support to Dwarf generation.
From-SVN: r35460
2000-08-03 21:04:42 +00:00
Alexandre Oliva e81b330a2d 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
2000-08-03 19:19:33 +00:00
Jan Hubicka 0b9aaeee6f 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
2000-08-03 18:36:14 +00:00
Tom Tromey 57b59acb05 Makefile.in: Rebuilt.
* Makefile.in: Rebuilt.
	* Makefile.am (awt_java_source_files): Added new files.

From-SVN: r35457
2000-08-03 17:56:02 +00:00
Akiko Matsushita 17dfb726db * gengenrtl.c, rtl.c: Avoid #elif.
From-SVN: r35456
2000-08-03 10:06:13 -06:00
Kazu Hirata e82059016e 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
2000-08-03 09:20:43 -06:00
Michael Poole 99871835a6 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
2000-08-03 09:05:25 -06:00
Kazu Hirata 48b881a36e * jump.c: Fix formatting.
From-SVN: r35453
2000-08-03 09:01:36 -06:00
J"orn Rennecke 2e71ae8288 From SAITOH Masanobu:
* sh.h (ASM_OUTPUT_REG_PUSH): Fix syntax.

From-SVN: r35452
2000-08-03 15:55:05 +01:00
David Billinghurst 5535a5a62e 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
2000-08-03 13:30:18 +00:00
Bryce McKinlay 5ab63c1aea 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
2000-08-03 13:09:41 +01:00
Zack Weinberg eae5118925 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
2000-08-03 08:26:36 +00:00
Mark Mitchell 6e185caa26 locale_facets.h (ctype::ctype): Don't name unused parameters.
* bits/locale_facets.h (ctype::ctype): Don't name unused
	parameters.

From-SVN: r35448
2000-08-03 07:56:17 +00:00
Jeffrey A Law 4a6f50d5e9 * gcc.c-torture/compile/20000803-1.c: New test.
From-SVN: r35447
2000-08-03 01:46:44 -06:00
Jeff Law dd16be2d53 Daily bump.
From-SVN: r35446
2000-08-03 01:45:10 -06:00
Joseph Myers bcde31938d 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
2000-08-03 01:36:13 -06:00
Kazu Hirata 854a97f032 * toplev.c: Fix formatting.
From-SVN: r35444
2000-08-03 01:29:11 -06:00
Jeffrey A Law 66ed03f845 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
2000-08-03 01:16:39 -06:00
Jeffrey A Law 860cd40a95 * pa.md (shadd height reduction patterns/splitters): Remove.
From-SVN: r35442
2000-08-03 01:05:28 -06:00
Bryce McKinlay af6ca671a6 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
2000-08-03 07:48:34 +01:00
Alexandre Oliva cf95c84763 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
2000-08-03 01:56:16 +00:00
Jim Wilson e314e3318a 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
2000-08-02 17:31:39 -07:00