Re: [PATCH] testsuite: g++.dg/cpp2a/decomp2.C requires tls_runtime

2025-05-08 Thread Jakub Jelinek
On Thu, May 08, 2025 at 03:07:29PM +0200, Christophe Lyon wrote: > Ping? > > Le jeu. 17 avr. 2025, 11:21, Christophe Lyon a > écrit : > > > Since this test is a 'dg-do run', it requires tls_runtime rather than > > just tls. > > > > This makes the test UNSUPPORTED on targets such as arm-non-eabi,

Re: [PATCH] testsuite: g++.dg/cpp2a/constinit16.C requires tls

2025-05-08 Thread Jakub Jelinek
On Thu, May 08, 2025 at 03:07:50PM +0200, Christophe Lyon wrote: > Ping? > > Le jeu. 17 avr. 2025, 11:21, Christophe Lyon a > écrit : > > > This test is 'dg-do compile', so require tls instead of tls_runtime. > > > > This enables it on targets such as arm-none-eabi configured with > > --enable-t

Re: [PATCH] testsuite: g++.dg/cpp2a/decomp2.C requires tls_runtime

2025-05-08 Thread Christophe Lyon
Ping? Le jeu. 17 avr. 2025, 11:21, Christophe Lyon a écrit : > Since this test is a 'dg-do run', it requires tls_runtime rather than > just tls. > > This makes the test UNSUPPORTED on targets such as arm-non-eabi, > instead of FAIL/UNRESOLVED because __aeabi_read_tp is not provided > (e.g. when

Re: [PATCH] testsuite: g++.dg/cpp2a/constinit16.C requires tls

2025-05-08 Thread Christophe Lyon
Ping? Le jeu. 17 avr. 2025, 11:21, Christophe Lyon a écrit : > This test is 'dg-do compile', so require tls instead of tls_runtime. > > This enables it on targets such as arm-none-eabi configured with > --enable-threads=no. > > gcc/testsuite/ChangeLog: > > * g++.dg/cpp2a/constinit16.C: R

[PATCH] testsuite: g++.dg/cpp2a/constinit16.C requires tls

2025-04-17 Thread Christophe Lyon
This test is 'dg-do compile', so require tls instead of tls_runtime. This enables it on targets such as arm-none-eabi configured with --enable-threads=no. gcc/testsuite/ChangeLog: * g++.dg/cpp2a/constinit16.C: Require tls. --- gcc/testsuite/g++.dg/cpp2a/constinit16.C | 2 +- 1 file chan

[PATCH] testsuite: g++.dg/cpp2a/decomp2.C requires tls_runtime

2025-04-17 Thread Christophe Lyon
Since this test is a 'dg-do run', it requires tls_runtime rather than just tls. This makes the test UNSUPPORTED on targets such as arm-non-eabi, instead of FAIL/UNRESOLVED because __aeabi_read_tp is not provided (e.g. when GCC is configured with --enable-threads=no. gcc/testsuite/ChangeLog:

Re: [patch testsuite]: g++.dg/abi

2014-04-04 Thread Jeff Law
On 03/18/14 07:16, Kai Tietz wrote: Hi, this patch skips anon2.C and anon3.C test for mingw target. Issue here is that weak under pe-coff is different to ELF-targets and therefore test doesn't apply for FAIL: g++.dg/abi/anon2.C -std=c++11 scan-assembler .weak(_definition)?[ \t]_?_ZN2N11D1C3fn

Re: [patch testsuite]: g++.dg/abi

2014-03-19 Thread Kai Tietz
2014-03-19 17:54 GMT+01:00 Mike Stump : > On Mar 19, 2014, at 9:49 AM, Rainer Orth > wrote: >>> The concept of weak - as present in ELF - isn't known in COFF in >>> general. There is some weak, but it works only for static library and >>> in a limitted way. Therefore we can't (and don't) use it

Re: [patch testsuite]: g++.dg/abi

2014-03-19 Thread Mike Stump
On Mar 19, 2014, at 9:38 AM, Kai Tietz wrote: > 2014-03-19 17:23 GMT+01:00 Mike Stump : >> On Mar 18, 2014, at 6:16 AM, Kai Tietz wrote: >>> this patch skips anon2.C and anon3.C test for mingw target. Issue >>> here is that weak under pe-coff is different to ELF-targets and >>> therefore test do

Re: [patch testsuite]: g++.dg/abi

2014-03-19 Thread Kai Tietz
2014-03-19 18:37 GMT+01:00 Joseph S. Myers : > On Wed, 19 Mar 2014, Kai Tietz wrote: > >> The concept of weak - as present in ELF - isn't known in COFF in >> general. There is some weak, but it works only for static library and >> in a limitted way. Therefore we can't (and don't) use it for COFF

Re: [patch testsuite]: g++.dg/abi

2014-03-19 Thread Joseph S. Myers
On Wed, 19 Mar 2014, Kai Tietz wrote: > The concept of weak - as present in ELF - isn't known in COFF in > general. There is some weak, but it works only for static library and > in a limitted way. Therefore we can't (and don't) use it for COFF > targets. There are already two different checks

Re: [patch testsuite]: g++.dg/abi

2014-03-19 Thread Mike Stump
On Mar 19, 2014, at 9:49 AM, Rainer Orth wrote: >> The concept of weak - as present in ELF - isn't known in COFF in >> general. There is some weak, but it works only for static library and >> in a limitted way. Therefore we can't (and don't) use it for COFF >> targets. > > In that case, it seem

Re: [patch testsuite]: g++.dg/abi

2014-03-19 Thread Rainer Orth
Kai Tietz writes: > 2014-03-19 17:23 GMT+01:00 Mike Stump : >> On Mar 18, 2014, at 6:16 AM, Kai Tietz wrote: >>> this patch skips anon2.C and anon3.C test for mingw target. Issue >>> here is that weak under pe-coff is different to ELF-targets and >>> therefore test doesn't apply for >> >> So, w

Re: [patch testsuite]: g++.dg/abi

2014-03-19 Thread Mike Stump
On Mar 18, 2014, at 6:16 AM, Kai Tietz wrote: > this patch skips anon2.C and anon3.C test for mingw target. Issue > here is that weak under pe-coff is different to ELF-targets and > therefore test doesn't apply for So, what does the output look like? There should be a trace of weak of some sor

Re: [patch testsuite]: g++.dg/abi

2014-03-19 Thread Kai Tietz
2014-03-19 17:23 GMT+01:00 Mike Stump : > On Mar 18, 2014, at 6:16 AM, Kai Tietz wrote: >> this patch skips anon2.C and anon3.C test for mingw target. Issue >> here is that weak under pe-coff is different to ELF-targets and >> therefore test doesn't apply for > > So, what does the output look lik

[patch testsuite]: g++.dg/abi

2014-03-18 Thread Kai Tietz
Hi, this patch skips anon2.C and anon3.C test for mingw target. Issue here is that weak under pe-coff is different to ELF-targets and therefore test doesn't apply for FAIL: g++.dg/abi/anon2.C -std=c++11 scan-assembler .weak(_definition)?[ \t]_?_ZN2N11D1C3fn1ENS0_1BE FAIL: g++.dg/abi/anon2.C -st

[PATCH, testsuite]: g++.dg/pr49718.C: Add "-mno-explicit-relocs" for alpha*-*-* targets.

2014-01-19 Thread Uros Bizjak
Hello! Alpha needs "-mno-explicit-relocs" to count number of function calls properly. 2014-01-19 Uros Bizjak * g++.dg/pr49718.C: Add "-mno-explicit-relocs" for alpha*-*-* targets. Tested on alphaev6-pc-linux-gnu and committed to mainline SVN. Uros. Index: g++.dg/pr49718.C ==

Re: [patch testsuite]: g++.dg

2013-03-22 Thread Mike Stump
On Mar 22, 2013, at 1:17 AM, Kai Tietz wrote: > this patch fixes an LLP64 issue in g++.dg's testsuite. > > ChangeLog > > 2013-03-22 Kai Tietz > >* g++.dg/torture/20121105-1.C: Adjust for LLP64 targets. > > Ok for apply? Ok.

[patch testsuite]: g++.dg

2013-03-22 Thread Kai Tietz
Hi, this patch fixes an LLP64 issue in g++.dg's testsuite. ChangeLog 2013-03-22 Kai Tietz * g++.dg/torture/20121105-1.C: Adjust for LLP64 targets. Ok for apply? Regards, Kai Index: gcc/testsuite/g++.dg/torture/20121105-1.C ==

Re: [patch testsuite/g++.dg]: Adjust some tests for *-*-mingw* targets

2012-02-22 Thread Mike Stump
On Feb 22, 2012, at 8:21 AM, Kai Tietz wrote: > this patch fixes some failures running the g++ testsuite for Windows > native targets. > > ChangeLog > > 2012-02-22 Kai Tietz > > * g++.dg/opt/devirt2.C: Add rule for *-*-mingw* target. > * opt/pr48549.C (long): Replace by long by __

[patch testsuite/g++.dg]: Adjust some tests for *-*-mingw* targets

2012-02-22 Thread Kai Tietz
Hi, this patch fixes some failures running the g++ testsuite for Windows native targets. ChangeLog 2012-02-22 Kai Tietz * g++.dg/opt/devirt2.C: Add rule for *-*-mingw* target. * opt/pr48549.C (long): Replace by long by __PTRDIFF_TYPE__ derived pdiff_t type. *

Re: [patch testsuite g++.dg]: Reflect ABI change for windows native targets about bitfield layout in structures

2011-12-28 Thread Mike Stump
On Dec 16, 2011, at 9:56 AM, Dave Korn wrote: > On 16/12/2011 09:01, Kai Tietz wrote: >> 2011/12/15 Dave Korn: > >>> { dg-options "-mno-align-double" { target i?86-*-cygwin* i?86-*-mingw* } } >>> { dg-additional-options "-mno-ms-bitfields" { target i?86-*-mingw* } } >>> >>> ... so that MinGW ge

Re: [patch testsuite g++.dg]: Reflect ABI change for windows native targets about bitfield layout in structures

2011-12-27 Thread Kai Tietz
Ping 2011/12/16 Dave Korn : > On 16/12/2011 09:01, Kai Tietz wrote: >> 2011/12/15 Dave Korn: > >>> { dg-options "-mno-align-double" { target i?86-*-cygwin* i?86-*-mingw* } } >>> { dg-additional-options "-mno-ms-bitfields" { target i?86-*-mingw* } } >>> >>> ... so that MinGW gets both and Cygwin on

Re: [patch testsuite g++.dg]: Reflect ABI change for windows native targets about bitfield layout in structures

2011-12-16 Thread Dave Korn
On 16/12/2011 09:01, Kai Tietz wrote: > 2011/12/15 Dave Korn: >> { dg-options "-mno-align-double" { target i?86-*-cygwin* i?86-*-mingw* } } >> { dg-additional-options "-mno-ms-bitfields" { target i?86-*-mingw* } } >> >> ... so that MinGW gets both and Cygwin only the one it wants? (Actually the >

Re: [patch testsuite g++.dg]: Reflect ABI change for windows native targets about bitfield layout in structures

2011-12-16 Thread Kai Tietz
2011/12/15 Dave Korn : > On 15/12/2011 10:33, Kai Tietz wrote: > >> -// { dg-options "-mno-align-double" { target i?86-*-cygwin* i?86-*-mingw* } >> } >> +// As for mingw target the the ms-bitfield switch is activated by default, >> +// make sure for this test that it is disabled. >> +// { dg-optio

Re: [patch testsuite g++.dg]: Reflect ABI change for windows native targets about bitfield layout in structures

2011-12-15 Thread Dave Korn
On 15/12/2011 10:33, Kai Tietz wrote: > -// { dg-options "-mno-align-double" { target i?86-*-cygwin* i?86-*-mingw* } } > +// As for mingw target the the ms-bitfield switch is activated by default, > +// make sure for this test that it is disabled. > +// { dg-options "-mno-align-double -mno-ms-bitf

Re: [patch testsuite g++.dg]: Reflect ABI change for windows native targets about bitfield layout in structures

2011-12-15 Thread Kai Tietz
2011/12/15 Rainer Orth : > Kai Tietz writes: > >> Index: g++.dg/abi/bitfield3.C >> === >> --- g++.dg/abi/bitfield3.C    (revision 182092) >> +++ g++.dg/abi/bitfield3.C    (working copy) >> @@ -3,7 +3,7 @@ >>  // { dg-options "-O2" } >

Re: [patch testsuite g++.dg]: Reflect ABI change for windows native targets about bitfield layout in structures

2011-12-15 Thread Rainer Orth
Kai Tietz writes: > Index: g++.dg/abi/bitfield3.C > === > --- g++.dg/abi/bitfield3.C(revision 182092) > +++ g++.dg/abi/bitfield3.C(working copy) > @@ -3,7 +3,7 @@ > // { dg-options "-O2" } > // Cygwin and mingw32 default to

[patch testsuite g++.dg]: Reflect ABI change for windows native targets about bitfield layout in structures

2011-12-15 Thread Kai Tietz
Hi, In gcc 4.7 the default for IA mingw targets about ms-bitfields was changed. So patch adjusts testcase to make sure we disable it for mingw targets ChangeLog 2011-12-15 Kai Tietz * g++.dg/abi/bitfield3.C: Make sure test runs for windows targets without activated ms-bitfiel

Re: [patch testsuite g++.dg]: Adjust tree-ssa/pr21082 testcase for LLP64

2011-03-08 Thread Kai Tietz
2011/3/8 Richard Guenther : > On Mon, Mar 7, 2011 at 8:42 PM, Kai Tietz wrote: >> PING > > Ok. > > Thanks, > Richard. > >> 2011/2/23 Kai Tietz : >>> Hi, >>> >>> ChangeLog >>> >>> 2011-02-23  Kai Tietz >>> >>>        * g++.dg/tree-ssa/pr21082.C: Use __INTPTR_TYPE__ instead of 'long' >>> type. >>>

Re: [patch testsuite g++.dg]: Adjust tree-ssa/pr21082 testcase for LLP64

2011-03-08 Thread Richard Guenther
On Mon, Mar 7, 2011 at 8:42 PM, Kai Tietz wrote: > PING Ok. Thanks, Richard. > 2011/2/23 Kai Tietz : >> Hi, >> >> ChangeLog >> >> 2011-02-23  Kai Tietz >> >>        * g++.dg/tree-ssa/pr21082.C: Use __INTPTR_TYPE__ instead of 'long' >> type. >> >> Ok for apply? >> >> Regards, >> Kai >> > > > >

Re: [patch testsuite g++.dg]: Adjust tree-ssa/pr21082 testcase for LLP64

2011-03-07 Thread Kai Tietz
PING 2011/2/23 Kai Tietz : > Hi, > > ChangeLog > > 2011-02-23  Kai Tietz > >        * g++.dg/tree-ssa/pr21082.C: Use __INTPTR_TYPE__ instead of 'long' > type. > > Ok for apply? > > Regards, > Kai > -- |  (\_/) This is Bunny. Copy and paste | (='.'=) Bunny into your signature to help | (")_(")