public inbox for gcc-patches@gcc.gnu.org
 help / color / mirror / Atom feed
* RFC - Refactor tree.h
@ 2013-08-09 22:36 Diego Novillo
  2013-08-10  0:17 ` Mike Stump
  0 siblings, 1 reply; 39+ messages in thread
From: Diego Novillo @ 2013-08-09 22:36 UTC (permalink / raw)
  To: Andrew Macleod, gcc-patches

[-- Attachment #1: Type: text/plain, Size: 766 bytes --]

This patch is still WIP.  It builds stage1, but I'm getting ICEs
during stage 2.

The patch splits tree.h into three files:

- tree-core.h: All data structures, enums and typedefs from
  tree.h

- tree-api.h: All extern function definitions from tree.h

- tree-macros.h: All macro accessors, tree checks and other
  inline functions.

The intent is to ostracize tree-macros.h so that it can only be
included from tree.h.  The files tree-core.h and tree-api.h
should be usable from anywhere.  In particular, we are interested
in tree-core.h, which will be included by the gimple files to
define operand accessors.

Andrew, is this more or less what you had in mind?  I'm going to
be away for a couple of weeks.  I will pick it back up when I
return.

Thanks.  Diego.

[-- Attachment #2: 0001-Re-factor-tree.h.-Move-data-structures-enums-and-typ.patch.gz --]
[-- Type: application/octet-stream, Size: 122221 bytes --]

^ permalink raw reply	[flat|nested] 39+ messages in thread

end of thread, other threads:[~2013-09-16 13:42 UTC | newest]

Thread overview: 39+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-08-09 22:36 RFC - Refactor tree.h Diego Novillo
2013-08-10  0:17 ` Mike Stump
2013-08-10 10:02   ` Richard Biener
2013-08-10 19:03     ` Mike Stump
2013-08-11  7:59       ` Richard Biener
2013-08-12 20:36         ` Mike Stump
2013-08-21 17:31     ` Andrew MacLeod
2013-08-21 21:47       ` Mike Stump
2013-08-22 14:06         ` Andrew MacLeod
2013-08-31  2:04           ` Diego Novillo
2013-09-02  9:41             ` Richard Biener
2013-09-05 12:58               ` RFC - Next refactoring steps Andrew MacLeod
2013-09-05 13:08                 ` Richard Biener
2013-09-05 13:25                   ` Andrew MacLeod
2013-09-05 15:47                   ` Andrew MacLeod
2013-09-05 21:53                     ` Steven Bosscher
2013-09-05 22:22                       ` Andrew MacLeod
2013-09-05 22:39                         ` Steven Bosscher
2013-09-05 23:11                           ` Andrew MacLeod
2013-09-06  0:26                         ` Joseph S. Myers
2013-09-06 15:24                           ` Andrew MacLeod
2013-09-06  6:50                       ` Richard Biener
2013-09-06  6:54                     ` Richard Biener
2013-09-06  8:15                       ` Mike Stump
2013-09-06  8:19                         ` Richard Biener
2013-09-06 15:22                           ` Andrew MacLeod
2013-09-06 16:51                             ` Steven Bosscher
2013-09-06 17:09                             ` Mike Stump
2013-09-06 16:48                           ` Joseph S. Myers
2013-09-06 19:39                         ` Diego Novillo
2013-09-06 13:09                 ` Michael Matz
2013-09-06 14:42                   ` Andrew MacLeod
2013-09-05  0:06             ` RFC - Refactor tree.h Mike Stump
2013-09-05  9:11               ` Richard Biener
2013-09-13 15:15                 ` Jakub Jelinek
2013-09-13 15:26                   ` Andrew MacLeod
2013-09-13 15:33                   ` Diego Novillo
2013-09-16 14:13                     ` Diego Novillo
2013-09-16 14:20                       ` Jakub Jelinek

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).