Commit Graph

140 Commits

Author SHA1 Message Date
Martin v. Löwis
bc28965932 c-lang.c (lang_print_xnode): New function.
* c-lang.c (lang_print_xnode): New function.
	* objc/objc-act.c (lang_print_xnode): Likewise.
	* print-tree.c (print_node): Call it
	* com.c (lang_print_xnode): New function.

From-SVN: r18789
1998-03-23 16:04:47 -07:00
Kaveh R. Ghazi
670ee92097 Major cutover to using system.h:
* Makefile.in (alias.o, bitmap.o, c-aux-info.o, c-common.o,
        c-decl.o, c-iterate.o, c-lang.o, c-lex.o, c-pragma.o, c-typeck.o,
        caller-save.o, calls.o, collect2.o, combine.o, cse.o, dbxout.o,
        dwarf2out.o, dwarfout.o, emit-rtl.o, except.o, explow.o, expmed.o,
        expr.o, final.o, flow.o, function.o, getpwd.o, global.o,
        integrate.o, jump.o, local-alloc.o, loop.o, optabs.o, pexecute.o,
        prefix.o, print-rtl.o, print-tree.o, profile.o, real.o, recog.o,
        reg-stack.o, regclass.o, regmove.o, reload.o, reload1.o, reorg.o,
        rtl.o, rtlanal.o, sdbout.o, stmt.o, stor-layout.o, stupid.o,
        tlink.o, toplev.o, tree.o, unroll.o, varasm.o, xcoffout.o): Depend
        on system.h.
        * alias.c, bitmap.c, c-aux-info.c, c-common.c, c-decl.c,
        c-iterate.c, c-lang.c, c-lex.c, c-pragma.c, c-typeck.c,
        caller-save.c, calls.c, collect2.c, combine.c, cse.c, dbxout.c,
        dwarf2out.c, dwarfout.c, emit-rtl.c, except.c, explow.c, expmed.c,
        expr.c, final.c, flow.c, function.c, gcc.c, getpwd.c, global.c,
        integrate.c, jump.c, local-alloc.c, loop.c, optabs.c, pexecute.c,
        prefix.c, print-rtl.c, print-tree.c, profile.c, real.c, recog.c,
        reg-stack.c, regclass.c, regmove.c, reload.c, reload1.c, reorg.c,
        rtl.c, rtlanal.c, sched.c, sdbout.c, stmt.c, stor-layout.c,
        stupid.c, tlink.c, toplev.c, tree.c, unroll.c, varasm.c,
        xcoffout.c: Include system.h.  Organize include ordering so
        that stdarg/varargs comes before other system headers.  Remove
        spurious casts of functions assured of a prototype in system.h.

From-SVN: r18726
1998-03-20 14:58:42 +00:00
Jason Merrill
b7f6588dd2 tree.c (first_rtl_op): New fn.
* tree.c (first_rtl_op): New fn.
	(unsave_expr_now): Use it.
	* print-tree.c (print_node): Likewise.
	* tree.c (has_cleanups): New fn.
	* fold-const.c (fold, case CLEANUP_POINT_EXPR): Use it.  Be more
	conservative about pushing the cleanup point down.
	* tree.h: Declare them.

From-SVN: r18023
1998-02-15 23:52:31 -05:00
David S. Miller
7bcac048fd varasm.c (immed_double_const): Add casts to HOST_WIDE_INT where necessary.
* varasm.c (immed_double_const): Add casts to HOST_WIDE_INT where
        necessary.
        (const_hash): Hash val is unsigned long.
        (SYMHASH): Likewise.
        * tree.c (TYPE_HASH): Type of hash val is unsigned long.
        * print-tree.c (print_node_brief): HOST_PTR_PRINTF format wants a
        char pointer, not HOST_WIDE_INT.
        (print_node): Likewise.  Also hash is unsigned long not
        HOST_WIDE_INT.
        * cse.c (canon_hash): Hash is unsigned long not HOST_WIDE_INT.

From-SVN: r17403
1998-01-17 15:50:40 -07:00
John F. Carr
0a6969ad7c tree.c, tree.h: Change tree_code_type, tree_code_length, and tree_code_name from pointers to arrays.
* tree.c, tree.h: Change tree_code_type, tree_code_length, and
        tree_code_name from pointers to arrays.
        * tree.c: Remove standard_tree_code_* variables, no longer used.
        * print-tree.c: Remove declaration of tree_code_name.

        * cp/lex.c (init_lex): Update for tree_code_* changes.
        * objc/objc-act.c (init_objc): Likewise.

        * tree.def, cp/cp-tree.def, objc/objc-tree.def: Update for tree_code
        changes.

From-SVN: r17061
1997-12-11 23:49:29 -07:00
Jim Wilson
a759633809 (print_node): Don't try to print nonexistent
TYPE_ATTRIBUTES field of a decl node.

From-SVN: r13344
1996-12-30 11:42:59 -08:00
Richard Kenner
1e66ce7766 (print_node{,_brief}, case INTEGER_CST): Use HOST_WIDE_INT_PRINT_*.
From-SVN: r13176
1996-11-15 14:15:05 -05:00
Mike Stump
0f41302f47 formatting tweaks
From-SVN: r12390
1996-07-03 22:07:53 +00:00
Richard Kenner
e99215a3b5 Update FSF address.
From-SVN: r9964
1995-06-15 08:04:37 -04:00
Richard Kenner
788d4ba02b (print_node): Fix misspellings in messages.
From-SVN: r9716
1995-05-16 08:44:38 -04:00
Richard Kenner
3fc341ac09 (print_node): Print TYPE_PACKED.
From-SVN: r9488
1995-04-26 17:25:21 -04:00
Richard Kenner
8fcf10c01f (print_node): Fix typo in printing large INTEGER_CST.
From-SVN: r9146
1995-03-09 20:40:49 -05:00
Richard Kenner
38d6864506 (print_node{,_brief}): Print machine attributes.
From-SVN: r9017
1995-02-21 18:56:31 -05:00
Richard Kenner
96a31ab889 (print_node): Print more flags for types and decls.
From-SVN: r7980
1994-08-25 11:47:10 -04:00
Richard Kenner
7063dcbeb7 (print_node_brief...
(print_node_brief, print_node): Use assignment instead of
initialization for aggregate local variable REAL_VALUE_TYPE d.

From-SVN: r7973
1994-08-24 18:43:25 -04:00
Richard Kenner
86b38416af (print_node{,_brief}): Use REAL_VALUE_TO_DECIMAL to print REAL_CST
ifdef REAL_ARITHMETIC.

From-SVN: r7916
1994-08-14 09:51:43 -04:00
Richard Kenner
910d169398 (print_node{,_brief}): Use correct printf code to print INTEGER_CST if
HOST_WIDE_INT is wider than int.

From-SVN: r7838
1994-07-30 18:14:22 -04:00
Richard Kenner
4c9a05bc55 Cast pointer operands to bzero, bcopy, and bcmp to (char *).
From-SVN: r7472
1994-06-14 18:19:28 -04:00
Richard Kenner
0c7f6f66c4 (print_node): Print attributes.
From-SVN: r7255
1994-05-06 18:31:50 -04:00
Richard Kenner
3e5f801865 (print_node, print_node_brief): Say something when
TREE_CONSTANT_OVERFLOW is set.

From-SVN: r6317
1993-12-25 12:47:01 -05:00
Richard Stallman
48daf82891 (print_node_brief): Use unsigned char to print
the bytes of a real constant.

From-SVN: r5917
1993-10-27 06:40:44 +00:00
Richard Kenner
126424267e (print_node): Print obstack node is contained in.
From-SVN: r5096
1993-08-07 07:40:17 -04:00
Richard Kenner
024b05a77f (print_node): Use (struct rtx_def *), not (rtx).
From-SVN: r4156
1993-04-14 15:24:11 -04:00
Richard Kenner
9520cb3e84 (print_node_brief, print_node): Properly cast arg when printing ints
or rtx.

From-SVN: r4141
1993-04-13 17:20:23 -04:00
Richard Kenner
c1b98a9573 Treat QUAL_UNION_TYPE like UNION_TYPE when seeing if aggregate.
From-SVN: r4118
1993-04-13 06:47:33 -04:00
Richard Stallman
28d10ceaf5 (print_node): Print the chain of a STRING_CST.
From-SVN: r3799
1993-03-20 09:06:17 +00:00
Richard Stallman
f6adcfdc96 (print_node): Always output >' to match <'.
From-SVN: r2582
1992-10-24 00:25:18 +00:00
Jim Wilson
3629f741df (print_node): Don't print blank line for null fields in a TREE_VEC.
From-SVN: r2133
1992-09-15 18:13:47 -07:00
Richard Stallman
89b48889f1 (print_node): Handle BOOLEAN_TYPE and CHAR_TYPE.
From-SVN: r2083
1992-09-09 06:40:37 +00:00
Richard Stallman
11f6a29c9f (print_node): Avoid 1 << (HOST_BITS_PER_INT - 1),
which overflows.  Use unsigned % to compute HASH.

From-SVN: r2027
1992-09-02 06:59:00 +00:00
Richard Kenner
66b4c3adf7 (print_node): Use HOST_WIDE_INT instead of int when casting pointers
to integers.

From-SVN: r1751
1992-08-02 21:39:37 -04:00
Richard Stallman
3b59a33129 entered into RCS
From-SVN: r1599
1992-07-17 03:25:33 +00:00
Richard Stallman
216d5cdd13 *** empty log message ***
From-SVN: r1566
1992-07-12 02:43:19 +00:00
Charles Hannum
c5caa35076 *** empty log message ***
From-SVN: r1529
1992-07-08 22:22:23 +00:00
Richard Stallman
3110a56ea5 *** empty log message ***
From-SVN: r1490
1992-07-07 01:43:38 +00:00
Richard Kenner
906c4e36c6 *** empty log message ***
From-SVN: r1473
1992-07-06 16:04:13 -04:00
Jim Wilson
bf1c694003 *** empty log message ***
From-SVN: r841
1992-04-27 09:55:54 -07:00
Richard Stallman
c0920bf977 *** empty log message ***
From-SVN: r621
1992-03-29 03:47:34 +00:00
Richard Stallman
34e567536c *** empty log message ***
From-SVN: r204
1992-01-17 23:19:29 +00:00
Richard Stallman
52eeef3aca Initial revision
From-SVN: r98
1991-12-05 01:54:36 +00:00