public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug testsuite/39710]  New: gcc.misc-tests/help.exp doesn't work when configured with --enable-checking=assert
@ 2009-04-10  1:14 hjl dot tools at gmail dot com
  2009-04-10  6:03 ` [Bug testsuite/39710] " rwild at gcc dot gnu dot org
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: hjl dot tools at gmail dot com @ 2009-04-10  1:14 UTC (permalink / raw)
  To: gcc-bugs

opts.c has

/* What to print when a switch has no documentation.  */
#ifdef ENABLE_CHECKING
static const char undocumented_msg[] = N_("This switch lacks documentation");
#else
static const char undocumented_msg[] = "";
#endif

When gcc is configured with --enable-checking=assert, "gcc --help=undocumented"
won't display

  -E                          This switch lacks documentation

and the will fail like:

FAIL: compiler driver --help=undocumented option(s): This switch lacks
documentation


-- 
           Summary: gcc.misc-tests/help.exp doesn't work when configured
                    with --enable-checking=assert
           Product: gcc
           Version: 4.5.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: testsuite
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: hjl dot tools at gmail dot com


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


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

* [Bug testsuite/39710] gcc.misc-tests/help.exp doesn't work when configured with --enable-checking=assert
  2009-04-10  1:14 [Bug testsuite/39710] New: gcc.misc-tests/help.exp doesn't work when configured with --enable-checking=assert hjl dot tools at gmail dot com
@ 2009-04-10  6:03 ` rwild at gcc dot gnu dot org
  2009-04-10  6:13 ` rwild at gcc dot gnu dot org
                   ` (2 subsequent siblings)
  3 siblings, 0 replies; 5+ messages in thread
From: rwild at gcc dot gnu dot org @ 2009-04-10  6:03 UTC (permalink / raw)
  To: gcc-bugs



-- 

rwild at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         AssignedTo|unassigned at gcc dot gnu   |rwild at gcc dot gnu dot org
                   |dot org                     |
             Status|UNCONFIRMED                 |ASSIGNED
     Ever Confirmed|0                           |1
   Last reconfirmed|0000-00-00 00:00:00         |2009-04-10 06:03:08
               date|                            |
            Summary|gcc.misc-tests/help.exp     |gcc.misc-tests/help.exp
                   |doesn't work when configured|doesn't work when configured
                   |with --enable-              |with --enable-
                   |checking=assert             |checking=assert


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


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

* [Bug testsuite/39710] gcc.misc-tests/help.exp doesn't work when configured with --enable-checking=assert
  2009-04-10  1:14 [Bug testsuite/39710] New: gcc.misc-tests/help.exp doesn't work when configured with --enable-checking=assert hjl dot tools at gmail dot com
  2009-04-10  6:03 ` [Bug testsuite/39710] " rwild at gcc dot gnu dot org
@ 2009-04-10  6:13 ` rwild at gcc dot gnu dot org
  2009-04-26  8:19 ` rwild at gcc dot gnu dot org
  2009-04-26  8:20 ` rwild at gcc dot gnu dot org
  3 siblings, 0 replies; 5+ messages in thread
From: rwild at gcc dot gnu dot org @ 2009-04-10  6:13 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #1 from rwild at gcc dot gnu dot org  2009-04-10 06:12 -------
patch at <http://gcc.gnu.org/ml/gcc-patches/2009-04/msg00769.html>


-- 


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


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

* [Bug testsuite/39710] gcc.misc-tests/help.exp doesn't work when configured with --enable-checking=assert
  2009-04-10  1:14 [Bug testsuite/39710] New: gcc.misc-tests/help.exp doesn't work when configured with --enable-checking=assert hjl dot tools at gmail dot com
  2009-04-10  6:03 ` [Bug testsuite/39710] " rwild at gcc dot gnu dot org
  2009-04-10  6:13 ` rwild at gcc dot gnu dot org
@ 2009-04-26  8:19 ` rwild at gcc dot gnu dot org
  2009-04-26  8:20 ` rwild at gcc dot gnu dot org
  3 siblings, 0 replies; 5+ messages in thread
From: rwild at gcc dot gnu dot org @ 2009-04-26  8:19 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #2 from rwild at gcc dot gnu dot org  2009-04-26 08:19 -------
Subject: Bug 39710

Author: rwild
Date: Sun Apr 26 08:18:48 2009
New Revision: 146795

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=146795
Log:
gcc/
        PR testsuite/39710
        * opts.c (undocumented_msg): Do not leave blank even with
        ENABLE_CHECKING.


Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/opts.c


-- 


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


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

* [Bug testsuite/39710] gcc.misc-tests/help.exp doesn't work when configured with --enable-checking=assert
  2009-04-10  1:14 [Bug testsuite/39710] New: gcc.misc-tests/help.exp doesn't work when configured with --enable-checking=assert hjl dot tools at gmail dot com
                   ` (2 preceding siblings ...)
  2009-04-26  8:19 ` rwild at gcc dot gnu dot org
@ 2009-04-26  8:20 ` rwild at gcc dot gnu dot org
  3 siblings, 0 replies; 5+ messages in thread
From: rwild at gcc dot gnu dot org @ 2009-04-26  8:20 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #3 from rwild at gcc dot gnu dot org  2009-04-26 08:20 -------
Fixed.


-- 

rwild at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |RESOLVED
         Resolution|                            |FIXED


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


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

end of thread, other threads:[~2009-04-26  8:20 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-04-10  1:14 [Bug testsuite/39710] New: gcc.misc-tests/help.exp doesn't work when configured with --enable-checking=assert hjl dot tools at gmail dot com
2009-04-10  6:03 ` [Bug testsuite/39710] " rwild at gcc dot gnu dot org
2009-04-10  6:13 ` rwild at gcc dot gnu dot org
2009-04-26  8:19 ` rwild at gcc dot gnu dot org
2009-04-26  8:20 ` rwild 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).