[Bug testsuite/103823] g++.dg/torture/pr31863.C fails on darwin with "using serial compilation of 2 LTRANS jobs"

2021-12-24 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103823

Andrew Pinski  changed:

   What|Removed |Added

   Last reconfirmed||2021-12-24
 Status|UNCONFIRMED |NEW
 Ever confirmed|0   |1

--- Comment #2 from Andrew Pinski  ---
(In reply to Andrew Pinski from comment #1)
> Very similar to PR 47334 really.

That is the problem is lto.exp prunes out this message but since this is in
g++.dg/torture rather than the lto testsuite, there is no pruning happening.

[Bug testsuite/103823] g++.dg/torture/pr31863.C fails on darwin with "using serial compilation of 2 LTRANS jobs"

2021-12-24 Thread fxcoudert at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103823

--- Comment #3 from Francois-Xavier Coudert  ---
Any reason not to move the test to the lto testsuite?

[Bug testsuite/103823] g++.dg/torture/pr31863.C fails on darwin with "using serial compilation of 2 LTRANS jobs"

2021-12-24 Thread iains at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103823

--- Comment #4 from Iain Sandoe  ---
if that is not viable
you could prune it locally to the specific test,
or add the prune to the general set in testsuite/lib (perhaps making it
darwin-specific).

[Bug testsuite/103823] g++.dg/torture/pr31863.C fails on darwin with "using serial compilation of 2 LTRANS jobs"

2021-12-25 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103823

--- Comment #5 from Andrew Pinski  ---
(In reply to Francois-Xavier Coudert from comment #3)
> Any reason not to move the test to the lto testsuite?

Most likely should have been when PR 47334 was filed but since the failure only
showed up on solaris and using sun's as, nobody really cared to move it :).

[Bug testsuite/103823] g++.dg/torture/pr31863.C fails on darwin with "using serial compilation of 2 LTRANS jobs"

2021-12-25 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103823

--- Comment #6 from Andrew Pinski  ---
Created attachment 52057
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=52057&action=edit
Patch to test

Can you try this patch?

[Bug testsuite/103823] g++.dg/torture/pr31863.C fails on darwin with "using serial compilation of 2 LTRANS jobs"

2021-12-26 Thread fxcoudert at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103823

--- Comment #7 from Francois-Xavier Coudert  ---
Did not work: I think it's because it's lto-wrapper not lto1.

Executing on host: /private/tmp/ibin/gcc/testsuite/g++/../../xg++
-B/private/tmp/ibin/gcc/testsuite/g++/../../  /tmp/gcc-darwin-arm6
4/gcc/testsuite/g++.dg/torture/pr31863.C-fdiagnostics-plain-output 
-nostdinc++ -I/tmp/ibin/aarch64-apple-darwin21.2.0/libstdc++
-v3/include/aarch64-apple-darwin21.2.0
-I/tmp/ibin/aarch64-apple-darwin21.2.0/libstdc++-v3/include
-I/tmp/gcc-darwin-arm64/libstdc++
-v3/libsupc++ -I/tmp/gcc-darwin-arm64/libstdc++-v3/include/backward
-I/tmp/gcc-darwin-arm64/libstdc++-v3/testsuite/util -fmessage-le
ngth=0   -O2 -flto 
-L/private/tmp/ibin/aarch64-apple-darwin21.2.0/./libstdc++-v3/src/.libs 
-B/private/tmp/ibin/aarch64-apple-d
arwin21.2.0/./libstdc++-v3/src/.libs 
-L/private/tmp/ibin/aarch64-apple-darwin21.2.0/./libstdc++-v3/src/.libs
-B/private/tmp/ibin/aa
rch64-apple-darwin21.2.0/./libitm/
-L/private/tmp/ibin/aarch64-apple-darwin21.2.0/./libitm/.libs -multiply_defined
suppress -lm  -o 
pr31863.exe(timeout = 600)
spawn -ignore SIGHUP /private/tmp/ibin/gcc/testsuite/g++/../../xg++
-B/private/tmp/ibin/gcc/testsuite/g++/../../ /tmp/gcc-darwin-arm
64/gcc/testsuite/g++.dg/torture/pr31863.C -fdiagnostics-plain-output
-nostdinc++ -I/tmp/ibin/aarch64-apple-darwin21.2.0/libstdc++-v3
/include/aarch64-apple-darwin21.2.0
-I/tmp/ibin/aarch64-apple-darwin21.2.0/libstdc++-v3/include
-I/tmp/gcc-darwin-arm64/libstdc++-v3
/libsupc++ -I/tmp/gcc-darwin-arm64/libstdc++-v3/include/backward
-I/tmp/gcc-darwin-arm64/libstdc++-v3/testsuite/util -fmessage-lengt
h=0 -O2 -flto
-L/private/tmp/ibin/aarch64-apple-darwin21.2.0/./libstdc++-v3/src/.libs
-B/private/tmp/ibin/aarch64-apple-darwin21.2.0
/./libstdc++-v3/src/.libs
-L/private/tmp/ibin/aarch64-apple-darwin21.2.0/./libstdc++-v3/src/.libs
-B/private/tmp/ibin/aarch64-apple-
darwin21.2.0/./libitm/
-L/private/tmp/ibin/aarch64-apple-darwin21.2.0/./libitm/.libs -multiply_defined
suppress -lm -o pr31863.exe
lto-wrapper: warning: using serial compilation of 2 LTRANS jobs
lto-wrapper: note: see the
ESC]8;;https://gcc.gnu.org/onlinedocs/gcc/Optimize-Options.html#index-flto^G'-flto'
option documentation
ESC]8;;^G for more information
FAIL: g++.dg/torture/pr31863.C   -O2 -flto  (test for excess errors)
Excess errors:
lto-wrapper: warning: using serial compilation of 2 LTRANS jobs


I am attaching a slightly amended version, accepting stuff after "lto", which
passes.

[Bug testsuite/103823] g++.dg/torture/pr31863.C fails on darwin with "using serial compilation of 2 LTRANS jobs"

2021-12-26 Thread fxcoudert at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103823

--- Comment #8 from Francois-Xavier Coudert  ---
Created attachment 52064
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=52064&action=edit
Revised patch

[Bug testsuite/103823] g++.dg/torture/pr31863.C fails on darwin with "using serial compilation of 2 LTRANS jobs"

2021-12-26 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103823

--- Comment #9 from Andrew Pinski  ---
(In reply to Francois-Xavier Coudert from comment #8)
> Created attachment 52064 [details]
> Revised patch

Can you submit this? But it looks correct. And thanks for correcting my patch.

[Bug testsuite/103823] g++.dg/torture/pr31863.C fails on darwin with "using serial compilation of 2 LTRANS jobs"

2021-12-27 Thread fxcoudert at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103823

--- Comment #10 from Francois-Xavier Coudert  ---
Posted at https://gcc.gnu.org/pipermail/gcc-patches/2021-December/587376.html

[Bug testsuite/103823] g++.dg/torture/pr31863.C fails on darwin with "using serial compilation of 2 LTRANS jobs"

2021-12-29 Thread fxcoudert at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103823

Francois-Xavier Coudert  changed:

   What|Removed |Added

   Target Milestone|--- |12.0
 Resolution|--- |FIXED
 Status|NEW |RESOLVED

--- Comment #11 from Francois-Xavier Coudert  ---
Fixed by
https://gcc.gnu.org/git/?p=gcc.git;a=commit;h=05edf6c470ae0ab50d42f16e78e476dbcc774842

[Bug testsuite/103823] g++.dg/torture/pr31863.C fails on darwin with "using serial compilation of 2 LTRANS jobs"

2023-01-06 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103823

--- Comment #12 from CVS Commits  ---
The releases/gcc-11 branch has been updated by Martin Liska
:

https://gcc.gnu.org/g:65b768fdb1ad302a6537119305317f413bfcbe0e

commit r11-10455-g65b768fdb1ad302a6537119305317f413bfcbe0e
Author: Francois-Xavier Coudert 
Date:   Mon Dec 27 01:13:59 2021 +0100

LTO: Prune some warnings in the testsuite

Warnings like:

warning: using serial compilation of 2 LTRANS jobs
warning: visibility attribute not supported in this configuration;
ignored\[^\n\]*" $text "" text

are pruned by lto.exp, but not for LTO testcases when run in other parts
of the testsuite. They will be, now.

gcc/testsuite/ChangeLog:

PR testsuite/47334
PR testsuite/103823
* lib/prune.exp: Prune some warnings related to LTO and
visibility.

(cherry picked from commit 05edf6c470ae0ab50d42f16e78e476dbcc774842)

[Bug testsuite/103823] g++.dg/torture/pr31863.C fails on darwin with "using serial compilation of 2 LTRANS jobs"

2023-01-06 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103823

--- Comment #13 from CVS Commits  ---
The releases/gcc-10 branch has been updated by Martin Liska
:

https://gcc.gnu.org/g:7097d2aafcae4b1cb89c28ff4fd4af18df9a2cef

commit r10-11152-g7097d2aafcae4b1cb89c28ff4fd4af18df9a2cef
Author: Francois-Xavier Coudert 
Date:   Mon Dec 27 01:13:59 2021 +0100

LTO: Prune some warnings in the testsuite

Warnings like:

warning: using serial compilation of 2 LTRANS jobs
warning: visibility attribute not supported in this configuration;
ignored\[^\n\]*" $text "" text

are pruned by lto.exp, but not for LTO testcases when run in other parts
of the testsuite. They will be, now.

gcc/testsuite/ChangeLog:

PR testsuite/47334
PR testsuite/103823
* lib/prune.exp: Prune some warnings related to LTO and
visibility.

(cherry picked from commit 05edf6c470ae0ab50d42f16e78e476dbcc774842)