public inbox for gcc-bugs@sourceware.org help / color / mirror / Atom feed
* [Bug c++/22173] [3.4/4.0/4.1 regression] Bogus template keyword accepted [not found] <bug-22173-1771@http.gcc.gnu.org/bugzilla/> @ 2005-10-15 18:54 ` mmitchel at gcc dot gnu dot org 2005-10-16 20:17 ` mmitchel at gcc dot gnu dot org ` (3 subsequent siblings) 4 siblings, 0 replies; 9+ messages in thread From: mmitchel at gcc dot gnu dot org @ 2005-10-15 18:54 UTC (permalink / raw) To: gcc-bugs -- mmitchel at gcc dot gnu dot org changed: 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=22173 ^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug c++/22173] [3.4/4.0/4.1 regression] Bogus template keyword accepted [not found] <bug-22173-1771@http.gcc.gnu.org/bugzilla/> 2005-10-15 18:54 ` [Bug c++/22173] [3.4/4.0/4.1 regression] Bogus template keyword accepted mmitchel at gcc dot gnu dot org @ 2005-10-16 20:17 ` mmitchel at gcc dot gnu dot org 2005-10-16 21:57 ` cvs-commit at gcc dot gnu dot org ` (2 subsequent siblings) 4 siblings, 0 replies; 9+ messages in thread From: mmitchel at gcc dot gnu dot org @ 2005-10-16 20:17 UTC (permalink / raw) To: gcc-bugs ------- Comment #4 from mmitchel at gcc dot gnu dot org 2005-10-16 20:17 ------- Fixed in 4.0.3; will not be fixed in earlier releases. See PR 22137 for the patch, which had an incorrect ChangeLog entry. -- mmitchel at gcc dot gnu dot org changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Resolution| |FIXED http://gcc.gnu.org/bugzilla/show_bug.cgi?id=22173 ^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug c++/22173] [3.4/4.0/4.1 regression] Bogus template keyword accepted [not found] <bug-22173-1771@http.gcc.gnu.org/bugzilla/> 2005-10-15 18:54 ` [Bug c++/22173] [3.4/4.0/4.1 regression] Bogus template keyword accepted mmitchel at gcc dot gnu dot org 2005-10-16 20:17 ` mmitchel at gcc dot gnu dot org @ 2005-10-16 21:57 ` cvs-commit at gcc dot gnu dot org 2005-10-16 21:58 ` cvs-commit at gcc dot gnu dot org 2005-10-17 8:08 ` reichelt at gcc dot gnu dot org 4 siblings, 0 replies; 9+ messages in thread From: cvs-commit at gcc dot gnu dot org @ 2005-10-16 21:57 UTC (permalink / raw) To: gcc-bugs ------- Comment #5 from cvs-commit at gcc dot gnu dot org 2005-10-16 21:57 ------- Subject: Bug 22173 CVSROOT: /cvs/gcc Module name: gcc Changes by: mmitchel@gcc.gnu.org 2005-10-16 21:57:42 Modified files: gcc/cp : ChangeLog Log message: PR c++/22173 * decl.c (check_template_keyword): Fix thinko. Patches: http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/cp/ChangeLog.diff?cvsroot=gcc&r1=1.4937&r2=1.4938 -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=22173 ^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug c++/22173] [3.4/4.0/4.1 regression] Bogus template keyword accepted [not found] <bug-22173-1771@http.gcc.gnu.org/bugzilla/> ` (2 preceding siblings ...) 2005-10-16 21:57 ` cvs-commit at gcc dot gnu dot org @ 2005-10-16 21:58 ` cvs-commit at gcc dot gnu dot org 2005-10-17 8:08 ` reichelt at gcc dot gnu dot org 4 siblings, 0 replies; 9+ messages in thread From: cvs-commit at gcc dot gnu dot org @ 2005-10-16 21:58 UTC (permalink / raw) To: gcc-bugs ------- Comment #6 from cvs-commit at gcc dot gnu dot org 2005-10-16 21:58 ------- Subject: Bug 22173 CVSROOT: /cvs/gcc Module name: gcc Changes by: mmitchel@gcc.gnu.org 2005-10-16 21:58:08 Modified files: gcc/cp : ChangeLog typeck.c Log message: PR c++/22173 * typeck.c (check_template_keyword): Fix thinko. Patches: http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/cp/ChangeLog.diff?cvsroot=gcc&r1=1.4938&r2=1.4939 http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/cp/typeck.c.diff?cvsroot=gcc&r1=1.657&r2=1.658 -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=22173 ^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug c++/22173] [3.4/4.0/4.1 regression] Bogus template keyword accepted [not found] <bug-22173-1771@http.gcc.gnu.org/bugzilla/> ` (3 preceding siblings ...) 2005-10-16 21:58 ` cvs-commit at gcc dot gnu dot org @ 2005-10-17 8:08 ` reichelt at gcc dot gnu dot org 4 siblings, 0 replies; 9+ messages in thread From: reichelt at gcc dot gnu dot org @ 2005-10-17 8:08 UTC (permalink / raw) To: gcc-bugs ------- Comment #7 from reichelt at gcc dot gnu dot org 2005-10-17 08:07 ------- This is only fixed on mainline. It won't be fixed on the 4.0 branch as Mark said in the patch http://gcc.gnu.org/ml/gcc-patches/2005-10/msg00930.html > Tested on x86_64-unknown-linux-gnu, applied on the mainline. We'll > not be fixing PR 22137 on the 4.0 branch; it's just a missed > diagnostic, and clearly, the risk of applying this patch is too great. -- reichelt at gcc dot gnu dot org changed: What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|4.0.3 |4.1.0 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=22173 ^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug c++/22173] New: [3.4/4.0/4.1 regression] Bogus template keyword accepted @ 2005-06-24 17:00 reichelt at gcc dot gnu dot org 2005-06-24 17:42 ` [Bug c++/22173] " pinskia at gcc dot gnu dot org ` (3 more replies) 0 siblings, 4 replies; 9+ messages in thread From: reichelt at gcc dot gnu dot org @ 2005-06-24 17:00 UTC (permalink / raw) To: gcc-bugs The following invalid code snippet is accepted since gcc 3.4.0: ================================ struct A { static void foo(); }; template<int> void bar() { A::template foo(); // bogus template keyword } ================================ Before it was correctly rejected. -- Summary: [3.4/4.0/4.1 regression] Bogus template keyword accepted Product: gcc Version: 4.1.0 Status: UNCONFIRMED Keywords: accepts-invalid, monitored 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=22173 ^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug c++/22173] [3.4/4.0/4.1 regression] Bogus template keyword accepted 2005-06-24 17:00 [Bug c++/22173] New: " reichelt at gcc dot gnu dot org @ 2005-06-24 17:42 ` pinskia at gcc dot gnu dot org 2005-07-01 20:05 ` pinskia at gcc dot gnu dot org ` (2 subsequent siblings) 3 siblings, 0 replies; 9+ messages in thread From: pinskia at gcc dot gnu dot org @ 2005-06-24 17:42 UTC (permalink / raw) To: gcc-bugs ------- Additional Comments From pinskia at gcc dot gnu dot org 2005-06-24 17:41 ------- Confirmed. -- What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Ever Confirmed| |1 Last reconfirmed|0000-00-00 00:00:00 |2005-06-24 17:41:57 date| | Target Milestone|--- |3.4.5 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=22173 ^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug c++/22173] [3.4/4.0/4.1 regression] Bogus template keyword accepted 2005-06-24 17:00 [Bug c++/22173] New: " reichelt at gcc dot gnu dot org 2005-06-24 17:42 ` [Bug c++/22173] " pinskia at gcc dot gnu dot org @ 2005-07-01 20:05 ` pinskia at gcc dot gnu dot org 2005-07-22 21:15 ` pinskia at gcc dot gnu dot org 2005-09-27 16:20 ` mmitchel at gcc dot gnu dot org 3 siblings, 0 replies; 9+ messages in thread From: pinskia at gcc dot gnu dot org @ 2005-07-01 20:05 UTC (permalink / raw) To: gcc-bugs ------- Additional Comments From pinskia at gcc dot gnu dot org 2005-07-01 20:05 ------- : Search converges between 2002-12-14-trunk (#159) and 2002-12-29-trunk (#160). Looks like the new parser caused this. -- What |Removed |Added ---------------------------------------------------------------------------- Last reconfirmed|2005-06-24 17:41:57 |2005-07-01 20:05:19 date| | http://gcc.gnu.org/bugzilla/show_bug.cgi?id=22173 ^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug c++/22173] [3.4/4.0/4.1 regression] Bogus template keyword accepted 2005-06-24 17:00 [Bug c++/22173] New: " reichelt at gcc dot gnu dot org 2005-06-24 17:42 ` [Bug c++/22173] " pinskia at gcc dot gnu dot org 2005-07-01 20:05 ` pinskia at gcc dot gnu dot org @ 2005-07-22 21:15 ` pinskia at gcc dot gnu dot org 2005-09-27 16:20 ` mmitchel at gcc dot gnu dot org 3 siblings, 0 replies; 9+ messages in thread From: pinskia at gcc dot gnu dot org @ 2005-07-22 21:15 UTC (permalink / raw) To: gcc-bugs ------- Additional Comments From pinskia at gcc dot gnu dot org 2005-07-22 21:12 ------- Moving to 4.0.2 pre Mark. -- What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|3.4.5 |4.0.2 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=22173 ^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug c++/22173] [3.4/4.0/4.1 regression] Bogus template keyword accepted 2005-06-24 17:00 [Bug c++/22173] New: " reichelt at gcc dot gnu dot org ` (2 preceding siblings ...) 2005-07-22 21:15 ` pinskia at gcc dot gnu dot org @ 2005-09-27 16:20 ` mmitchel at gcc dot gnu dot org 3 siblings, 0 replies; 9+ messages in thread From: mmitchel at gcc dot gnu dot org @ 2005-09-27 16:20 UTC (permalink / raw) To: gcc-bugs -- What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|4.0.2 |4.0.3 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=22173 ^ permalink raw reply [flat|nested] 9+ messages in thread
end of thread, other threads:[~2005-10-17 8:08 UTC | newest] Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed) -- links below jump to the message on this page -- [not found] <bug-22173-1771@http.gcc.gnu.org/bugzilla/> 2005-10-15 18:54 ` [Bug c++/22173] [3.4/4.0/4.1 regression] Bogus template keyword accepted mmitchel at gcc dot gnu dot org 2005-10-16 20:17 ` mmitchel at gcc dot gnu dot org 2005-10-16 21:57 ` cvs-commit at gcc dot gnu dot org 2005-10-16 21:58 ` cvs-commit at gcc dot gnu dot org 2005-10-17 8:08 ` reichelt at gcc dot gnu dot org 2005-06-24 17:00 [Bug c++/22173] New: " reichelt at gcc dot gnu dot org 2005-06-24 17:42 ` [Bug c++/22173] " pinskia at gcc dot gnu dot org 2005-07-01 20:05 ` pinskia at gcc dot gnu dot org 2005-07-22 21:15 ` pinskia at gcc dot gnu dot org 2005-09-27 16:20 ` 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).