Commit Graph

20905 Commits

Author SHA1 Message Date
Per Bothner
04ed7a0ca3 parse.y (obtain_incomplete_type): Don't wrap unknown types in TREE_LIST - just chain the POINTER_TYPEs together.
* parse.y (obtain_incomplete_type):  Don't wrap unknown types
	in TREE_LIST - just chain the POINTER_TYPEs together.
	(resolve_class):  If type already resolved, return decl.
	After resolving, update TREE_TYPE(class_type), and name (if array).
	* parse.h (do_resolve_class), parse.y:  Make non-static.
	* class.c (maybe_layout_super_class):  Take this_class argument.
	Do do_resolve_class if necessary.
	(layout_class, layout_class_methods): Adjust calls appropriately.
	* parse.h (JDEP_TO_RESOLVE, JDEP_RESOLVED_DECL, JDEP_RESOLVED,
	JDEP_RESOLVED_P):  Redefined for new TREE_LIST-less convention.
	* typeck.c (build_java_array_type):  Don't call layout_class.

From-SVN: r25322
1999-02-19 06:55:17 -08:00
J"orn Rennecke
1cb1fe6699 rtlanal.c (insn_first_p): Fix return value for insn == reference.
* rtlanal.c (insn_first_p): Fix return value for insn == reference.
	* loop.c (strength_reduce, check_final_value, check_dbra_loop):
	Use loop_insn_first_p.

From-SVN: r25321
1999-02-19 14:49:59 +00:00
Craig Burley
cea0198ed9 update BUGS, INSTALL, NEWS, and their sources
From-SVN: r25320
1999-02-19 09:45:46 -05:00
Craig Burley
19d987e26d improve global/filewide semantic checking
From-SVN: r25319
1999-02-19 09:05:51 -05:00
Alexandre Petit-Bianco
fad22e3b21 parse.y (check_pkg_class_access): Allow private class access within the same package.
�
	* parse.y (check_pkg_class_access): Allow private class access
 	within the same package.
	(strip_out_static_field_access_decl): New function.
	(patch_unaryop): Call strip_out_static_field_access_decl on ++/--
 	operator argument before testing its nature.

From-SVN: r25318
1999-02-19 05:27:37 -08:00
Alexandre Petit-Bianco
e28cd97b00 parse.y (check_pkg_class_access): Allow private class access within the same package.
* parse.y (check_pkg_class_access): Allow private class access
 	within the same package.
	(strip_out_static_field_access_decl): New function.
	(patch_unaryop): Call strip_out_static_field_access_decl on ++/--
 	operator argument before testing its nature.

From-SVN: r25317
1999-02-19 05:27:35 -08:00
Michael Meissner
19378cf803 rs6000.md (scc plus eq): Fix output template.
* rs6000.md (scc plus eq): Fix output template.
        (scc plus ltu): Fix output template and collapse variants
        correcting early clobber.
        (scc plus geu): Fix output template.
        (scc plus gt): Fix output template.
        (scc plus gtu): Fix output template and collapse variants.

Co-Authored-By: David Edelsohn <edelsohn@mhpcc.edu>

From-SVN: r25316
1999-02-19 07:54:08 -05:00
Kaveh R. Ghazi
16ed229914 * cppinit.c (print_help): Remove unescaped newline in string.
From-SVN: r25315
1999-02-19 12:50:44 +00:00
Per Bothner
a7d8d81f7c Use new TRY_FINALLY_EXPR tree node.
�
Use new TRY_FINALLY_EXPR tree node.  See ChangeLog.

From-SVN: r25314
1999-02-19 04:32:50 -08:00
Per Bothner
10b3fbc515 Use new TRY_FINALLY_EXPR tree node.
h
Use new TRY_FINALLY_EXPR tree node.  See ChangeLog.

From-SVN: r25313
1999-02-19 04:32:40 -08:00
Per Bothner
0a3af4d86c Use new TRY_FINALLY_EXPR tree node.
(
Use new TRY_FINALLY_EXPR tree node.  See ChangeLog.

From-SVN: r25312
1999-02-19 04:32:39 -08:00
Per Bothner
ececaeae34 Use new TRY_FINALLY_EXPR tree node.
�
Use new TRY_FINALLY_EXPR tree node.  See ChangeLog.

From-SVN: r25311
1999-02-19 04:32:38 -08:00
J"orn Rennecke
b72bdd8496 loop.c (strength_reduce): Check for intervening jumps when converting biv increment to giv.
* loop.c (strength_reduce): Check for intervening jumps when
	converting biv increment to giv.

From-SVN: r25310
1999-02-19 11:59:01 +00:00
Per Bothner
4e03cf86c3 tree.def (TRY_FINALLY_EXPR, [...]): New tree nodes,
�
	* tree.def (TRY_FINALLY_EXPR, GOTO_SUBROUTINE_EXPR):  New tree nodes,
	* expr.c (expand_expr):  Support new tree nodes.

From-SVN: r25309
1999-02-19 03:19:32 -08:00
Per Bothner
b335b813b5 tree.def (TRY_FINALLY_EXPR, [...]): New tree nodes,
h
	* tree.def (TRY_FINALLY_EXPR, GOTO_SUBROUTINE_EXPR):  New tree nodes,
	* expr.c (expand_expr):  Support new tree nodes.

From-SVN: r25308
1999-02-19 03:19:30 -08:00
Per Bothner
502bf1f3ea tree.def (TRY_FINALLY_EXPR, [...]): New tree nodes,
`
	* tree.def (TRY_FINALLY_EXPR, GOTO_SUBROUTINE_EXPR):  New tree nodes,
	* expr.c (expand_expr):  Support new tree nodes.

From-SVN: r25307
1999-02-19 03:19:28 -08:00
David Edelsohn
90a79256fe AIX 4.3.2 linker bug
From-SVN: r25306
1999-02-19 06:02:59 -05:00
Craig Burley
5ecccf3b26 update intdoc.texi
From-SVN: r25305
1999-02-19 04:16:31 -05:00
Craig Burley
a27e2d3955 new g77 tests
From-SVN: r25304
1999-02-19 04:15:46 -05:00
Andreas Schwab
577c6ece68 m68k.c (m68k_align_loops_string, [...]): Add const.
* config/m68k/m68k.c (m68k_align_loops_string,
	m68k_align_jumps_string, m68k_align_funcs_string): Add const.
	* config/m68k/m68k.h (m68k_align_loops_string,
	m68k_align_jumps_string, m68k_align_funcs_string): Likewise.

From-SVN: r25303
1999-02-19 01:20:34 +00:00
Jeff Law
6a67f0c74a Daily bump.
From-SVN: r25302
1999-02-18 17:45:03 -07:00
Kaveh R. Ghazi
834003f492 cp-tree.h (lvalue_or_else): Qualify a char* with the `const' keyword to match an analogous change at the...
* cp-tree.h (lvalue_or_else): Qualify a char* with the `const'
        keyword to match an analogous change at the top level.
        * tree.c (lvalue_or_else): Likewise.

From-SVN: r25297
1999-02-18 20:44:21 +00:00
Kaveh R. Ghazi
5d5993dd31 bitmap.c (bitmap_print): Qualify a char* with the `const' keyword.
* bitmap.c (bitmap_print): Qualify a char* with the `const' keyword.
        * bitmap.h (bitmap_print): Likewise.
        * c-decl.c (builtin_function, grokdeclarator, grokfield): Likewise.
        * c-lang.c (build_objc_string): Likewise.
        * c-lex.c (yyerror, extend_token_buffer): Likewise.  Don't include
        limits.h or ctype.h.  Remove unused variable `p'.
        * c-lex.h (yyerror): Qualify a char* with the `const' keyword.
        * c-pragma.c (handle_pragma_token): Likewise.
        * c-pragma.h (handle_pragma_token): Likewise.
        * c-tree.h (build_objc_string, builtin_function, grokfield,
        build_indirect_ref, lvalue_or_else, readonly_warning, error_init,
        pedwarn_init): Likewise.
        * c-typeck.c (convert_for_assignment, warn_for_assignment,
        push_string, warning_init, incomplete_type_error,
        build_indirect_ref, lvalue_or_else, readonly_warning,
        build_c_cast, spelling, push_member_name, print_spelling,
        error_init, pedwarn_init, start_init): Likewise.
        * objc/objc-act.c (build_objc_string): Likewise.
        * print-tree.c (print_node_brief, print_node): Likewise.
        * tree.h (lvalue_or_else, print_node, print_node_brief): Likewise.

From-SVN: r25296
1999-02-18 20:38:48 +00:00
David Edelsohn
94e6f78366 * regclass.c (record_reg_classes): Correctly handle 'p' constraint.
From-SVN: r25295
1999-02-18 12:49:19 -07:00
Marc Espie
1b4a979b01 * configure.in :Handle OpenBSD platforms.
* configure: Rebuilt.
        * config/openbsd.h: New file.
        * config/xm-openbsd.h: New file.
        * config/t-openbsd: New file.
        * config/t-openbsd-thread: New file.

From-SVN: r25293
1999-02-18 12:04:30 -07:00
Marc Espie
fab7445ab3 * config.guess: Recognize openbsd-*-hppa.
From-SVN: r25292
1999-02-18 11:59:05 -07:00
Marc Espie
eca8ff3207 configure.in: Handle OpenBSD with and without threads.
* configure.in: Handle OpenBSD with and without threads.
        * config/openbsd.ml: New file.
        * config/openbsd.mt: New file.

From-SVN: r25291
1999-02-18 11:57:55 -07:00
Jeffrey A Law
c87a0a3994 function.c (assign_stack_temp_for_type): Round SIZE before calling assign_stack_local for BLKmode slots.
* function.c (assign_stack_temp_for_type): Round SIZE before calling
        assign_stack_local for BLKmode slots.

From-SVN: r25290
1999-02-18 10:51:58 -07:00
J"orn Rennecke
743f9f5dfd loop.c (strength_reduce): For derived givs, replace the giv this was derived from with its new_reg.
* loop.c (strength_reduce): For derived givs, replace the
	giv this was derived from with its new_reg.
	(recombine_givs): Don't set new_reg for derived giv.
	And don't print it, print SUM instead.

From-SVN: r25289
1999-02-18 17:47:53 +00:00
Jim Wilson
2d37187d57 Fix m68k-elf coldfire run-time address error for tablejumps.
* m68kelf.h (ASM_RETURN_CASE_JUMP): Add 5200 support.

From-SVN: r25288
1999-02-18 08:00:12 -08:00
Zack Weinberg
6de1e2a978 cpplib.c: Kill define of STDC_VALUE.
1999-02-18 18:32 -0500  Zack Weinberg  <zack@rabi.columbia.edu>
	* cpplib.c: Kill define of STDC_VALUE.  Don't include output.h
          or prefix.h. Change CPP_IS_MACRO_BUFFER to not refer to
          macro_cleanup.
	  (GET_ENV_PATH_LIST, PATH_SEPARATOR, STANDARD_INCLUDE_DIR,
          predefs, SIZE_TYPE, PTRDIFF_TYPE, WCHAR_TYPE,
          CPP_WCHAR_TYPE, USER_LABEL_PREFIX, REGISTER_PREFIX, struct
          cpp_pending, version_string, struct default_include,
          include_defaults_array, path_include, cpp_options_init,
          dump_special_to_buffer, initialize_builtins, cpp_start_read,
          cpp_reader_init, nreverse_pending, push_pending, print_help,
          cpp_handle_option, cpp_handle_options, cpp_finish,
          cpp_cleanup): Move to cppinit.c.
	  (macro_cleanup, struct arglist, collect_expansion,
	  create_definition, compare_defs, comp_def_part, ARG_BASE,
	  struct argdata, macarg, change_newlines, timestamp,
	  monthnames, special_symbol, unsafe_chars, macroexpand,
	  push_macro_expansion): Move to cpphash.c.
	  (quote_string, check_macro_name, cpp_expand_to_buffer,
	  output_line_command, cpp_undef): Export.
	  (null_underflow, null_cleanup, handle_directive): Make static.
	* cpplib.h: Prototype now-exported functions.  Adjust decls of
          syntax tables so we can include cpplib.h in cppinit.c.
	* cpphash.h: Prototype all functions exported by cpphash.c.
	* cppinit.c: Make syntax tables initialized data if possible
          (uses GCC designated-initializer extension).
	* cppexp.c:  Make cpp_lex static.
	* Makefile.in: Move -D switches for the various include dirs
          from cpplib.o rule to cppinit.o rule.  Adjust dependencies.

From-SVN: r25287
1999-02-18 15:35:49 +00:00
Andrew Haley
43c5ec700f jcf-parse.c (get_constant): Add braces around computation of 'd' when REAL_ARITHMETIC is not defined.
x
	* jcf-parse.c (get_constant): Add braces around computation of 'd'
	when REAL_ARITHMETIC is not defined.  [Oct 26 fix got overwritten -PB]

From-SVN: r25285
1999-02-18 06:20:21 -08:00
Andrew Haley
2fe4772939 jcf-parse.c (get_constant): Add braces around computation of 'd' when REAL_ARITHMETIC is not defined.
�
	* jcf-parse.c (get_constant): Add braces around computation of 'd'
	when REAL_ARITHMETIC is not defined.  [Oct 26 fix got overwritten -PB]

From-SVN: r25284
1999-02-18 06:20:20 -08:00
Marc Espie
43a538f6d9 openbsd.h: New file.
* config/alpha/openbsd.h: New file.
	* config/alpha/xm-openbsd.h: New file.

From-SVN: r25283
1999-02-18 05:38:23 -07:00
Marc Espie
cb9b3d3797 openbsd.h: New file.
* sparc/openbsd.h: New file.
        * sparc/xm-openbsd.h: New file.

From-SVN: r25282
1999-02-18 05:35:12 -07:00
Marc Espie
89e6da44d4 openbsd.h: New file.
* m68k/openbsd.h: New file.
        * m68k/xm-openbsd.h: New file.

From-SVN: r25281
1999-02-18 05:31:02 -07:00
Marc Espie
44cd03e6ec openbsd.h: New file, originally from netbsd.
* i386/openbsd.h: New file, originally from netbsd.
        * i386/xm-openbsd.h: New file.

From-SVN: r25280
1999-02-18 05:22:59 -07:00
Craig Burley
5d0e7057cb fix IOSTAT=16-bit-int crash
From-SVN: r25279
1999-02-18 00:45:56 -05:00
Craig Burley
fc18a80ec4 new g77 test
From-SVN: r25278
1999-02-17 22:21:45 -05:00
Craig Burley
c89524a843 clarify -fno-globals docs
From-SVN: r25277
1999-02-17 22:02:04 -05:00
Jeff Law
3fab021b34 Daily bump.
From-SVN: r25276
1999-02-17 17:45:03 -07:00
Craig Burley
c718be0436 fix LOG10 typo
From-SVN: r25275
1999-02-17 19:11:26 -05:00
Ulrich Drepper
ef35f382bd Update.
From-SVN: r25274
1999-02-17 22:54:31 +00:00
Ulrich Drepper
9c6ba682fb Fix typo.
From-SVN: r25273
1999-02-17 22:54:02 +00:00
Mark Mitchell
3fd71a527e decl.c (xref_basetypes): Comment.
* decl.c (xref_basetypes): Comment.
	* pt.c (instantiate_class_template): Use xref_basetypes.

From-SVN: r25272
1999-02-17 18:58:59 +00:00
Joern Rennecke
176c720e2c Added entries for no_jumps_between_p.
From-SVN: r25271
1999-02-17 17:12:47 +00:00
Mark Mitchell
7fe75560d5 Fix test-case for new error-reporting behavior
From-SVN: r25270
1999-02-17 16:02:07 +00:00
Zack Weinberg
693ff496a9 Makefile.in: Correct dependencies for cpplib object files.
1999-02-17 14:49 -0500  Zack Weinberg  <zack@rabi.columbia.edu>
	* Makefile.in: Correct dependencies for cpplib object files.

From-SVN: r25269
1999-02-17 11:54:59 +00:00
David Edelsohn
90612787dd - Add subf. split alternative output template for previous commit.
From-SVN: r25268
1999-02-17 06:10:34 -05:00
Michael Meissner
cb8cc086f9 rs6000.md ({add,sub}si3 `.'): Add alternatives to use CR other than cr0.
* rs6000.md ({add,sub}si3 `.'): Add alternatives to use CR other
	than cr0.

From-SVN: r25267
1999-02-17 06:06:50 -05:00