http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49020

Jonathan Wakely <redi at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Severity|major                       |normal

--- Comment #1 from Jonathan Wakely <redi at gcc dot gnu.org> 2011-05-17 
12:17:24 UTC ---
You haven't said which version of gcc or which platform.

With a recent GCC and recent glibc I get:

extern "C++"
{
extern char *strchr (char *__s, int __c)
     throw () __asm ("strchr") __attribute__ ((__pure__)) __attribute__
((__nonn
ull__ (1)));
extern __const char *strchr (__const char *__s, int __c)
     throw () __asm ("strchr") __attribute__ ((__pure__)) __attribute__
((__nonn
ull__ (1)));
}

Reply via email to