You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Section 3 in the included document (yarpgen-ooplsa-2020.pdf) claims,
that yarpgen can generate C source,
that is "compliant with the rules specified in the language standards".
But the code is using __typeof__ (in the macros max and min), which is a non standard gcc extension.
A similar feature typeof was accepted for the upcoming C23 standard,
but that feature is not implemented in all compiler for some time.
The text was updated successfully, but these errors were encountered:
Thanks for the report!
This issue only exists in the current version of the YARPGen, and I'll work on fixing it!
The paper you mentioned describes the old version of YARPGen. It was designed to test scalar optimizations and does not contain any function calls or min and max macros. Therefore, the claim about being compliant with the standard is truthful to the best of my knowledge.
Section 3 in the included document (yarpgen-ooplsa-2020.pdf) claims,
that yarpgen can generate C source,
that is "compliant with the rules specified in the language standards".
But the code is using
__typeof__
(in the macrosmax
andmin
), which is a non standard gcc extension.A similar feature
typeof
was accepted for the upcoming C23 standard,but that feature is not implemented in all compiler for some time.
The text was updated successfully, but these errors were encountered: