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

Re: [patch, lto] add testcase for PR60179


On Wed, May 21, 2014 at 3:51 AM, Sandra Loosemore
<sandra@codesourcery.com> wrote:
> One of the consequences of the (now-fixed) bug in PR60179 is that Nios II
> code using target pragmas to specify custom instructions failed to generate
> those instructions with -flto.  We came up with this test case for it, but
> there didn't seem to be an existing hook to scan LTO output.  Is this OK, or
> is there a better way to do it?

Not really - though you should force LTO to generate a single
assembler file by using -flto-partition=one.

> -Sandra
>
>
> 2014-05-20  Cesar Philippidis  <cesar@codesourcery.com>
>             Sandra Loosemore  <sandra@codesourcery.com>
>
>         gcc/testsuite/
>         * lib/scanasm.exp (scan-lto-assembler): New procedure.
>         * gcc.target/nios2/custom-fp-lto.c: New test.
>


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