[Bug c++/2288] Variable declared in for-loop-header is in wrong scope

2011-06-04 Thread froydnj at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=2288 Nathan Froyd changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|

[Bug c++/2288] Variable declared in for-loop-header is in wrong scope

2011-05-23 Thread bergner at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=2288 --- Comment #19 from Peter Bergner 2011-05-23 15:38:11 UTC --- I applied Janis' patch (modulo a small fixup due to upstream changes) to current mainline and did a bootstrap and regtest. We bootstrap fine, unfortunately the patch no longer fixes t

[Bug c++/2288] Variable declared in for-loop-header is in wrong scope

2011-05-20 Thread froydnj at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=2288 Nathan Froyd changed: What|Removed |Added CC||froydnj at gcc dot gnu.org --- Comment #18

[Bug c++/2288] Variable declared in for-loop-header is in wrong scope

2011-05-20 Thread fang at csl dot cornell.edu
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=2288 --- Comment #17 from David Fang 2011-05-20 17:56:25 UTC --- I usually catch these with -Wshadow -Werror.

[Bug c++/2288] Variable declared in for-loop-header is in wrong scope

2011-05-20 Thread pinskia at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=2288 Andrew Pinski changed: What|Removed |Added CC||howarth at nitro dot |

[Bug c++/2288] Variable declared in for-loop-header is in wrong scope

2010-10-27 Thread janis at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=2288 --- Comment #15 from Janis Johnson 2010-10-27 17:38:36 UTC --- Peter, I don't know what address you should use for me; ask on #gcc if you should use the IBM one, otherwise it's janis.marie.john...@gmail.com.

[Bug c++/2288] Variable declared in for-loop-header is in wrong scope

2010-10-27 Thread bergner at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=2288 Peter Bergner changed: What|Removed |Added URL||http://gcc.gnu.org/ml/gcc-p

[Bug c++/2288] Variable declared in for-loop-header is in wrong scope

2010-02-23 Thread janis at gcc dot gnu dot org
--- Comment #11 from janis at gcc dot gnu dot org 2010-02-23 21:54 --- In response to comment #10, there are several duplicates to similar bug PR18770 and demand for a fix from within my company. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=2288

[Bug c++/2288] Variable declared in for-loop-header is in wrong scope

2010-02-23 Thread bangerth at gmail dot com
--- Comment #10 from bangerth at gmail dot com 2010-02-23 20:40 --- (In reply to comment #9) > Is there a reason this hasn't been fixed? Lack of public demand? There's only one duplicate of this bug that has been reported in the last 9 years... > If not, I'll try. I think that would

[Bug c++/2288] Variable declared in for-loop-header is in wrong scope

2010-02-23 Thread janis at gcc dot gnu dot org
--- Comment #9 from janis at gcc dot gnu dot org 2010-02-23 19:07 --- Is there a reason this hasn't been fixed? If not, I'll try. -- janis at gcc dot gnu dot org changed: What|Removed |Added

[Bug c++/2288] Variable declared in for-loop-header is in wrong scope

2009-09-21 Thread pinskia at gcc dot gnu dot org
--- Comment #8 from pinskia at gcc dot gnu dot org 2009-09-21 14:22 --- *** Bug 41427 has been marked as a duplicate of this bug. *** -- pinskia at gcc dot gnu dot org changed: What|Removed |Added ---

[Bug c++/2288] Variable declared in for-loop-header is in wrong scope

2007-05-17 Thread andrew dot stubbs at st dot com
--- Comment #7 from andrew dot stubbs at st dot com 2007-05-17 16:37 --- Another example that might be of interest if anybody eventually tries to fix this: void foo () { for (int i = 0; int i = 0; i++) ; } -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=2288

[Bug c++/2288] Variable declared in for-loop-header is in wrong scope

2005-05-31 Thread pinskia at gcc dot gnu dot org
--- Additional Comments From pinskia at gcc dot gnu dot org 2005-05-31 13:16 --- *** Bug 21837 has been marked as a duplicate of this bug. *** -- What|Removed |Added