public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug tree-optimization/110326] New: [gcc 14.0 regression]
@ 2023-06-20 16:43 juergen.reuter at desy dot de
  2023-06-21  8:32 ` [Bug fortran/110326] [14 Regression] rguenth at gcc dot gnu.org
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: juergen.reuter at desy dot de @ 2023-06-20 16:43 UTC (permalink / raw)
  To: gcc-bugs

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

            Bug ID: 110326
           Summary: [gcc 14.0 regression]
           Product: gcc
           Version: 14.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: tree-optimization
          Assignee: unassigned at gcc dot gnu.org
          Reporter: juergen.reuter at desy dot de
  Target Milestone: ---

Hi,
let me open up an issue already. I believe there was a regression introduced in
gcc between June 11 and June 19, as our CI with a git-clone built gcc worked
last week, and fails this week. Two out of our ca. 340 functional tests fail
because they return zero results. I will try to boil this down to a smaller
reproducer (fingers crossed), but if you want to play around already, checkout
our code from here:
https://gitlab.tp.nt.uni-siegen.de/whizard/public
Note that you need noweb and OCaml besides gcc/gfortran. Do in the main
directory ./build_master.sh and autoreconf, then in a build directory _build 
do ../configure, make -j4, make -C tests/functional_tests -j4 check.
The failing tests are nlo_9.run and nlo_10.run in case you want to run them
already now.
There was a change in the Fortran directly, by this commit below, but this was
not responsible for these failures. There was a lot of work on
tree-optimization in the middle-end (?) last week, so I fear this might have
caused this. At the moment I am struggling to boil down what is going on. 
Cheers,
    Juergen
The master branch has been updated by Harald Anlauf <anlauf@gcc.gnu.org>:

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

commit r14-1795-gc1691509e5a8875f36c068a5ea101bf13f140948
Author: Harald Anlauf <anlauf@gmx.de>
Date:   Mon Jun 12 23:08:48 2023 +0200

    Fortran: fix passing of zero-sized array arguments to procedures [PR86277]

    gcc/fortran/ChangeLog:

            PR fortran/86277
            * trans-array.cc (gfc_trans_allocate_array_storage): When passing a
            zero-sized array with fixed (= non-dynamic) size, allocate
temporary
            by the caller, not by the callee.

    gcc/testsuite/ChangeLog:

            PR fortran/86277
            * gfortran.dg/zero_sized_14.f90: New test.
            * gfortran.dg/zero_sized_15.f90: New test.

    Co-authored-by: Mikael Morin <mikael@gcc.gnu.org>

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

* [Bug fortran/110326] [14 Regression]
  2023-06-20 16:43 [Bug tree-optimization/110326] New: [gcc 14.0 regression] juergen.reuter at desy dot de
@ 2023-06-21  8:32 ` rguenth at gcc dot gnu.org
  2023-06-22 11:52 ` juergen.reuter at desy dot de
                   ` (2 subsequent siblings)
  3 siblings, 0 replies; 5+ messages in thread
From: rguenth at gcc dot gnu.org @ 2023-06-21  8:32 UTC (permalink / raw)
  To: gcc-bugs

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|---                         |14.0

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

* [Bug fortran/110326] [14 Regression]
  2023-06-20 16:43 [Bug tree-optimization/110326] New: [gcc 14.0 regression] juergen.reuter at desy dot de
  2023-06-21  8:32 ` [Bug fortran/110326] [14 Regression] rguenth at gcc dot gnu.org
@ 2023-06-22 11:52 ` juergen.reuter at desy dot de
  2023-06-22 11:53 ` juergen.reuter at desy dot de
  2023-06-22 11:54 ` juergen.reuter at desy dot de
  3 siblings, 0 replies; 5+ messages in thread
From: juergen.reuter at desy dot de @ 2023-06-22 11:52 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #1 from Jürgen Reuter <juergen.reuter at desy dot de> ---
This should be closed as a duplicate of
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110311

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

* [Bug fortran/110326] [14 Regression]
  2023-06-20 16:43 [Bug tree-optimization/110326] New: [gcc 14.0 regression] juergen.reuter at desy dot de
  2023-06-21  8:32 ` [Bug fortran/110326] [14 Regression] rguenth at gcc dot gnu.org
  2023-06-22 11:52 ` juergen.reuter at desy dot de
@ 2023-06-22 11:53 ` juergen.reuter at desy dot de
  2023-06-22 11:54 ` juergen.reuter at desy dot de
  3 siblings, 0 replies; 5+ messages in thread
From: juergen.reuter at desy dot de @ 2023-06-22 11:53 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #2 from Jürgen Reuter <juergen.reuter at desy dot de> ---
Closed as a duplicate of https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110311

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

* [Bug fortran/110326] [14 Regression]
  2023-06-20 16:43 [Bug tree-optimization/110326] New: [gcc 14.0 regression] juergen.reuter at desy dot de
                   ` (2 preceding siblings ...)
  2023-06-22 11:53 ` juergen.reuter at desy dot de
@ 2023-06-22 11:54 ` juergen.reuter at desy dot de
  3 siblings, 0 replies; 5+ messages in thread
From: juergen.reuter at desy dot de @ 2023-06-22 11:54 UTC (permalink / raw)
  To: gcc-bugs

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

Jürgen Reuter <juergen.reuter at desy dot de> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|---                         |DUPLICATE

--- Comment #3 from Jürgen Reuter <juergen.reuter at desy dot de> ---
Duplicate of 110311.

*** This bug has been marked as a duplicate of bug 110311 ***

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

end of thread, other threads:[~2023-06-22 11:54 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-06-20 16:43 [Bug tree-optimization/110326] New: [gcc 14.0 regression] juergen.reuter at desy dot de
2023-06-21  8:32 ` [Bug fortran/110326] [14 Regression] rguenth at gcc dot gnu.org
2023-06-22 11:52 ` juergen.reuter at desy dot de
2023-06-22 11:53 ` juergen.reuter at desy dot de
2023-06-22 11:54 ` juergen.reuter at desy dot de

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).