[Bug fortran/98517] gfortran segfault on character array initialization from parameter value since r8-5900-g266404a8d62b99ab

2021-01-05 Thread kargl at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98517 kargl at gcc dot gnu.org changed: What|Removed |Added Priority|P3 |P4

[Bug fortran/98517] gfortran segfault on character array initialization from parameter value since r8-5900-g266404a8d62b99ab

2021-01-05 Thread kargl at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98517 --- Comment #2 from kargl at gcc dot gnu.org --- diff --git a/gcc/fortran/resolve.c b/gcc/fortran/resolve.c index 249f402b8d9..da8e3b63249 100644 --- a/gcc/fortran/resolve.c +++ b/gcc/fortran/resolve.c @@ -12437,7 +12437,8 @@ resolve_charlen

[Bug fortran/96986] [8/9/10/11 Regression] Explicit interface required: volatile argument for ENTRY subroutine

2021-01-01 Thread kargl at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96986 kargl at gcc dot gnu.org changed: What|Removed |Added CC||kargl at gcc dot gnu.org

[Bug fortran/98490] Unexpected out of bounds in array constructor with implied do loop

2020-12-31 Thread kargl at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98490 kargl at gcc dot gnu.org changed: What|Removed |Added Priority|P3 |P4 Status|WAITING

[Bug fortran/98490] Unexpected out of bounds in array constructor with implied do loop

2020-12-31 Thread kargl at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98490 kargl at gcc dot gnu.org changed: What|Removed |Added CC||kargl at gcc dot gnu.org

[Bug fortran/98458] PRINT the array constructed from implied do-loop throw ICE

2020-12-28 Thread kargl at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98458 kargl at gcc dot gnu.org changed: What|Removed |Added CC||kargl at gcc dot gnu.org

[Bug fortran/98454] Apparent wrong initialization in function result

2020-12-27 Thread kargl at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98454 --- Comment #4 from kargl at gcc dot gnu.org --- (In reply to anlauf from comment #2) > I think there already exists at least one PR with issues with initializers. > > A reduced testcase shows that default initialization works for i

[Bug fortran/98454] Apparent wrong initialization in function result

2020-12-27 Thread kargl at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98454 kargl at gcc dot gnu.org changed: What|Removed |Added Priority|P3 |P4 CC

[Bug fortran/98433] double free detected in tcache 2, after merge of structures

2020-12-24 Thread kargl at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98433 --- Comment #6 from kargl at gcc dot gnu.org --- > @Steve: that's pretty basic F2003 stuff, almost TR15581... Yes, I know. Point being that quoting some third-party interpretation of what one version of the Fortran standard says is of limi

[Bug fortran/98433] double free detected in tcache 2, after merge of structures

2020-12-23 Thread kargl at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98433 kargl at gcc dot gnu.org changed: What|Removed |Added CC||kargl at gcc dot gnu.org

[Bug fortran/49278] ICE (segfault) when combining DATA with default initialization

2020-12-22 Thread kargl at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=49278 --- Comment #27 from kargl at gcc dot gnu.org --- (In reply to anlauf from comment #26) > (In reply to kargl from comment #23) > > (In reply to anlauf from comment #21) > > > There's also valid code that ICEs, and invalid cod

[Bug fortran/49278] ICE (segfault) when combining DATA with default initialization

2020-12-22 Thread kargl at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=49278 --- Comment #24 from kargl at gcc dot gnu.org --- (In reply to anlauf from comment #21) > > And after fixing an obvious NULL pointer dereference, > > diff --git a/gcc/fortran/trans-decl.c b/gcc/fortran/trans-decl.c > in

[Bug fortran/49278] ICE (segfault) when combining DATA with default initialization

2020-12-22 Thread kargl at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=49278 kargl at gcc dot gnu.org changed: What|Removed |Added CC||kargl at gcc dot gnu.org

[Bug libfortran/98301] random_init() is broken

2020-12-20 Thread kargl at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98301 --- Comment #4 from kargl at gcc dot gnu.org --- Created attachment 49816 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=49816=edit Newest patch. This new patch implements Thomas idea of generating appropriate library ca

[Bug fortran/92065] [8/9/10/11 Regression] internal compiler error: in expand_expr_real_1

2020-12-19 Thread kargl at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92065 kargl at gcc dot gnu.org changed: What|Removed |Added CC||kargl at gcc dot gnu.org

[Bug libfortran/98301] random_init() is broken

2020-12-17 Thread kargl at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98301 --- Comment #3 from kargl at gcc dot gnu.org --- Created attachment 49791 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=49791=edit new diff with improvements New diff with a better implementation.

[Bug libfortran/98301] random_init() may be non-conforming

2020-12-15 Thread kargl at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98301 kargl at gcc dot gnu.org changed: What|Removed |Added Priority|P3 |P4

[Bug libfortran/98301] random_init() may be non-conforming

2020-12-15 Thread kargl at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98301 kargl at gcc dot gnu.org changed: What|Removed |Added Ever confirmed|0 |1 Status

[Bug libfortran/98301] random_init() may be non-conforming

2020-12-15 Thread kargl at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98301 --- Comment #1 from kargl at gcc dot gnu.org --- Created attachment 49770 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=49770=edit random_init() patch

[Bug libfortran/98301] New: random_init() may be non-conforming

2020-12-15 Thread kargl at gcc dot gnu.org via Gcc-bugs
Assignee: unassigned at gcc dot gnu.org Reporter: kargl at gcc dot gnu.org Target Milestone: ---

[Bug fortran/98284] ICE in get_array_index

2020-12-14 Thread kargl at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98284 kargl at gcc dot gnu.org changed: What|Removed |Added Priority|P3 |P4 Last reconfirmed

[Bug fortran/98253] Conflicting random_seed/random_init results

2020-12-12 Thread kargl at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98253 --- Comment #6 from kargl at gcc dot gnu.org --- (In reply to Dominique d'Humieres from comment #4) > Invalid expectation? Not sure. This long response was composed before I saw Damian's reply. At the risk of starting an existential argum

[Bug fortran/98253] Conflicting random_seed/random_init results

2020-12-12 Thread kargl at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98253 --- Comment #3 from kargl at gcc dot gnu.org --- Third thought. Here are the programs you meant to write (without error checking such as how_to_use_random_init must be run before how_to_seed_with_random_seed_like_random_init). program

[Bug fortran/98253] Conflicting random_seed/random_init results

2020-12-12 Thread kargl at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98253 --- Comment #2 from kargl at gcc dot gnu.org --- On 2nd thought. Of course, the results are different. In your first example, you have call random_init(repeatable=.true., image_distinct=.true.) which gets you processor-dependent seeds

[Bug fortran/98253] Conflicting random_seed/random_init results

2020-12-12 Thread kargl at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98253 kargl at gcc dot gnu.org changed: What|Removed |Added CC||kargl at gcc dot gnu.org

[Bug fortran/98022] [9/10/11 Regression] ICE in gfc_assign_data_value, at fortran/data.c:468 since r9-3803-ga5fbc2f36a291cbe

2020-12-09 Thread kargl at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98022 kargl at gcc dot gnu.org changed: What|Removed |Added CC||kargl at gcc dot gnu.org

[Bug fortran/98201] CSQRT function gives bad resuts at runtime

2020-12-08 Thread kargl at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98201 --- Comment #12 from kargl at gcc dot gnu.org --- (In reply to dpozar from comment #11) > Thomas, > > that looks good. But I am not sure how to proceed ... > > dave Well, the first thing to do is to use either nm or objdump on

[Bug fortran/98201] CSQRT function gives bad resuts at runtime

2020-12-08 Thread kargl at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98201 kargl at gcc dot gnu.org changed: What|Removed |Added CC||kargl at gcc dot gnu.org

[Bug libfortran/98129] Failure on reading big chunk of /dev/urandom

2020-12-04 Thread kargl at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98129 kargl at gcc dot gnu.org changed: What|Removed |Added CC||kargl at gcc dot gnu.org

[Bug libfortran/98129] Failure on reading big chunk of /dev/urandom

2020-12-04 Thread kargl at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98129 kargl at gcc dot gnu.org changed: What|Removed |Added CC||kargl at gcc dot gnu.org

[Bug fortran/98046] lock in libpthread occurs with gcc-fortran and atlas-lapack

2020-11-28 Thread kargl at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98046 --- Comment #2 from kargl at gcc dot gnu.org --- > This problem was originally reported on > https://www.linuxquestions.org/questions/linux-general-1/lock-in-libpthread- > occurs-only-on-one-arch-installation-only-with-gcc-fortran-4

[Bug fortran/98023] ICE: free_expr0(): Bad expr type

2020-11-26 Thread kargl at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98023 kargl at gcc dot gnu.org changed: What|Removed |Added CC||kargl at gcc dot gnu.org

[Bug fortran/98016] Host association problem

2020-11-26 Thread kargl at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98016 --- Comment #5 from kargl at gcc dot gnu.org --- Index: gcc/gcc/fortran/expr.c === --- gcc/gcc/fortran/expr.c (revision 280157) +++ gcc/gcc/fortran/expr.c (working copy

[Bug fortran/95847] [9/10/11 Regression] Internal error when processing pFUnit generated files with --coverage

2020-11-05 Thread kargl at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95847 --- Comment #6 from kargl at gcc dot gnu.org --- (In reply to Martin Liška from comment #5) > I can only confirm it's a Fortran issue. > Can please anybody from Fortran folks take a look? First, the caveat, the Fortran code in the at

[Bug fortran/97320] False positive "Array reference out of bounds in loop" in a protecting if block

2020-11-02 Thread kargl at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97320 kargl at gcc dot gnu.org changed: What|Removed |Added CC||kargl at gcc dot gnu.org

[Bug middle-end/54771] scan-ipa-dump failure in gfortran.dg/pr48636.f90

2020-10-12 Thread kargl at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=54771 kargl at gcc dot gnu.org changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution

[Bug other/51678] 'make pdf' is broken in libiberty

2020-10-12 Thread kargl at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=51678 kargl at gcc dot gnu.org changed: What|Removed |Added Status|NEW |RESOLVED Resolution

[Bug target/36062] -mpc32,-mpc64, and -mpc80 are not documented properly

2020-10-12 Thread kargl at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=36062 kargl at gcc dot gnu.org changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution

[Bug target/18469] configure incorrectly defines gid_t

2020-10-12 Thread kargl at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=18469 Bug 18469 depends on bug 21481, which changed state. Bug 21481 Summary: crtstuff.c should not include auto-host.h https://gcc.gnu.org/bugzilla/show_bug.cgi?id=21481 What|Removed |Added

[Bug bootstrap/21481] crtstuff.c should not include auto-host.h

2020-10-12 Thread kargl at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=21481 kargl at gcc dot gnu.org changed: What|Removed |Added Resolution|--- |WONTFIX Status

[Bug fortran/96711] Internal Compiler Error on NINT() Function

2020-10-07 Thread kargl at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96711 --- Comment #19 from kargl at gcc dot gnu.org --- (In reply to Andreas Schwab from comment #18) > Any ICE is a bug. If powerpc64 does not have REAL(16), then you'll need to xfail the test.

[Bug fortran/97210] Intrinsic function get_team() does not work

2020-09-26 Thread kargl at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97210 kargl at gcc dot gnu.org changed: What|Removed |Added Priority|P3 |P4 CC

[Bug fortran/97176] Cannot return deferred length strings when using -fno-automatic

2020-09-23 Thread kargl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97176 kargl at gcc dot gnu.org changed: What|Removed |Added CC||kargl at gcc dot gnu.org

[Bug fortran/97122] Spurious FINAL ... must be in the specification part of a MODULE

2020-09-19 Thread kargl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97122 kargl at gcc dot gnu.org changed: What|Removed |Added Last reconfirmed||2020-09-20 Ever confirmed

[Bug fortran/89067] Inaccurate error message: 'i' at (1) is not a member of the 'x' structure

2020-09-19 Thread kargl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89067 kargl at gcc dot gnu.org changed: What|Removed |Added CC||kargl at gcc dot gnu.org

[Bug fortran/97046] Bad interaction between lbound/ubound, allocatable arrays and bind(C) subroutine with dimension(..) parameter

2020-09-14 Thread kargl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97046 kargl at gcc dot gnu.org changed: What|Removed |Added CC||kargl at gcc dot gnu.org

[Bug fortran/97039] -fbounds-check misses violation with slice of array but not an element

2020-09-13 Thread kargl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97039 kargl at gcc dot gnu.org changed: What|Removed |Added CC||kargl at gcc dot gnu.org

[Bug fortran/97031] the content of a comment line breaks compilation

2020-09-12 Thread kargl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97031 kargl at gcc dot gnu.org changed: What|Removed |Added CC||kargl at gcc dot gnu.org

[Bug fortran/97003] Error: gfortran: No such file or directory and GNU gortran is nor working

2020-09-09 Thread kargl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97003 kargl at gcc dot gnu.org changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED CC

[Bug fortran/96911] bug with Intrinsic shifta/shiftl/shiftr

2020-09-03 Thread kargl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96911 kargl at gcc dot gnu.org changed: What|Removed |Added CC||kargl at gcc dot gnu.org

[Bug libfortran/96890] Wrong answer with intrinsic IALL

2020-09-02 Thread kargl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96890 kargl at gcc dot gnu.org changed: What|Removed |Added CC||kargl at gcc dot gnu.org

[Bug fortran/96859] Wrong answer with intrinsic merge_bits

2020-08-31 Thread kargl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96859 kargl at gcc dot gnu.org changed: What|Removed |Added CC||kargl at gcc dot gnu.org

[Bug fortran/96811] Power: x**(negative integer) – use libgcc variant for power raised to negative value?

2020-08-27 Thread kargl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96811 kargl at gcc dot gnu.org changed: What|Removed |Added CC||kargl at gcc dot gnu.org

[Bug fortran/96711] Internal Compiler Error on NINT() Function

2020-08-19 Thread kargl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96711 --- Comment #5 from kargl at gcc dot gnu.org --- Trivial workaround. program nint_error implicit none integer(kind=16) :: m real(8) :: x, y x = 1 y = x - 1 m = anint(y) print *, m end This will use

[Bug fortran/96711] Internal Compiler Error on NINT() Function

2020-08-19 Thread kargl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96711 kargl at gcc dot gnu.org changed: What|Removed |Added CC||kargl at gcc dot gnu.org

[Bug fortran/96686] MIN/MAX should reject character arguments of different kind rather than ICE

2020-08-18 Thread kargl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96686 kargl at gcc dot gnu.org changed: What|Removed |Added Priority|P3 |P4 Ever confirmed|0

[Bug fortran/96668] [OpenMP] Re-mapping allocated but previously unallocated allocatable does not work

2020-08-18 Thread kargl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96668 kargl at gcc dot gnu.org changed: What|Removed |Added CC||kargl at gcc dot gnu.org

[Bug fortran/96613] SIGFPE on min1() with -ffpe-trap=invalid switch

2020-08-16 Thread kargl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96613 --- Comment #4 from kargl at gcc dot gnu.org --- (In reply to anlauf from comment #3) > Created attachment 49066 [details] > WIP patch > > The underlying issue is visible in the tree-dump, see also comment#1 by > Steve. >

[Bug fortran/96624] A segment fault occurred when using the reshape function result to assign a variable

2020-08-15 Thread kargl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96624 kargl at gcc dot gnu.org changed: What|Removed |Added CC||kargl at gcc dot gnu.org

[Bug fortran/96613] SIGFPE on min1() with -ffpe-trap=invalid switch

2020-08-14 Thread kargl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96613 kargl at gcc dot gnu.org changed: What|Removed |Added Component|libfortran |fortran --- Comment #2 from

[Bug libfortran/96613] SIGFPE on min1() with -ffpe-trap=invalid switch

2020-08-14 Thread kargl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96613 kargl at gcc dot gnu.org changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed

[Bug fortran/96583] F2018 changes to get_environment_variable

2020-08-12 Thread kargl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96583 kargl at gcc dot gnu.org changed: What|Removed |Added CC||kargl at gcc dot gnu.org

[Bug fortran/96486] get_environment_variable fails for zero-length values

2020-08-06 Thread kargl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96486 --- Comment #18 from kargl at gcc dot gnu.org --- Created attachment 49015 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=49015=edit Bring get_environment_variable almost to F2018 conformance * check.c (gfc_check_get_environment_varia

[Bug fortran/96486] get_environment_variable fails for zero-length values

2020-08-05 Thread kargl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96486 --- Comment #11 from kargl at gcc dot gnu.org --- (In reply to Susi Lehtola from comment #10) > Compiled with -g, rerun gives > > $ ./a.out > Fortran runtime error: Zero-length string passed as value to > get_environment_varia

[Bug fortran/96486] get_environment_variable fails for zero-length values

2020-08-05 Thread kargl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96486 --- Comment #9 from kargl at gcc dot gnu.org --- (In reply to kargl from comment #5) > (In reply to Susi Lehtola from comment #4) > > $ export HOSTNAME=foo > > $ ./a.out > > $ > > > > $ export HOSTNAME= > &g

[Bug fortran/96486] get_environment_variable fails for zero-length values

2020-08-05 Thread kargl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96486 --- Comment #7 from kargl at gcc dot gnu.org --- (In reply to kargl from comment #6) > I do note there are other problems with get_environment_variable. > > 1) Neither length nor status can be integer(1). gfortran should issue >

[Bug fortran/96486] get_environment_variable fails for zero-length values

2020-08-05 Thread kargl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96486 --- Comment #6 from kargl at gcc dot gnu.org --- I do note there are other problems with get_environment_variable. 1) Neither length nor status can be integer(1). gfortran should issue an error. 2) Fortran 2018 has added an optional errmsg

[Bug fortran/96486] get_environment_variable fails for zero-length values

2020-08-05 Thread kargl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96486 kargl at gcc dot gnu.org changed: What|Removed |Added Priority|P3 |P4 Status|WAITING

[Bug fortran/96486] get_environment_variable fails for zero-length values

2020-08-05 Thread kargl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96486 kargl at gcc dot gnu.org changed: What|Removed |Added CC||kargl at gcc dot gnu.org

[Bug fortran/96436] -std=f2003 -pedantic rejects valid f0.d edit descriptor

2020-08-03 Thread kargl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96436 kargl at gcc dot gnu.org changed: What|Removed |Added Status|UNCONFIRMED |NEW Priority|P3

[Bug fortran/96325] Unclassifiable statement with syntax similar to a type-bound procedure call is accepted

2020-07-28 Thread kargl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96325 --- Comment #10 from kargl at gcc dot gnu.org --- (In reply to jvdelisle from comment #9) > I regression tested the patch in comment 8 and see these failures. > > FAIL: gfortran.dg/pr93423.f90 -O (test for excess errors) > FAIL:

[Bug fortran/96325] Unclassifiable statement with syntax similar to a type-bound procedure call is accepted

2020-07-28 Thread kargl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96325 kargl at gcc dot gnu.org changed: What|Removed |Added Priority|P3 |P4 --- Comment #8 from kargl

[Bug fortran/96325] Unclassifiable statement with syntax similar to a type-bound procedure call is accepted

2020-07-28 Thread kargl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96325 --- Comment #6 from kargl at gcc dot gnu.org --- This is a nasty bug, and I've run out of ideas on how to find a fix. :( Simplified testcase implicit none type t2 integer r1 end type type(t2) :: t integer :: a a = t

[Bug fortran/96325] Unclassifiable statement with syntax similar to a type-bound procedure call is accepted

2020-07-26 Thread kargl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96325 kargl at gcc dot gnu.org changed: What|Removed |Added Last reconfirmed||2020-07-27 Ever confirmed

[Bug fortran/96325] Invalid call of a type-bound procedure is accepted

2020-07-26 Thread kargl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96325 kargl at gcc dot gnu.org changed: What|Removed |Added CC||kargl at gcc dot gnu.org

[Bug fortran/96320] gfortran 8-10 shape mismatch in assumed-length dummy argument character array

2020-07-26 Thread kargl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96320 kargl at gcc dot gnu.org changed: What|Removed |Added Status|WAITING |NEW Priority|P3

[Bug fortran/96320] gfortran 8-10 shape mismatch in assumed-length dummy argument character array

2020-07-26 Thread kargl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96320 kargl at gcc dot gnu.org changed: What|Removed |Added CC||kargl at gcc dot gnu.org

[Bug fortran/77504] [8/9/10/11 Regression] "is used uninitialized" with allocatable string and array constructors

2020-07-24 Thread kargl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77504 --- Comment #22 from kargl at gcc dot gnu.org --- (In reply to kargl from comment #20) > (In reply to Tiziano Müller from comment #19) > > > > > *** snip: modb.f90 *** > > module modb > > use moda, only:

[Bug fortran/77504] [8/9/10/11 Regression] "is used uninitialized" with allocatable string and array constructors

2020-07-24 Thread kargl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77504 kargl at gcc dot gnu.org changed: What|Removed |Added CC||kargl at gcc dot gnu.org

[Bug fortran/96024] [9/10/11 Regression] ICE in mio_name_expr_t, at fortran/module.c:2159

2020-07-24 Thread kargl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96024 --- Comment #6 from kargl at gcc dot gnu.org --- (In reply to Thomas Koenig from comment #5) > (In reply to kargl from comment #2) > > The patch in PR 95025 fixes this issue. > > PR 96025, I assume. Yes.

[Bug fortran/96255] [F2018] Implement optional type spec for index in DO CONCURRENT

2020-07-22 Thread kargl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96255 --- Comment #8 from kargl at gcc dot gnu.org --- New patch. This adds a bool component to gfc_forall_iterator so that an iterator with an index-name that shadows a variable from outer scope can be marked. Shadowing only occurs when a type-spec

[Bug fortran/96255] [F2018] Implement optional type spec for index in DO CONCURRENT

2020-07-22 Thread kargl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96255 --- Comment #7 from kargl at gcc dot gnu.org --- (In reply to Steve Kargl from comment #6) > On Tue, Jul 21, 2020 at 07:44:16PM +, jvdelisle at charter dot net wrote: > > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96255 > >

[Bug fortran/88080] Add warning if IMPLICIT NONE is missing

2020-07-21 Thread kargl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88080 kargl at gcc dot gnu.org changed: What|Removed |Added CC||kargl at gcc dot gnu.org

[Bug fortran/96255] [F2018] Implement optional type spec for index in DO CONCURRENT

2020-07-20 Thread kargl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96255 --- Comment #3 from kargl at gcc dot gnu.org --- (In reply to kargl from comment #2) > This issue depends on the fix for FORALL. In gfc_match_do in the concurrent > section, one gets to > > m = match_forall_header (, ); &

[Bug fortran/96255] [F2018] Implement optional type spec for index in DO CONCURRENT

2020-07-20 Thread kargl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96255 kargl at gcc dot gnu.org changed: What|Removed |Added Depends on||78219 Priority|P3

[Bug fortran/96255] [F2018] Implement optional type spec for index in DO CONCURRENT

2020-07-20 Thread kargl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96255 kargl at gcc dot gnu.org changed: What|Removed |Added CC||kargl at gcc dot gnu.org

[Bug fortran/92643] ISO_Fortran_binding_15.f90 failure on i586-*-freebsd

2020-07-20 Thread kargl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92643 --- Comment #13 from kargl at gcc dot gnu.org --- (In reply to jvdelisle from comment #12) > (In reply to kargl from comment #11) > > (In reply to Dominique d'Humieres from comment #10) > > > > As of svn reversion r280157, t

[Bug fortran/92643] ISO_Fortran_binding_15.f90 failure on i586-*-freebsd

2020-07-20 Thread kargl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92643 --- Comment #11 from kargl at gcc dot gnu.org --- (In reply to Dominique d'Humieres from comment #10) > > As of svn reversion r280157, the issue is not fixed. > > Do you know the git equivalent? No. I don't use git. r280157 is

[Bug fortran/92643] ISO_Fortran_binding_15.f90 failure on i586-*-freebsd

2020-07-20 Thread kargl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92643 kargl at gcc dot gnu.org changed: What|Removed |Added Status|WAITING |NEW --- Comment #9 from kargl

[Bug fortran/85796] ICE: Floating point exception

2020-07-18 Thread kargl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85796 --- Comment #5 from kargl at gcc dot gnu.org --- (In reply to Steve Kargl from comment #4) > On Sat, Jul 18, 2020 at 08:13:31PM +, jvdelisle at charter dot net wrote: > > > > --- Comment #3 from jvdelisle at

[Bug fortran/85796] ICE: Floating point exception

2020-07-18 Thread kargl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85796 kargl at gcc dot gnu.org changed: What|Removed |Added CC||kargl at gcc dot gnu.org

[Bug fortran/96158] Symbols not emitted for module common variables

2020-07-10 Thread kargl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96158 kargl at gcc dot gnu.org changed: What|Removed |Added CC||kargl at gcc dot gnu.org

[Bug libfortran/95293] Fortran not passing array by reference

2020-07-08 Thread kargl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95293 --- Comment #9 from kargl at gcc dot gnu.org --- (In reply to Dominique d'Humieres from comment #8) > Isn't it an aliasing problem? No. It is not an aliasing problem. It is an invalid program giving a result that the programmer does not exp

[Bug fortran/96102] ICE in check_host_association, at fortran/resolve.c:5994

2020-07-07 Thread kargl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96102 kargl at gcc dot gnu.org changed: What|Removed |Added CC||kargl at gcc dot gnu.org

[Bug fortran/96038] Confirming implicitly type parameter causes an invalid error

2020-07-02 Thread kargl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96038 kargl at gcc dot gnu.org changed: What|Removed |Added Priority|P3 |P4 Status

[Bug fortran/96038] New: Confirming implicitly type parameter causes an invalid error

2020-07-02 Thread kargl at gcc dot gnu.org
Priority: P3 Component: fortran Assignee: unassigned at gcc dot gnu.org Reporter: kargl at gcc dot gnu.org Target Milestone: --- Consider the following fixed-form source code: function ifoo() parameter (n = 50) integer n ifoo = n end

[Bug fortran/52279] Fortran translation issues

2020-07-02 Thread kargl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=52279 --- Comment #6 from kargl at gcc dot gnu.org --- (In reply to markeggleston from comment #5) > (In reply to markeggleston from comment #4) > > Regarding comment 2. > > > > Using -fallow-invalid-boz results in an ICE.

[Bug fortran/96033] error: The Fortran compiler gfortran will not compile files that call the same routine with arguments of different types.

2020-07-02 Thread kargl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96033 kargl at gcc dot gnu.org changed: What|Removed |Added CC||kargl at gcc dot gnu.org

[Bug fortran/52279] Fortran translation issues

2020-07-01 Thread kargl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=52279 kargl at gcc dot gnu.org changed: What|Removed |Added CC||kargl at gcc dot gnu.org

[Bug fortran/96024] [9/10/11 Regression] ICE in mio_name_expr_t, at fortran/module.c:2159

2020-07-01 Thread kargl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96024 kargl at gcc dot gnu.org changed: What|Removed |Added Priority|P3 |P4

<    1   2   3   4   5   6   7   8   9   10   >