[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 paolo.carlini at oracle dot com changed: What|Removed |Added Status|ASSIGNED|NEW

[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 paolo.carlini at oracle dot com changed: What|Removed |Added Status|NEW |ASSIGNED

[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 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=gccview=revrev=181478 Log: /cp 2011-11-18

[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 paolo.carlini at oracle dot com changed: What|Removed |Added Status|ASSIGNED|RESOLVED

[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 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=gccview=revrev=181479 Log: /cp 2011-11-18

[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 paolo.carlini at oracle dot com changed: What|Removed |Added Status|UNCONFIRMED |NEW

[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 paolo.carlini at oracle dot com changed: What|Removed |Added Status|NEW |ASSIGNED

[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 jyasskin at gcc dot gnu.org changed: What|Removed |Added Summary|[C++11][4.6 Regression] ICE

[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 jyasskin at gcc dot gnu.org 2011-11-16 05:30:12 UTC --- And here's a similar test case using static_cast instead of -: $ cat test.ii template class T void Foo(int val) { const int now =