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

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

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

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] 13+ messages in thread

end of thread, other threads:[~2015-03-24 17:20 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-02-19  9:58 [Bug testsuite/65116] New: additional_sources not defined anymore during dg-final vries at gcc dot gnu.org
2015-02-19 10:09 ` [Bug testsuite/65116] " vries at gcc dot gnu.org
2015-02-19 12:02 ` redi at gcc dot gnu.org
2015-02-19 12:09 ` vries at gcc dot gnu.org
2015-02-19 12:11 ` [Bug testsuite/65116] [4.9/5 Regression] " rguenth at gcc dot gnu.org
2015-02-19 12:13 ` mkuvyrkov at gcc dot gnu.org
2015-02-19 12:30 ` vries at gcc dot gnu.org
2015-02-19 18:13 ` dje at gcc dot gnu.org
2015-02-19 19:43 ` vries at gcc dot gnu.org
2015-02-19 19:58 ` mkuvyrkov at gcc dot gnu.org
2015-02-19 20:05 ` mkuvyrkov at gcc dot gnu.org
2015-02-19 23:35 ` [Bug testsuite/65116] [4.9/5 Regression] ERROR: can't read additional_sources: no such variable vries at gcc dot gnu.org
2015-03-24 17:28 ` mkuvyrkov 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).