public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
[parent not found: <bug-20567-230@http.gcc.gnu.org/bugzilla/>]
* [Bug testsuite/20567] New: dg-options in gcc.c-torture
@ 2005-03-20 13:26 jsm28 at gcc dot gnu dot org
  2005-03-20 17:48 ` [Bug testsuite/20567] " pinskia at gcc dot gnu dot org
  2005-06-05 11:32 ` jsm28 at gcc dot gnu dot org
  0 siblings, 2 replies; 7+ messages in thread
From: jsm28 at gcc dot gnu dot org @ 2005-03-20 13:26 UTC (permalink / raw)
  To: gcc-bugs

Some tests in gcc.c-torture use dg-options inappropriately.

gcc.c-torture/execute ignores dg-options settings, but pr7284-1.c and
wchar_t-1.c use them.  I think the proper fix would be to make that directory
honour dg-options.  If it is made to use the dg harness it might also be
possible to get rid of most of the .x files in c-torture by moving them into
test annotations within the testcase files.

In gcc.c-torture/compile, tests 20031125-1.c, 20031125-2.c, 20031203-1.c and
acc1.c specify -O2.  As the point of the torture tests is to iterate over
different optimization options, tests should not specify any options like -O2
which are included in that iteration; only other special options (such as
-ffast-math for acc1.c).

compile/981006-1.c looks like a diagnostic test and as such (a) should not use
-w, (b) should better be in gcc.dg/torture/.

-- 
           Summary: dg-options in gcc.c-torture
           Product: gcc
           Version: 4.1.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: testsuite
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: jsm28 at gcc dot gnu dot org
                CC: gcc-bugs at gcc dot gnu dot org,janis187 at us dot ibm
                    dot com


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20567


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

end of thread, other threads:[~2014-09-05 17:11 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <bug-20567-4@http.gcc.gnu.org/bugzilla/>
2012-03-22 13:49 ` [Bug testsuite/20567] dg-options in gcc.c-torture aldot at gcc dot gnu.org
2014-09-05 17:11 ` mrs at gcc dot gnu.org
     [not found] <bug-20567-230@http.gcc.gnu.org/bugzilla/>
2006-01-12  0:14 ` janis at gcc dot gnu dot org
2006-03-29 17:12 ` janis at gcc dot gnu dot org
2008-02-07 19:53 ` jsm28 at gcc dot gnu dot org
2005-03-20 13:26 [Bug testsuite/20567] New: " jsm28 at gcc dot gnu dot org
2005-03-20 17:48 ` [Bug testsuite/20567] " pinskia at gcc dot gnu dot org
2005-06-05 11:32 ` jsm28 at gcc dot gnu dot org

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