public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c/25302]  New: gcc.dg/noncompile/920923-1.c needs fixing
@ 2005-12-07 20:37 reichelt at gcc dot gnu dot org
  2005-12-07 20:54 ` [Bug testsuite/25302] " joseph at codesourcery dot com
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: reichelt at gcc dot gnu dot org @ 2005-12-07 20:37 UTC (permalink / raw)
  To: gcc-bugs

The comment on top of the testcase gcc.dg/noncompile/920923-1.c reads:

  /* This test case contains a large number of syntactic errors.  We
     believe the intent of the test is that the compiler simply not
     crash.  The set of error messages reported is different when the C
     parser is generated with bison 1.50 than 1.35.  It is not worth
     attempting to prevent this.  Instead, we use a single dg-error with
     a regexp that will match _all_ the errors indiscriminately.  The
     old error/warning/etc markers are kept around for reference, but
     disabled.

     Revisit after new (recursive descent) parser is implemented for C.
     -- zw 2002-10-17  */

  /* { dg-error ".*" "many syntax errors" { target *-*-* } 0 } */

Well, the regexp also matches an ICE-message, so the testcase is
now broken (see PR 25301). While this is probably hard to fix in 3.4
and 4.0, the new C parser is in place on the 4.1 branch and mainline.

Therefore the testcase should be revisited on mainline and the 4.1 branch
as suggested by Zack in the comment.

This PR acts as a reminder not to forget this.


-- 
           Summary: gcc.dg/noncompile/920923-1.c needs fixing
           Product: gcc
           Version: 4.2.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: reichelt at gcc dot gnu dot org


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


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

* [Bug testsuite/25302] gcc.dg/noncompile/920923-1.c needs fixing
  2005-12-07 20:37 [Bug c/25302] New: gcc.dg/noncompile/920923-1.c needs fixing reichelt at gcc dot gnu dot org
@ 2005-12-07 20:54 ` joseph at codesourcery dot com
  2005-12-07 20:58 ` pinskia at gcc dot gnu dot org
  2005-12-07 21:05 ` reichelt at gcc dot gnu dot org
  2 siblings, 0 replies; 4+ messages in thread
From: joseph at codesourcery dot com @ 2005-12-07 20:54 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #1 from joseph at codesourcery dot com  2005-12-07 20:54 -------
Subject: Re:   New: gcc.dg/noncompile/920923-1.c needs fixing

On Wed, 7 Dec 2005, reichelt at gcc dot gnu dot org wrote:

> The comment on top of the testcase gcc.dg/noncompile/920923-1.c reads:

Not since:

2005-03-13  Joseph S. Myers  <joseph@codesourcery.com>

        PR c/20402
        * gcc.dg/noncompile/920923-1.c: Detail expected diagnostics for
        new parser.


-- 


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


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

* [Bug testsuite/25302] gcc.dg/noncompile/920923-1.c needs fixing
  2005-12-07 20:37 [Bug c/25302] New: gcc.dg/noncompile/920923-1.c needs fixing reichelt at gcc dot gnu dot org
  2005-12-07 20:54 ` [Bug testsuite/25302] " joseph at codesourcery dot com
@ 2005-12-07 20:58 ` pinskia at gcc dot gnu dot org
  2005-12-07 21:05 ` reichelt at gcc dot gnu dot org
  2 siblings, 0 replies; 4+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-12-07 20:58 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #2 from pinskia at gcc dot gnu dot org  2005-12-07 20:58 -------
Fixed for 4.1.0.


-- 

pinskia at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|                            |FIXED
   Target Milestone|---                         |4.1.0
            Version|4.2.0                       |4.0.3


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


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

* [Bug testsuite/25302] gcc.dg/noncompile/920923-1.c needs fixing
  2005-12-07 20:37 [Bug c/25302] New: gcc.dg/noncompile/920923-1.c needs fixing reichelt at gcc dot gnu dot org
  2005-12-07 20:54 ` [Bug testsuite/25302] " joseph at codesourcery dot com
  2005-12-07 20:58 ` pinskia at gcc dot gnu dot org
@ 2005-12-07 21:05 ` reichelt at gcc dot gnu dot org
  2 siblings, 0 replies; 4+ messages in thread
From: reichelt at gcc dot gnu dot org @ 2005-12-07 21:05 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #3 from reichelt at gcc dot gnu dot org  2005-12-07 21:05 -------
Stupid me. Must have looked at the wrong branch.
Sorry for the noise.


-- 


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


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

end of thread, other threads:[~2005-12-07 21:05 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-12-07 20:37 [Bug c/25302] New: gcc.dg/noncompile/920923-1.c needs fixing reichelt at gcc dot gnu dot org
2005-12-07 20:54 ` [Bug testsuite/25302] " joseph at codesourcery dot com
2005-12-07 20:58 ` pinskia at gcc dot gnu dot org
2005-12-07 21:05 ` reichelt 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).