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: PR34351: Please get us the "volatile register" warning back


The testcase is invalid on targets where r13 isn't a valid register:

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


H.J.
On Sat, Feb 23, 2008 at 6:13 PM, Manuel López-Ibáñez
<lopezibanez@gmail.com> wrote:
> This patch enables -Wvolatile-register-var with -Wall fixing PR34351.
>
>  Bootstrapped and regression tested on x86_64-unknown-linux-gnu.
>
>  OK for 4.4?
>
>  Manuel.
>
>
>  2008-02-24  Manuel Lopez-Ibanez  <manu@gcc.gnu.org>
>
>   PR 34351
>   * doc/invoke.texi (-Wall): Add -Wvolatile-register-var.
>   * c-opts.c (c_common_handle_option): Wall enables Wvolatile-register-var.
>   * common.opt: Move Wvolatile-register-var to...
>   * c.opt: ...here.
>
>  testsuite/
>    * gcc.dg/pr34351.c: New.
>


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