Actions
Bug #9549
closedC back-end provides invalid function prototypes
Status:
Rejected
Priority:
Urgent
Assignee:
-
Category:
C back-end
Start date:
03/17/2019
Due date:
% Done:
0%
Estimated time:
Detected in build:
svn
Platform:
Published in build:
Description
It always misses function parameter names for function declarations without bodies (function prototypes). In many cases this is okay, but not in, e.g.:
extern char *strcpy(char *restrict d, const char *restrict s);
since in outputted code:
char *strcpy(char *restrict, char const *restrict);
storage class specifier restrict becomes parameter name.
Actions