[Bug c++/56728] [4.8/4.9 Regression] ICE using constexpr initialization and arrays

2013-04-04 Thread npl at chello dot at


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56728



--- Comment #3 from npl at chello dot at 2013-04-04 09:13:16 UTC ---

(In reply to comment #2)

 Fixed for 4.8.1.



Is it already in trunk?

Fixed the ICE or disallowing the wrong constexpr - I guess I have a few of

these?


[Bug c++/56728] [4.8/4.9 Regression] ICE using constexpr initialization and arrays

2013-04-04 Thread paolo.carlini at oracle dot com


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56728



--- Comment #4 from Paolo Carlini paolo.carlini at oracle dot com 2013-04-04 
09:34:58 UTC ---

If it's fixed for 4.8.1 it's obviously fixed in mainline too. We don't ICE

anymore, we simply reject the snippet due to the reinterpret_cast from integer

to pointer.


[Bug c++/56728] [4.8/4.9 Regression] ICE using constexpr initialization and arrays

2013-04-04 Thread jason at gcc dot gnu.org


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56728



--- Comment #5 from Jason Merrill jason at gcc dot gnu.org 2013-04-04 
12:28:49 UTC ---

(In reply to comment #4)

 If it's fixed for 4.8.1 it's obviously fixed in mainline too. We don't ICE

 anymore, we simply reject the snippet due to the reinterpret_cast from integer

 to pointer.



The change to reject the invalid constexpr function is only on the trunk; only

the ICE is fixed in 4.8.1.


[Bug c++/56728] [4.8/4.9 Regression] ICE using constexpr initialization and arrays

2013-04-04 Thread paolo.carlini at oracle dot com


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56728



--- Comment #6 from Paolo Carlini paolo.carlini at oracle dot com 2013-04-04 
12:50:25 UTC ---

Thanks Jason. Damn, we badly need to restore svn commit logs going

automatically to Bugzilla.


[Bug c++/56728] [4.8/4.9 Regression] ICE using constexpr initialization and arrays

2013-03-28 Thread jason at gcc dot gnu.org


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56728



Jason Merrill jason at gcc dot gnu.org changed:



   What|Removed |Added



 Status|ASSIGNED|RESOLVED

 Resolution||FIXED



--- Comment #2 from Jason Merrill jason at gcc dot gnu.org 2013-03-28 
23:41:18 UTC ---

Fixed for 4.8.1.


[Bug c++/56728] [4.8/4.9 Regression] ICE using constexpr initialization and arrays

2013-03-27 Thread jason at gcc dot gnu.org


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56728



Jason Merrill jason at gcc dot gnu.org changed:



   What|Removed |Added



   Keywords||ice-on-invalid-code

 Status|NEW |ASSIGNED

 CC||jason at gcc dot gnu.org

 AssignedTo|unassigned at gcc dot   |jason at gcc dot gnu.org

   |gnu.org |


[Bug c++/56728] [4.8/4.9 Regression] ICE using constexpr initialization and arrays

2013-03-25 Thread paolo.carlini at oracle dot com


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56728



Paolo Carlini paolo.carlini at oracle dot com changed:



   What|Removed |Added



 Status|UNCONFIRMED |NEW

   Last reconfirmed||2013-03-25

   Target Milestone|--- |4.8.1

Summary|ICE using constexpr |[4.8/4.9 Regression] ICE

   |initialization and arrays   |using constexpr

   ||initialization and arrays

 Ever Confirmed|0   |1



--- Comment #1 from Paolo Carlini paolo.carlini at oracle dot com 2013-03-25 
20:42:43 UTC ---

Confirmed.