------- Comment #8 from bangerth at dealii dot org 2006-12-12 05:09 ------- Confirmed. The code is valid. The code would have undefined runtime behavior if the default argument is a) actually used in a call to commonEventProcessing, and b) is used without any further cast. Neither is the case here, so the code is perfectly valid. In particular, it shouldn't ICE the compiler.
This is a regression on all active branches w.r.t. 3.4.x. W. -- bangerth at dealii dot org changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |bangerth at dealii dot org Status|UNCONFIRMED |NEW Ever Confirmed|0 |1 Keywords| |ice-on-valid-code Known to fail| |4.0.2 4.1.1 4.2.0 Last reconfirmed|0000-00-00 00:00:00 |2006-12-12 05:09:58 date| | http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30108