[Bug c++/51150] [C++11][4.6/4.7 Regression] ICE when result of -> initializes const variable of different type

2011-11-15 Thread jyasskin at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51150 Jeffrey Yasskin changed: What|Removed |Added Summary|[C++11][4.6 Regression] ICE |[C++11][4.6/4.7 Regression]

[Bug c++/51150] [C++11][4.6/4.7 Regression] ICE when result of -> initializes const variable of different type

2011-11-15 Thread jyasskin at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51150 --- Comment #2 from Jeffrey Yasskin 2011-11-16 05:30:12 UTC --- And here's a similar test case using static_cast instead of ->: $ cat test.ii template void Foo(int val) { const int now = static_cast(val); } $ g++ -std=c++0x test.ii -fsyntax-

[Bug c++/51150] [C++11][4.6/4.7 Regression] ICE when result of -> initializes const variable of different type

2011-11-16 Thread paolo.carlini at oracle dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51150 Paolo Carlini changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug c++/51150] [C++11][4.6/4.7 Regression] ICE when result of -> initializes const variable of different type

2011-11-16 Thread paolo.carlini at oracle dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51150 Paolo Carlini changed: What|Removed |Added Status|NEW |ASSIGNED AssignedTo|unassigned at

[Bug c++/51150] [C++11][4.6/4.7 Regression] ICE when result of -> initializes const variable of different type

2011-11-18 Thread paolo.carlini at oracle dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51150 Paolo Carlini changed: What|Removed |Added Status|ASSIGNED|NEW AssignedTo|paolo.carlini at o

[Bug c++/51150] [C++11][4.6/4.7 Regression] ICE when result of -> initializes const variable of different type

2011-11-18 Thread paolo.carlini at oracle dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51150 Paolo Carlini changed: What|Removed |Added Status|NEW |ASSIGNED AssignedTo|unassigned at

[Bug c++/51150] [C++11][4.6/4.7 Regression] ICE when result of -> initializes const variable of different type

2011-11-18 Thread paolo at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51150 --- Comment #4 from paolo at gcc dot gnu.org 2011-11-18 15:31:45 UTC --- Author: paolo Date: Fri Nov 18 15:31:38 2011 New Revision: 181478 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=181478 Log: /cp 2011-11-18 Paolo Carlini PR

[Bug c++/51150] [C++11][4.6/4.7 Regression] ICE when result of -> initializes const variable of different type

2011-11-18 Thread paolo.carlini at oracle dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51150 Paolo Carlini changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|

[Bug c++/51150] [C++11][4.6/4.7 Regression] ICE when result of -> initializes const variable of different type

2011-11-18 Thread paolo at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51150 --- Comment #5 from paolo at gcc dot gnu.org 2011-11-18 15:51:47 UTC --- Author: paolo Date: Fri Nov 18 15:51:41 2011 New Revision: 181479 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=181479 Log: /cp 2011-11-18 Paolo Carlini PR