public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/18770] g++ accepts invalid code with scopes on ifs
[not found] <bug-18770-2491@http.gcc.gnu.org/bugzilla/>
@ 2008-10-03 18:47 ` pinskia at gcc dot gnu dot org
2008-10-08 9:11 ` akyrtzi at gmail dot com
` (4 subsequent siblings)
5 siblings, 0 replies; 7+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2008-10-03 18:47 UTC (permalink / raw)
To: gcc-bugs
------- Comment #2 from pinskia at gcc dot gnu dot org 2008-10-03 18:46 -------
*** Bug 37728 has been marked as a duplicate of this bug. ***
--
pinskia at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |mrs at apple dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18770
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug c++/18770] g++ accepts invalid code with scopes on ifs
[not found] <bug-18770-2491@http.gcc.gnu.org/bugzilla/>
2008-10-03 18:47 ` [Bug c++/18770] g++ accepts invalid code with scopes on ifs pinskia at gcc dot gnu dot org
@ 2008-10-08 9:11 ` akyrtzi at gmail dot com
2008-12-02 10:43 ` jwakely dot gcc at gmail dot com
` (3 subsequent siblings)
5 siblings, 0 replies; 7+ messages in thread
From: akyrtzi at gmail dot com @ 2008-10-08 9:11 UTC (permalink / raw)
To: gcc-bugs
------- Comment #3 from akyrtzi at gmail dot com 2008-10-08 09:09 -------
Note that the same rule applies to the 'switch' statement too:
switch (int x = 1)
{
default:
int x = 2; // there should be an error because of redeclaration
}
--
akyrtzi at gmail dot com changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |akyrtzi at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18770
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug c++/18770] g++ accepts invalid code with scopes on ifs
[not found] <bug-18770-2491@http.gcc.gnu.org/bugzilla/>
2008-10-03 18:47 ` [Bug c++/18770] g++ accepts invalid code with scopes on ifs pinskia at gcc dot gnu dot org
2008-10-08 9:11 ` akyrtzi at gmail dot com
@ 2008-12-02 10:43 ` jwakely dot gcc at gmail dot com
2009-01-30 15:05 ` bangerth at gmail dot com
` (2 subsequent siblings)
5 siblings, 0 replies; 7+ messages in thread
From: jwakely dot gcc at gmail dot com @ 2008-12-02 10:43 UTC (permalink / raw)
To: gcc-bugs
------- Comment #4 from jwakely dot gcc at gmail dot com 2008-12-02 10:39 -------
*** Bug 38345 has been marked as a duplicate of this bug. ***
--
jwakely dot gcc at gmail dot com changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |jwakely dot gcc at gmail dot
| |com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18770
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug c++/18770] g++ accepts invalid code with scopes on ifs
[not found] <bug-18770-2491@http.gcc.gnu.org/bugzilla/>
` (2 preceding siblings ...)
2008-12-02 10:43 ` jwakely dot gcc at gmail dot com
@ 2009-01-30 15:05 ` bangerth at gmail dot com
2009-11-06 7:53 ` pinskia at gcc dot gnu dot org
2009-12-08 20:24 ` pinskia at gcc dot gnu dot org
5 siblings, 0 replies; 7+ messages in thread
From: bangerth at gmail dot com @ 2009-01-30 15:05 UTC (permalink / raw)
To: gcc-bugs
------- Comment #5 from bangerth at gmail dot com 2009-01-30 15:05 -------
*** Bug 39038 has been marked as a duplicate of this bug. ***
--
bangerth at gmail dot com changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |mahesh dot balasubramanian
| |at wipro dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18770
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug c++/18770] g++ accepts invalid code with scopes on ifs
[not found] <bug-18770-2491@http.gcc.gnu.org/bugzilla/>
` (3 preceding siblings ...)
2009-01-30 15:05 ` bangerth at gmail dot com
@ 2009-11-06 7:53 ` pinskia at gcc dot gnu dot org
2009-12-08 20:24 ` pinskia at gcc dot gnu dot org
5 siblings, 0 replies; 7+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2009-11-06 7:53 UTC (permalink / raw)
To: gcc-bugs
------- Comment #6 from pinskia at gcc dot gnu dot org 2009-11-06 07:52 -------
*** Bug 41965 has been marked as a duplicate of this bug. ***
--
pinskia at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |pi3orama at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18770
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug c++/18770] g++ accepts invalid code with scopes on ifs
[not found] <bug-18770-2491@http.gcc.gnu.org/bugzilla/>
` (4 preceding siblings ...)
2009-11-06 7:53 ` pinskia at gcc dot gnu dot org
@ 2009-12-08 20:24 ` pinskia at gcc dot gnu dot org
5 siblings, 0 replies; 7+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2009-12-08 20:24 UTC (permalink / raw)
To: gcc-bugs
------- Comment #7 from pinskia at gcc dot gnu dot org 2009-12-08 20:24 -------
*** Bug 31956 has been marked as a duplicate of this bug. ***
--
pinskia at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |andrew dot stubbs at st dot
| |com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18770
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug c++/18770] g++ accepts invalid code with scopes on ifs
[not found] <bug-18770-4@http.gcc.gnu.org/bugzilla/>
@ 2011-06-05 2:11 ` froydnj at gcc dot gnu.org
0 siblings, 0 replies; 7+ messages in thread
From: froydnj at gcc dot gnu.org @ 2011-06-05 2:11 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18770
Nathan Froyd <froydnj at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
CC| |froydnj at gcc dot gnu.org
Resolution| |FIXED
--- Comment #8 from Nathan Froyd <froydnj at gcc dot gnu.org> 2011-06-05 02:09:41 UTC ---
This bug was fixed on trunk in r174307; the automated update was not done
because something was wonky with my email. Closing.
^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2011-06-05 2:11 UTC | newest]
Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
[not found] <bug-18770-2491@http.gcc.gnu.org/bugzilla/>
2008-10-03 18:47 ` [Bug c++/18770] g++ accepts invalid code with scopes on ifs pinskia at gcc dot gnu dot org
2008-10-08 9:11 ` akyrtzi at gmail dot com
2008-12-02 10:43 ` jwakely dot gcc at gmail dot com
2009-01-30 15:05 ` bangerth at gmail dot com
2009-11-06 7:53 ` pinskia at gcc dot gnu dot org
2009-12-08 20:24 ` pinskia at gcc dot gnu dot org
[not found] <bug-18770-4@http.gcc.gnu.org/bugzilla/>
2011-06-05 2:11 ` froydnj at gcc dot gnu.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).