diff options
author | aldyh <aldyh@138bc75d-0d04-0410-961f-82ee72b054a4> | 2004-04-18 12:57:15 +0000 |
---|---|---|
committer | aldyh <aldyh@138bc75d-0d04-0410-961f-82ee72b054a4> | 2004-04-18 12:57:15 +0000 |
commit | 1e5ca7d786a857c01f93271827a10e2309e578b4 (patch) | |
tree | db5bb87504abe4cd237edae0555d9a7de2ad5c66 | |
parent | 3b2774df1a366bc30c82387f5bfa13d510c69fb9 (diff) | |
download | gcc-1e5ca7d786a857c01f93271827a10e2309e578b4.tar.gz |
* gcc.dg/vmx/varargs-1.c: Handle when printf outputs \r\n.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@80819 138bc75d-0d04-0410-961f-82ee72b054a4
-rw-r--r-- | gcc/testsuite/ChangeLog | 4 | ||||
-rw-r--r-- | gcc/testsuite/gcc.dg/vmx/varargs-1.c | 24 |
2 files changed, 16 insertions, 12 deletions
diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 62af4dd5179..b76dfe1d407 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,7 @@ +2004-04-18 Aldy Hernandez <aldyh@redhat.com> + + * gcc.dg/vmx/varargs-1.c: Handle when printf outputs \r\n. + 2004-04-18 Zack Weinberg <zack@codesourcery.com> Aldy Hernandez <aldyh@redhat.com> diff --git a/gcc/testsuite/gcc.dg/vmx/varargs-1.c b/gcc/testsuite/gcc.dg/vmx/varargs-1.c index 0d4227a46e8..92167c91a3e 100644 --- a/gcc/testsuite/gcc.dg/vmx/varargs-1.c +++ b/gcc/testsuite/gcc.dg/vmx/varargs-1.c @@ -81,16 +81,16 @@ int main() return 0; } -/* { dg-output "1, 1, 1, 1\n" } - { dg-output "2, 2, 2, 2\n" } - { dg-output "3, 3, 3, 3\n" } - { dg-output "4, 4, 4, 4\n" } - { dg-output "5, 5, 5, 5\n" } - { dg-output "6, 6, 6, 6\n" } - { dg-output "7, 7, 7, 7\n" } - { dg-output "8, 8, 8, 8\n" } - { dg-output "9, 9, 9, 9\n" } - { dg-output "10, 10, 10, 10\n" } - { dg-output "11, 11, 11, 11\n" } - { dg-output "12, 12, 12, 12\n" } +/* { dg-output "1, 1, 1, 1(\n|\r\n|\r)" } + { dg-output "2, 2, 2, 2(\n|\r\n|\r)" } + { dg-output "3, 3, 3, 3(\n|\r\n|\r)" } + { dg-output "4, 4, 4, 4(\n|\r\n|\r)" } + { dg-output "5, 5, 5, 5(\n|\r\n|\r)" } + { dg-output "6, 6, 6, 6(\n|\r\n|\r)" } + { dg-output "7, 7, 7, 7(\n|\r\n|\r)" } + { dg-output "8, 8, 8, 8(\n|\r\n|\r)" } + { dg-output "9, 9, 9, 9(\n|\r\n|\r)" } + { dg-output "10, 10, 10, 10(\n|\r\n|\r)" } + { dg-output "11, 11, 11, 11(\n|\r\n|\r)" } + { dg-output "12, 12, 12, 12(\n|\r\n|\r)" } */ |