public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug libstdc++/36130]  New: Atomics regression test fail to compile when parallel mode is enabled
@ 2008-05-05 11:39 singler at gcc dot gnu dot org
  2008-05-06  3:12 ` [Bug libstdc++/36130] " bkoz at gcc dot gnu dot org
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: singler at gcc dot gnu dot org @ 2008-05-05 11:39 UTC (permalink / raw)
  To: gcc-bugs

"make check-parallel" makes the following regression tests with respect to the
atomics library fail:

FAIL: 29_atomics/atomic_flag/test_and_set/explicit.c (test for excess errors)
WARNING: 29_atomics/atomic_flag/test_and_set/explicit.c compilation failed to
produce executable
FAIL: 29_atomics/atomic_flag/test_and_set/implicit.c (test for excess errors)
WARNING: 29_atomics/atomic_flag/test_and_set/implicit.c compilation failed to
produce executable
FAIL: 29_atomics/headers/stdatomic.h/functions.c (test for excess errors)
FAIL: 29_atomics/headers/stdatomic.h/macros.c (test for excess errors)
FAIL: 29_atomics/headers/stdatomic.h/types.c (test for excess errors)

x86_64-unknown-linux-gnu/libstdc++-v3/include/x86_64-unknown-linux-gnu/bits/c++config.h:190:
error: expected '=', ',', ';', 'asm' or '__attribute__' before 'std'

None of these appear for "make check".
I suspect that there is a problem with all the namespaces.


-- 
           Summary: Atomics regression test fail to compile when parallel
                    mode is enabled
           Product: gcc
           Version: 4.4.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: libstdc++
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: singler at gcc dot gnu dot org
 GCC build triplet: x86_64-unknown-linux-gnu
  GCC host triplet: x86_64-unknown-linux-gnu
GCC target triplet: x86_64-unknown-linux-gnu


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


^ permalink raw reply	[flat|nested] 4+ messages in thread

* [Bug libstdc++/36130] Atomics regression test fail to compile when parallel mode is enabled
  2008-05-05 11:39 [Bug libstdc++/36130] New: Atomics regression test fail to compile when parallel mode is enabled singler at gcc dot gnu dot org
@ 2008-05-06  3:12 ` bkoz at gcc dot gnu dot org
  2008-05-06 18:59 ` bkoz at gcc dot gnu dot org
  2008-07-10  3:02 ` bkoz at gcc dot gnu dot org
  2 siblings, 0 replies; 4+ messages in thread
From: bkoz at gcc dot gnu dot org @ 2008-05-06  3:12 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #1 from bkoz at gcc dot gnu dot org  2008-05-06 03:11 -------

These are all failures in "C" mode, and are due to running into C++ constructs
like the keyword "namespace." 


-- 

bkoz at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         AssignedTo|unassigned at gcc dot gnu   |bkoz at gcc dot gnu dot org
                   |dot org                     |
             Status|UNCONFIRMED                 |ASSIGNED
     Ever Confirmed|0                           |1
   Last reconfirmed|0000-00-00 00:00:00         |2008-05-06 03:11:46
               date|                            |


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


^ permalink raw reply	[flat|nested] 4+ messages in thread

* [Bug libstdc++/36130] Atomics regression test fail to compile when parallel mode is enabled
  2008-05-05 11:39 [Bug libstdc++/36130] New: Atomics regression test fail to compile when parallel mode is enabled singler at gcc dot gnu dot org
  2008-05-06  3:12 ` [Bug libstdc++/36130] " bkoz at gcc dot gnu dot org
@ 2008-05-06 18:59 ` bkoz at gcc dot gnu dot org
  2008-07-10  3:02 ` bkoz at gcc dot gnu dot org
  2 siblings, 0 replies; 4+ messages in thread
From: bkoz at gcc dot gnu dot org @ 2008-05-06 18:59 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #2 from bkoz at gcc dot gnu dot org  2008-05-06 18:58 -------
Subject: Bug 36130

Author: bkoz
Date: Tue May  6 18:57:46 2008
New Revision: 134995

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=134995
Log:
2008-05-06  Benjamin Kosnik  <bkoz@redhat.com>

        PR libstdc++/36130
        * include/bits/c++config: Namespace macros and setup only in C++.
        * testsuite/29_atomics/headers/stdatomic.h/debug_mode.c: New.



Added:
    trunk/libstdc++-v3/testsuite/29_atomics/headers/stdatomic.h/debug_mode.c
Modified:
    trunk/libstdc++-v3/ChangeLog
    trunk/libstdc++-v3/include/bits/c++config


-- 


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


^ permalink raw reply	[flat|nested] 4+ messages in thread

* [Bug libstdc++/36130] Atomics regression test fail to compile when parallel mode is enabled
  2008-05-05 11:39 [Bug libstdc++/36130] New: Atomics regression test fail to compile when parallel mode is enabled singler at gcc dot gnu dot org
  2008-05-06  3:12 ` [Bug libstdc++/36130] " bkoz at gcc dot gnu dot org
  2008-05-06 18:59 ` bkoz at gcc dot gnu dot org
@ 2008-07-10  3:02 ` bkoz at gcc dot gnu dot org
  2 siblings, 0 replies; 4+ messages in thread
From: bkoz at gcc dot gnu dot org @ 2008-07-10  3:02 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #3 from bkoz at gcc dot gnu dot org  2008-07-10 03:01 -------
fixed


-- 

bkoz at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |RESOLVED
         Resolution|                            |FIXED
   Target Milestone|---                         |4.4.0


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


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2008-07-10  3:02 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-05-05 11:39 [Bug libstdc++/36130] New: Atomics regression test fail to compile when parallel mode is enabled singler at gcc dot gnu dot org
2008-05-06  3:12 ` [Bug libstdc++/36130] " bkoz at gcc dot gnu dot org
2008-05-06 18:59 ` bkoz at gcc dot gnu dot org
2008-07-10  3:02 ` bkoz at gcc dot gnu dot org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).