This is the mail archive of the gcc-patches@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]

Re: [PATCH] Fix error message from -Wcast-qual when casting away volatile


On Tue, Mar 11, 2014 at 05:10:45PM +0100, Gerald Pfeifer wrote:
> On Tue, 11 Mar 2014, Magnus Reftel wrote:
> > Currently, castring away volatile from a pointer makes -Wcast-qual
> > claim that __attribute__((noreturn)) was cast away (see bugzilla
> > 55383). The attached patch, originally written by Manuel López-Ibáñez
> > and updated to match trunk by me, correctes that. No regressions on
> > gcc from applying this patch (as reported by "make check") were seen.
> > 
> > 2014-03-11 Manuel López-Ibáñez  <manu@gcc.gnu.org>
> > 
> >  PR c/55383
> >  * c/c-typeck.c: use correct format string in cast-qual warning
> 
> I volunteer applying this if approved.

The ChangeLog is incorrect (there should be two spaces before Manuel and
no c/ prefix for the filename).

I'll defer review to Joseph or Jason.

	Jakub


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