This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH][ARM] Fix thumb-bitfld1.c testcase.
- From: Kyrill Tkachov <kyrylo dot tkachov at arm dot com>
- To: Alex Velenko <Alex dot Velenko at arm dot com>, "gcc-patches at gcc dot gnu dot org" <gcc-patches at gcc dot gnu dot org>
- Cc: Ramana Radhakrishnan <Ramana dot Radhakrishnan at arm dot com>
- Date: Tue, 21 Jul 2015 15:05:17 +0100
- Subject: Re: [PATCH][ARM] Fix thumb-bitfld1.c testcase.
- Authentication-results: sourceware.org; auth=none
- References: <1437485927-17132-1-git-send-email-alex dot velenko at arm dot com> <55AE515D dot 6080400 at arm dot com>
On 21/07/15 15:04, Kyrill Tkachov wrote:
On 21/07/15 14:38, Alex Velenko wrote:
Hi,
This patch fixes testcase thumb-bitfld1.c to be compiled without specifying C
standard.
Is patch ok for trunk and fsf-5?
gcc/testsuite
2015-07-21 Alex Velenko <Alex.Velenko@arm.com>
* gcc.target/arm/thumb-bitfld1.c (foo): Return type fixed.
Better to say:
*gcc.target/arm/thumb-bitfld1.c (foo): Add explicit return type.
With a space between the '*' and the filename, of course.
Kyrill
Ok with that ChangeLog entry.
Thanks,
Kyrill
---
gcc/testsuite/gcc.target/arm/thumb-bitfld1.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/gcc/testsuite/gcc.target/arm/thumb-bitfld1.c b/gcc/testsuite/gcc.target/arm/thumb-bitfld1.c
index ee39887..37630f1 100644
--- a/gcc/testsuite/gcc.target/arm/thumb-bitfld1.c
+++ b/gcc/testsuite/gcc.target/arm/thumb-bitfld1.c
@@ -10,6 +10,8 @@ struct foo
unsigned b28 : 1;
unsigned rest : 28;
};
+
+unsigned
foo(a)
struct foo a;
{