Skip to content

Conversation

@tschwinge
Copy link
Member

Bring in #1670, revert #1623 and parts of #1585.

As discussed in
<https://inbox.sourceware.org/gcc-patches/871qpjtmd8.fsf@euler.schwinge.homeip.net>:

> '-Werror=overloaded-virtual' is implied as by default, we have
> '-Woverloaded-virtual' and '-Werror'.

> '-Wno-unused-parameter' [did] move into
> 'rust-warn'

This reverts #1623 commit b322288.
As discussed in
<https://inbox.sourceware.org/gcc-patches/871qpjtmd8.fsf@euler.schwinge.homeip.net>:

> '-Werror=overloaded-virtual' is implied as by default, we have
> '-Woverloaded-virtual' and '-Werror' [for '--enable-bootstrap' builds].
> ([...])
> (Maybe that isn't active for '--disable-bootstrap' builds, but that's
> "OK".)

For '--disable-bootstrap' builds, we still have '-Woverloaded-virtual', and any
new such diagnostics will be caught by the #1026 "check for new warnings"
machinery, so effectively that does implement '-Werror', too.

> '-Wno-unused-parameter' [did] move into
> 'rust-warn'

This reverts #1585 commit a32ef7a.
This reverts #1585 commit 94d1116.

Conflicts:
	.github/bors_log_expected_warnings
... manually resolved and adjusted; let's see...
Copy link
Member

@CohenArthur CohenArthur left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM @tschwinge, ask bors to merge it whenever :) thanks

@CohenArthur CohenArthur added the upstream Issue regarding upstreaming gccrs into GCC label Dec 14, 2022
@CohenArthur CohenArthur added this to the Final upstream patches milestone Dec 14, 2022
@tschwinge
Copy link
Member Author

bors: merge

@bors
Copy link
Contributor

bors bot commented Dec 14, 2022

@bors bors bot merged commit 3d6dbb6 into master Dec 14, 2022
@tschwinge tschwinge deleted the tschwinge/standardize_warning_flags branch December 14, 2022 12:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

upstream Issue regarding upstreaming gccrs into GCC

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants