This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug c++/30108] internal compiler error: in make_decl_rtl, at varasm.c:890



------- 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]