Bug#672411: gcc-4.7: Inlining error in combination with FORTIFY_SOURCE
forwarded 672411 http://gcc.gnu.org/PR33763
tags 672411 + upstream
retitle 672411 gcc-4.7: Inlining error
thanks
fails regardless of the hardening options used.
extern int __open_2 (__const char *__path, int __oflag) __attribute__
((__nonnull__ (1)));
extern __inline __attribute__ ((__always_inline__)) __attribute__
((__artificial__)) int
open (__const char *__path, int __oflag, ...)
{
return __open_2 (__path, __oflag);
}
int open(const char *file, int oflag, ...)
{
return -1;
}
int open64(const char *file, int oflag, ...)
{
return open(file, oflag);
}
Reply to: