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

--- Comment #5 from Manuel López-Ibáñez <manu at gcc dot gnu.org> ---
(In reply to Magnus Reftel from comment #4)
> Also affects 4.6, 4.8 and trunk as of version
> 96c7d4b1727c5f9ddcbb02fb69f727a0f2f3572e. 4.4 correctly prints just "error:
> cast discards qualifiers from pointer target type". Did not check with
> version 4.5.
> 
> Since 4.4 had it right, does this count as a 4.6/4.7/4.8/4.9 regression?

This just needs someone willing to test the patch in comment #1 and submit it.
It is such a trivial patch that I cannot claim any authorship, so please adopt
it and get it fixed. If you are fast enough, you may be able to sneak it in GCC
4.9. (The time it took you to do all those tests would have been better spent
fixing the bug.)

Reply via email to