This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug middle-end/77475] unnecessary or misleading context in reporting command line problems
- From: "jakub at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Mon, 05 Sep 2016 13:12:13 +0000
- Subject: [Bug middle-end/77475] unnecessary or misleading context in reporting command line problems
- Auto-submitted: auto-generated
- References: <bug-77475-4@http.gcc.gnu.org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77475
--- Comment #2 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Created attachment 39565
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=39565&action=edit
gcc7-pr77475.patch
Given the number of targets that use targetm.target_options.override hook and
the amount of error/warning/sorry calls in them and that lots of targets also
use the same functions for pragma/target attribute handling, I think it is much
better to tweak toplev.c for this. Bet it will have significant testsuite
fallout though.