public inbox for gcc-bugs@sourceware.org help / color / mirror / Atom feed
* [Bug c++/23959] [4.0/4.1 Regression] -Wswitch-default reports missing default in a template that has one [not found] <bug-23959-11376@http.gcc.gnu.org/bugzilla/> @ 2005-10-15 19:12 ` pinskia at gcc dot gnu dot org 2005-10-15 19:35 ` pinskia at gcc dot gnu dot org ` (6 subsequent siblings) 7 siblings, 0 replies; 8+ messages in thread From: pinskia at gcc dot gnu dot org @ 2005-10-15 19:12 UTC (permalink / raw) To: gcc-bugs ------- Comment #5 from pinskia at gcc dot gnu dot org 2005-10-15 19:12 ------- I wonder if we could get away with only calling c_do_switch_warnings when not processing template. I will look into that. -- pinskia at gcc dot gnu dot org changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |pinskia at gcc dot gnu dot | |org http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23959 ^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug c++/23959] [4.0/4.1 Regression] -Wswitch-default reports missing default in a template that has one [not found] <bug-23959-11376@http.gcc.gnu.org/bugzilla/> 2005-10-15 19:12 ` [Bug c++/23959] [4.0/4.1 Regression] -Wswitch-default reports missing default in a template that has one pinskia at gcc dot gnu dot org @ 2005-10-15 19:35 ` pinskia at gcc dot gnu dot org 2005-10-16 14:43 ` pinskia at gcc dot gnu dot org ` (5 subsequent siblings) 7 siblings, 0 replies; 8+ messages in thread From: pinskia at gcc dot gnu dot org @ 2005-10-15 19:35 UTC (permalink / raw) To: gcc-bugs ------- Comment #6 from pinskia at gcc dot gnu dot org 2005-10-15 19:35 ------- Created an attachment (id=9989) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=9989&action=view) patch which needs testing -- pinskia at gcc dot gnu dot org changed: What |Removed |Added ---------------------------------------------------------------------------- AssignedTo|unassigned at gcc dot gnu |pinskia at gcc dot gnu dot |dot org |org Status|NEW |ASSIGNED http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23959 ^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug c++/23959] [4.0/4.1 Regression] -Wswitch-default reports missing default in a template that has one [not found] <bug-23959-11376@http.gcc.gnu.org/bugzilla/> 2005-10-15 19:12 ` [Bug c++/23959] [4.0/4.1 Regression] -Wswitch-default reports missing default in a template that has one pinskia at gcc dot gnu dot org 2005-10-15 19:35 ` pinskia at gcc dot gnu dot org @ 2005-10-16 14:43 ` pinskia at gcc dot gnu dot org 2005-10-16 21:12 ` [Bug c++/23959] [4.0 " pinskia at gcc dot gnu dot org ` (4 subsequent siblings) 7 siblings, 0 replies; 8+ messages in thread From: pinskia at gcc dot gnu dot org @ 2005-10-16 14:43 UTC (permalink / raw) To: gcc-bugs ------- Comment #7 from pinskia at gcc dot gnu dot org 2005-10-16 14:43 ------- Patch posted: http://gcc.gnu.org/ml/gcc-patches/2005-10/msg00922.html -- pinskia at gcc dot gnu dot org changed: What |Removed |Added ---------------------------------------------------------------------------- URL| |http://gcc.gnu.org/ml/gcc- | |patches/2005- | |10/msg00922.html Keywords| |patch http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23959 ^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug c++/23959] [4.0 Regression] -Wswitch-default reports missing default in a template that has one [not found] <bug-23959-11376@http.gcc.gnu.org/bugzilla/> ` (2 preceding siblings ...) 2005-10-16 14:43 ` pinskia at gcc dot gnu dot org @ 2005-10-16 21:12 ` pinskia at gcc dot gnu dot org 2005-10-16 21:13 ` cvs-commit at gcc dot gnu dot org ` (3 subsequent siblings) 7 siblings, 0 replies; 8+ messages in thread From: pinskia at gcc dot gnu dot org @ 2005-10-16 21:12 UTC (permalink / raw) To: gcc-bugs ------- Comment #8 from pinskia at gcc dot gnu dot org 2005-10-16 21:12 ------- Fixed at least on the mainline, 4.0 branch version will be committed soon. -- pinskia at gcc dot gnu dot org changed: What |Removed |Added ---------------------------------------------------------------------------- Known to fail|4.0.0 4.1.0 |4.0.0 4.0.2 Known to work|3.4.0 |3.4.0 4.1.0 Summary|[4.0/4.1 Regression] - |[4.0 Regression] -Wswitch- |Wswitch-default reports |default reports missing |missing default in a |default in a template that |template that has one |has one http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23959 ^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug c++/23959] [4.0 Regression] -Wswitch-default reports missing default in a template that has one [not found] <bug-23959-11376@http.gcc.gnu.org/bugzilla/> ` (3 preceding siblings ...) 2005-10-16 21:12 ` [Bug c++/23959] [4.0 " pinskia at gcc dot gnu dot org @ 2005-10-16 21:13 ` cvs-commit at gcc dot gnu dot org 2005-10-16 21:23 ` cvs-commit at gcc dot gnu dot org ` (2 subsequent siblings) 7 siblings, 0 replies; 8+ messages in thread From: cvs-commit at gcc dot gnu dot org @ 2005-10-16 21:13 UTC (permalink / raw) To: gcc-bugs ------- Comment #9 from cvs-commit at gcc dot gnu dot org 2005-10-16 21:13 ------- Subject: Bug 23959 CVSROOT: /cvs/gcc Module name: gcc Changes by: pinskia@gcc.gnu.org 2005-10-16 21:13:11 Modified files: gcc/cp : ChangeLog decl.c gcc/testsuite : ChangeLog Added files: gcc/testsuite/g++.dg/warn: Wswitch-default-1.C Wswitch-default-2.C Log message: 2005-10-16 Andrew Pinski <pinskia@physics.uc.edu> PR c++/23959 * decl.c (pop_switch): Only call c_do_switch_warnings when not processing templates. 2005-10-16 Andrew Pinski <pinskia@physics.uc.edu> PR c++/23959 * g++.dg/warn/Wswitch-default-1.C: New test. * g++.dg/warn/Wswitch-default-2.C: New test. Patches: http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/cp/ChangeLog.diff?cvsroot=gcc&r1=1.4936&r2=1.4937 http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/cp/decl.c.diff?cvsroot=gcc&r1=1.1435&r2=1.1436 http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/ChangeLog.diff?cvsroot=gcc&r1=1.6199&r2=1.6200 http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/g++.dg/warn/Wswitch-default-1.C.diff?cvsroot=gcc&r1=NONE&r2=1.1 http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/g++.dg/warn/Wswitch-default-2.C.diff?cvsroot=gcc&r1=NONE&r2=1.1 -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23959 ^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug c++/23959] [4.0 Regression] -Wswitch-default reports missing default in a template that has one [not found] <bug-23959-11376@http.gcc.gnu.org/bugzilla/> ` (4 preceding siblings ...) 2005-10-16 21:13 ` cvs-commit at gcc dot gnu dot org @ 2005-10-16 21:23 ` cvs-commit at gcc dot gnu dot org 2005-10-16 21:24 ` cvs-commit at gcc dot gnu dot org 2005-10-16 21:25 ` pinskia at gcc dot gnu dot org 7 siblings, 0 replies; 8+ messages in thread From: cvs-commit at gcc dot gnu dot org @ 2005-10-16 21:23 UTC (permalink / raw) To: gcc-bugs ------- Comment #10 from cvs-commit at gcc dot gnu dot org 2005-10-16 21:23 ------- Subject: Bug 23959 CVSROOT: /cvs/gcc Module name: gcc Branch: gcc-4_0-branch Changes by: pinskia@gcc.gnu.org 2005-10-16 21:23:26 Modified files: gcc/cp : ChangeLog decl.c gcc/testsuite : ChangeLog Log message: 2005-10-16 Andrew Pinski <pinskia@physics.uc.edu> PR c++/23959 * decl.c (pop_switch): Only call c_do_switch_warnings when not processing templates. 2005-10-16 Andrew Pinski <pinskia@physics.uc.edu> PR c++/23959 * g++.dg/warn/Wswitch-default-1.C: New test. * g++.dg/warn/Wswitch-default-2.C: New test. Patches: http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/cp/ChangeLog.diff?cvsroot=gcc&only_with_tag=gcc-4_0-branch&r1=1.4648.2.136&r2=1.4648.2.137 http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/cp/decl.c.diff?cvsroot=gcc&only_with_tag=gcc-4_0-branch&r1=1.1371.2.27&r2=1.1371.2.28 http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/ChangeLog.diff?cvsroot=gcc&only_with_tag=gcc-4_0-branch&r1=1.5084.2.459&r2=1.5084.2.460 -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23959 ^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug c++/23959] [4.0 Regression] -Wswitch-default reports missing default in a template that has one [not found] <bug-23959-11376@http.gcc.gnu.org/bugzilla/> ` (5 preceding siblings ...) 2005-10-16 21:23 ` cvs-commit at gcc dot gnu dot org @ 2005-10-16 21:24 ` cvs-commit at gcc dot gnu dot org 2005-10-16 21:25 ` pinskia at gcc dot gnu dot org 7 siblings, 0 replies; 8+ messages in thread From: cvs-commit at gcc dot gnu dot org @ 2005-10-16 21:24 UTC (permalink / raw) To: gcc-bugs ------- Comment #11 from cvs-commit at gcc dot gnu dot org 2005-10-16 21:24 ------- Subject: Bug 23959 CVSROOT: /cvs/gcc Module name: gcc Branch: gcc-4_0-branch Changes by: pinskia@gcc.gnu.org 2005-10-16 21:24:37 Added files: gcc/testsuite/g++.dg/warn: Wswitch-default-1.C Wswitch-default-2.C Log message: 2005-10-16 Andrew Pinski <pinskia@physics.uc.edu> PR c++/23959 * decl.c (pop_switch): Only call c_do_switch_warnings when not processing templates. 2005-10-16 Andrew Pinski <pinskia@physics.uc.edu> PR c++/23959 * g++.dg/warn/Wswitch-default-1.C: New test. * g++.dg/warn/Wswitch-default-2.C: New test. Patches: http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/g++.dg/warn/Wswitch-default-1.C.diff?cvsroot=gcc&only_with_tag=gcc-4_0-branch&r1=NONE&r2=1.1.2.1 http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/g++.dg/warn/Wswitch-default-2.C.diff?cvsroot=gcc&only_with_tag=gcc-4_0-branch&r1=NONE&r2=1.1.2.1 -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23959 ^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug c++/23959] [4.0 Regression] -Wswitch-default reports missing default in a template that has one [not found] <bug-23959-11376@http.gcc.gnu.org/bugzilla/> ` (6 preceding siblings ...) 2005-10-16 21:24 ` cvs-commit at gcc dot gnu dot org @ 2005-10-16 21:25 ` pinskia at gcc dot gnu dot org 7 siblings, 0 replies; 8+ messages in thread From: pinskia at gcc dot gnu dot org @ 2005-10-16 21:25 UTC (permalink / raw) To: gcc-bugs ------- Comment #12 from pinskia at gcc dot gnu dot org 2005-10-16 21:24 ------- Fixed. -- pinskia at gcc dot gnu dot org changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Resolution| |FIXED http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23959 ^ permalink raw reply [flat|nested] 8+ messages in thread
end of thread, other threads:[~2005-10-16 21:25 UTC | newest] Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed) -- links below jump to the message on this page -- [not found] <bug-23959-11376@http.gcc.gnu.org/bugzilla/> 2005-10-15 19:12 ` [Bug c++/23959] [4.0/4.1 Regression] -Wswitch-default reports missing default in a template that has one pinskia at gcc dot gnu dot org 2005-10-15 19:35 ` pinskia at gcc dot gnu dot org 2005-10-16 14:43 ` pinskia at gcc dot gnu dot org 2005-10-16 21:12 ` [Bug c++/23959] [4.0 " pinskia at gcc dot gnu dot org 2005-10-16 21:13 ` cvs-commit at gcc dot gnu dot org 2005-10-16 21:23 ` cvs-commit at gcc dot gnu dot org 2005-10-16 21:24 ` cvs-commit at gcc dot gnu dot org 2005-10-16 21:25 ` pinskia 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).