This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c/13856] [3.4/3.5 Regression] hidden support broken with builtin functions
- From: "uweigand at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 3 Feb 2004 20:19:41 -0000
- Subject: [Bug c/13856] [3.4/3.5 Regression] hidden support broken with builtin functions
- References: <20040125122814.13856.aj@gcc.gnu.org>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- 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