public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/47568] New: Name lookup: different behavior 4.1.2 / 4.5.0
@ 2011-02-01  9:47 matwey.kornilov at gmail dot com
  2011-02-01 15:07 ` [Bug c++/47568] " redi at gcc dot gnu.org
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: matwey.kornilov at gmail dot com @ 2011-02-01  9:47 UTC (permalink / raw)
  To: gcc-bugs

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47568

           Summary: Name lookup: different behavior 4.1.2 / 4.5.0
           Product: gcc
           Version: 4.1.2
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c++
        AssignedTo: unassigned@gcc.gnu.org
        ReportedBy: matwey.kornilov@gmail.com


Created attachment 23193
  --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=23193
test

There is different behavior with the attached code.

when compiled with 4.1.2:
assign 1
assign 1

when compiled with 4.5.0:
assign 1
assign a

Versions:
g++-4.1 (GCC) 4.1.2 20070115 (prerelease) (SUSE Linux)
gcc (SUSE Linux) 4.5.0 20100604 [gcc-4_5-branch revision 160292]

I don't know which behaviors are supported by other versions, but I think that
the only one of them is right.


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2011-02-01 15:24 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-02-01  9:47 [Bug c++/47568] New: Name lookup: different behavior 4.1.2 / 4.5.0 matwey.kornilov at gmail dot com
2011-02-01 15:07 ` [Bug c++/47568] " redi at gcc dot gnu.org
2011-02-01 15:12 ` redi at gcc dot gnu.org
2011-02-01 15:24 ` matwey.kornilov at gmail dot com

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).