http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50956
Paolo Carlini <paolo.carlini at oracle dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |paolo.carlini at oracle dot
| |com
--- Comment #3 from Paolo Carlini <paolo.carlini at oracle dot com> 2011-11-02
13:00:52 UTC ---
Ok. Note that the *diagnostic* use of that c_cast_p flag is:
if (!c_cast_p
&& check_for_casting_away_constness (intype, type, STATIC_CAST_EXPR,
complain))
return error_mark_node;
Then, looks like we should just remove it from such conditionals (3 in static
and 1 in interpret)? Seems simple.