This is the mail archive of the gcc-bugs@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]

[Bug middle-end/50808] New: Diagnostic output at expansion time should be moved earlier.


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.


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