Commit Graph

16282 Commits

Author SHA1 Message Date
Kaveh R. Ghazi b04cd50711 More cutover to system.h:
* Makefile.in (cppalloc.o, cpperror.o, cppexp.o, cpphash.o,
        cpplib.o, cppmain.o, fix-header.o, gcov.o, gen-protos.o,
        gengenrtl.o, halfpic.o, hash.o, scan-decls.o, scan.o): Depend on
        system.h.
        * cpphash.c: Include config.h.
        * cppalloc.c: Include system.h.  Add parameters to various
        function prototypes.
        * cpperror.c: Likewise.
        * cppexp.c: Likewise.
        * cpphash.c: Likewise.
        * cpplib.c: Likewise.
        * cppmain.c: Likewise.
        * fix-header.c: Likewise.
        * gcov.c: Likewise.
        * gen-protos.c: Likewise.
        * gengenrtl.c: Likewise.
        * halfpic.c: Likewise.
        * hash.c: Likewise.
        * scan-decls.c: Likewise.
        * scan.c: Likewise.

From-SVN: r18911
1998-03-30 12:05:54 +00:00
Jim Wilson 1aa5d112c8 Fix problem reported by Thomas Quinot.
* README.gnat: Add lang_print_xnode definition.

From-SVN: r18910
1998-03-30 03:08:05 -08:00
Jason Merrill f94ae2f5c0 tree.c (member_p): New fn.
* tree.c (member_p): New fn.
	* decl2.c (finish_file): Only set DECL_STATIC_FUNCTION_P for
	initializing class members.
	* cp-tree.def (TEMPLATE_PARM_INDEX): Class 'x'.
	* ptree.c (lang_print_xnode): Handle TEMPLATE_PARM_INDEX.

From-SVN: r18909
1998-03-30 05:56:25 -05:00
Jason Merrill 7bae46f4b2 call.c (build_method_call): Handle non-scoped destructors, too.
* call.c (build_method_call): Handle non-scoped destructors, too.
	* pt.c (tsubst_copy): Likewise.
	* pt.c (print_template_context): Split out...
	(push_tinst_level): ...from here.
	* friend.c (is_friend): Don't pass a type to decl_function_context.
	* typeck.c (convert_for_initialization): Always hand off
	conversions to class type.

From-SVN: r18908
1998-03-30 04:07:34 -05:00
Andreas Schwab e18db50d1f m68k.c (standard_68881_constant_p): Don't use fmovecr on the 68060.
* config/m68k/m68k.c (standard_68881_constant_p): Don't use
	fmovecr on the 68060.

From-SVN: r18907
1998-03-30 01:14:16 +00:00
Jeffrey A Law c0d4503229 genemit.c (DONE): Rework so that it works in the true arm if an if-else conditional.
* genemit.c (DONE): Rework so that it works in the true arm if
        an if-else conditional.
        (FAIL): Likewise.

From-SVN: r18906
1998-03-29 16:22:49 -07:00
Jeffrey A Law c367041877 * rs6000.c: Do not include stdioh or ctype.h anymore.
From-SVN: r18905
1998-03-29 15:48:16 -07:00
Jason Merrill d50c644310 friend.c (is_friend): Local classes have the same access as the enclosing function.
* friend.c (is_friend): Local classes have the same access as the
	enclosing function.

From-SVN: r18904
1998-03-29 15:04:28 -05:00
Jeffrey A Law 77f484defc * typeck.c (expand_target_expr): Delete dead function.
From-SVN: r18903
1998-03-29 05:45:05 -07:00
Jeffrey A Law 769467b9da * search.c: Put various prototypes inside #ifdef MI_MATRIX.
From-SVN: r18902
1998-03-29 05:42:39 -07:00
Jeffrey A Law 214922f8ab * method.c (thunk_printable_name): Delete dead function.
From-SVN: r18901
1998-03-29 05:38:51 -07:00
Jeffrey A Law 6d83a9775d * lex.c (yynextch): Delete dead function.
From-SVN: r18900
1998-03-29 05:37:18 -07:00
Jeffrey A Law 994ac65bd0 * expr.c (tree_extract_aggr_init): #if 0 out.
From-SVN: r18899
1998-03-29 05:36:07 -07:00
Jeffrey A Law 942632ac1b except.c (do_unwind): Delete dead function.
* except.c (do_unwind): Delete dead function.
        (easy_expand_asm): Likewise.

From-SVN: r18898
1998-03-29 05:33:51 -07:00
Jeffrey A Law 228fab4ab6 * cvt.c (build_conversion_type_1): Delete dead function.
From-SVN: r18897
1998-03-29 05:31:34 -07:00
Jeffrey A Law 00c493f2c2 * cp-tree.h (push_expression_obstack): Declare.
From-SVN: r18896
1998-03-29 05:30:13 -07:00
Jeffrey A Law 3a87a9f588 i * call.c (source_type): #if 0 out.
From-SVN: r18895
1998-03-29 05:28:21 -07:00
Jeffrey A Law 234042f471 Makefile.in (c-typeck.o): Delete on expr.h, insn-codes.h and $(RTL_H).
* Makefile.in (c-typeck.o): Delete on expr.h, insn-codes.h and
        $(RTL_H).
        (stor-layout.o): Likewise.
        * c-typeck.c: Include rtl.h and expr.h.
        * stor-layout.c: Likewise.

From-SVN: r18894
1998-03-29 04:54:09 -07:00
Jeffrey A Law 72e1947054 cpplib.c (cpp_file_line_for_message): Delete unused parameter.
* cpplib.c (cpp_file_line_for_message): Delete unused parameter.
        All callers changed.
        (do_sccs): Wrap in an SCCS_DIRECTIVE ifdef.
        * fix-header.c (cpp_file_line_for_message): Delete unused paramter.
        All callers changed.

From-SVN: r18893
1998-03-29 04:51:23 -07:00
Jeffrey A Law 40c3a857ac * collect2.c (is_in_list): Wrap inside COLLECT_EXPORT_LIST ifdef.
From-SVN: r18892
1998-03-29 04:49:10 -07:00
Jeffrey A Law c80150b791 * local-alloc.c (reg_classes_overlap_p): Delete dead function.
From-SVN: r18891
1998-03-29 04:47:52 -07:00
Jeffrey A Law 31ed227bc6 * tree.h (lang_print_xnode): Provide prototype.
From-SVN: r18890
1998-03-29 04:46:20 -07:00
Jeffrey A Law fe77629698 Bump for snapshot
From-SVN: r18888
1998-03-28 16:50:46 -07:00
Jeffrey A Law 430bb96baa class.c (alter_access): Remove unused label.
* class.c (alter_access): Remove unused label.  Add braces
        around empty else clause.
        * lex.c (yyprint): Fix argument to printf.

From-SVN: r18887
1998-03-28 16:49:35 -07:00
Jeffrey A Law 3ac2735b19 sendmsg.c (__objc_block_forward): Add braces for return value if INVISIBLE_STRUCT_RETURN.
* objc/sendmsg.c (__objc_block_forward): Add braces for return
        value if INVISIBLE_STRUCT_RETURN.

From-SVN: r18886
1998-03-28 16:47:41 -07:00
Jeffrey A Law f2b147f711 * pa.c (arith_double_operand): Fix parens.
From-SVN: r18885
1998-03-28 16:46:19 -07:00
Jeffrey A Law c4fa346037 * haifa-sched.c (print_pattern): Correct arg to sprintf.
From-SVN: r18884
1998-03-28 16:45:08 -07:00
Jeffrey A Law f1b03ce152 * Makefile.in (libgcc1.null): Make return type for __foo void.
From-SVN: r18883
1998-03-28 16:43:54 -07:00
Mark Mitchell b4c4a9ecbe pt.c (tsubst): Clear TREE_USED for new FUNCTION_DECLs.
* pt.c (tsubst): Clear TREE_USED for new FUNCTION_DECLs.
	* pt.c (instantiate_class_template): Make sure template
	arguments are permanent.
	* init.c (resolve_offset_ref): Don't go looking around in
	template types.
	* semantics.c: Add routines to handle expressions, and some
	declaration processing.
	* parse.y: Use them.
	(current_class_depth): Move declaration to cp-tree.h.
	* parse.c: Regenerated.
	* cp-tree.h: Use them.
	(current_class_depth): Declare.
	* pt.c (tsubst_copy): Use begin_stmt_expr and finish_stmt_expr.

From-SVN: r18882
1998-03-28 17:47:07 +00:00
Jeffrey A Law ba0b8436b0 * pa.h: Add declarations for many functions defined in pa.c.
From-SVN: r18881
1998-03-28 07:17:48 -07:00
Jeffrey A Law 67ac5957db genpeep.c (main): Remove unused variable 'i' from the generated file.
* genpeep.c (main): Remove unused variable 'i' from the generated
        file.

From-SVN: r18880
1998-03-28 07:15:37 -07:00
Jeffrey A Law c38d8c5bb3 genemit.c (gen_expand): Do not emit "_done" or "_fail" labels.
* genemit.c (gen_expand): Do not emit "_done" or "_fail" labels.
        (gen_split): Likewise.
        (main): Rework generated definitions of DONE and FAIL so that they
        no longer use gotos.  Avoids warnings about unused labels.

From-SVN: r18879
1998-03-28 06:55:34 -07:00
Jeffrey A Law d6e6c585a1 integrate.c (copy_rtx_and_substitute): Rework to avoid need for unused "junk" variable.
* integrate.c (copy_rtx_and_substitute): Rework to avoid need for
        unused "junk" variable.

From-SVN: r18878
1998-03-28 06:45:47 -07:00
Jeffrey A Law 2e61a5a5d4 genattrtab.c (write_complex_function): Add a default case in generated switch statement to keep -W -Wall quiet.
* genattrtab.c (write_complex_function): Add a default case in
        generated switch statement to keep -W -Wall quiet.

From-SVN: r18877
1998-03-28 06:40:07 -07:00
Nick Clifton 157a620e8a Add documentation of more ARM command line options.
Add documentation of Thumb command line options.

From-SVN: r18876
1998-03-28 13:15:57 +00:00
Dave Love 43ffadb375 * Make-lang.in (f771$(exeext)): Fix typpo.
From-SVN: r18875
1998-03-28 11:19:04 +00:00
Dave Love 557194bcf8 (f771$(exeext)): Fix typpo.
From-SVN: r18874
1998-03-28 11:18:05 +00:00
Nick Clifton 0b26e56d0f New file.
From-SVN: r18873
1998-03-28 10:48:55 +00:00
Jason Merrill 4af466d08e tweak
From-SVN: r18872
1998-03-28 05:06:19 -05:00
Jason Merrill 845dc1e631 tweak
From-SVN: r18871
1998-03-27 22:08:30 -05:00
Jason Merrill 72404d452c new
From-SVN: r18870
1998-03-27 22:08:12 -05:00
Jason Merrill d3a8592787 fix
From-SVN: r18869
1998-03-27 21:18:45 -05:00
Jason Merrill 3c2a098352 update
From-SVN: r18868
1998-03-27 20:57:58 -05:00
Craig Burley 667332c28a * bugs.texi: Various updates.
From-SVN: r18867
1998-03-27 17:46:00 -07:00
Craig Burley d2723ca087 lang-options.h: Sort all -f*-intrinsics-* options, for consistency with other g77 versions.
* lang-options.h: Sort all -f*-intrinsics-* options,
        for consistency with other g77 versions.
Another patch from Craig.

From-SVN: r18866
1998-03-27 17:43:32 -07:00
Craig Burley 600a4ce72b stmt.c (expand_expr_stmt): Must generate code for statements within an expression (gcc's `({ ...
* stmt.c (expand_expr_stmt): Must generate code for
        statements within an expression (gcc's `({ ... )}')
        even if -fsyntax-only.
Patch from Craig.

From-SVN: r18865
1998-03-27 17:38:46 -07:00
Craig Burley f861f67479 * com.c (ffecom_tree_canonize_ptr_): Fix up spacing a bit.
From-SVN: r18864
1998-03-27 17:35:33 -07:00
Craig Burley 14a378ec2a expr.c (ffeexpr_sym_impdoitem_): Don't blindly reset symbol info after calling ffesymbol_error, to avoid crash.
* expr.c (ffeexpr_sym_impdoitem_): Don't blindly
        reset symbol info after calling ffesymbol_error,
        to avoid crash.
Another patch from Craig.

From-SVN: r18863
1998-03-27 17:30:11 -07:00
Jeff Law adb15a1a68 Tweak from Craig.
From-SVN: r18862
1998-03-27 17:29:00 -07:00
Craig Burley a051827081 u77-test.f: Don't bother declaring etime.
* libU77/u77-test.f: Don't bother declaring etime.
        Use `implicit none' and declare mask and lenstr.
        Do ETIME/DTIME consistency check before loop, then
        use loop to verify that dtime "ticks" at some point.
        Check ETIME array-sum using single-precision add, to
        avoid spurious complaint on systems (like x86) that
        use more precision for intermediate results.
        Fix `Results of ETIME and DTIME...' message to print
        pertinent values (r1 and r2 instead of i and j).
        Change loop from 10M to 1K repeated up to 1000 times
        or until dtime "ticks".
        Print the number of 1K loops needed to see this tick.
        Answer a commented question.
        Split up a long line of output and do other prettying.
        Preset lognam in case GETLOG fails to overwrite it.
Patch from Craig.

From-SVN: r18861
1998-03-27 17:28:21 -07:00