https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119241
Richard Biener <rguenth at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #60806|0 |1
is obsolete| |
Attachment #60816|0 |1
is obsolete| |
--- Comment #12 from Richard Biener <rguenth at gcc dot gnu.org> ---
Created attachment 60817
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=60817&action=edit
more progress
So this one builds apart from the parser.y pieces. The main issue there is
that a lot of identifiers conflict with ones brought in from coretypes.h, the
solution is probably to split out stuff to a new parse-helpers.cc or to
the existing gengen/genapi files.
It feels like there's quite some "duplicated" code around.
Given I don't have the wide_int power-of-ten I've settled with my wrapper,
it should be easy to adjust that to compute the power-of-ten on the integer
side.
I've struggled a bit with the symbols.h assignment/init CTORs where 'value'
was previously initialized/defaulted to 0.0. I can preserve that, building
a real zero, at the expense of outlining it.
I'll see how to fight the parse.y resistance after lunch.