[Bug fortran/99345] [11 Regression] ICE in doloop_contained_procedure_code, at fortran/frontend-passes.c:2464 since r11-2578-g27eac9ee6137a6b5

2021-03-14 Thread tkoenig at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99345 Thomas Koenig changed: What|Removed |Added Status|NEW |ASSIGNED Assignee|unassigned a

[Bug fortran/99345] [11 Regression] ICE in doloop_contained_procedure_code, at fortran/frontend-passes.c:2464 since r11-2578-g27eac9ee6137a6b5

2021-03-15 Thread tkoenig at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99345 Thomas Koenig changed: What|Removed |Added Resolution|--- |FIXED Status|ASSIGNED

[Bug web/99598] New: Commits are not transferred to bugzilla

2021-03-15 Thread tkoenig at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99598 Bug ID: 99598 Summary: Commits are not transferred to bugzilla Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal Priority: P3 Component: web

[Bug target/100045] New: Precomputing division

2021-04-12 Thread tkoenig at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100045 Bug ID: 100045 Summary: Precomputing division Product: gcc Version: unknown Status: UNCONFIRMED Severity: enhancement Priority: P3 Component: target A

[Bug fortran/94978] [8/9/10/11 Regression] Bogus warning "Array reference at (1) out of bounds in loop beginning at (2)"

2021-04-16 Thread tkoenig at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94978 Thomas Koenig changed: What|Removed |Added Status|ASSIGNED|NEW Assignee|tkoenig at gcc do

[Bug libfortran/98076] Increase speed of integer I/O

2021-04-16 Thread tkoenig at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98076 Thomas Koenig changed: What|Removed |Added Assignee|tkoenig at gcc dot gnu.org |unassigned at gcc dot gnu.org

[Bug fortran/82215] Feature request to better support two pass compiling with gfortran

2021-04-16 Thread tkoenig at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82215 Thomas Koenig changed: What|Removed |Added Assignee|tkoenig at gcc dot gnu.org |unassigned at gcc dot gnu.org

[Bug fortran/92913] Add argument-mismatch check for INTERFACE for non-module procedures in the same file

2021-04-16 Thread tkoenig at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92913 Thomas Koenig changed: What|Removed |Added Assignee|tkoenig at gcc dot gnu.org |unassigned at gcc dot gnu.org

[Bug fortran/97345] FE passes do_subscript leaks gmp memory

2021-04-16 Thread tkoenig at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97345 Thomas Koenig changed: What|Removed |Added Status|ASSIGNED|NEW Assignee|tkoenig at gcc do

[Bug fortran/93114] Use span passing components of derived types

2021-04-16 Thread tkoenig at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93114 Thomas Koenig changed: What|Removed |Added Status|ASSIGNED|NEW Assignee|tkoenig at gcc do

[Bug fortran/96216] Gap in interface checking

2021-04-16 Thread tkoenig at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96216 Thomas Koenig changed: What|Removed |Added Assignee|tkoenig at gcc dot gnu.org |unassigned at gcc dot gnu.org

[Bug fortran/30609] Calculating masks twice

2021-04-16 Thread tkoenig at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=30609 Thomas Koenig changed: What|Removed |Added Assignee|tkoenig at gcc dot gnu.org |unassigned at gcc dot gnu.org

[Bug fortran/97454] Decls for Fortran library procedures

2021-04-16 Thread tkoenig at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97454 Thomas Koenig changed: What|Removed |Added Status|ASSIGNED|NEW Assignee|tkoenig at gcc do

[Bug fortran/83927] Type-Bound Procedure on element of Derived Type PARAMETER Array

2021-04-16 Thread tkoenig at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83927 Thomas Koenig changed: What|Removed |Added Assignee|tkoenig at gcc dot gnu.org |unassigned at gcc dot gnu.org

[Bug fortran/67202] Fortran FE should load scalar pass-by-reference intent-in arguments at the beginning of a function

2021-04-16 Thread tkoenig at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67202 Thomas Koenig changed: What|Removed |Added Status|ASSIGNED|NEW Assignee|tkoenig at gcc do

[Bug fortran/90536] Spurious (?) warning when using -Wconversion with -fno-range-check

2021-04-16 Thread tkoenig at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90536 Thomas Koenig changed: What|Removed |Added Assignee|tkoenig at gcc dot gnu.org |unassigned at gcc dot gnu.org

[Bug fortran/93956] Wrong array creation with p => array_dt(1:n)%component

2021-04-16 Thread tkoenig at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93956 Thomas Koenig changed: What|Removed |Added Assignee|tkoenig at gcc dot gnu.org |unassigned at gcc dot gnu.org

[Bug libfortran/95101] Optimize libgfortran library handling of arrays

2021-04-16 Thread tkoenig at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95101 Thomas Koenig changed: What|Removed |Added Status|ASSIGNED|NEW Assignee|tkoenig at gcc do

[Bug fortran/40976] Merge DECL of procedure call with DECL of gfc_get_function_type

2021-04-16 Thread tkoenig at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=40976 Thomas Koenig changed: What|Removed |Added Assignee|tkoenig at gcc dot gnu.org |unassigned at gcc dot gnu.org

[Bug fortran/68289] Missing diagnostic pragmas

2021-04-16 Thread tkoenig at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68289 Thomas Koenig changed: What|Removed |Added Assignee|tkoenig at gcc dot gnu.org |unassigned at gcc dot gnu.org

[Bug fortran/92422] [9 Regression] Warning with character and optimisation flags

2020-10-14 Thread tkoenig at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92422 Thomas Koenig changed: What|Removed |Added Resolution|--- |FIXED Status|WAITING

[Bug fortran/97454] New: Decls for Fortran library procedures

2020-10-16 Thread tkoenig at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97454 Bug ID: 97454 Summary: Decls for Fortran library procedures Product: gcc Version: 11.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: fortran

[Bug fortran/97454] Decls for Fortran library procedures

2020-10-16 Thread tkoenig at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97454 Thomas Koenig changed: What|Removed |Added Status|UNCONFIRMED |ASSIGNED See Also|

[Bug rtl-optimization/97459] New: __uint128_t remainder for division by 3

2020-10-16 Thread tkoenig at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97459 Bug ID: 97459 Summary: __uint128_t remainder for division by 3 Product: gcc Version: 11.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: rtl-optimi

[Bug rtl-optimization/97459] __uint128_t remainder for division by 3

2020-10-17 Thread tkoenig at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97459 --- Comment #4 from Thomas Koenig --- Here's a complete program for benchmarks on x86_64, using Jakub's functions (so they are indeed correct): #include #include #include #include #include #include unsigned r3_128u_v2 (__uint128_t n) {

[Bug rtl-optimization/97459] __uint128_t remainder for division by 3

2020-10-18 Thread tkoenig at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97459 --- Comment #5 from Thomas Koenig --- OK, so here is a benchmark with its function names corrected. It also includes one version (_v5) which is a bit faster. (Note I increased the number of iterations to get more accuracy out of the cycle count,

[Bug fortran/95119] [9/10 Regression] CLOSE hangs when -fopenmp is specified in compilation

2020-10-18 Thread tkoenig at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95119 --- Comment #13 from Thomas Koenig --- (In reply to Bill Long from comment #12) > Original submitter asking which GCC version(s) have / will have the fix. 10.2 already has been released with the fix. 9.4 and 11.1 will have it in when they are re

[Bug libfortran/95104] [9/10 Regression] Segfault on a legal WAIT statement

2020-10-18 Thread tkoenig at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95104 Thomas Koenig changed: What|Removed |Added CC||tkoenig at gcc dot gnu.org --- Comment #

[Bug fortran/95037] gfortran fails to compile a simple subroutine, issues an opaque message

2020-10-18 Thread tkoenig at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95037 --- Comment #5 from Thomas Koenig --- Fixed in 10.2, 9.4 and 11.1 will have it.

[Bug fortran/97491] New: Wrong restriction for VALUE arguments of pure procedures

2020-10-19 Thread tkoenig at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97491 Bug ID: 97491 Summary: Wrong restriction for VALUE arguments of pure procedures Product: gcc Version: 11.0 Status: UNCONFIRMED Severity: normal Priori

[Bug rtl-optimization/97459] __uint128_t remainder for division by 3

2020-10-20 Thread tkoenig at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97459 --- Comment #9 from Thomas Koenig --- (In reply to Jakub Jelinek from comment #7) > So, can we use this for anything but modulo 3, or 5, or 17, or 257 (all of > those have 2^32 mod N == 2^64 mod N == 2^128 mod N == 1) I think so, too. > probabl

[Bug bootstrap/97527] New: OpenBSD bootstrap fails with error: C++ preprocessor "/lib/cpp" fails sanity check

2020-10-21 Thread tkoenig at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97527 Bug ID: 97527 Summary: OpenBSD bootstrap fails with error: C++ preprocessor "/lib/cpp" fails sanity check Product: gcc Version: unknown Status: UNCONFIRMED Seve

[Bug bootstrap/97527] OpenBSD bootstrap fails with error: C++ preprocessor "/lib/cpp" fails sanity check

2020-10-21 Thread tkoenig at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97527 --- Comment #1 from Thomas Koenig --- Created attachment 49419 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=49419&action=edit Preprocessed source of gimple-match.ii (compressed)

[Bug bootstrap/97527] OpenBSD bootstrap fails with error: C++ preprocessor "/lib/cpp" fails sanity check

2020-10-21 Thread tkoenig at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97527 --- Comment #2 from Thomas Koenig --- Created attachment 49420 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=49420&action=edit Resulting assember file (which is incomplete)

[Bug bootstrap/97527] OpenBSD bootstrap fails with error: C++ preprocessor "/lib/cpp" fails sanity check

2020-10-21 Thread tkoenig at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97527 --- Comment #3 from Thomas Koenig --- Created attachment 49421 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=49421&action=edit config.log from the main build directory

[Bug bootstrap/97527] OpenBSD bootstrap fails with out of memory allocating 8 bytes after a total of 0 bytes

2020-10-21 Thread tkoenig at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97527 Thomas Koenig changed: What|Removed |Added Target||x86_64-unknown-openbsd6.8 --- Comment #4

[Bug bootstrap/97527] OpenBSD bootstrap fails with out of memory allocating 8 bytes after a total of 0 bytes

2020-10-21 Thread tkoenig at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97527 --- Comment #5 from Thomas Koenig --- Created attachment 49422 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=49422&action=edit Generated gimple-match.c All the temporary files were generated by manually adding -save-temps to the Makefile

[Bug bootstrap/97527] OpenBSD bootstrap fails with out of memory allocating 8 bytes after a total of 0 bytes

2020-10-21 Thread tkoenig at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97527 --- Comment #6 from Thomas Koenig --- The machine is gcc220.fsffrance.org ; if anybody has an account there and wants to peek into /home/tkoenig to look into more details, be my guest.

[Bug bootstrap/97527] OpenBSD bootstrap fails with out of memory allocating 8 bytes after a total of 0 bytes

2020-10-22 Thread tkoenig at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97527 --- Comment #8 from Thomas Koenig --- The *.s file generated with -save-temps is attached, but it is truncated for a reason that I do not understand. The binutils is indeed self-compiled from source (because the LLVM linker cannot handle gcc com

[Bug bootstrap/97527] OpenBSD bootstrap fails with out of memory allocating 8 bytes after a total of 0 bytes

2020-10-22 Thread tkoenig at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97527 --- Comment #9 from Thomas Koenig --- Created attachment 49423 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=49423&action=edit config.log from libgomp using binutils compiled with gcc 8.4.0 Using the binutils compiled with gcc 8.4 now lea

[Bug rtl-optimization/97459] __uint128_t remainder for division by 3

2020-10-23 Thread tkoenig at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97459 --- Comment #10 from Thomas Koenig --- There are a couple of more constants for this could be tried. Base 7: static unsigned rem_7_v2 (mytype n) { unsigned long a, b, c, d; a = n & MASK_48; b = (n >> 48) & MASK_48; c = n >> 96; retur

[Bug rtl-optimization/97459] __uint128_t remainder for division by 3

2020-10-24 Thread tkoenig at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97459 --- Comment #11 from Thomas Koenig --- Created attachment 49438 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=49438&action=edit Numbers a, b so that 2^b ≡ 1 mod a up to b=64, larger b taken if several solutions exist Here is the promised

[Bug rtl-optimization/97459] __uint128_t remainder for division by 3

2020-10-24 Thread tkoenig at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97459 --- Comment #12 from Thomas Koenig --- (In reply to Thomas Koenig from comment #11) > Created attachment 49438 [details] > Numbers a, b so that 2^b ≡ 1 mod a up to b=64, larger b taken if several > solutions exist > A quick check that all numbe

[Bug fortran/97530] Segmentation fault compiling coarray program with option -fcoarray=shared (not with -fcoarray={lib,single})

2020-10-24 Thread tkoenig at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97530 Thomas Koenig changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug fortran/97530] Segmentation fault compiling coarray program with option -fcoarray=shared (not with -fcoarray={lib,single})

2020-10-24 Thread tkoenig at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97530 --- Comment #3 from Thomas Koenig --- A little bit more reduced. module types type local_model_state real, allocatable :: ps(:,:) ! Surface pressure end type local_model_state contains function int_mult(ms, ifactor) type(local_mo

[Bug fortran/97530] Segmentation fault compiling coarray program with option -fcoarray=shared (not with -fcoarray={lib,single})

2020-10-25 Thread tkoenig at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97530 Thomas Koenig changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug fortran/88076] Shared Memory implementation for Coarrays

2020-10-25 Thread tkoenig at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88076 Bug 88076 depends on bug 97530, which changed state. Bug 97530 Summary: Segmentation fault compiling coarray program with option -fcoarray=shared (not with -fcoarray={lib,single}) https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97530 Wha

[Bug rtl-optimization/97459] __uint128_t remainder for division by 3

2020-10-25 Thread tkoenig at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97459 Thomas Koenig changed: What|Removed |Added Attachment #49438|divisiontable.dat |divisiontable.txt filename|

[Bug fortran/97589] Segementation fault when allocating coarrays.

2020-10-29 Thread tkoenig at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97589 Thomas Koenig changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug fortran/97589] Segementation fault when allocating coarrays.

2020-10-29 Thread tkoenig at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97589 Thomas Koenig changed: What|Removed |Added Status|RESOLVED|REOPENED Last reconfirmed|

[Bug middle-end/97656] New: Specify that there is no address arithmetic on a pointer

2020-10-31 Thread tkoenig at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97656 Bug ID: 97656 Summary: Specify that there is no address arithmetic on a pointer Product: gcc Version: 11.0 Status: UNCONFIRMED Severity: enhancement P

[Bug bootstrap/96735] --enable-maintainer-mode broken

2020-11-01 Thread tkoenig at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96735 Thomas Koenig changed: What|Removed |Added Resolution|--- |INVALID Status|WAITING

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

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

[Bug rtl-optimization/97738] New: Optimizing division by value & - value for HAKMEM 175

2020-11-06 Thread tkoenig at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97738 Bug ID: 97738 Summary: Optimizing division by value & - value for HAKMEM 175 Product: gcc Version: 11.0 Status: UNCONFIRMED Severity: normal Priority: P3 Compone

[Bug middle-end/97738] Optimizing division by value & - value for HAKMEM 175

2020-11-06 Thread tkoenig at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97738 --- Comment #2 from Thomas Koenig --- Created attachment 49516 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=49516&action=edit Small benchmark Here's a small benchmark for counting all 32-bit numbers with 16 bits set according to the HAKM

[Bug middle-end/97738] Optimizing division by value & - value for HAKMEM 175

2020-11-06 Thread tkoenig at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97738 --- Comment #3 from Thomas Koenig --- Even faster code: ctz = __builtin_ctz (value); lowest_bit = value & - value; left_bits = value + lowest_bit; changed_bits = value ^ left_bits; right_bits = changed_bits >> (ctz + 2); return left_

[Bug middle-end/97738] Optimizing division by value & - value for HAKMEM 175

2020-11-07 Thread tkoenig at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97738 --- Comment #5 from Thomas Koenig --- (In reply to Jakub Jelinek from comment #4) > What about a version that still sets lowest_bit to value & -value; rather > than 1 < ctz? I think this would be ideal, or close to it. > Also, I'm not sure you

[Bug rtl-optimization/97459] __uint128_t remainder for division by 3

2020-11-08 Thread tkoenig at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97459 --- Comment #14 from Thomas Koenig --- Created attachment 49520 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=49520&action=edit Numbers a, b so that 2^b ≡ 1 mod a up to b=64, larger b taken if several solutions exist, plus the multiplicat

[Bug fortran/97589] Segementation fault when allocating coarrays.

2020-11-08 Thread tkoenig at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97589 --- Comment #3 from Thomas Koenig --- Simplified test case: program main type foo real, allocatable, dimension(:) :: a[:] end type foo type (foo) :: x sync all allocate (x%a(10)[*]) end program main

[Bug rtl-optimization/97459] __uint128_t remainder for division by 3

2020-11-08 Thread tkoenig at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97459 --- Comment #16 from Thomas Koenig --- (In reply to Jakub Jelinek from comment #15) > I plan to work on this early in stage3. > And we really shouldn't use any tables, GCC should figure it all out. > So, for double-word modulo by constant that wo

[Bug rtl-optimization/97459] __uint128_t remainder for division by 3

2020-11-08 Thread tkoenig at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97459 --- Comment #17 from Thomas Koenig --- To be compilable, my previous code lacks typedef __uint128_t mytype; > #define ONE ((__uint128_t) 1)

[Bug rtl-optimization/97756] New: Inefficient handling of 128-bit arguments

2020-11-08 Thread tkoenig at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97756 Bug ID: 97756 Summary: Inefficient handling of 128-bit arguments Product: gcc Version: 11.0 Status: UNCONFIRMED Severity: enhancement Priority: P3 Component: rtl

[Bug libstdc++/97759] Could std::has_single_bit be faster?

2020-11-08 Thread tkoenig at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97759 Thomas Koenig changed: What|Removed |Added Keywords||missed-optimization Severity|n

[Bug rtl-optimization/97756] Inefficient handling of 128-bit arguments

2020-11-08 Thread tkoenig at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97756 --- Comment #1 from Thomas Koenig --- Actually, it was on a Ryzen 1700 (for the -march=native). I'm at odds with architecture names...

[Bug fortran/97589] Segementation fault when allocating coarrays.

2020-11-09 Thread tkoenig at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97589 --- Comment #4 from Thomas Koenig --- (In reply to Thomas Koenig from comment #3) > Simplified test case: > > program main > type foo > real, allocatable, dimension(:) :: a[:] > end type foo > type (foo) :: x > sync all > allocate

[Bug fortran/97589] Segementation fault when allocating coarrays.

2020-11-09 Thread tkoenig at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97589 Thomas Koenig changed: What|Removed |Added Status|REOPENED|NEW --- Comment #5 from Thomas Koenig -

[Bug fortran/97589] Segementation fault when allocating coarrays.

2020-11-09 Thread tkoenig at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97589 Thomas Koenig changed: What|Removed |Added Status|NEW |WAITING --- Comment #6 from Thomas Koeni

[Bug fortran/97589] Segementation fault when allocating coarrays.

2020-11-10 Thread tkoenig at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97589 Thomas Koenig changed: What|Removed |Added Status|WAITING |RESOLVED Resolution|---

[Bug target/97770] [ICELAKE]Missing vectorization for vpopcnt

2020-11-10 Thread tkoenig at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97770 Thomas Koenig changed: What|Removed |Added CC||tkoenig at gcc dot gnu.org --- Comment #

[Bug tree-optimization/21046] move memory allocation out of a loop

2020-11-11 Thread tkoenig at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=21046 Thomas Koenig changed: What|Removed |Added Last reconfirmed|2014-12-25 00:00:00 |2020-11-11 --- Comment #6 from Thomas Ko

[Bug tree-optimization/30398] memmove for string operations

2020-11-11 Thread tkoenig at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=30398 Thomas Koenig changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug tree-optimization/38592] Optimize memmove / memcmp combination

2020-11-11 Thread tkoenig at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=38592 Thomas Koenig changed: What|Removed |Added Last reconfirmed|2017-08-15 00:00:00 |2020-11-11 --- Comment #10 from Thomas K

[Bug fortran/97799] Passing CHARACTER*(*) var(*) through ENTRY causes segfaults

2020-11-11 Thread tkoenig at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97799 Thomas Koenig changed: What|Removed |Added CC||tkoenig at gcc dot gnu.org --- Comment #

[Bug fortran/97799] Passing CHARACTER*(*) var(*) through ENTRY causes segfaults

2020-11-11 Thread tkoenig at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97799 --- Comment #9 from Thomas Koenig --- (In reply to Thomas Koenig from comment #8) > Comment on attachment 49548 [details] > bugtest.f -- program evincing bug > > So, commit the test case to guard against regressions > (since it is not immediatel

[Bug fortran/97799] Passing CHARACTER*(*) var(*) through ENTRY causes segfaults

2020-11-12 Thread tkoenig at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97799 Thomas Koenig changed: What|Removed |Added Resolution|--- |FIXED Status|WAITING

[Bug fortran/97799] [10/11 Regression] Passing CHARACTER*(*) var(*) through ENTRY causes segfaults

2020-11-13 Thread tkoenig at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97799 Thomas Koenig changed: What|Removed |Added Target Milestone|--- |10.3 Summary|Passing CHARACTE

[Bug fortran/97589] Segementation fault when allocating coarrays.

2020-11-15 Thread tkoenig at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97589 Thomas Koenig changed: What|Removed |Added Status|REOPENED|WAITING --- Comment #10 from Thomas Koen

[Bug fortran/97589] Segementation fault when allocating coarrays.

2020-11-16 Thread tkoenig at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97589 Thomas Koenig changed: What|Removed |Added Status|WAITING |NEW --- Comment #12 from Thomas Koenig

[Bug fortran/97589] Segementation fault when allocating coarrays.

2020-11-16 Thread tkoenig at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97589 --- Comment #13 from Thomas Koenig --- (In reply to Thomas Koenig from comment #12) > Reduced test case: > > program main > type global_model_state > real, allocatable :: ps(:) [:] > end type global_model_state > type (global_model_s

[Bug fortran/97589] Segementation fault when allocating coarrays.

2020-11-16 Thread tkoenig at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97589 --- Comment #14 from Thomas Koenig --- (In reply to Thomas Koenig from comment #13) > (In reply to Thomas Koenig from comment #12) > > Reduced test case: > > > > program main > > type global_model_state > > real, allocatable :: ps(:) [:]

[Bug fortran/97589] Segementation fault when allocating coarrays.

2020-11-16 Thread tkoenig at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97589 --- Comment #16 from Thomas Koenig --- program random_weather implicit none type global_model_state real, allocatable :: ps(:,:) [:,:] end type global_model_state integer :: nxslab, nyslab type(global_model_state) :: ms_full in

[Bug fortran/97589] Segementation fault when allocating coarrays.

2020-11-16 Thread tkoenig at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97589 --- Comment #15 from Thomas Koenig --- Next reduced test-case:

[Bug fortran/97589] Segementation fault when allocating coarrays.

2020-11-17 Thread tkoenig at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97589 --- Comment #17 from Thomas Koenig --- A bit more reduced (no derived types necessary): program random_weather implicit none real, allocatable :: ps(:,:) [:,:] integer :: nxslab, nyslab integer :: npx integer :: i, j real, paramete

[Bug fortran/97589] Segementation fault when allocating coarrays.

2020-11-22 Thread tkoenig at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97589 Thomas Koenig changed: What|Removed |Added Status|NEW |WAITING --- Comment #18 from Thomas Koen

[Bug fortran/97589] Segementation fault when allocating coarrays.

2020-11-22 Thread tkoenig at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97589 Thomas Koenig changed: What|Removed |Added Status|WAITING |NEW --- Comment #21 from Thomas Koenig

[Bug fortran/98016] Host association problem

2020-11-26 Thread tkoenig at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98016 Thomas Koenig changed: What|Removed |Added Last reconfirmed||2020-11-26 Ever confirmed|0

[Bug fortran/97589] Segementation fault when allocating coarrays.

2020-11-26 Thread tkoenig at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97589 --- Comment #22 from Thomas Koenig --- Hi Toon, it took some time, but we finally figured out that it is actually a bug in your program that is causing problems. It has (shortened) nxglobal = 72; This sets the coarray nxglobal to 72 on every

[Bug fortran/97589] Segementation fault when allocating coarrays.

2020-11-28 Thread tkoenig at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97589 --- Comment #26 from Thomas Koenig --- After 00c2e5d1c15c67fc2c9d9ed86bfa1f5aa13848cc , the segfault for too many images is now also fixed, and your program runs as expected. I'd say an important milestone has been reached :-)

[Bug testsuite/26183] setting environment variables in test cases

2020-11-29 Thread tkoenig at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=26183 Thomas Koenig changed: What|Removed |Added Resolution|--- |FIXED Status|NEW

[Bug fortran/98053] New: Add Fortran tests for behavior from environment variables

2020-11-29 Thread tkoenig at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98053 Bug ID: 98053 Summary: Add Fortran tests for behavior from environment variables Product: gcc Version: 11.0 Status: UNCONFIRMED Severity: enhancement

[Bug libfortran/98076] New: Increase speed of integer I/O

2020-11-30 Thread tkoenig at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98076 Bug ID: 98076 Summary: Increase speed of integer I/O Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal Priority: P3 Component: libfortran

[Bug libfortran/98076] Increase speed of integer I/O

2020-11-30 Thread tkoenig at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98076 Thomas Koenig changed: What|Removed |Added Version|unknown |11.0 Ever confirmed|0

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

2020-12-02 Thread tkoenig at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95293 --- Comment #11 from Thomas Koenig --- (In reply to Dominique d'Humieres from comment #10) > Could this PR be closed as INVALID? Yes, I think so.

[Bug rtl-optimization/97459] __uint128_t remainder for division by 3

2020-12-03 Thread tkoenig at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97459 --- Comment #26 from Thomas Koenig --- Yep, it's implemented and works great. For a simple "sum of digits" program in base ten, it's an acceleration by more than a factor of two. Thanks!

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

2020-12-03 Thread tkoenig at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98129 Bug ID: 98129 Summary: Failure on reading big chunk of /dev/urandom Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal Priority: P3 Component: li

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

2020-12-04 Thread tkoenig at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98129 --- Comment #2 from Thomas Koenig --- The problem seems to be related to an early return from the read system call: strace -e trace=open,read,close ./a.out read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\0\v\2\0\0\0\0\0"..., 832) = 832 c

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

2020-12-04 Thread tkoenig at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98129 --- Comment #3 from Thomas Koenig --- The problem seems to be that we assume that a short read is always an EOF, in read_block_direct: if (unlikely ((ssize_t) nbytes != have_read_record)) { /* Short read, e.g. if we hit

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

2020-12-04 Thread tkoenig at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98129 Thomas Koenig changed: What|Removed |Added Target||x86_64-pc-linux-gnu --- Comment #5 from

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

2020-12-04 Thread tkoenig at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98129 --- Comment #10 from Thomas Koenig --- (In reply to anlauf from comment #9) > The patch seems to regtest ok, but certainly needs some wider testing. Actually, I think the bug is in io/unix.c:raw_read. That should take care of repeating the reads

[Bug testsuite/98156] New: [Coarray] alloc_comp_1.f90 tests for wrong condition

2020-12-05 Thread tkoenig at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98156 Bug ID: 98156 Summary: [Coarray] alloc_comp_1.f90 tests for wrong condition Product: gcc Version: 11.0 Status: UNCONFIRMED Severity: normal Priority: P3 Componen

  1   2   3   4   5   6   >