On Mon, Dec 18, 2023 at 03:08:49PM +0100, Richard Biener wrote: > The following improves the manual work needed to make a -gimple dump > valid input to the GIMPLE FE. First of all it recognizes the 'sizetype' > tree and dumps it as __SIZETYPE__, then it changes dumping vector types > without name from 'vector(n) T' to 'T [[gnu::vector_size(n')]]' which > we can parse in most relevant contexts (and that's shorter than > using __attribute__). Third it avoids a NULL_TREE TMR_STEP when > it would be one, an optimization that's re-done when generating RTL.
Should we care that with -pedantic/-pedantic-errors it can be rejected then before -std=c23? We could print also __extension__ before the element type, but not sure if it would be the right spot in all cases. Otherwise LGTM. Jakub