Executing on host: /test/gnu/gcc/objdir/./gcc/g++ -shared-libgcc
-B/test/gnu/gcc
/objdir/./gcc -nostdinc++
-L/test/gnu/gcc/objdir/hppa64-hp-hpux11.11/libstdc++-v
3/src -L/test/gnu/gcc/objdir/hppa64-hp-hpux11.11/libstdc++-v3/src/.libs
-B/opt/g
nu64/gcc/gcc-4.3.0/hppa64-hp-hpux11.11/bin/
-B/opt/gnu64/gcc/gcc-4.3.0/hppa64-hp
-hpux11.11/lib/ -isystem /opt/gnu64/gcc/gcc-4.3.0/hppa64-hp-hpux11.11/include
-i
system /opt/gnu64/gcc/gcc-4.3.0/hppa64-hp-hpux11.11/sys-include -g -O2
-D_GLIBCX
X_ASSERT -fmessage-length=0 -ffunction-sections -fdata-sections -g -O2 -g -O2
-DLOCALEDIR="." -nostdinc++
-I/test/gnu/gcc/objdir/hppa64-hp-hpux11.11/libstdc++
-v3/include/hppa64-hp-hpux11.11
-I/test/gnu/gcc/objdir/hppa64-hp-hpux11.11/libst
dc++-v3/include -I/test/gnu/gcc/gcc/libstdc++-v3/libsupc++
-I/test/gnu/gcc/gcc/l
ibstdc++-v3/include/backward -I/test/gnu/gcc/gcc/libstdc++-v3/testsuite/util
/te
st/gnu/gcc/gcc/libstdc++-v3/testsuite/17_intro/headers/all_pedantic_errors.cc
-pedantic-errors -S -o all_pedantic_errors.s (timeout = 600)
In file included from
/test/gnu/gcc/objdir/hppa64-hp-hpux11.11/libstdc++-v3/incl
ude/ext/bitmap_allocator.h:43,
from
/test/gnu/gcc/gcc/libstdc++-v3/testsuite/17_intro/headers/
all_pedantic_errors.cc:115:
/test/gnu/gcc/objdir/hppa64-hp-hpux11.11/libstdc++-v3/include/ext/concurrence.h:
158:30: error: use of C99 long long integer constant
/test/gnu/gcc/objdir/hppa64-hp-hpux11.11/libstdc++-v3/include/ext/concurrence.h:
281:29: error: use of C99 long long integer constant
In file included from
/test/gnu/gcc/gcc/libstdc++-v3/testsuite/17_intro/headers/
all_pedantic_errors.cc:126:
/test/gnu/gcc/objdir/hppa64-hp-hpux11.11/libstdc++-v3/include/ext/mt_allocator.h
:443:36: error: use of C99 long long integer constant
/test/gnu/gcc/objdir/hppa64-hp-hpux11.11/libstdc++-v3/include/ext/mt_allocator.h
:443:36: error: use of C99 long long integer constant
/test/gnu/gcc/objdir/hppa64-hp-hpux11.11/libstdc++-v3/include/ext/mt_allocator.h
:538:36: error: use of C99 long long integer constant
/test/gnu/gcc/objdir/hppa64-hp-hpux11.11/libstdc++-v3/include/ext/mt_allocator.h
:538:36: error: use of C99 long long integer constant
In file included from
/test/gnu/gcc/gcc/libstdc++-v3/testsuite/17_intro/headers/
all_pedantic_errors.cc:132:
/test/gnu/gcc/objdir/hppa64-hp-hpux11.11/libstdc++-v3/include/ext/rope:453:33:
e
rror: use of C99 long long integer constant
/test/gnu/gcc/objdir/hppa64-hp-hpux11.11/libstdc++-v3/include/ext/rope:594:33:
e
rror: use of C99 long long integer constant
compiler exited with status 1
output is:
In file included from
/test/gnu/gcc/objdir/hppa64-hp-hpux11.11/libstdc++-v3/incl
ude/ext/bitmap_allocator.h:43,
from
/test/gnu/gcc/gcc/libstdc++-v3/testsuite/17_intro/headers/
all_pedantic_errors.cc:115:
/test/gnu/gcc/objdir/hppa64-hp-hpux11.11/libstdc++-v3/include/ext/concurrence.h:
158:30: error: use of C99 long long integer constant
/test/gnu/gcc/objdir/hppa64-hp-hpux11.11/libstdc++-v3/include/ext/concurrence.h:
281:29: error: use of C99 long long integer constant
In file included from
/test/gnu/gcc/gcc/libstdc++-v3/testsuite/17_intro/headers/
all_pedantic_errors.cc:126:
/test/gnu/gcc/objdir/hppa64-hp-hpux11.11/libstdc++-v3/include/ext/mt_allocator.h
:443:36: error: use of C99 long long integer constant
/test/gnu/gcc/objdir/hppa64-hp-hpux11.11/libstdc++-v3/include/ext/mt_allocator.h
:443:36: error: use of C99 long long integer constant
/test/gnu/gcc/objdir/hppa64-hp-hpux11.11/libstdc++-v3/include/ext/mt_allocator.h
:538:36: error: use of C99 long long integer constant
/test/gnu/gcc/objdir/hppa64-hp-hpux11.11/libstdc++-v3/include/ext/mt_allocator.h
:538:36: error: use of C99 long long integer constant
In file included from
/test/gnu/gcc/gcc/libstdc++-v3/testsuite/17_intro/headers/
all_pedantic_errors.cc:132:
/test/gnu/gcc/objdir/hppa64-hp-hpux11.11/libstdc++-v3/include/ext/rope:453:33:
e
rror: use of C99 long long integer constant
/test/gnu/gcc/objdir/hppa64-hp-hpux11.11/libstdc++-v3/include/ext/rope:594:33:
e
rror: use of C99 long long integer constant
FAIL: 17_intro/headers/all_pedantic_errors.cc (test for excess errors)
Excess errors:
In file included from
/test/gnu/gcc/objdir/hppa64-hp-hpux11.11/libstdc++-v3/incl
ude/ext/bitmap_allocator.h:43,
from
/test/gnu/gcc/gcc/libstdc++-v3/testsuite/17_intro/headers/
all_pedantic_errors.cc:115:
/test/gnu/gcc/objdir/hppa64-hp-hpux11.11/libstdc++-v3/include/ext/concurrence.h:
158:30: error: use of C99 long long integer constant
/test/gnu/gcc/objdir/hppa64-hp-hpux11.11/libstdc++-v3/include/ext/concurrence.h:
281:29: error: use of C99 long long integer constant
In file included from
/test/gnu/gcc/gcc/libstdc++-v3/testsuite/17_intro/headers/
all_pedantic_errors.cc:126:
/test/gnu/gcc/objdir/hppa64-hp-hpux11.11/libstdc++-v3/include/ext/mt_allocator.h
:443:36: error: use of C99 long long integer constant
/test/gnu/gcc/objdir/hppa64-hp-hpux11.11/libstdc++-v3/include/ext/mt_allocator.h
:443:36: error: use of C99 long long integer constant
/test/gnu/gcc/objdir/hppa64-hp-hpux11.11/libstdc++-v3/include/ext/mt_allocator.h
:538:36: error: use of C99 long long integer constant
/test/gnu/gcc/objdir/hppa64-hp-hpux11.11/libstdc++-v3/include/ext/mt_allocator.h
:538:36: error: use of C99 long long integer constant
In file included from
/test/gnu/gcc/gcc/libstdc++-v3/testsuite/17_intro/headers/
all_pedantic_errors.cc:132:
/test/gnu/gcc/objdir/hppa64-hp-hpux11.11/libstdc++-v3/include/ext/rope:453:33:
e
rror: use of C99 long long integer constant
/test/gnu/gcc/objdir/hppa64-hp-hpux11.11/libstdc++-v3/include/ext/rope:594:33:
e
rror: use of C99 long long integer constant
extra_tool_flags are:
-include bits/stdc++.h
#ifdef __LP64__
#define __MPOINTER void *m_ptr
#define __POINTER_SET ((void *) 1LL)
#else
#define __MPOINTER int m_pad; \
void *m_ptr
#define __POINTER_SET 0, ((void *) 1L)
#endif
struct pthread_mutex {
short m_short[2];
int m_int;
int m_int1[4];
__MPOINTER;
int m_int2[2];
int m_int3[4];
short m_short2[2];
int m_int4[5];
int m_int5[2];
};
The problem seems to be the define for __POINTER_SET which uses a
long long constant.
--
Summary: FAIL: 17_intro/headers/all_pedantic_errors.cc (test for
excess errors)
Product: gcc
Version: 4.3.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: libstdc++
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: danglin at gcc dot gnu dot org
GCC build triplet: hppa64-hp-hpux11.11
GCC host triplet: hppa64-hp-hpux11.11
GCC target triplet: hppa64-hp-hpux11.11
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33700