Closed condekind closed 3 years ago
Compiled without errors with GCC and Clang (both trunk) with options -c and -pedantic
ISO C Standard -std=c11
-std=c11
Version Screenshot of git show --summary plus a local compilation (also tested in Godbolt's Comp. Explorer):
git show --summary
The snippet
int main() { struct s_s { int i; }; return (struct s_s){.i=42}.i; }
Hope it helps, psyche-c helped us a lot when working on AnghaBench :)
Thank you @condekind , sure it helps (you'll get a bounty). And I'm glad to hear that psyche was of aid.
Fixed with https://github.com/ltcmelo/psychec/commit/d10dc1ddfb7ea845f59274a4d6ca5d021ab31423
Compiled without errors with GCC and Clang (both trunk) with options -c and -pedantic
ISO C Standard
-std=c11
Version Screenshot of
git show --summary
plus a local compilation (also tested in Godbolt's Comp. Explorer):The snippet
Hope it helps, psyche-c helped us a lot when working on AnghaBench :)