This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
[RFC] Dejagnu patch to handle multi-line directives
- From: Tom de Vries <Tom_deVries at mentor dot com>
- To: GCC Patches <gcc-patches at gcc dot gnu dot org>
- Cc: Jakub Jelinek <jakub at redhat dot com>, Rainer Orth <ro at CeBiTec dot Uni-Bielefeld dot DE>, Mike Stump <mikestump at comcast dot net>
- Date: Sat, 10 Jun 2017 09:57:26 +0200
- Subject: [RFC] Dejagnu patch to handle multi-line directives
- Authentication-results: sourceware.org; auth=none
Hi,
one thing that has bothered me on a regular basis is the inability to
spread long dejagnu directives over multiple lines.
I've written a demonstrator patch (for the dejagnu sources) and tested
it by splitting this 108 chars line:
...
/* { dg-additional-options "-DSTACK_SIZE=[dg-effective-target-value
stack_size]" { target { stack_size } } } */
...
into:
...
/* { dg-additional-options }
{ dg-dc "-DSTACK_SIZE=[dg-effective-target-value stack_size]" }
{ dg-dc { target { stack_size } } } */
...
Good idea to fix this?
Good idea to fix this like this?
If so, any other comments, before I suggest this at dejagnu project?
Thanks,
- Tom