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

* [Bug c++/47568] Name lookup: different behavior 4.1.2 / 4.5.0
  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 ` 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
  2 siblings, 0 replies; 4+ messages in thread
From: redi at gcc dot gnu.org @ 2011-02-01 15:07 UTC (permalink / raw)
  To: gcc-bugs

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

Jonathan Wakely <redi at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|                            |FIXED

--- Comment #1 from Jonathan Wakely <redi at gcc dot gnu.org> 2011-02-01 15:07:06 UTC ---
it was a bug, it's fixed now

4.1 is no longer maintained


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

* [Bug c++/47568] Name lookup: different behavior 4.1.2 / 4.5.0
  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
  2 siblings, 0 replies; 4+ messages in thread
From: redi at gcc dot gnu.org @ 2011-02-01 15:12 UTC (permalink / raw)
  To: gcc-bugs

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

Jonathan Wakely <redi at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
      Known to work|                            |4.4.5

--- Comment #2 from Jonathan Wakely <redi at gcc dot gnu.org> 2011-02-01 15:12:20 UTC ---
in case that wasn't clear, it was a bug in 4.1, it's fixed in 4.4 (maybe
earlier, I didn't check)


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

* [Bug c++/47568] Name lookup: different behavior 4.1.2 / 4.5.0
  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
  2 siblings, 0 replies; 4+ messages in thread
From: matwey.kornilov at gmail dot com @ 2011-02-01 15:24 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #3 from Matwey V. Kornilov <matwey.kornilov at gmail dot com> 2011-02-01 15:24:30 UTC ---
Thanks. What is its bugid? I didn't find something similar and then I filled
this ticket. Probably I looked through not careful enough.


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