public inbox for gcc-patches@gcc.gnu.org
 help / color / mirror / Atom feed
* [RFC] Dejagnu patch to handle multi-line directives
@ 2017-06-10  7:57 Tom de Vries
  2017-06-10  8:03 ` Tom de Vries
  2017-06-12 16:58 ` Mike Stump
  0 siblings, 2 replies; 8+ messages in thread
From: Tom de Vries @ 2017-06-10  7:57 UTC (permalink / raw)
  To: GCC Patches; +Cc: Jakub Jelinek, Rainer Orth, Mike Stump

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

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

end of thread, other threads:[~2017-06-20 13:28 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-06-10  7:57 [RFC] Dejagnu patch to handle multi-line directives Tom de Vries
2017-06-10  8:03 ` Tom de Vries
2017-06-11  0:42   ` Segher Boessenkool
2017-06-12  7:59   ` Richard Sandiford
2017-06-12 18:54     ` Pedro Alves
2017-06-13  6:59       ` Richard Sandiford
2017-06-12 16:58 ` Mike Stump
2017-06-20 13:28   ` Rainer Orth

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