[Bug c/13856] [3.4/3.5 Regression] hidden support broken with builtin functions
aj at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Mon Jan 26 06:30:00 GMT 2004
------- Additional Comments From aj at gcc dot gnu dot org 2004-01-26 06:30 -------
(In reply to comment #3)
> Confirmed.
> Here is a shorter testcase:
> int fputs_unlocked(__const char *__restrict __s, int *__restrict __stream)
__asm__ (""
> "__GI_fputs_unlocked") __attribute__ ((visibility ("hidden")));
> int
> fputs_unlocked (str, fp)
> const char *str;
> int *fp;
Are you sure this works without warnings? Is the builtin just declared with
a pointer as second argument?
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13856
More information about the Gcc-bugs
mailing list