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.
So the problem is new, right? Has it to do with the recent fixes for the deadlock bug?
Subject: Re: FAIL: 17_intro/headers/all_pedantic_errors.cc (test for excess errors) > ------- Comment #1 from pcarlini at suse dot de 2007-10-08 18:57 ------- > So the problem is new, right? Has it to do with the recent fixes for the > deadlock bug? Looking at the testresults, it appears to have been introduced between 128587 and 128594 in September. The only patch of significance in this period is Jason's 128590. It's not obvious to me why this would have affected the behavior of -pedantic. Dave
Subject: Re: FAIL: 17_intro/headers/all_pedantic_errors.cc (test for excess errors) That's strange. I am looking at it. I ran the libstdc++ testsuite before and did not see this problem. -Doug 8 Oct 2007 19:32:42 -0000, dave at hiauly1 dot hia dot nrc dot ca <gcc-bugzilla@gcc.gnu.org>: > > > ------- Comment #2 from dave at hiauly1 dot hia dot nrc dot ca 2007-10-08 19:32 ------- > Subject: Re: FAIL: 17_intro/headers/all_pedantic_errors.cc (test for excess > errors) > > > ------- Comment #1 from pcarlini at suse dot de 2007-10-08 18:57 ------- > > So the problem is new, right? Has it to do with the recent fixes for the > > deadlock bug? > > Looking at the testresults, it appears to have been introduced between > 128587 and 128594 in September. The only patch of significance in this > period is Jason's 128590. It's not obvious to me why this would have > affected the behavior of -pedantic. > > Dave > > > -- > > > http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33700 > > ------- You are receiving this mail because: ------- > You are on the CC list for the bug, or are watching someone who is. >
Subject: Re: FAIL: 17_intro/headers/all_pedantic_errors.cc (test for excess errors) > That's strange. I am looking at it. I ran the libstdc++ testsuite > before and did not see this problem. This is specific to LP64 hpux. Did you test with 11.21 or 11.31? Possibly, <sys/pthread.h> has been updated. Dave
Subject: Re: FAIL: 17_intro/headers/all_pedantic_errors.cc (test for excess errors) I only tested in Linux. -Doug 8 Oct 2007 20:10:51 -0000, dave at hiauly1 dot hia dot nrc dot ca <gcc-bugzilla@gcc.gnu.org>: > > > ------- Comment #4 from dave at hiauly1 dot hia dot nrc dot ca 2007-10-08 20:10 ------- > Subject: Re: FAIL: 17_intro/headers/all_pedantic_errors.cc (test for excess > errors) > > > That's strange. I am looking at it. I ran the libstdc++ testsuite > > before and did not see this problem. > > This is specific to LP64 hpux. > > Did you test with 11.21 or 11.31? Possibly, <sys/pthread.h> has been > updated. > > Dave > > > -- > > > http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33700 > > ------- You are receiving this mail because: ------- > You are on the CC list for the bug, or are watching someone who is. >
Subject: Re: FAIL: 17_intro/headers/all_pedantic_errors.cc (test for excess errors) > I only tested in Linux. This was not introduced by your change. The problem is the use of an C99 extension (long long constant) in a system header. I believe that this wouldn't normally cause a warning, but gthr-posix.h contains defines derived from defines in pthread.h (e.g., PTHREAD_MUTEX_INIT). Probably, this can be fixed by fixing the HP header. On the other hand, maybe the warning/error shouldn't happen. Possibly, the defines in gthr-posix.h that reference pthread macros need __extension__ before the right-hand side. Dave
Let's remove Doug from CC, then, and thank him for his prompt feedback...
Subject: Re: FAIL: 17_intro/headers/all_pedantic_errors.cc (test for excess errors) > Looking at the testresults, it appears to have been introduced between > 128587 and 128594 in September. The only patch of significance in this > period is Jason's 128590. It's not obvious to me why this would have > affected the behavior of -pedantic. I should get my eyes checked ;( The test has been failing since introduction in r128500. Dave
Steve, Does this bug also affect ia64-hpux?
Subject: Bug 33700 Author: danglin Date: Sun Oct 14 22:22:25 2007 New Revision: 129304 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=129304 Log: PR target/33700 * inclhack.def (hpux11_pthread_const): New. * fixincl.x: Regenerate. * tests/base/sys/pthread.h: Update. Modified: trunk/fixincludes/ChangeLog trunk/fixincludes/fixincl.x trunk/fixincludes/inclhack.def trunk/fixincludes/tests/base/sys/pthread.h
Fixed.