public inbox for gcc-cvs@sourceware.org
help / color / mirror / Atom feed
* [gcc(refs/users/aoliva/heads/testme)] Drop need for constant I in ctf test
@ 2023-02-22 14:49 Alexandre Oliva
  0 siblings, 0 replies; 4+ messages in thread
From: Alexandre Oliva @ 2023-02-22 14:49 UTC (permalink / raw)
  To: gcc-cvs

https://gcc.gnu.org/g:b336fd0748fa5eb46c484bd6af96f91eadd07833

commit b336fd0748fa5eb46c484bd6af96f91eadd07833
Author: Alexandre Oliva <oliva@adacore.com>
Date:   Thu Feb 16 06:52:12 2023 -0300

    Drop need for constant I in ctf test
    
    Though I is supposed to be a constant expression, this is not the case
    on vxworks, but this is not what this debug information format test is
    testing for, so use real constants to initialize complex variables.
    
    
    for  gcc/testsuite/ChangeLog
    
            * gcc.dg/debug/ctf/ctf-complex-1.c: Do not test whether I is
            usable in initializers.

Diff:
---
 gcc/testsuite/gcc.dg/debug/ctf/ctf-complex-1.c | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/gcc/testsuite/gcc.dg/debug/ctf/ctf-complex-1.c b/gcc/testsuite/gcc.dg/debug/ctf/ctf-complex-1.c
index a36dd9b6b90..e6c3199f913 100644
--- a/gcc/testsuite/gcc.dg/debug/ctf/ctf-complex-1.c
+++ b/gcc/testsuite/gcc.dg/debug/ctf/ctf-complex-1.c
@@ -14,8 +14,8 @@
 
 #include <complex.h>
 
-double complex z1 = I * I;
+double complex z1 = -1;
 
-const long double complex z2 = I * I;
+const long double complex z2 = -1;
 
-float complex z4 = 1+2.11*I;
+float complex z4 = 1;

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

* [gcc(refs/users/aoliva/heads/testme)] Drop need for constant I in ctf test
@ 2023-02-23 13:48 Alexandre Oliva
  0 siblings, 0 replies; 4+ messages in thread
From: Alexandre Oliva @ 2023-02-23 13:48 UTC (permalink / raw)
  To: gcc-cvs

https://gcc.gnu.org/g:0fe0c61a522b2fb3d68653e5fefe4bf9fe2e3b31

commit 0fe0c61a522b2fb3d68653e5fefe4bf9fe2e3b31
Author: Alexandre Oliva <oliva@adacore.com>
Date:   Thu Feb 23 10:30:30 2023 -0300

    Drop need for constant I in ctf test
    
    Though I is supposed to be a constant expression, this is not the case
    on vxworks, but this is not what this debug information format test is
    testing for, so use real constants to initialize complex variables.
    
    
    for  gcc/testsuite/ChangeLog
    
            * gcc.dg/debug/ctf/ctf-complex-1.c: Do not test whether I is
            usable in initializers.

Diff:

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

* [gcc(refs/users/aoliva/heads/testme)] Drop need for constant I in ctf test
@ 2023-02-22 17:23 Alexandre Oliva
  0 siblings, 0 replies; 4+ messages in thread
From: Alexandre Oliva @ 2023-02-22 17:23 UTC (permalink / raw)
  To: gcc-cvs

https://gcc.gnu.org/g:923cef9cf2a4b8ab89702a36abea0525fcaae9d4

commit 923cef9cf2a4b8ab89702a36abea0525fcaae9d4
Author: Alexandre Oliva <oliva@adacore.com>
Date:   Thu Feb 16 06:52:12 2023 -0300

    Drop need for constant I in ctf test
    
    Though I is supposed to be a constant expression, this is not the case
    on vxworks, but this is not what this debug information format test is
    testing for, so use real constants to initialize complex variables.
    
    
    for  gcc/testsuite/ChangeLog
    
            * gcc.dg/debug/ctf/ctf-complex-1.c: Do not test whether I is
            usable in initializers.

Diff:
---
 gcc/testsuite/gcc.dg/debug/ctf/ctf-complex-1.c | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/gcc/testsuite/gcc.dg/debug/ctf/ctf-complex-1.c b/gcc/testsuite/gcc.dg/debug/ctf/ctf-complex-1.c
index a36dd9b6b90..e6c3199f913 100644
--- a/gcc/testsuite/gcc.dg/debug/ctf/ctf-complex-1.c
+++ b/gcc/testsuite/gcc.dg/debug/ctf/ctf-complex-1.c
@@ -14,8 +14,8 @@
 
 #include <complex.h>
 
-double complex z1 = I * I;
+double complex z1 = -1;
 
-const long double complex z2 = I * I;
+const long double complex z2 = -1;
 
-float complex z4 = 1+2.11*I;
+float complex z4 = 1;

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

* [gcc(refs/users/aoliva/heads/testme)] Drop need for constant I in ctf test
@ 2023-02-16 11:12 Alexandre Oliva
  0 siblings, 0 replies; 4+ messages in thread
From: Alexandre Oliva @ 2023-02-16 11:12 UTC (permalink / raw)
  To: gcc-cvs

https://gcc.gnu.org/g:87b355ad7d5e70bb3163fb8565a334d5d2bffd96

commit 87b355ad7d5e70bb3163fb8565a334d5d2bffd96
Author: Alexandre Oliva <oliva@adacore.com>
Date:   Thu Feb 16 06:52:12 2023 -0300

    Drop need for constant I in ctf test
    
    Though I is supposed to be a constant expression, this is not the case
    on vxworks, but this is not what this debug information format test is
    testing for, so use real constants to initialize complex variables.
    
    
    for  gcc/testsuite/ChangeLog
    
            * gcc.dg/debug/ctf/ctf-complex-1.c: Do not test whether I is
            usable in initializers.

Diff:
---
 gcc/testsuite/gcc.dg/debug/ctf/ctf-complex-1.c | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/gcc/testsuite/gcc.dg/debug/ctf/ctf-complex-1.c b/gcc/testsuite/gcc.dg/debug/ctf/ctf-complex-1.c
index a36dd9b6b90..e6c3199f913 100644
--- a/gcc/testsuite/gcc.dg/debug/ctf/ctf-complex-1.c
+++ b/gcc/testsuite/gcc.dg/debug/ctf/ctf-complex-1.c
@@ -14,8 +14,8 @@
 
 #include <complex.h>
 
-double complex z1 = I * I;
+double complex z1 = -1;
 
-const long double complex z2 = I * I;
+const long double complex z2 = -1;
 
-float complex z4 = 1+2.11*I;
+float complex z4 = 1;

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

end of thread, other threads:[~2023-02-23 13:48 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-02-22 14:49 [gcc(refs/users/aoliva/heads/testme)] Drop need for constant I in ctf test Alexandre Oliva
  -- strict thread matches above, loose matches on Subject: below --
2023-02-23 13:48 Alexandre Oliva
2023-02-22 17:23 Alexandre Oliva
2023-02-16 11:12 Alexandre Oliva

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).