[Bug c/13814] [3.4/3.5 Regression] rejects different prototypes than builtin function
pinskia at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Fri Jan 23 18:40:00 GMT 2004
------- Additional Comments From pinskia at gcc dot gnu dot org 2004-01-23 18:40 -------
Fixed by for 3.4 and 3.5:
PR c/13814
* c-decl.c (diagnose_mismatched_decls): Also discard a
built-in if we encounter an old-style definition with the
same name.
testsuite:
* gcc.dg/builtins-30.c: New testcase.
--
What |Removed |Added
----------------------------------------------------------------------------
Status|ASSIGNED |RESOLVED
Resolution| |FIXED
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13814
More information about the Gcc-bugs
mailing list