[Bug c++/14962] [3.3/3.4 regression] g++ ignores #pragma redefine_extname

ebotcazou at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Tue Apr 20 13:50:00 GMT 2004


------- Additional Comments From ebotcazou at gcc dot gnu dot org  2004-04-20 13:35 -------
> I believe it is linked into the C++ compiler -- it's pulled in by
> gcc/gcc/cp/config-lang.in I think.

Indeed, thanks for the correction.

And it turns out that it worked at some point (at least GCC 2.95.3):

gax% g++295 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -o pr14962 pr14962.c
gax% elfdump pr14962 | grep statvfs
      [13]  0x00020870 0x00000000  FUNC GLOB  D    0 UNDEF       statvfs64
      [69]  0x00020870 0x00000000  FUNC GLOB  D    0 UNDEF       statvfs64

so we have a regression.

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
           Severity|enhancement                 |normal
      Known to fail|                            |3.3.2 3.3.3 3.4.0
      Known to work|                            |2.95.3
           Priority|P3                          |P2
            Summary|g++ ignores #pragma         |[3.3/3.4 regression] g++
                   |redefine_extname            |ignores #pragma
                   |                            |redefine_extname
   Target Milestone|---                         |3.4.1


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



More information about the Gcc-bugs mailing list