------- Comment #1 from bangerth at dealii dot org  2006-05-31 02:31 -------
I confirm the ICE with 4.0.x. With 4.1.x, we get a duplicate error message:

g/x> /home/bangerth/bin/gcc-4.1-pre/bin/c++ -c x.cc
x.cc:12: error: variable-size type declared outside of any function
x.cc:12: error: variable-size type declared outside of any function

I'm not completely sure whether the testcase is invalid (I suppose the cast
can not be part of a constant expression). icc accepts the code.

W.


-- 

bangerth at dealii dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |bangerth at dealii dot org
             Status|UNCONFIRMED                 |NEW
     Ever Confirmed|0                           |1
   Last reconfirmed|0000-00-00 00:00:00         |2006-05-31 02:31:57
               date|                            |


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

Reply via email to