public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug target/96588] New: [nvptx] Add -minit-limit
@ 2020-08-12 12:45 vries at gcc dot gnu.org
  0 siblings, 0 replies; only message in thread
From: vries at gcc dot gnu.org @ 2020-08-12 12:45 UTC (permalink / raw)
  To: gcc-bugs

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

            Bug ID: 96588
           Summary: [nvptx] Add -minit-limit
           Product: gcc
           Version: 11.0
            Status: UNCONFIRMED
          Severity: enhancement
          Priority: P3
         Component: target
          Assignee: unassigned at gcc dot gnu.org
          Reporter: vries at gcc dot gnu.org
  Target Milestone: ---

[ As proposed in PR96566. ]

When compiling test-case gcc.dg/builtin-object-size-21.c for nvptx, we time
out, possibly while consuming a lot of disk space.

This has now been fixed for that testcase by requiring effective target
large_initializer, but for new test-cases that doesn't help.

We could add a nvptx option -minit-limit, set to unlimited by default, and then
add say -minit-limit=0xfffffff in nvptx-none-run.exp to make sure that we run
into an error rather than a timeout/out-of-disk-space.

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2020-08-12 12:45 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-08-12 12:45 [Bug target/96588] New: [nvptx] Add -minit-limit 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).