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: PR28322: backporting to 4.1, 4.2 and 4.3 branches


The backports of the fix for PR28322 were ignoring -fno-* and -mno-*
options. The following patches are updated to only ignore -Wno-*
options.

Bootstrapped and regression tested on x86_64-unknown-linux-gnu for each branch.

I make these patches public for people/distributions that want to
patch their own versions. They won't be applied to any of the GCC
branches. As Jakub said, "this isn't a regression bugfix, but an
enhancement, so it doesn't belong to the release branches."

Cheers,

Manuel.

On 27/02/2008, Manuel López-Ibáñez <lopezibanez@gmail.com> wrote:
> Hi,
>
>  The attached patches backport the fix for PR28322 to branches 4.1, 4.2
>  and 4.3. Bootstrapped and regression tested on
>  x86_64-unknown-linux-gnu.
>
>  Even if RMs decide not to approve the patches for any of the branches,
>  some people from GNU/Linux distributions have asked for the patches
>  for the branches, so here they are.
>
>  If RMs reject backporting, I will just link to this from the PR for
>  reference and close it.
>
>  Cheers,
>
>  Manuel.
>
>  2008-02-26  Manuel Lopez-Ibanez  <manu@gcc.gnu.org>
>
>         PR 28322
>         * toplev.c (toplev_main): If there are warnings or errors, print
>         errors for ignored options.
>         * opts.c (ignored_options): New static variable.
>         (postpone_unknown_option_error): New.
>         (print_ignored_options): New.
>         (handle_option): Postpone errors for unknown -Wno-* options.
>         * opts.h (print_ignored_options): Declare.
>  testsuite/
>         * gcc.dg/pr28322.c: New.
>         * gcc.dg/pr28322-2.c: New.
>         * lib/prune.exp: Ignore "At top level" even if there is no ':'
>         preceding it.
>
>

Attachment: fix-pr28322-gcc-4_1-branch.diff
Description: Text document

Attachment: fix-pr28322-gcc-4_2-branch.diff
Description: Text document

Attachment: fix-pr28322-gcc-4_3-branch.diff
Description: Text document


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