public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug ipa/98237] New: gcc-dg-lto-modref-3-01.exe etc. FAIL
@ 2020-12-11 11:58 ro at gcc dot gnu.org
  2020-12-11 11:58 ` [Bug ipa/98237] " ro at gcc dot gnu.org
                   ` (7 more replies)
  0 siblings, 8 replies; 9+ messages in thread
From: ro at gcc dot gnu.org @ 2020-12-11 11:58 UTC (permalink / raw)
  To: gcc-bugs

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

            Bug ID: 98237
           Summary: gcc-dg-lto-modref-3-01.exe etc. FAIL
           Product: gcc
           Version: 11.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: ipa
          Assignee: unassigned at gcc dot gnu.org
          Reporter: ro at gcc dot gnu.org
                CC: hubicka at gcc dot gnu.org, marxin at gcc dot gnu.org
  Target Milestone: ---

Two new ipa-modref tests FAIL since they were installed:

FAIL: gcc-dg-lto-modref-3-01.exe scan-wpa-ipa-dump modref "parm 1 flags:
nodirectescape"
FAIL: gcc-dg-lto-modref-4-01.exe scan-wpa-ipa-dump modref "parm 1 flags:
nodirectescape"

I'm seeing this on Solaris/sparc and x86, there are also gcc-testresults
reports
for hppa64-hp-hpux11.11.  However, this is not an OS issue at all: on Solaris
with GNU ld, the tests PASS, while they FAIL on x86_64-pc-linux-gnu with
--disable-lto-plugin.

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

* [Bug ipa/98237] gcc-dg-lto-modref-3-01.exe etc. FAIL
  2020-12-11 11:58 [Bug ipa/98237] New: gcc-dg-lto-modref-3-01.exe etc. FAIL ro at gcc dot gnu.org
@ 2020-12-11 11:58 ` ro at gcc dot gnu.org
  2020-12-11 12:17 ` ro at gcc dot gnu.org
                   ` (6 subsequent siblings)
  7 siblings, 0 replies; 9+ messages in thread
From: ro at gcc dot gnu.org @ 2020-12-11 11:58 UTC (permalink / raw)
  To: gcc-bugs

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

Rainer Orth <ro at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|---                         |11.0

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

* [Bug ipa/98237] gcc-dg-lto-modref-3-01.exe etc. FAIL
  2020-12-11 11:58 [Bug ipa/98237] New: gcc-dg-lto-modref-3-01.exe etc. FAIL ro at gcc dot gnu.org
  2020-12-11 11:58 ` [Bug ipa/98237] " ro at gcc dot gnu.org
@ 2020-12-11 12:17 ` ro at gcc dot gnu.org
  2021-04-27 11:39 ` jakub at gcc dot gnu.org
                   ` (5 subsequent siblings)
  7 siblings, 0 replies; 9+ messages in thread
From: ro at gcc dot gnu.org @ 2020-12-11 12:17 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #1 from Rainer Orth <ro at gcc dot gnu.org> ---
It's not just the scans that fail:

FAIL: gcc.dg/lto/modref-3 c_lto_modref-3_0.o-c_lto_modref-3_1.o execute -O2
-flto-partition=max -fdump-ipa-modref -fno-ipa-sra -fno-ipa-cp -flto
FAIL: gcc.dg/lto/modref-4 c_lto_modref-4_0.o-c_lto_modref-4_1.o execute -O2
-flto-partition=max -fdump-ipa-modref -fno-ipa-sra -flto

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

* [Bug ipa/98237] gcc-dg-lto-modref-3-01.exe etc. FAIL
  2020-12-11 11:58 [Bug ipa/98237] New: gcc-dg-lto-modref-3-01.exe etc. FAIL ro at gcc dot gnu.org
  2020-12-11 11:58 ` [Bug ipa/98237] " ro at gcc dot gnu.org
  2020-12-11 12:17 ` ro at gcc dot gnu.org
@ 2021-04-27 11:39 ` jakub at gcc dot gnu.org
  2021-07-28  7:05 ` rguenth at gcc dot gnu.org
                   ` (4 subsequent siblings)
  7 siblings, 0 replies; 9+ messages in thread
From: jakub at gcc dot gnu.org @ 2021-04-27 11:39 UTC (permalink / raw)
  To: gcc-bugs

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

Jakub Jelinek <jakub at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|11.0                        |11.2

--- Comment #2 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
GCC 11.1 has been released, retargeting bugs to GCC 11.2.

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

* [Bug ipa/98237] gcc-dg-lto-modref-3-01.exe etc. FAIL
  2020-12-11 11:58 [Bug ipa/98237] New: gcc-dg-lto-modref-3-01.exe etc. FAIL ro at gcc dot gnu.org
                   ` (2 preceding siblings ...)
  2021-04-27 11:39 ` jakub at gcc dot gnu.org
@ 2021-07-28  7:05 ` rguenth at gcc dot gnu.org
  2022-04-21  7:48 ` [Bug ipa/98237] gcc-dg-lto-modref-3-01.exe etc. FAIL when LTO plugin is not enabled rguenth at gcc dot gnu.org
                   ` (3 subsequent siblings)
  7 siblings, 0 replies; 9+ messages in thread
From: rguenth at gcc dot gnu.org @ 2021-07-28  7:05 UTC (permalink / raw)
  To: gcc-bugs

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

Richard Biener <rguenth at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|11.2                        |11.3

--- Comment #3 from Richard Biener <rguenth at gcc dot gnu.org> ---
GCC 11.2 is being released, retargeting bugs to GCC 11.3

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

* [Bug ipa/98237] gcc-dg-lto-modref-3-01.exe etc. FAIL when LTO plugin is not enabled
  2020-12-11 11:58 [Bug ipa/98237] New: gcc-dg-lto-modref-3-01.exe etc. FAIL ro at gcc dot gnu.org
                   ` (3 preceding siblings ...)
  2021-07-28  7:05 ` rguenth at gcc dot gnu.org
@ 2022-04-21  7:48 ` rguenth at gcc dot gnu.org
  2023-05-29 10:03 ` jakub at gcc dot gnu.org
                   ` (2 subsequent siblings)
  7 siblings, 0 replies; 9+ messages in thread
From: rguenth at gcc dot gnu.org @ 2022-04-21  7:48 UTC (permalink / raw)
  To: gcc-bugs

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

Richard Biener <rguenth at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|11.3                        |11.4

--- Comment #4 from Richard Biener <rguenth at gcc dot gnu.org> ---
GCC 11.3 is being released, retargeting bugs to GCC 11.4.

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

* [Bug ipa/98237] gcc-dg-lto-modref-3-01.exe etc. FAIL when LTO plugin is not enabled
  2020-12-11 11:58 [Bug ipa/98237] New: gcc-dg-lto-modref-3-01.exe etc. FAIL ro at gcc dot gnu.org
                   ` (4 preceding siblings ...)
  2022-04-21  7:48 ` [Bug ipa/98237] gcc-dg-lto-modref-3-01.exe etc. FAIL when LTO plugin is not enabled rguenth at gcc dot gnu.org
@ 2023-05-29 10:03 ` jakub at gcc dot gnu.org
  2024-02-16  8:48 ` cvs-commit at gcc dot gnu.org
  2024-02-16  8:49 ` ro at gcc dot gnu.org
  7 siblings, 0 replies; 9+ messages in thread
From: jakub at gcc dot gnu.org @ 2023-05-29 10:03 UTC (permalink / raw)
  To: gcc-bugs

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

Jakub Jelinek <jakub at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|11.4                        |11.5

--- Comment #5 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
GCC 11.4 is being released, retargeting bugs to GCC 11.5.

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

* [Bug ipa/98237] gcc-dg-lto-modref-3-01.exe etc. FAIL when LTO plugin is not enabled
  2020-12-11 11:58 [Bug ipa/98237] New: gcc-dg-lto-modref-3-01.exe etc. FAIL ro at gcc dot gnu.org
                   ` (5 preceding siblings ...)
  2023-05-29 10:03 ` jakub at gcc dot gnu.org
@ 2024-02-16  8:48 ` cvs-commit at gcc dot gnu.org
  2024-02-16  8:49 ` ro at gcc dot gnu.org
  7 siblings, 0 replies; 9+ messages in thread
From: cvs-commit at gcc dot gnu.org @ 2024-02-16  8:48 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #6 from GCC Commits <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by Rainer Orth <ro@gcc.gnu.org>:

https://gcc.gnu.org/g:de658585d6dcc89f1cba71ef5f8f5b55719a7054

commit r14-9024-gde658585d6dcc89f1cba71ef5f8f5b55719a7054
Author: Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
Date:   Fri Feb 16 09:47:35 2024 +0100

    testsuite: Require lto-plugin support in gcc.dg/lto/modref-3 etc. [PR98237]

    gcc.dg/lto/modref-3 etc. FAIL on Solaris with the native linker:

    FAIL: gcc-dg-lto-modref-3-01.exe scan-wpa-ipa-dump modref "parm 1 flags:
no_direct_clobber no_direct_escape"
    FAIL: gcc-dg-lto-modref-4-01.exe scan-wpa-ipa-dump modref "parm 1 flags:
no_direct_clobber no_direct_escape"
    FAIL: gcc.dg/lto/modref-3 c_lto_modref-3_0.o-c_lto_modref-3_1.o execute -O2
-flto-partition=max -fdump-ipa-modref -fno-ipa-sra -fno-ipa-cp -flto
    FAIL: gcc.dg/lto/modref-4 c_lto_modref-4_0.o-c_lto_modref-4_1.o execute -O2
-flto-partition=max -fdump-ipa-modref -fno-ipa-sra -flto

    The issue is that the tests require the linker plugin, which isn't
    available with Solaris ld.  Thus, it also FAILs when gcc is configured
    with --disable-lto-plugin.

    This patch thus declares the requirement.  As it turns out, there's an
    undocumented dg-require-linker-plugin already, but I introduce and use
    the corresponding effective-target keyword and document both.

    Given that the effective-target form is more flexible, I'm tempted to
    remove dg-require-* with an empty arg as already mentioned in
    sourcebuild.texi.  That is not this patch, however.

    Tested on i386-pc-solaris2.11 with ld and gld.

    2024-02-14  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>

            gcc/testsuite:
            PR ipa/98237
            * lib/target-supports.exp (is-effective-target): Handle
            linker_plugin.
            * gcc.dg/lto/modref-3_0.c: Require linker_plugin support.
            * gcc.dg/lto/modref-4_0.c: Likewise.

            gcc:
            * doc/sourcebuild.texi (Effective-Target Keywords, Other
            attribugs): Document linker_plugin.
            (Require Support): Document dg-require-linker-plugin.

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

* [Bug ipa/98237] gcc-dg-lto-modref-3-01.exe etc. FAIL when LTO plugin is not enabled
  2020-12-11 11:58 [Bug ipa/98237] New: gcc-dg-lto-modref-3-01.exe etc. FAIL ro at gcc dot gnu.org
                   ` (6 preceding siblings ...)
  2024-02-16  8:48 ` cvs-commit at gcc dot gnu.org
@ 2024-02-16  8:49 ` ro at gcc dot gnu.org
  7 siblings, 0 replies; 9+ messages in thread
From: ro at gcc dot gnu.org @ 2024-02-16  8:49 UTC (permalink / raw)
  To: gcc-bugs

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

Rainer Orth <ro at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
           Assignee|unassigned at gcc dot gnu.org      |ro at gcc dot gnu.org
         Resolution|---                         |FIXED

--- Comment #7 from Rainer Orth <ro at gcc dot gnu.org> ---
Mine.  Fixed for GCC 14.0.1.

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

end of thread, other threads:[~2024-02-16  8:49 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-12-11 11:58 [Bug ipa/98237] New: gcc-dg-lto-modref-3-01.exe etc. FAIL ro at gcc dot gnu.org
2020-12-11 11:58 ` [Bug ipa/98237] " ro at gcc dot gnu.org
2020-12-11 12:17 ` ro at gcc dot gnu.org
2021-04-27 11:39 ` jakub at gcc dot gnu.org
2021-07-28  7:05 ` rguenth at gcc dot gnu.org
2022-04-21  7:48 ` [Bug ipa/98237] gcc-dg-lto-modref-3-01.exe etc. FAIL when LTO plugin is not enabled rguenth at gcc dot gnu.org
2023-05-29 10:03 ` jakub at gcc dot gnu.org
2024-02-16  8:48 ` cvs-commit at gcc dot gnu.org
2024-02-16  8:49 ` ro 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).