public inbox for gcc-bugs@sourceware.org help / color / mirror / Atom feed
* [Bug c++/19395] New: [3.3/3.4/4.0 regression] invalid scope qualifier allowed in typedef @ 2005-01-12 13:02 reichelt at gcc dot gnu dot org 2005-01-12 15:54 ` [Bug c++/19395] " pinskia at gcc dot gnu dot org ` (4 more replies) 0 siblings, 5 replies; 6+ messages in thread From: reichelt at gcc dot gnu dot org @ 2005-01-12 13:02 UTC (permalink / raw) To: gcc-bugs The following invalid code snippet is accepted since gcc 3.0 (without warning, even with -pedantic -Wall -W): ======================= struct A { typedef int ::X; }; ======================= -- Summary: [3.3/3.4/4.0 regression] invalid scope qualifier allowed in typedef Product: gcc Version: 4.0.0 Status: UNCONFIRMED Keywords: accepts-invalid Severity: normal Priority: P2 Component: c++ AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: reichelt at gcc dot gnu dot org CC: gcc-bugs at gcc dot gnu dot org http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19395 ^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug c++/19395] [3.3/3.4/4.0 regression] invalid scope qualifier allowed in typedef 2005-01-12 13:02 [Bug c++/19395] New: [3.3/3.4/4.0 regression] invalid scope qualifier allowed in typedef reichelt at gcc dot gnu dot org @ 2005-01-12 15:54 ` pinskia at gcc dot gnu dot org 2005-01-31 1:49 ` mmitchel at gcc dot gnu dot org ` (3 subsequent siblings) 4 siblings, 0 replies; 6+ messages in thread From: pinskia at gcc dot gnu dot org @ 2005-01-12 15:54 UTC (permalink / raw) To: gcc-bugs ------- Additional Comments From pinskia at gcc dot gnu dot org 2005-01-12 15:54 ------- Confirmed we have been accepting this since at least 2000-12-31. -- What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Ever Confirmed| |1 Last reconfirmed|0000-00-00 00:00:00 |2005-01-12 15:54:37 date| | Target Milestone|--- |3.4.4 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19395 ^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug c++/19395] [3.3/3.4/4.0 regression] invalid scope qualifier allowed in typedef 2005-01-12 13:02 [Bug c++/19395] New: [3.3/3.4/4.0 regression] invalid scope qualifier allowed in typedef reichelt at gcc dot gnu dot org 2005-01-12 15:54 ` [Bug c++/19395] " pinskia at gcc dot gnu dot org @ 2005-01-31 1:49 ` mmitchel at gcc dot gnu dot org 2005-01-31 4:08 ` cvs-commit at gcc dot gnu dot org ` (2 subsequent siblings) 4 siblings, 0 replies; 6+ messages in thread From: mmitchel at gcc dot gnu dot org @ 2005-01-31 1:49 UTC (permalink / raw) To: gcc-bugs -- What |Removed |Added ---------------------------------------------------------------------------- AssignedTo|unassigned at gcc dot gnu |mark at codesourcery dot com |dot org | Status|NEW |ASSIGNED http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19395 ^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug c++/19395] [3.3/3.4/4.0 regression] invalid scope qualifier allowed in typedef 2005-01-12 13:02 [Bug c++/19395] New: [3.3/3.4/4.0 regression] invalid scope qualifier allowed in typedef reichelt at gcc dot gnu dot org 2005-01-12 15:54 ` [Bug c++/19395] " pinskia at gcc dot gnu dot org 2005-01-31 1:49 ` mmitchel at gcc dot gnu dot org @ 2005-01-31 4:08 ` cvs-commit at gcc dot gnu dot org 2005-01-31 4:12 ` [Bug c++/19395] [3.3/3.4 " mmitchel at gcc dot gnu dot org 2005-05-19 17:24 ` mmitchel at gcc dot gnu dot org 4 siblings, 0 replies; 6+ messages in thread From: cvs-commit at gcc dot gnu dot org @ 2005-01-31 4:08 UTC (permalink / raw) To: gcc-bugs ------- Additional Comments From cvs-commit at gcc dot gnu dot org 2005-01-31 04:07 ------- Subject: Bug 19395 CVSROOT: /cvs/gcc Module name: gcc Changes by: mmitchel@gcc.gnu.org 2005-01-31 04:07:41 Modified files: gcc/cp : ChangeLog decl.c name-lookup.c gcc/testsuite : ChangeLog Added files: gcc/testsuite/g++.dg/parse: error24.C gcc/testsuite/g++.dg/lookup: builtin1.C Log message: PR c++/19395 * decl.c (grokdeclarator): Refactor code so that qualified names are never allowed as the declarator in a typedef. PR c++/19367 * name-lookup.c (do_nonmember_using_decl): Avoid overloading builtin declarations. PR c++/19395 * g++.dg/parse/error24.C: New test. PR c++/19367 * g++.dg/lookup/builtin1.C: New test. Patches: http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/cp/ChangeLog.diff?cvsroot=gcc&r1=1.4602&r2=1.4603 http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/cp/decl.c.diff?cvsroot=gcc&r1=1.1355&r2=1.1356 http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/cp/name-lookup.c.diff?cvsroot=gcc&r1=1.107&r2=1.108 http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/ChangeLog.diff?cvsroot=gcc&r1=1.4960&r2=1.4961 http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/g++.dg/parse/error24.C.diff?cvsroot=gcc&r1=NONE&r2=1.1 http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/g++.dg/lookup/builtin1.C.diff?cvsroot=gcc&r1=NONE&r2=1.1 -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19395 ^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug c++/19395] [3.3/3.4 regression] invalid scope qualifier allowed in typedef 2005-01-12 13:02 [Bug c++/19395] New: [3.3/3.4/4.0 regression] invalid scope qualifier allowed in typedef reichelt at gcc dot gnu dot org ` (2 preceding siblings ...) 2005-01-31 4:08 ` cvs-commit at gcc dot gnu dot org @ 2005-01-31 4:12 ` mmitchel at gcc dot gnu dot org 2005-05-19 17:24 ` mmitchel at gcc dot gnu dot org 4 siblings, 0 replies; 6+ messages in thread From: mmitchel at gcc dot gnu dot org @ 2005-01-31 4:12 UTC (permalink / raw) To: gcc-bugs ------- Additional Comments From mmitchel at gcc dot gnu dot org 2005-01-31 04:12 ------- Fixed in GCC 4.0. -- What |Removed |Added ---------------------------------------------------------------------------- Summary|[3.3/3.4/4.0 regression] |[3.3/3.4 regression] invalid |invalid scope qualifier |scope qualifier allowed in |allowed in typedef |typedef http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19395 ^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug c++/19395] [3.3/3.4 regression] invalid scope qualifier allowed in typedef 2005-01-12 13:02 [Bug c++/19395] New: [3.3/3.4/4.0 regression] invalid scope qualifier allowed in typedef reichelt at gcc dot gnu dot org ` (3 preceding siblings ...) 2005-01-31 4:12 ` [Bug c++/19395] [3.3/3.4 " mmitchel at gcc dot gnu dot org @ 2005-05-19 17:24 ` mmitchel at gcc dot gnu dot org 4 siblings, 0 replies; 6+ messages in thread From: mmitchel at gcc dot gnu dot org @ 2005-05-19 17:24 UTC (permalink / raw) To: gcc-bugs -- What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|3.4.4 |3.4.5 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19395 ^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2005-05-19 17:23 UTC | newest] Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed) -- links below jump to the message on this page -- 2005-01-12 13:02 [Bug c++/19395] New: [3.3/3.4/4.0 regression] invalid scope qualifier allowed in typedef reichelt at gcc dot gnu dot org 2005-01-12 15:54 ` [Bug c++/19395] " pinskia at gcc dot gnu dot org 2005-01-31 1:49 ` mmitchel at gcc dot gnu dot org 2005-01-31 4:08 ` cvs-commit at gcc dot gnu dot org 2005-01-31 4:12 ` [Bug c++/19395] [3.3/3.4 " mmitchel at gcc dot gnu dot org 2005-05-19 17:24 ` mmitchel 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).