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: [C] Fix PR57258: unused variable warning is emitted for volatile variables


On Thu, 7 Nov 2013, Mingjie Xing wrote:

> 2013/11/6 Richard Biener <richard.guenther@gmail.com>:
> > You miss a testcase.
> >
> > Also why should the warning be omitted for unused automatic
> > volatile variables?  They cannot be used in any way.
> >
> > Richard.
> 
> Thanks.  I've updated the patch with a test case.

You don't seem to have answered Richard's question about why the change is 
desirable in the first place.

-- 
Joseph S. Myers
joseph@codesourcery.com


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