[Bug c++/18635] use of uninitialised reference accepted in C++ front end

2011-05-22 Thread redi at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18635 --- Comment #15 from Jonathan Wakely 2011-05-22 18:40:26 UTC --- (In reply to comment #14) > If we cannot decide, we should at least give a verbose warning, included into > -Wall. There's already a warning for the original testcase, the one in c

[Bug c++/18635] use of uninitialised reference accepted in C++ front end

2010-11-27 Thread adam.rak at streamnovation dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18635 --- Comment #14 from Ádám Rák 2010-11-27 13:45:03 UTC --- (In reply to comment #13) > There are lots of ways to put your program into an invalid state. > > Of course there's "no point" to doing it, and noone's asking for the code to > *work* >

[Bug c++/18635] use of uninitialised reference accepted in C++ front end

2010-11-26 Thread redi at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18635 --- Comment #13 from Jonathan Wakely 2010-11-26 17:37:33 UTC --- There are lots of ways to put your program into an invalid state. Of course there's "no point" to doing it, and noone's asking for the code to *work* The question is whether the c

[Bug c++/18635] use of uninitialised reference accepted in C++ front end

2010-11-26 Thread pentek.imre at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18635 --- Comment #12 from Imre Pentek 2010-11-26 17:18:26 UTC --- (In reply to comment #11) > (In reply to comment #10) > > (In reply to comment #9) > > > (In reply to comment #2) > > > > int &a = a; > > > > i don't believe this is valid code. i beli

[Bug c++/18635] use of uninitialised reference accepted in C++ front end

2010-11-26 Thread redi at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18635 --- Comment #11 from Jonathan Wakely 2010-11-26 11:25:30 UTC --- (In reply to comment #10) > (In reply to comment #9) > > (In reply to comment #2) > > > int &a = a; > > > i don't believe this is valid code. i believe g++ should reject the code.

[Bug c++/18635] use of uninitialised reference accepted in C++ front end

2010-11-26 Thread manu at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18635 Manuel López-Ibáñez changed: What|Removed |Added CC||manu at gcc dot gnu.org --- Comment

[Bug c++/18635] use of uninitialised reference accepted in C++ front end

2010-11-26 Thread redi at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18635 Jonathan Wakely changed: What|Removed |Added Known to fail|| --- Comment #9 from Jonathan Wakely 2

[Bug c++/18635] use of uninitialised reference accepted in C++ front end

2010-11-25 Thread adam.rak at streamnovation dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18635 Ádám Rák changed: What|Removed |Added CC||adam.rak at streamnovation |

[Bug c++/18635] use of uninitialised reference accepted in C++ front end

2009-05-29 Thread pinskia at gcc dot gnu dot org
--- Comment #7 from pinskia at gcc dot gnu dot org 2009-05-29 14:35 --- *** Bug 40293 has been marked as a duplicate of this bug. *** -- pinskia at gcc dot gnu dot org changed: What|Removed |Added ---

[Bug c++/18635] use of uninitialised reference accepted in C++ front end

2005-11-27 Thread gdr at gcc dot gnu dot org
--- Comment #6 from gdr at gcc dot gnu dot org 2005-11-27 21:18 --- this is accept-invalid, no diagnostic -- gdr at gcc dot gnu dot org changed: What|Removed |Added

[Bug c++/18635] use of uninitialised reference accepted in C++ front end

2004-11-29 Thread giovannibajo at libero dot it
-- What|Removed |Added Status|UNCONFIRMED |NEW Ever Confirmed||1 Known to fail||2.95 3.0

[Bug c++/18635] use of uninitialised reference accepted in C++ front end

2004-11-29 Thread giovannibajo at libero dot it
--- Additional Comments From giovannibajo at libero dot it 2004-11-29 11:26 --- OK, reponening after the thread on comp.std.c++ -- What|Removed |Added Status|RES

[Bug c++/18635] use of uninitialised reference accepted in C++ front end

2004-11-28 Thread llib at computer dot org
--- Additional Comments From llib at computer dot org 2004-11-29 00:54 --- google groups link to discussion: -- http://gcc.gnu.org/bugzilla/show_bug.cgi?

[Bug c++/18635] use of uninitialised reference accepted in C++ front end

2004-11-26 Thread giovannibajo at libero dot it
--- Additional Comments From giovannibajo at libero dot it 2004-11-26 10:16 --- Do you have a comp.std.c++ link? -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18635

[Bug c++/18635] use of uninitialised reference accepted in C++ front end

2004-11-25 Thread llib at computer dot org
--- Additional Comments From llib at computer dot org 2004-11-26 02:56 --- int &a = a; i don't believe this is valid code. i believe g++ should reject the code. various comp.std.c++ people agree with me. 8.3.2/4 states "[...] A reference shall be initialized to refer to a valid object

[Bug c++/18635] use of uninitialised reference accepted in C++ front end

2004-11-24 Thread pinskia at gcc dot gnu dot org
--- Additional Comments From pinskia at gcc dot gnu dot org 2004-11-24 19:07 --- No this is valid code (but undefined): int &a = a; a is injected before the equals so the code is about the same as: int *a = &*a; -- What|Removed |Added

[Bug c++/18635] use of uninitialised reference accepted in C++ front end

2004-11-23 Thread llib at computer dot org
-- What|Removed |Added CC||llib at computer dot org http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18635

[Bug c++/18635] use of uninitialised reference accepted in C++ front end

2004-11-23 Thread pinskia at gcc dot gnu dot org
-- What|Removed |Added Keywords||diagnostic http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18635