[Bug fortran/71961] [7 Regression] 178.galgel in SPEC CPU 2000 is miscompiled

2016-08-07 Thread tkoenig at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71961 --- Comment #18 from Thomas Koenig --- Author: tkoenig Date: Sun Aug 7 15:25:56 2016 New Revision: 239221 URL: https://gcc.gnu.org/viewcvs?rev=239221&root=gcc&view=rev Log: 2016-08-07 Thomas Koenig PR fortran/71961 * gfortra

[Bug fortran/70040] [6 Regression] ICE in gimplify.c with deferred-length strings

2016-08-07 Thread tkoenig at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70040 Thomas Koenig changed: What|Removed |Added Summary|[6/7 Regression] ICE in |[6 Regression] ICE in

[Bug fortran/70040] [6 Regression] ICE in gimplify.c with deferred-length strings

2016-08-07 Thread tkoenig at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70040 --- Comment #9 from Thomas Koenig --- Author: tkoenig Date: Sun Aug 7 15:40:34 2016 New Revision: 239222 URL: https://gcc.gnu.org/viewcvs?rev=239222&root=gcc&view=rev Log: 2016-08-07 Thomas Koenig PR fortran/70040 Corrected

[Bug fortran/70040] [6 Regression] ICE in gimplify.c with deferred-length strings

2016-08-07 Thread tkoenig at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70040 --- Comment #11 from Thomas Koenig --- Author: tkoenig Date: Sun Aug 7 15:56:25 2016 New Revision: 239223 URL: https://gcc.gnu.org/viewcvs?rev=239223&root=gcc&view=rev Log: 2016-08-07 Thomas Koenig PR fortran/70040 Backport

[Bug fortran/70040] [5 Regression] ICE in gimplify.c with deferred-length strings

2016-08-07 Thread tkoenig at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70040 Thomas Koenig changed: What|Removed |Added Summary|[6 Regression] ICE in |[5 Regression] ICE in

[Bug fortran/65677] Incomplete assignment on deferred-length character variable

2016-08-07 Thread tkoenig at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65677 Thomas Koenig changed: What|Removed |Added CC||tkoenig at gcc dot gnu.org --- Comment

[Bug fortran/71795] [5/6/7 Regression] Two Bugs in array constructors (optimization)

2016-08-07 Thread tkoenig at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71795 --- Comment #10 from Thomas Koenig --- Author: tkoenig Date: Sun Aug 7 17:01:39 2016 New Revision: 239224 URL: https://gcc.gnu.org/viewcvs?rev=239224&root=gcc&view=rev Log: 2016-08-07 Thomas Koenig PR fortran/71795 Backport

[Bug fortran/71795] [5 Regression] Two Bugs in array constructors (optimization)

2016-08-07 Thread tkoenig at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71795 Thomas Koenig changed: What|Removed |Added Summary|[5/6/7 Regression] Two Bugs |[5 Regression] Two Bugs in

[Bug fortran/65677] Incomplete assignment on deferred-length character variable

2016-08-07 Thread tkoenig at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65677 --- Comment #3 from Thomas Koenig --- ig25@linux-fd1f:~/Krempel/Ass> cat a.f90 program main character(:), allocatable :: text text = 'asdf' text = adjustl(text(2:)) print *,text end program main ig25@linux-fd1f:~/Krempel/Ass> gfortran a.

[Bug fortran/70040] [5 Regression] ICE in gimplify.c with deferred-length strings

2016-08-07 Thread tkoenig at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70040 --- Comment #14 from Thomas Koenig --- Author: tkoenig Date: Mon Aug 8 06:29:16 2016 New Revision: 239229 URL: https://gcc.gnu.org/viewcvs?rev=239229&root=gcc&view=rev Log: 2016-08-08 Thomas Koenig PR fortran/70040 Backport

[Bug fortran/68241] [meta-bug] Deferred-length character

2016-08-07 Thread tkoenig at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68241 Bug 68241 depends on bug 70040, which changed state. Bug 70040 Summary: [5 Regression] ICE in gimplify.c with deferred-length strings https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70040 What|Removed |Added --

[Bug fortran/70040] [5 Regression] ICE in gimplify.c with deferred-length strings

2016-08-07 Thread tkoenig at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70040 Thomas Koenig changed: What|Removed |Added Status|WAITING |RESOLVED Resolution|---

[Bug fortran/60526] [5 Regression] Accepts-invalid: Variable name same as type name

2016-08-08 Thread tkoenig at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=60526 --- Comment #17 from Thomas Koenig --- Author: tkoenig Date: Mon Aug 8 22:00:37 2016 New Revision: 239259 URL: https://gcc.gnu.org/viewcvs?rev=239259&root=gcc&view=rev Log: 2016-08-08 Thomas Koenig Backport from trunk PR for

[Bug fortran/60526] [5 Regression] Accepts-invalid: Variable name same as type name

2016-08-08 Thread tkoenig at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=60526 Thomas Koenig changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug fortran/69742] [5 Regression] ICE with -O3 and ASSOCIATE containing repeated expression

2016-08-08 Thread tkoenig at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69742 --- Comment #9 from Thomas Koenig --- Author: tkoenig Date: Tue Aug 9 06:28:57 2016 New Revision: 239271 URL: https://gcc.gnu.org/viewcvs?rev=239271&root=gcc&view=rev Log: 2016-08-09 Thomas Koenig Backport from trunk PR fort

[Bug fortran/69742] [5 Regression] ICE with -O3 and ASSOCIATE containing repeated expression

2016-08-08 Thread tkoenig at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69742 Thomas Koenig changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug fortran/71902] [5/6/7 Regression] Unneeded temporary on reallocatable character assignment

2016-08-08 Thread tkoenig at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71902 Thomas Koenig changed: What|Removed |Added Summary|[5/6 Regression] Unneeded |[5/6/7 Regression] Unneeded

[Bug fortran/71795] [5 Regression] Two Bugs in array constructors (optimization)

2016-08-09 Thread tkoenig at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71795 --- Comment #12 from Thomas Koenig --- Author: tkoenig Date: Tue Aug 9 20:33:00 2016 New Revision: 239302 URL: https://gcc.gnu.org/viewcvs?rev=239302&root=gcc&view=rev Log: 2016-08-09 Thomas Koenig Backport from trunk PR for

[Bug fortran/71795] [5 Regression] Two Bugs in array constructors (optimization)

2016-08-09 Thread tkoenig at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71795 Thomas Koenig changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug fortran/65173] ICE while compiling wrong code

2016-08-09 Thread tkoenig at gcc dot gnu.org
||tkoenig at gcc dot gnu.org Resolution|--- |FIXED --- Comment #4 from Thomas Koenig --- All of these ICEs are now gone with r238822.

[Bug fortran/69860] ICE on missing end apostrophe with character(kind=4)

2016-08-09 Thread tkoenig at gcc dot gnu.org
||tkoenig at gcc dot gnu.org Resolution|--- |FIXED --- Comment #4 from Thomas Koenig --- Fixed with r238822.

[Bug fortran/71194] ICE on compilation with fcheck=all ; -fcheck=bounds

2016-08-09 Thread tkoenig at gcc dot gnu.org
||tkoenig at gcc dot gnu.org Resolution|--- |FIXED --- Comment #3 from Thomas Koenig --- (In reply to Tobias Burnus from comment #2) > Author: burnus > Date: Mon Jun 20 18:46:43 2016 > New Revision: 237612 This fixed it, closing.

[Bug fortran/67757] ICE after "ambiguous reference"

2016-08-09 Thread tkoenig at gcc dot gnu.org
||tkoenig at gcc dot gnu.org Resolution|--- |FIXED --- Comment #4 from Thomas Koenig --- This no longer ICEs, probably after r238822 . Closing as fixed.

[Bug fortran/69396] ICE on type mismatch, in update_ppc_arglist, at fortran/resolve.c:5580

2016-08-09 Thread tkoenig at gcc dot gnu.org
||tkoenig at gcc dot gnu.org Resolution|--- |FIXED --- Comment #4 from Thomas Koenig --- The ICE is gone with r238822.

[Bug fortran/58787] ICE (error recovery) in check_proc_interface

2016-08-09 Thread tkoenig at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=58787 --- Comment #4 from Thomas Koenig --- No longer ICEs with r238822.

[Bug fortran/58787] ICE (error recovery) in check_proc_interface

2016-08-09 Thread tkoenig at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=58787 Thomas Koenig changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug fortran/69859] Non-deterministic ICEs on incomplete character declaration statement

2016-08-09 Thread tkoenig at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69859 Thomas Koenig changed: What|Removed |Added CC||tkoenig at gcc dot gnu.org --- Comment

[Bug fortran/48776] ICE(segfault) after -std=f95 diagnostic error involving PROCEDURE

2016-08-09 Thread tkoenig at gcc dot gnu.org
||tkoenig at gcc dot gnu.org --- Comment #4 from Thomas Koenig --- Still many invalid reads using valgrind: Error: Fortran 2003: PROCEDURE statement at (1) ==13422== Invalid read of size 8 ==13422==at 0x6B2540: gfc_sym_get_dummy_args(gfc_symbol*) (symbol.c:4662) ==13422

[Bug fortran/65045] [5 Regression] [F08] ICE when using the same name for a block and a variable

2016-08-09 Thread tkoenig at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65045 Thomas Koenig changed: What|Removed |Added Last reconfirmed|2015-02-13 00:00:00 |2016-8-9 --- Comment #12 from Thomas Koe

[Bug fortran/68147] Potential incorrect code generation for string self-assignment

2016-08-11 Thread tkoenig at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68147 --- Comment #15 from Thomas Koenig --- This is fixed on trunk and 6-branch (so it will be in the next release). 5-branch still to do.

[Bug fortran/68147] Potential incorrect code generation for string self-assignment

2016-08-13 Thread tkoenig at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68147 --- Comment #16 from Thomas Koenig --- Author: tkoenig Date: Sat Aug 13 15:04:04 2016 New Revision: 239445 URL: https://gcc.gnu.org/viewcvs?rev=239445&root=gcc&view=rev Log: 2016-08-13 Thomas Koenig Backport from trunk PR for

[Bug fortran/68147] Potential incorrect code generation for string self-assignment

2016-08-13 Thread tkoenig at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68147 Thomas Koenig changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug fortran/68241] [meta-bug] Deferred-length character

2016-08-13 Thread tkoenig at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68241 Bug 68241 depends on bug 68147, which changed state. Bug 68147 Summary: Potential incorrect code generation for string self-assignment https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68147 What|Removed |Added

[Bug fortran/71902] [5/6/7 Regression] Unneeded temporary on reallocatable character assignment

2016-08-16 Thread tkoenig at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71902 Thomas Koenig changed: What|Removed |Added URL||https://gcc.gnu.org/ml/gcc-

[Bug libfortran/77278] New: Use LTO for libgfortran

2016-08-17 Thread tkoenig at gcc dot gnu.org
Assignee: unassigned at gcc dot gnu.org Reporter: tkoenig at gcc dot gnu.org Target Milestone: --- In order to aid optimization, it could be beneficial to build libgfortran as an lto-enabled library. There could be a big win for functions being called via constant propagation

[Bug fortran/77296] Compiler Error with allocatable string and associate

2016-08-19 Thread tkoenig at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77296 --- Comment #1 from Thomas Koenig --- Also fails with 5.4.0.

[Bug libfortran/77278] Use LTO for libgfortran

2016-08-20 Thread tkoenig at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77278 Thomas Koenig changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug libfortran/77278] Use LTO for libgfortran

2016-08-21 Thread tkoenig at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77278 --- Comment #2 from Thomas Koenig --- Here's a test case which shows a performance loss with LTO-enabled libgfortran. program main implicit none integer, parameter :: n=10**7 integer :: i real, dimension(n) :: a real :: t1, t2, t3 ca

[Bug libfortran/77278] Use LTO for libgfortran

2016-08-21 Thread tkoenig at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77278 --- Comment #3 from Thomas Koenig --- Some information about the type mismatch. The first mismatch about gfortran_st_write is lto1: warning: type of '_gfortran_st_write' does not match original declaration [-Wlto-type-mismatch] Breakpoint 1, w

[Bug fortran/77296] Compiler Error with allocatable string and associate

2016-08-21 Thread tkoenig at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77296 Thomas Koenig changed: What|Removed |Added Keywords||ice-on-valid-code, |

[Bug fortran/77351] ICE in remove_trim, at frontend-passes.c:1145

2016-08-25 Thread tkoenig at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77351 --- Comment #3 from Thomas Koenig --- Hi steve, > Thou shalt not derefernce NULL pointers. Correct. The patch is pre-approved (alternatively, it could be considered obvious and simple). Thanks! Regards Thomas

[Bug middle-end/20432] complex reciprocal has too many operations

2016-08-30 Thread tkoenig at gcc dot gnu.org
||tkoenig at gcc dot gnu.org --- Comment #6 from Thomas Koenig --- Still an issue: #include #include int main() { float complex c,d; foo(&c); d=1.0f/c; return creal(d)+cimag(d)<0; } Using -fcx-fortran-rules yields (from the optimized dump)

[Bug tree-optimization/22041] Reverse loop order for increased efficiency

2016-08-30 Thread tkoenig at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=22041 Thomas Koenig changed: What|Removed |Added Last reconfirmed|2013-03-17 12:00:00 |2016-8-30 --- Comment #9 from Thomas Koe

[Bug fortran/49232] Pointer assignment of stride to CONTIGUOUS pointer not diagnosed as invalid

2016-08-31 Thread tkoenig at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=49232 --- Comment #1 from Thomas Koenig --- Straightforward patch: Index: expr.c === --- expr.c (Revision 239218) +++ expr.c (Arbeitskopie) @@ -3764,6 +3764,45 @@ }

[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
at gcc dot gnu.org |tkoenig at gcc dot gnu.org --- Comment #11 from Thomas Koenig --- Harald, thanks for reducing it!

[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
Assignee: unassigned at gcc dot gnu.org Reporter: tkoenig at gcc dot gnu.org Target Milestone: --- See https://gcc.gnu.org/pipermail/gcc-cvs/2021-March/343081.html , which is not distributed to bugzilla and the gcc-bugs mailing list, despite the ChangeLog entry reading

[Bug target/100045] New: Precomputing division

2021-04-12 Thread tkoenig at gcc dot gnu.org via Gcc-bugs
Assignee: unassigned at gcc dot gnu.org Reporter: tkoenig at gcc dot gnu.org Target Milestone: --- Created attachment 50567 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=50567&action=edit Test case We use the method given in "Division by Invariant Integers using Mu

[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

[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

[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

[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

[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

[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

[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
Assignee: unassigned at gcc dot gnu.org Reporter: tkoenig at gcc dot gnu.org Target Milestone: --- Currently, the decls for Fortran library procedures are inconsistent, which causes, among other things, segfaults on Darwin for ARM (PR96168). We should fix them all. For maxval

[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/bugzill ||a/show_bug.cgi?id=96168 Last reconfirmed||2020-10-16 Ever confirmed|0 |1 Assignee|unassigned at gcc dot gnu.org |tkoenig at gcc

[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
-optimization Assignee: unassigned at gcc dot gnu.org Reporter: tkoenig at gcc dot gnu.org Target Milestone: --- The following two functions are equivalent: unsigned r3_128u_v1 (__uint128_t n) { unsigned long a; a = (n >> 64) + (n & 0x); re

[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
Priority: P3 Component: fortran Assignee: unassigned at gcc dot gnu.org Reporter: tkoenig at gcc dot gnu.org Target Milestone: --- $ cat pure.f90 pure function foo(x) result (ret) integer :: ret integer, value :: x x = x / 2 ret = x end function foo $ gfortran

[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
NCONFIRMED Severity: normal Priority: P3 Component: bootstrap Assignee: unassigned at gcc dot gnu.org Reporter: tkoenig at gcc dot gnu.org Target Milestone: --- Created attachment 49418 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=49418&action=edi

[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
Priority: P3 Component: middle-end Assignee: unassigned at gcc dot gnu.org Reporter: tkoenig at gcc dot gnu.org Target Milestone: --- This involves Fortran, but possibly also other languages. Consider $ cat alias.f90 program main interface subroutine foo(a

[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

[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
: P3 Component: rtl-optimization Assignee: unassigned at gcc dot gnu.org Reporter: tkoenig at gcc dot gnu.org Target Milestone: --- A straightforward implementation of HAKMEM 175 (returning the next number with the same number of bits) is unsigned int next_same_bit (unsigned int v

[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_

<    28   29   30   31   32   33   34   35   36   37   >