Andrew Pinski wrote:
How about doing a plugin instead?
I took a peek at the Treehydra plugin from Mozilla that does pre-GENERIC
for C++.
That looks like it would work, but we're concerned with Fortran, and
indeed would like to preserve things like Fortran array-level
operators. The GENERIC dump file approach has the advantage that it is
low commitment and not require any build-time apparatus. Do you think
it would be as easy to create a plugin? (It would be nice to be able
to take it to the next level and influence code generation.)
Thanks,
Marcus