[Bug c++/62116] Allowing redeclaration of global variable x using ::x

2015-03-13 Thread rs2740 at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=62116 TC changed: What|Removed |Added CC||rs2740 at gmail dot com --- Comment #5 from TC ---

[Bug c++/62116] Allowing redeclaration of global variable x using ::x

2015-02-20 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=62116 Jonathan Wakely changed: What|Removed |Added Keywords||accepts-invalid Status|UNC

[Bug c++/62116] Allowing redeclaration of global variable x using ::x

2015-02-19 Thread richard-gccbugzilla at metafoo dot co.uk
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=62116 Richard Smith changed: What|Removed |Added CC||richard-gccbugzilla@metafoo

[Bug c++/62116] Allowing redeclaration of global variable x using ::x

2014-08-13 Thread yaghmour.shafik at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=62116 --- Comment #2 from Shafik Yaghmour --- I am happy to be mistaken here, but it seems like section 6.8 paragraph 1 applies, for example if we have the following: int(y) = 10; it is being treated as a declaration not a cast and further more secti

[Bug c++/62116] Allowing redeclaration of global variable x using ::x

2014-08-13 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=62116 --- Comment #1 from Jonathan Wakely --- (In reply to Shafik Yaghmour from comment #0) > as far as I can tell both gcc 4.8.x and clang are correct here based on my > reading of section 8.3 paragraph 6: > > int(::x) ; > > is equivalent to: > > i