------- Comment #1 from bangerth at dealii dot org 2006-08-24 01:59 ------- Um, why? The value "1.234" is an rvalue of type double. You cast it to an rvalue of type "const int", which can clearly be assigned to an int right away without another cast. In fact, const-volatile qualifications do not have meaning for rvalues at all, which makes the whole question kinda moot.
Or do I miss something? W. -- bangerth at dealii dot org changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |bangerth at dealii dot org Status|UNCONFIRMED |WAITING http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28774