public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug ipa/85656] gcc.dg/ipa/ipa-icf-38.c FAILs
       [not found] <bug-85656-4@http.gcc.gnu.org/bugzilla/>
@ 2023-08-20 12:12 ` fxcoudert at gcc dot gnu.org
  2024-05-15 11:23 ` cvs-commit at gcc dot gnu.org
                   ` (2 subsequent siblings)
  3 siblings, 0 replies; 4+ messages in thread
From: fxcoudert at gcc dot gnu.org @ 2023-08-20 12:12 UTC (permalink / raw)
  To: gcc-bugs

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

Francois-Xavier Coudert <fxcoudert at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |fxcoudert at gcc dot gnu.org

--- Comment #13 from Francois-Xavier Coudert <fxcoudert at gcc dot gnu.org> ---
That test case also fails on darwin. Adding:

diff --git a/gcc/testsuite/gcc.dg/ipa/ipa-icf-38.c
b/gcc/testsuite/gcc.dg/ipa/ipa-icf-38.c
index 452e1b88514..57c5262dd4a 100644
--- a/gcc/testsuite/gcc.dg/ipa/ipa-icf-38.c
+++ b/gcc/testsuite/gcc.dg/ipa/ipa-icf-38.c
@@ -1,4 +1,5 @@
 /* { dg-do link } */
+/* { dg-require-alias "" } */
 /* { dg-options "-O2 -fdump-ipa-icf-optimized -flto -fdump-tree-optimized" }
*/
 /* { dg-require-effective-target lto } */
 /* { dg-additional-sources "ipa-icf-38a.c" }*/

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

* [Bug ipa/85656] gcc.dg/ipa/ipa-icf-38.c FAILs
       [not found] <bug-85656-4@http.gcc.gnu.org/bugzilla/>
  2023-08-20 12:12 ` [Bug ipa/85656] gcc.dg/ipa/ipa-icf-38.c FAILs fxcoudert at gcc dot gnu.org
@ 2024-05-15 11:23 ` cvs-commit at gcc dot gnu.org
  2024-05-15 11:26 ` ro at gcc dot gnu.org
  2024-05-15 11:27 ` ro at gcc dot gnu.org
  3 siblings, 0 replies; 4+ messages in thread
From: cvs-commit at gcc dot gnu.org @ 2024-05-15 11:23 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #14 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:ff105c39bde43bdb57615e3a4c7af71fbef5f26e

commit r15-511-gff105c39bde43bdb57615e3a4c7af71fbef5f26e
Author: Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
Date:   Wed May 15 13:23:08 2024 +0200

    testsuite: Require lto-plugin in gcc.dg/ipa/ipa-icf-38.c [PR85656]

    gcc.dg/ipa/ipa-icf-38.c currently FAILs on Solaris (SPARC and x86, 32
    and 64-bit):

    FAIL: gcc.dg/ipa/ipa-icf-38.c scan-ltrans-tree-dump-not optimized "Function
bar"

    As it turns out, this only happens when the Solaris linker is used; with
    GNU ld the test PASSes just fine.  In fact, that happens because gld
    supports the lto-plugin while ld does not: in a Solaris build with gld,
    the test FAILs the same way as with ld when -fno-use-linker-plugin is
    passed, so this patch requires linker_plugin.

    Tested on i386-pc-solaris2.11 (ld and gld) and x86_64-pc-linux-gnu.

    2024-05-15  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>

            gcc/testsuite:
            PR ipa/85656
            * gcc.dg/ipa/ipa-icf-38.c: Require linker_plugin.

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

* [Bug ipa/85656] gcc.dg/ipa/ipa-icf-38.c FAILs
       [not found] <bug-85656-4@http.gcc.gnu.org/bugzilla/>
  2023-08-20 12:12 ` [Bug ipa/85656] gcc.dg/ipa/ipa-icf-38.c FAILs fxcoudert at gcc dot gnu.org
  2024-05-15 11:23 ` cvs-commit at gcc dot gnu.org
@ 2024-05-15 11:26 ` ro at gcc dot gnu.org
  2024-05-15 11:27 ` ro at gcc dot gnu.org
  3 siblings, 0 replies; 4+ messages in thread
From: ro at gcc dot gnu.org @ 2024-05-15 11:26 UTC (permalink / raw)
  To: gcc-bugs

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Assignee|ro at CeBiTec dot Uni-Bielefeld.DE |ro at gcc dot gnu.org
   Target Milestone|---                         |15.0
                URL|                            |https://gcc.gnu.org/piperma
                   |                            |il/gcc-patches/2024-May/651
                   |                            |780.html

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

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

* [Bug ipa/85656] gcc.dg/ipa/ipa-icf-38.c FAILs
       [not found] <bug-85656-4@http.gcc.gnu.org/bugzilla/>
                   ` (2 preceding siblings ...)
  2024-05-15 11:26 ` ro at gcc dot gnu.org
@ 2024-05-15 11:27 ` ro at gcc dot gnu.org
  3 siblings, 0 replies; 4+ messages in thread
From: ro at gcc dot gnu.org @ 2024-05-15 11:27 UTC (permalink / raw)
  To: gcc-bugs

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|---                         |FIXED
             Status|WAITING                     |RESOLVED

--- Comment #16 from Rainer Orth <ro at gcc dot gnu.org> ---
Actually close as fixed.

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

end of thread, other threads:[~2024-05-15 11:27 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <bug-85656-4@http.gcc.gnu.org/bugzilla/>
2023-08-20 12:12 ` [Bug ipa/85656] gcc.dg/ipa/ipa-icf-38.c FAILs fxcoudert at gcc dot gnu.org
2024-05-15 11:23 ` cvs-commit at gcc dot gnu.org
2024-05-15 11:26 ` ro at gcc dot gnu.org
2024-05-15 11:27 ` 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).