public inbox for gcc-patches@gcc.gnu.org
 help / color / mirror / Atom feed
* [PATCH] Kill TYPE_METHODS 0/9
@ 2017-07-14 16:44 Nathan Sidwell
  2017-07-14 16:49 ` [PATCH] Kill TYPE_METHODS debug 1/9 Nathan Sidwell
                   ` (9 more replies)
  0 siblings, 10 replies; 37+ messages in thread
From: Nathan Sidwell @ 2017-07-14 16:44 UTC (permalink / raw)
  To: GCC Patches; +Cc: Jason Merrill, Richard Guenther, Jim Wilson, Jan Hubicka

This is a series of patches that remove the TYPE_METHODS field used in records & 
unions.  Currently TYPE_METHODS hods a the member functions (be they static or 
non-static), and TYPE_FIELDS holds everything else (be they FIELD_DECLS or 
whatever).  This distinction is unnecessary, and the patches move everything to 
TYPE_FIELDS.  (I do not mess with name lookup, which is handled differently).

I do not repurpose TYPE_METHODS, that's later.

While the changes are pretty mechanical, some are rather too large outside of 
the C++ FE to comfortably apply the obvious rule.

1 method-debug.diff - dbxout & dwarf2out.  Review please.
2 method-ipa.diff - lto-devirt.  Review please.
3 method-rtl.diff - most odd occurrence.  Comment please.

4 method-ada.diff - ada-spec generation.  Obvious.
5 method-cp.diff - C++ FE changes, self reviewed
6 method-libcc1.diff - libcp1plugin.  Obvious.
7 method-misc.diff - random tree.c.  Obvious.
8 method-objc.diff - objc.  Obvious

9 method-ectomy.diff - delete the macro.  Obvious

nathan

-- 
Nathan Sidwell

^ permalink raw reply	[flat|nested] 37+ messages in thread
* Re: Deprecate DBX/stabs?
@ 2017-07-21 14:15 David Edelsohn
  2017-07-21 16:03 ` Jim Wilson
  2017-07-25  7:18 ` Richard Biener
  0 siblings, 2 replies; 37+ messages in thread
From: David Edelsohn @ 2017-07-21 14:15 UTC (permalink / raw)
  To: Nathan Sidwell
  Cc: Richard Biener, Jim Wilson, GCC Patches, Jason Merrill,
	Jim Wilson, Jan Hubicka, Mike Stump, Iain Sandoe, Nick Clifton,
	10walls

>>>>> Nathan Sidwell writes:

> Let's at least deprecate it.  I attach a patch to do so.  With the
> patch, you'll get a note about dbx being deprecated whenever you use
> stabs debugging on a system that prefers stabs (thus both -g and -gstabs
> will warn).  On systems where stabs is not preferred, -gstabs will not
> give you a warning.  The patch survices an x86_64-linux bootstrap.

Absolutely not.

AIX still uses DBX as the primary debugging format.  AIX supports
DWARF but the AIX toolchain does not fully interoperate with DWARF
generated by GCC.

With the extensive use of DBX by AIX and regular patches from me to
fix xcoff stabs debugging, omitting me from the cc list implies that
you really haven't done your homework.

Thanks, David

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

end of thread, other threads:[~2017-07-25 16:07 UTC | newest]

Thread overview: 37+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-07-14 16:44 [PATCH] Kill TYPE_METHODS 0/9 Nathan Sidwell
2017-07-14 16:49 ` [PATCH] Kill TYPE_METHODS debug 1/9 Nathan Sidwell
2017-07-18 17:24   ` Jim Wilson
2017-07-20 11:31     ` Nathan Sidwell
2017-07-20 12:13       ` Nathan Sidwell
2017-07-20 21:00         ` Nathan Sidwell
2017-07-20 22:04           ` Jim Wilson
2017-07-21  0:29             ` Nathan Sidwell
2017-07-21  5:11             ` Richard Biener
2017-07-21 13:08               ` Deprecate DBX/stabs? Nathan Sidwell
2017-07-21 13:16                 ` Richard Biener
2017-07-21 14:06                   ` Nathan Sidwell
2017-07-21 19:10                 ` Mike Stump
2017-07-21 19:44                   ` Iain Sandoe
2017-07-21 19:54                     ` Jim Wilson
2017-07-21 20:12                       ` Iain Sandoe
2017-07-22  1:22                 ` JonY
2017-07-24 22:18             ` [PATCH] Kill TYPE_METHODS debug 1/9 Jeff Law
2017-07-14 16:51 ` [PATCH] Kill TYPE_METHODS ipa 2/9 Nathan Sidwell
2017-07-14 17:18   ` Jan Hubicka
2017-07-14 16:54 ` [PATCH] Kill TYPE_METHODS rtl 3/9 Nathan Sidwell
2017-07-15  4:43   ` Jeff Law
2017-07-15 12:20     ` Nathan Sidwell
2017-07-14 16:55 ` [PATCH] Kill TYPE_METHODS ada-spec 4/9 Nathan Sidwell
2017-07-14 16:57 ` [PATCH] Kill TYPE_METHODS c++ 5/9 Nathan Sidwell
2017-07-14 16:59 ` [PATCH] Kill TYPE_METHODS libcc1 6/9 Nathan Sidwell
2017-07-14 17:01 ` [PATCH] Kill TYPE_METHODS misc 7/9 Nathan Sidwell
2017-07-14 17:02 ` [PATCH] Kill TYPE_METHODS objc 8/9 Nathan Sidwell
2017-07-14 17:03 ` [PATCH] Kill TYPE_METHODS 9/9 Nathan Sidwell
2017-07-24  9:25 ` [PATCH] Kill TYPE_METHODS 0/9 Jakub Jelinek
2017-07-24 11:59   ` Nathan Sidwell
2017-07-25 16:06   ` Jim Wilson
2017-07-25 16:07   ` Jim Wilson
2017-07-21 14:15 Deprecate DBX/stabs? David Edelsohn
2017-07-21 16:03 ` Jim Wilson
2017-07-21 19:15   ` Mike Stump
2017-07-25  7:18 ` Richard Biener

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).