public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/26571]  New: [4.0/4.1/4.2 regression] Bad diagnostic using type modifier with struct
@ 2006-03-06  2:56 reichelt at gcc dot gnu dot org
  2006-03-06 13:05 ` [Bug c++/26571] " pinskia at gcc dot gnu dot org
                   ` (8 more replies)
  0 siblings, 9 replies; 10+ messages in thread
From: reichelt at gcc dot gnu dot org @ 2006-03-06  2:56 UTC (permalink / raw)
  To: gcc-bugs

The invalid testcase

===============================
struct A {};
unsigned A a;
===============================

triggers the following bogus error message since GCC 3.4.0:

  bug.cc:2: error: 'A' does not name a type

The error message before wasn't very helpful

  bug.cc:2: error: syntax error before `;' token

but at least it wasn't plain wrong.
So I rate this as a regression.


-- 
           Summary: [4.0/4.1/4.2 regression] Bad diagnostic using type
                    modifier with struct
           Product: gcc
           Version: 4.2.0
            Status: UNCONFIRMED
          Keywords: diagnostic, monitored
          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=26571


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

end of thread, other threads:[~2006-09-07 23:07 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-03-06  2:56 [Bug c++/26571] New: [4.0/4.1/4.2 regression] Bad diagnostic using type modifier with struct reichelt at gcc dot gnu dot org
2006-03-06 13:05 ` [Bug c++/26571] " pinskia at gcc dot gnu dot org
2006-03-11  3:22 ` mmitchel at gcc dot gnu dot org
2006-06-04 18:00 ` mmitchel at gcc dot gnu dot org
2006-09-06  0:12 ` jason at gcc dot gnu dot org
2006-09-06  5:28 ` jason at gcc dot gnu dot org
2006-09-07 22:27 ` [Bug c++/26571] [4.0/4.1 " jason at gcc dot gnu dot org
2006-09-07 22:38 ` jason at gcc dot gnu dot org
2006-09-07 23:04 ` jason at gcc dot gnu dot org
2006-09-07 23:07 ` jason 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).