Bug#714730: gfortran: binNMU needed?

2013-07-07 Thread Ryo IGARASHI
Hi, > With gcc-4.8, gfortran has (again) changed the format for its .mod files. > The result of this is that it is no longer possible to use fortran > modules in sid, > in at least 2 packages: > > Fatal Error: Cannot read module file 'grib_api.mod' opened at (1), > because it was created by a dif

Bug#715271: Preprocessor handles _Pragma badly

2013-07-07 Thread Mark Wooding
Package: gcc Version: 4:4.7.2-1 The `_Pragma' keyword is handled badly by GCC's preprocessor. Consider the following program, which is a simplified version of a warning suppression framework and a test case. #include #define PRAGMA(x) _Pragma(#x) #define WARNING(warn) PRAGMA(GCC diagnostic ig

Bug#715262: Spurious -Warray-bounds warning

2013-07-07 Thread Mark Wooding
Package: gcc Version: 4:4.7.2-1 Consider the following program. [gibson /tmp/mdw]cat arr.c int foo(const int *p, unsigned sz) { unsigned i; int v[5]; int x; for (i = 0; i < sz; i++) v[i] = *p++; x = v[i - 1]; for (; i < 1; i++) x -= 1; return (x); } [gibson /tmp/mdw]gcc -c -O2