This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/16013] New: [3.5 Regression] -ffor-scope is broken
- From: "pinskia at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 16 Jun 2004 08:04:36 -0000
- Subject: [Bug c++/16013] New: [3.5 Regression] -ffor-scope is broken
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
While looking into PR 16012, I found this also
This should work when -ffor-scope is supplied
void foo()
{
for (int i=0 ;;) ;
i = 2;
}
Either remove the option as recommended by me before or fix the bug.
--
Summary: [3.5 Regression] -ffor-scope is broken
Product: gcc
Version: 3.5.0
Status: UNCONFIRMED
Keywords: rejects-valid
Severity: normal
Priority: P2
Component: c++
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: pinskia at gcc dot gnu dot org
CC: gcc-bugs at gcc dot gnu dot org,rth at gcc dot gnu dot
org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=16013