[Bug fortran/59104] 15 Regression - Wrong result with SIZE specification expression

2024-07-21 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=59104 --- Comment #18 from GCC Commits --- The master branch has been updated by Paul Thomas : https://gcc.gnu.org/g:838999bb23303edc14e96b6034cd837fa4454cfd commit r15-2187-g838999bb23303edc14e96b6034cd837fa4454cfd Author: Paul Thomas Date: Sun J

[Bug fortran/59104] 15 Regression - Wrong result with SIZE specification expression

2024-07-21 Thread anlauf at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=59104 --- Comment #17 from anlauf at gcc dot gnu.org --- (In reply to Paul Thomas from comment #16) > Created attachment 58717 [details] > Fix for the regression > > The mechanism in the original fix was OK but the use of the locus location > was not.

[Bug fortran/59104] 15 Regression - Wrong result with SIZE specification expression

2024-07-20 Thread pault at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=59104 --- Comment #16 from Paul Thomas --- Created attachment 58717 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=58717&action=edit Fix for the regression The mechanism in the original fix was OK but the use of the locus location was not. I wil

[Bug fortran/59104] 15 Regression - Wrong result with SIZE specification expression

2024-07-20 Thread anlauf at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=59104 --- Comment #15 from anlauf at gcc dot gnu.org --- (In reply to anlauf from comment #14) > Seems to affect only dummies, not local arrays. Comparing the dump tree between working and failing, the order of the generation of the descriptors seems r

[Bug fortran/59104] 15 Regression - Wrong result with SIZE specification expression

2024-07-20 Thread anlauf at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=59104 --- Comment #14 from anlauf at gcc dot gnu.org --- Further reduced: program p implicit none integer, parameter :: nx = 64 real, dimension(nx) :: x, s, d, f print *, shape (x), shape (s), shape (d), shape (f) call sub (x,s,d,f) contains

[Bug fortran/59104] 15 Regression - Wrong result with SIZE specification expression

2024-07-20 Thread pault at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=59104 Paul Thomas changed: What|Removed |Added Summary|Wrong result with SIZE |15 Regression - Wrong |s