[Bug fortran/101841] New: Wrong realloc-lhs warning with matmul and -O2

2021-08-10 Thread jellby at yahoo dot com via Gcc-bugs
: fortran Assignee: unassigned at gcc dot gnu.org Reporter: jellby at yahoo dot com Target Milestone: --- I get a warning with this: program test real, allocatable :: F(:,:), A(:,:), B(:,:) allocate(F(10,10), A(10,10), B(10,10)) F(:,:) = 1.0 A(:,:) = 0.5 B(:,:) = 2.0 F

[Bug fortran/101827] Wrong stringop-overflow warning

2021-08-09 Thread jellby at yahoo dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101827 --- Comment #2 from Ignacio Fernández Galván --- What's a TU? I didn't succeed (but didn't try to hard) in creating a minimal test case. But this reproduces the problem: $ git clone -b ipo https://gitlab.com/Molcas/OpenMolcas.git $ cd

[Bug fortran/101827] New: Wrong stringop-overflow warning

2021-08-09 Thread jellby at yahoo dot com via Gcc-bugs
Assignee: unassigned at gcc dot gnu.org Reporter: jellby at yahoo dot com Target Milestone: --- When trying to compile OpenMolcas with gcc 10.1 and link-time optimization I get: ../src/slapaf_util/outofplane_list.f: In function ‘outofplane_list’: ../src/slapaf_util

[Bug fortran/100183] Segmentation fault at runtime when passing an internal procedure as argument

2021-04-22 Thread jellby at yahoo dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100183 --- Comment #3 from Ignacio Fernández Galván --- If it helps, this happens in gcc304 from https://cfarm.tetaneutral.net/machines/list/, but not in gcc80

[Bug fortran/100183] New: Segmentation fault at runtime when passing an internal procedure as argument

2021-04-21 Thread jellby at yahoo dot com via Gcc-bugs
: normal Priority: P3 Component: fortran Assignee: unassigned at gcc dot gnu.org Reporter: jellby at yahoo dot com Target Milestone: --- I've only been able to reproduce it with: $ uname -a Darwin minimac.moose.housegordon.com 20.3.0 Darwin Kernel Version

[Bug fortran/98411] [10/11] Pointless: Array larger than ‘-fmax-stack-var-size=’, moved from stack to static storage for main program variables

2021-02-24 Thread jellby at yahoo dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98411 Ignacio Fernández Galván changed: What|Removed |Added CC||jellby at yahoo dot com

[Bug fortran/98883] New: Module variable not initialized with -finit-real

2021-01-29 Thread jellby at yahoo dot com via Gcc-bugs
: fortran Assignee: unassigned at gcc dot gnu.org Reporter: jellby at yahoo dot com Target Milestone: --- I use -finit-real=nan hoping to catch some uninitialized variables, but apparently variables in a module are not obeying this flag and are initialized to something else

[Bug fortran/98787] New: Aliasing not detected with array elements or some intents

2021-01-22 Thread jellby at yahoo dot com via Gcc-bugs
Priority: P3 Component: fortran Assignee: unassigned at gcc dot gnu.org Reporter: jellby at yahoo dot com Target Milestone: --- With -Waliasing (or -Wall), passing the same array as two dummy arguments with "intent(in)" and "intent(out)" is detec

[Bug fortran/96047] New: Bogus unitialized warning for derived type with allocatable components

2020-07-03 Thread jellby at yahoo dot com
Priority: P3 Component: fortran Assignee: unassigned at gcc dot gnu.org Reporter: jellby at yahoo dot com Target Milestone: --- The program below gives a bogus warning when compiling with -O0, but not with -O1 or higher: $ gfortran a.f90 -Wall -O0 a.f90:9

[Bug fortran/94270] [8/9 Regression] Bogus unused dummy argument warning/error

2020-04-14 Thread jellby at yahoo dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94270 --- Comment #6 from Ignacio Fernández Galván --- Will the fix be backported to gcc7? I noticed this when Ubuntu updated the gcc7 version, so I would like to have the chance of seeing it fixed eventually too.

[Bug fortran/94270] New: Bogus unused dummy argument warning/error

2020-03-23 Thread jellby at yahoo dot com
: fortran Assignee: unassigned at gcc dot gnu.org Reporter: jellby at yahoo dot com Target Milestone: --- Apparently, passing an external procedure as an argument inside an internal procedure triggers it: $ cat test.f90 subroutine foo() external bar call meh(bar) call foo_internal

[Bug fortran/92613] New: Bogus warning with -cpp and -fpreprocessed

2019-11-21 Thread jellby at yahoo dot com
: fortran Assignee: unassigned at gcc dot gnu.org Reporter: jellby at yahoo dot com Target Milestone: --- $ cat a.f90 program test implicit none write(6,*) 'hello' ! it's good! end program $ gfortran -cpp a.f90 -E -o a.pp.f90 && gfortran -cpp -fpreprocessed a.pp.f90 a

[Bug fortran/92318] New: Nondeterministic ICE with -mcmodel=large -O2

2019-11-01 Thread jellby at yahoo dot com
: fortran Assignee: unassigned at gcc dot gnu.org Reporter: jellby at yahoo dot com Target Milestone: --- Compiling this Fortran code with -mcmodel=large -O2 segfaults intermittently: subroutine diffeq (nvar,y,x1,x2,eps,h1,gvalue) implicit none real*8, parameter

[Bug fortran/91442] New: Wrong "may be used uninitialized" warning with allocation on assignment

2019-08-14 Thread jellby at yahoo dot com
ty: normal Priority: P3 Component: fortran Assignee: unassigned at gcc dot gnu.org Reporter: jellby at yahoo dot com Target Milestone: --- Simple test case: !=== program test character(len=:), allocatable :: string string='Hello world

[Bug fortran/90112] New: internal procedure using module procedure instead of "sibling" internal procedure

2019-04-16 Thread jellby at yahoo dot com
NCONFIRMED Severity: normal Priority: P3 Component: fortran Assignee: unassigned at gcc dot gnu.org Reporter: jellby at yahoo dot com Target Milestone: --- In some cases an internal procedure will use a module procedure instead of another internal procedure (in the

[Bug fortran/85737] gfortran 8.1.0 false positive with -Wdo-subscript

2018-09-21 Thread jellby at yahoo dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85737 Ignacio Fernández Galván changed: What|Removed |Added CC||jellby at yahoo dot com

[Bug fortran/81344] Can't disable -ffpe-trap (or not documented)

2017-10-14 Thread jellby at yahoo dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81344 --- Comment #3 from Ignacio Fernández Galván --- Do you expect any feedback from me? #1 would of course work, but the point is that I'd like to set '-ffpe-trap=set1,set2' as the default for all files, and then disable set2 only for some files.

[Bug fortran/81344] New: Can't disable -ffpe-trap (or not documented)

2017-07-06 Thread jellby at yahoo dot com
: fortran Assignee: unassigned at gcc dot gnu.org Reporter: jellby at yahoo dot com Target Milestone: --- Once I enable a floating point exception trap with "-ffpe-trap=whatever", it doesn't seem to be possible to disable it in the same command line (as it is possible wit

[Bug fortran/35108] New: ICE in extract_omp_for_data

2008-02-06 Thread jellby at yahoo dot com
: UNCONFIRMED Severity: normal Priority: P3 Component: fortran AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: jellby at yahoo dot com http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35108

[Bug tree-optimization/34445] [4.3 Regression] internal compiler error: in cost_for_stmt, at tree-vect-transform.c:98

2007-12-14 Thread jellby at yahoo dot com
--- Comment #3 from jellby at yahoo dot com 2007-12-14 09:37 --- I don't know if it's the same bug, but the message is the same: $ cat test.f Subroutine FndSph(Alpha,Rad) Dimension Rad(100),RadInp(100) Do I = 1, NSphInp Rad(I) = RadInp(I) Alpha = 1.2

[Bug fortran/33568] New: ICE with ANINT (with KIND and an array)

2007-09-27 Thread jellby at yahoo dot com
: P3 Component: fortran AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: jellby at yahoo dot com http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33568

[Bug regression/31383] New: ICE with -O2 -ftree-vectorize (regression)

2007-03-28 Thread jellby at yahoo dot com
: regression AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: jellby at yahoo dot com http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31383

[Bug fortran/31265] New: Error with RESHAPE on REAL initialization

2007-03-19 Thread jellby at yahoo dot com
Product: gcc Version: 4.3.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: fortran AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: jellby at yahoo dot com http://gcc.gnu.org/bugzilla/show_bug.cgi?id

[Bug fortran/31266] New: Spurious(?) warning about character truncation

2007-03-19 Thread jellby at yahoo dot com
: fortran AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: jellby at yahoo dot com http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31266

[Bug libfortran/31099] [4.3/4.2 regression] Runtime error on legal code using RECL

2007-03-14 Thread jellby at yahoo dot com
--- Comment #12 from jellby at yahoo dot com 2007-03-14 09:04 --- I get the same error if I rewind the file (or is it illegal?): PROGRAM TEST INTEGER :: A OPEN(10, FORM=UNFORMATTED, RECL=1024) A = -1 WRITE(10) A REWIND(10) WRITE(10) A END PROGRAM TEST -- jellby

[Bug middle-end/30667] [4.3 Regression] ICE in immed_double_const, at emit-rtl.c:468

2007-02-14 Thread jellby at yahoo dot com
--- Comment #4 from jellby at yahoo dot com 2007-02-14 13:45 --- It's solved for me with gcc version 4.3.0 20070209 (it failed before). -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30667

[Bug fortran/30554] [4.2 and 4.1 only] ICE in mio_pointer_ref at module.c:1945

2007-02-02 Thread jellby at yahoo dot com
--- Comment #7 from jellby at yahoo dot com 2007-02-02 09:26 --- The patch seems to fix the problem with the test file. Unfortunately, the original problem with the Dynamo package remains, I still get: gfortran -c -I./modules -J./modules -O3 -o objects/energy.o ./source/energy.F90