public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug middle-end/50808] New: Diagnostic output at expansion time should be moved earlier.
@ 2011-10-20 10:18 hubicka at gcc dot gnu.org
2011-10-20 10:19 ` [Bug middle-end/50808] " hubicka at gcc dot gnu.org
` (4 more replies)
0 siblings, 5 replies; 6+ messages in thread
From: hubicka at gcc dot gnu.org @ 2011-10-20 10:18 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50808
Bug #: 50808
Summary: Diagnostic output at expansion time should be moved
earlier.
Classification: Unclassified
Product: gcc
Version: 4.7.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: middle-end
AssignedTo: unassigned@gcc.gnu.org
ReportedBy: hubicka@gcc.gnu.org
We output a lot of errors and warnings at exapnsion time, especially when
dealing with builtins. This should be moved to after early optimization so it
is consistently output with LTO.
Some testcases needs fat LTO for this prupose right now:
* lib/lto.exp (lto_init): Test slib lto and no-liker-plugin path.
* lto/gcc-dg.exp (check_effective_target_lto): Likewise.
* lto/c-torture.exp: Likewise.
* execute/bultins/strstr-asm.c: Force fat LTO.
* gcc.c-torture/compile/sync-1.c: Likewise.
* gcc.c-torture/compile/sync-1.c: Likewise.
* gcc.c-torture/compile/sync-3.c: Likewise.
* gcc.dg/noncompile/invalid_asm.c: Likewise.
* gcc.dg/noncompile/920507-1.c: Likewise.
* gcc.dg/torture/pr36400.c: Likewise.
* g++.dg/torture/pr34850.C: Likewise.
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug middle-end/50808] Diagnostic output at expansion time should be moved earlier.
2011-10-20 10:18 [Bug middle-end/50808] New: Diagnostic output at expansion time should be moved earlier hubicka at gcc dot gnu.org
@ 2011-10-20 10:19 ` hubicka at gcc dot gnu.org
2011-10-20 10:25 ` rguenth at gcc dot gnu.org
` (3 subsequent siblings)
4 siblings, 0 replies; 6+ messages in thread
From: hubicka at gcc dot gnu.org @ 2011-10-20 10:19 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50808
Jan Hubicka <hubicka at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Severity|normal |enhancement
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug middle-end/50808] Diagnostic output at expansion time should be moved earlier.
2011-10-20 10:18 [Bug middle-end/50808] New: Diagnostic output at expansion time should be moved earlier hubicka at gcc dot gnu.org
2011-10-20 10:19 ` [Bug middle-end/50808] " hubicka at gcc dot gnu.org
@ 2011-10-20 10:25 ` rguenth at gcc dot gnu.org
2011-10-20 10:53 ` paolo.carlini at oracle dot com
` (2 subsequent siblings)
4 siblings, 0 replies; 6+ messages in thread
From: rguenth at gcc dot gnu.org @ 2011-10-20 10:25 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50808
Richard Guenther <rguenth at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Last reconfirmed| |2011-10-20
Ever Confirmed|0 |1
--- Comment #1 from Richard Guenther <rguenth at gcc dot gnu.org> 2011-10-20 10:24:22 UTC ---
All builtin warning related stuff needs to go to
check_builtin_function_arguments
and friends.
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug middle-end/50808] Diagnostic output at expansion time should be moved earlier.
2011-10-20 10:18 [Bug middle-end/50808] New: Diagnostic output at expansion time should be moved earlier hubicka at gcc dot gnu.org
2011-10-20 10:19 ` [Bug middle-end/50808] " hubicka at gcc dot gnu.org
2011-10-20 10:25 ` rguenth at gcc dot gnu.org
@ 2011-10-20 10:53 ` paolo.carlini at oracle dot com
2011-10-20 11:42 ` jakub at gcc dot gnu.org
2021-11-29 2:22 ` pinskia at gcc dot gnu.org
4 siblings, 0 replies; 6+ messages in thread
From: paolo.carlini at oracle dot com @ 2011-10-20 10:53 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50808
--- Comment #2 from Paolo Carlini <paolo.carlini at oracle dot com> 2011-10-20 10:52:49 UTC ---
I think we have already in Bugzilla an old PR about a related issue, for a
specific warning.
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug middle-end/50808] Diagnostic output at expansion time should be moved earlier.
2011-10-20 10:18 [Bug middle-end/50808] New: Diagnostic output at expansion time should be moved earlier hubicka at gcc dot gnu.org
` (2 preceding siblings ...)
2011-10-20 10:53 ` paolo.carlini at oracle dot com
@ 2011-10-20 11:42 ` jakub at gcc dot gnu.org
2021-11-29 2:22 ` pinskia at gcc dot gnu.org
4 siblings, 0 replies; 6+ messages in thread
From: jakub at gcc dot gnu.org @ 2011-10-20 11:42 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50808
Jakub Jelinek <jakub at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |jakub at gcc dot gnu.org
--- Comment #3 from Jakub Jelinek <jakub at gcc dot gnu.org> 2011-10-20 11:41:44 UTC ---
E.g. for warning/error attribute it is very much intentional it is reported as
late as possible.
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug middle-end/50808] Diagnostic output at expansion time should be moved earlier.
2011-10-20 10:18 [Bug middle-end/50808] New: Diagnostic output at expansion time should be moved earlier hubicka at gcc dot gnu.org
` (3 preceding siblings ...)
2011-10-20 11:42 ` jakub at gcc dot gnu.org
@ 2021-11-29 2:22 ` pinskia at gcc dot gnu.org
4 siblings, 0 replies; 6+ messages in thread
From: pinskia at gcc dot gnu.org @ 2021-11-29 2:22 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=50808
Andrew Pinski <pinskia at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Last reconfirmed|2011-10-20 00:00:00 |2021-11-28
--- Comment #4 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
> * gcc.dg/noncompile/invalid_asm.c: Likewise.
> * gcc.dg/noncompile/920507-1.c: Likewise.
These still fail with non-fat LTO.
The rest I think should not pass with non-fat LTO.
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2021-11-29 2:22 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-10-20 10:18 [Bug middle-end/50808] New: Diagnostic output at expansion time should be moved earlier hubicka at gcc dot gnu.org
2011-10-20 10:19 ` [Bug middle-end/50808] " hubicka at gcc dot gnu.org
2011-10-20 10:25 ` rguenth at gcc dot gnu.org
2011-10-20 10:53 ` paolo.carlini at oracle dot com
2011-10-20 11:42 ` jakub at gcc dot gnu.org
2021-11-29 2:22 ` pinskia at gcc dot gnu.org
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).