public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug testsuite/65126] New: additional_sources not defined anymore during dg-final
@ 2015-02-19 23:31 vries at gcc dot gnu.org
  2015-02-19 23:31 ` [Bug testsuite/65126] " vries at gcc dot gnu.org
                   ` (9 more replies)
  0 siblings, 10 replies; 11+ messages in thread
From: vries at gcc dot gnu.org @ 2015-02-19 23:31 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65126

            Bug ID: 65126
           Summary: additional_sources not defined anymore during dg-final
           Product: gcc
           Version: 5.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: testsuite
          Assignee: unassigned at gcc dot gnu.org
          Reporter: vries at gcc dot gnu.org

[ Reported before as PR65116. That one got hijacked for an unrelated problem. ]

When running vect-simd-clone-10.c, a file vect-simd-clone-10a.c.126t.vect is
left in the test directory.

The testcase lists vect-simd-clone-10a.c as addditional source:
...
/* { dg-additional-sources vect-simd-clone-10a.c } */
...

Then the test-case cleans up the respective tree-dump:
...
/* { dg-final { cleanup-tree-dump "vect" } } */
...

The cleanup-tree-dump calls cleanup-dump, which intends to take
additional_sources into account.

However, the global additional_sources declaration is missing, so the exists
additional_sources will always return false.

And if we add the global additional_sources declaration, it still fails,
because additional_sources is empty. It has been reset by
dg-additional-files-options, which is called by gcc_target_compile, which is
called by gcc-dg-test-1, which is called by gcc-dg-test, which is called by
dg-test as ${tool}-dg-test.

dg-test does the the dg-final-code processing after the ${tool}-dg-test so at
that point additional_sources is empty.


^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2015-02-24  7:01 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-02-19 23:31 [Bug testsuite/65126] New: additional_sources not defined anymore during dg-final vries at gcc dot gnu.org
2015-02-19 23:31 ` [Bug testsuite/65126] " vries at gcc dot gnu.org
2015-02-20  7:45 ` [Bug testsuite/65126] [5 Regresion] " rguenth at gcc dot gnu.org
2015-02-20  7:56 ` mkuvyrkov at gcc dot gnu.org
2015-02-20  8:32 ` vries at gcc dot gnu.org
2015-02-20  9:57 ` mkuvyrkov at gcc dot gnu.org
2015-02-22 14:47 ` vries at gcc dot gnu.org
2015-02-22 15:17 ` [Bug testsuite/65126] [5 Regression] " vries at gcc dot gnu.org
2015-02-23  8:42 ` vries at gcc dot gnu.org
2015-02-24  8:21 ` vries at gcc dot gnu.org
2015-02-24  8:33 ` vries 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).