public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug testsuite/105620] New: [13 regression] g++.dg/tsan/pr88018.C fails after r13-456-geccbd7fcee5bbf
@ 2022-05-16 18:11 seurer at gcc dot gnu.org
  2022-05-16 22:14 ` [Bug testsuite/105620] " pc at gcc dot gnu.org
                   ` (5 more replies)
  0 siblings, 6 replies; 7+ messages in thread
From: seurer at gcc dot gnu.org @ 2022-05-16 18:11 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105620

            Bug ID: 105620
           Summary: [13 regression] g++.dg/tsan/pr88018.C fails after
                    r13-456-geccbd7fcee5bbf
           Product: gcc
           Version: 13.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: testsuite
          Assignee: unassigned at gcc dot gnu.org
          Reporter: seurer at gcc dot gnu.org
  Target Milestone: ---

g:eccbd7fcee5bbfc47731e8de83c44eee2e3dcc4b, r13-456-geccbd7fcee5bbf
make  -k check-gcc RUNTESTFLAGS="tsan.exp=g++.dg/tsan/pr88018.C"
FAIL: g++.dg/tsan/pr88018.C   -O0  (test for excess errors)
# of unexpected failures        1
# of unsupported tests          1

commit eccbd7fcee5bbfc47731e8de83c44eee2e3dcc4b (HEAD, refs/bisect/bad)
Author: Paul A. Clarke <pc@us.ibm.com>
Date:   Mon Feb 21 12:14:01 2022 -0600

    rs6000: Move g++.dg powerpc PR tests to g++.target

This test was previously passing in r13-455-g1fe04c497d5a16.  I am not sure
what in r13-456-geccbd7fcee5bbf changed as this test is not mentioned.

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

* [Bug testsuite/105620] [13 regression] g++.dg/tsan/pr88018.C fails after r13-456-geccbd7fcee5bbf
  2022-05-16 18:11 [Bug testsuite/105620] New: [13 regression] g++.dg/tsan/pr88018.C fails after r13-456-geccbd7fcee5bbf seurer at gcc dot gnu.org
@ 2022-05-16 22:14 ` pc at gcc dot gnu.org
  2022-05-17  4:09 ` linkw at gcc dot gnu.org
                   ` (4 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: pc at gcc dot gnu.org @ 2022-05-16 22:14 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105620

pc at gcc dot gnu.org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |pc at gcc dot gnu.org

--- Comment #1 from pc at gcc dot gnu.org ---
gcc/testsuite/g++.dg/tsan/pr88018.C includes one of the files moved in the
patch:
```
// { dg-skip-if "" { *-*-* }  { "*" } { "-O0" } }
// { dg-options "-fsanitize=thread -fno-ipa-pure-const -O1
-fno-inline-functions-called-once -w" }

#include "../pr69667.C"
```

I admit ignorance on the meaning or importance of the directory structure here.
Indeed the patch which moved pr69667.C was a small attempt to clean things up a
bit.

Would it be correct to move this test from g++.dg/tsan to g++.target/powerpc ?
(Or, do I need to move pr69667.C back to its original location?  Or, do I need
to update the path within pr88018.C, which seems like the worst option?)

Did I miss this because I used `--disable-libsanitizer`, or because I just
missed that there was a FAIL for a test which I mistakenly thought was
unrelated to my changes? (There are a lot of FAILs to ignore.)

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

* [Bug testsuite/105620] [13 regression] g++.dg/tsan/pr88018.C fails after r13-456-geccbd7fcee5bbf
  2022-05-16 18:11 [Bug testsuite/105620] New: [13 regression] g++.dg/tsan/pr88018.C fails after r13-456-geccbd7fcee5bbf seurer at gcc dot gnu.org
  2022-05-16 22:14 ` [Bug testsuite/105620] " pc at gcc dot gnu.org
@ 2022-05-17  4:09 ` linkw at gcc dot gnu.org
  2022-05-17  6:58 ` rguenth at gcc dot gnu.org
                   ` (3 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: linkw at gcc dot gnu.org @ 2022-05-17  4:09 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105620

Kewen Lin <linkw at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |jakub at gcc dot gnu.org,
                   |                            |linkw at gcc dot gnu.org

--- Comment #2 from Kewen Lin <linkw at gcc dot gnu.org> ---
> Would it be correct to move this test from g++.dg/tsan to g++.target/powerpc
> ? (Or, do I need to move pr69667.C back to its original location?  Or, do I
> need to update the path within pr88018.C, which seems like the worst option?)
> 

Based on my previous experience, the including doesn't make the dg directives
in the header file effective, so I guess the test case (pr88018.C) doesn't only
run on powerpc. How about copying the source code (throwing those dg-*) of
pr69667.C to pr88018.C to replace the include?

> Did I miss this because I used `--disable-libsanitizer`, or because I just
> missed that there was a FAIL for a test which I mistakenly thought was
> unrelated to my changes? (There are a lot of FAILs to ignore.)

Yes, I think it's due to "--disable-libsanitizer" configuration.

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

* [Bug testsuite/105620] [13 regression] g++.dg/tsan/pr88018.C fails after r13-456-geccbd7fcee5bbf
  2022-05-16 18:11 [Bug testsuite/105620] New: [13 regression] g++.dg/tsan/pr88018.C fails after r13-456-geccbd7fcee5bbf seurer at gcc dot gnu.org
  2022-05-16 22:14 ` [Bug testsuite/105620] " pc at gcc dot gnu.org
  2022-05-17  4:09 ` linkw at gcc dot gnu.org
@ 2022-05-17  6:58 ` rguenth at gcc dot gnu.org
  2022-05-18 20:47 ` cvs-commit at gcc dot gnu.org
                   ` (2 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: rguenth at gcc dot gnu.org @ 2022-05-17  6:58 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105620

Richard Biener <rguenth at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|---                         |13.0

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

* [Bug testsuite/105620] [13 regression] g++.dg/tsan/pr88018.C fails after r13-456-geccbd7fcee5bbf
  2022-05-16 18:11 [Bug testsuite/105620] New: [13 regression] g++.dg/tsan/pr88018.C fails after r13-456-geccbd7fcee5bbf seurer at gcc dot gnu.org
                   ` (2 preceding siblings ...)
  2022-05-17  6:58 ` rguenth at gcc dot gnu.org
@ 2022-05-18 20:47 ` cvs-commit at gcc dot gnu.org
  2022-05-18 21:54 ` pc at gcc dot gnu.org
  2022-05-23 18:38 ` pc at gcc dot gnu.org
  5 siblings, 0 replies; 7+ messages in thread
From: cvs-commit at gcc dot gnu.org @ 2022-05-18 20:47 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105620

--- Comment #3 from CVS Commits <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by Paul Clarke <pc@gcc.gnu.org>:

https://gcc.gnu.org/g:1875214cd1ca3e8bd0121f703537eb98edd84027

commit r13-626-g1875214cd1ca3e8bd0121f703537eb98edd84027
Author: Paul A. Clarke <pc@us.ibm.com>
Date:   Wed May 18 15:45:56 2022 -0500

    Revert move of g++.dg/pr69667.C

    Commit eccbd7fcee5bbfc47731e8de83c44eee2e3dcc4b moved the subject file to
    g++.target/powerpc.  Unfortunately, test g++.dg/tsan/pr88018.C includes
    "../pr69667.C".

    Revert the move of this file.

    Commit 14e678a2c4a76433fd4029568d28530c921e11ee relaxed some DejaGnu
    directives in g++.dg/tsan/pr88018.C, given its more restrictive environment
    within g++.target/powerpc.  Revert these changes in that file as well.

    2022-05-18  Paul A. Clarke  <pc@us.ibm.com>

    gcc/testsuite
            PR target/105620
            * g++.target/powerpc/pr69667.C: Move to ...
            * g++.dg/pr69667.C: here. Also, revert recent dg directives
changes.

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

* [Bug testsuite/105620] [13 regression] g++.dg/tsan/pr88018.C fails after r13-456-geccbd7fcee5bbf
  2022-05-16 18:11 [Bug testsuite/105620] New: [13 regression] g++.dg/tsan/pr88018.C fails after r13-456-geccbd7fcee5bbf seurer at gcc dot gnu.org
                   ` (3 preceding siblings ...)
  2022-05-18 20:47 ` cvs-commit at gcc dot gnu.org
@ 2022-05-18 21:54 ` pc at gcc dot gnu.org
  2022-05-23 18:38 ` pc at gcc dot gnu.org
  5 siblings, 0 replies; 7+ messages in thread
From: pc at gcc dot gnu.org @ 2022-05-18 21:54 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105620

pc at gcc dot gnu.org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Last reconfirmed|                            |2022-05-18
     Ever confirmed|0                           |1
             Status|UNCONFIRMED                 |ASSIGNED

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

* [Bug testsuite/105620] [13 regression] g++.dg/tsan/pr88018.C fails after r13-456-geccbd7fcee5bbf
  2022-05-16 18:11 [Bug testsuite/105620] New: [13 regression] g++.dg/tsan/pr88018.C fails after r13-456-geccbd7fcee5bbf seurer at gcc dot gnu.org
                   ` (4 preceding siblings ...)
  2022-05-18 21:54 ` pc at gcc dot gnu.org
@ 2022-05-23 18:38 ` pc at gcc dot gnu.org
  5 siblings, 0 replies; 7+ messages in thread
From: pc at gcc dot gnu.org @ 2022-05-23 18:38 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105620

pc at gcc dot gnu.org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |RESOLVED
         Resolution|---                         |FIXED

--- Comment #4 from pc at gcc dot gnu.org ---
Revert of the move of the file that caused this issue has been pushed to trunk.
Marking as FIXED.

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

end of thread, other threads:[~2022-05-23 18:38 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-05-16 18:11 [Bug testsuite/105620] New: [13 regression] g++.dg/tsan/pr88018.C fails after r13-456-geccbd7fcee5bbf seurer at gcc dot gnu.org
2022-05-16 22:14 ` [Bug testsuite/105620] " pc at gcc dot gnu.org
2022-05-17  4:09 ` linkw at gcc dot gnu.org
2022-05-17  6:58 ` rguenth at gcc dot gnu.org
2022-05-18 20:47 ` cvs-commit at gcc dot gnu.org
2022-05-18 21:54 ` pc at gcc dot gnu.org
2022-05-23 18:38 ` pc at gcc dot gnu.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).