[Bug c/13856] [3.4/3.5 Regression] hidden support broken with builtin functions
uweigand at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Tue Feb 3 20:19:00 GMT 2004
------- Additional Comments From uweigand at gcc dot gnu dot org 2004-02-03 20:19 -------
We're seeing this problem on s390 as well. (B.t.w. this doesn't
appear to have anything to do with "builtin functions", does it?)
>From my initial experiments, it would appear that the problem
is caused by the K&R-style function definition -- when using
a C89-style definition like
int fputs_unlocked (const char *str, int *fp)
everything works as expected.
Maybe something goes wrong when merging attributes between the
declaration and definition type nodes in case the latter is K&R?
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13856
More information about the Gcc-bugs
mailing list