Bug#503204: gcc-4.1: erroneously emits warning on C99-required #pragma STDC FENV_ACCESS

2008-10-24 Thread Matthew Vernon
Hi, Bastian Blank wrote: It's obviously buggy to emit a warning on standards-mandated behaviour! I know you can turn this warning off with -Wno-unknown-pragmas, but that's not something you want to be doing in production code. Please show the part of the standard. A compiler may produce warni

Bug#503202: libc6-dev: math_errhandling isn't defined anywhere

2008-10-23 Thread Matthew Vernon
Aurelien Jarno wrote: reassign 503202 gcc-4.3 thanks Matthew Vernon a écrit : Package: libc6-dev Version: 2.3.6.ds1-13etch7 Severity: important Hi, math.h has the following in it: /* Bitmasks for the math_errhandling macro. */ # define MATH_ERRNO 1 /* errno set by math functions

Bug#503204: gcc-4.1: erroneously emits warning on C99-required #pragma STDC FENV_ACCESS

2008-10-23 Thread Matthew Vernon
Package: gcc-4.1 Version: 4.1.1-21 Severity: important Hi, C99 requires that code that tests floating-point state flags (or frobs other bits of the floating-point environment) calls #pragma STDC FENV_ACCESS ON: "If part of an application tests floating-point status flags, sets floating-point

Bug#384052: gcc-3.3: gcc should (optionally) warn about use of reserved identifiers

2006-08-21 Thread Matthew Vernon
Package: gcc-3.3 Version: 1:3.3.5-13 Severity: normal Hi, There are a fair range of reserved identifiers in C; it is a not uncommon programming mistake for a coder to use one. It would be good if gcc told you when you did this; it would need to avoid doing so for system headers, but that's a gene