public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug tree-optimization/113808] New: [14 Regression] FAIL: libgomp.fortran/non-rectangular-loop-1.f90
@ 2024-02-07 12:47 rguenth at gcc dot gnu.org
  2024-02-07 13:28 ` [Bug tree-optimization/113808] " rguenth at gcc dot gnu.org
                   ` (12 more replies)
  0 siblings, 13 replies; 14+ messages in thread
From: rguenth at gcc dot gnu.org @ 2024-02-07 12:47 UTC (permalink / raw)
  To: gcc-bugs

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

            Bug ID: 113808
           Summary: [14 Regression] FAIL:
                    libgomp.fortran/non-rectangular-loop-1.f90
           Product: gcc
           Version: 14.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: tree-optimization
          Assignee: unassigned at gcc dot gnu.org
          Reporter: rguenth at gcc dot gnu.org
  Target Milestone: ---

The following reduced testcase from libgomp.fortran/non-rectangular-loop-1.f90
fails execution:

program main
  integer :: n,m,p, i,j,k,ll
  n = 11
  m = 23
  p = 27
  !$omp simd collapse(3) lastprivate(k)
  do i = 1, n,2
    do j = 1, m
      do k = 1, i + 41
        if (k > 11 + 41 .or. k < 1) error stop
      end do
    end do
  end do
  if (k /= 53) then
    print *, k, 53
    error stop
  endif
end

when built with -O -msse4.1 -fopenmp-simd

> ./a.out 
          50          53
ERROR STOP 

Error termination. Backtrace:
#0  0x4008ec in ???
#1  0x400909 in ???
#2  0x7f873306f24c in ???
#3  0x400679 in _start
        at ../sysdeps/x86_64/start.S:120
#4  0xffffffffffffffff in ???

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

end of thread, other threads:[~2024-02-08 11:11 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-02-07 12:47 [Bug tree-optimization/113808] New: [14 Regression] FAIL: libgomp.fortran/non-rectangular-loop-1.f90 rguenth at gcc dot gnu.org
2024-02-07 13:28 ` [Bug tree-optimization/113808] " rguenth at gcc dot gnu.org
2024-02-07 13:37 ` tnfchris at gcc dot gnu.org
2024-02-07 13:39 ` [Bug tree-optimization/113808] [14 Regression] FAIL: libgomp.fortran/non-rectangular-loop-1.f90 since r14-8768 jakub at gcc dot gnu.org
2024-02-07 13:48 ` rguenth at gcc dot gnu.org
2024-02-07 13:53 ` rguenth at gcc dot gnu.org
2024-02-07 14:09 ` rguenth at gcc dot gnu.org
2024-02-07 14:20 ` jakub at gcc dot gnu.org
2024-02-07 14:20 ` jakub at gcc dot gnu.org
2024-02-07 14:25 ` rguenth at gcc dot gnu.org
2024-02-08  4:28 ` tnfchris at gcc dot gnu.org
2024-02-08 10:44 ` cvs-commit at gcc dot gnu.org
2024-02-08 10:45 ` tnfchris at gcc dot gnu.org
2024-02-08 11:11 ` cvs-commit 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).