'gengtype' (was: Get rid of infinite recursion for 'typedef' used with GTY-marked 'gcc/diagnostic-spec.h:nowarn_map' [PR101204])

Thomas Schwinge thomas@codesourcery.com
Wed Nov 24 10:28:56 GMT 2021


Hi!

On 2021-11-09T21:52:50-0700, Martin Sebor <msebor@gmail.com> wrote:
> Amazing how riddled with bugs this
> gengtype stuff is.

Relevant Mike Stump quote from long ago, that I ran into while
researching 'gengtype' vs. 'typedef',
<https://gcc.gnu.org/legacy-ml/gcc/2003-03/msg01259.html>:

| Think of it this way, imagine you had a really good C parser, but that
| you couldn't reuse any of it to write complex transformational style
| code, but rather, had to re-implement a new C parser from scratch and
| you did it, uhm, what's the right word, expediently.

;-\


Alternative approaches to 'gengtype' have been discussed more than once,
but...


Grüße
 Thomas
-----------------
Siemens Electronic Design Automation GmbH; Anschrift: Arnulfstraße 201, 80634 München; Gesellschaft mit beschränkter Haftung; Geschäftsführer: Thomas Heurung, Frank Thürauf; Sitz der Gesellschaft: München; Registergericht München, HRB 106955


More information about the Gcc-patches mailing list