[Bug c++/53753] stack based constructor is not called for Class1 Object1()

2012-06-23 Thread redi at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53753 Jonathan Wakely changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|

[Bug c++/53753] stack based constructor is not called for Class1 Object1()

2012-06-23 Thread kiran.puttur at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53753 --- Comment #4 from Kiran Puttur 2012-06-23 10:15:22 UTC --- Thanks Andrew, Daniel, If I use the braces {} then I can see my testing strings printed in the program output

[Bug c++/53753] stack based constructor is not called for Class1 Object1()

2012-06-23 Thread kiran.puttur at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53753 --- Comment #3 from Kiran Puttur 2012-06-23 10:14:38 UTC --- Thanks Andrew, Daniel, If I use the braces {} then I can see my testing strings printed in the program output

[Bug c++/53753] stack based constructor is not called for Class1 Object1()

2012-06-23 Thread daniel.kruegler at googlemail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53753 Daniel Krügler changed: What|Removed |Added CC||daniel.kruegler at |

[Bug c++/53753] stack based constructor is not called for Class1 Object1()

2012-06-23 Thread pinskia at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53753 --- Comment #1 from Andrew Pinski 2012-06-23 08:55:40 UTC --- >Myclass instance1(); I think this is really a function declaration name instance1 returning Myclass and not a variable declaration.