Version: 4.4.1
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: c++
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: maxime dot fiandino at gmail dot com
GCC build triplet: Linux-i686
GCC host triplet: Linux-i686
--- Comment #1 from maxime dot fiandino at gmail dot com 2009-08-10 15:20
---
Created an attachment (id=18336)
-- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=18336action=view)
simple source with the bug
just use:
g++ main.cc
on 3.46/4.1.1 no error
on 4.4.0/4.4.1
main.cc:30: error
at gcc dot gnu dot org
ReportedBy: maxime dot fiandino at gmail dot com
GCC build triplet: i386-redhat-linux
GCC host triplet: i386-redhat-linux
GCC target triplet: i386-redhat-linux
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37111
--- Comment #1 from maxime dot fiandino at gmail dot com 2008-08-13 10:55
---
Created an attachment (id=16065)
-- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=16065action=view)
source code
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37111
--- Comment #3 from maxime dot fiandino at gmail dot com 2008-08-13 11:50
---
Yes, with the static constant define it solve the link problem.
I still doesn't understand why this issue is for:
if (i,++i,1,value1::is)
{++i;}
but not:
value1::is;
alone
But it should not be the right