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: unassig...@gcc.gnu.org
        ReportedBy: hubi...@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.

Reply via email to