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

2016-07-19 Thread tkoenig at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71902 --- Comment #2 from Thomas Koenig --- Author: tkoenig Date: Tue Jul 19 21:25:33 2016 New Revision: 238497 URL: https://gcc.gnu.org/viewcvs?rev=238497&root=gcc&view=rev Log: 2016-07-19 Thomas Koenig PR fortran/71902 * dependen

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

2016-07-19 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/7 Regression] Unneeded |[5/6 Regression] Unneeded

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

2016-07-21 Thread tkoenig at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71961 Thomas Koenig changed: What|Removed |Added Status|UNCONFIRMED |WAITING Last reconfirmed|

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

2016-07-22 Thread tkoenig at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71795 --- Comment #8 from Thomas Koenig --- Author: tkoenig Date: Fri Jul 22 10:38:32 2016 New Revision: 238638 URL: https://gcc.gnu.org/viewcvs?rev=238638&root=gcc&view=rev Log: 2016-07-22 Thomas Koenig PR fortran/71795 * frontend

[Bug fortran/71883] [5/6/7 Regression] ICE in identical_array_ref, at fortran/dependency.c:104

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

[Bug fortran/71883] [5/6/7 Regression] ICE in identical_array_ref, at fortran/dependency.c:104

2016-07-22 Thread tkoenig at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71883 --- Comment #7 from Thomas Koenig --- @Paul: Here is a suggestion. Feel free to use / modify / whatever this, I will not be able to submit a patch for the next two weeks or so. Index: frontend-passes.c ==

[Bug fortran/71883] [5/6/7 Regression] ICE in identical_array_ref, at fortran/dependency.c:104

2016-07-22 Thread tkoenig at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71883 --- Comment #10 from Thomas Koenig --- Not quite as radical, but could also help avoid quite a few errors in front-end optimization: ndex: frontend-passes.c === --- frontend-passes.

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

2016-07-23 Thread tkoenig at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71902 --- Comment #5 from Thomas Koenig --- (In reply to Pat Haugen from comment #4) > r238497 causes a miscompare for CPU2000 benchmark 178.galgel on powerpc64. > Continuing to dig, will post more details as I find out. This is tracked as PR 71961.

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

2016-07-23 Thread tkoenig at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71961 --- Comment #4 from Thomas Koenig --- If there is a bug, it is likely an array dependence that is mishandled.

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

2016-07-26 Thread tkoenig at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71961 Thomas Koenig changed: What|Removed |Added Last reconfirmed|2016-07-21 00:00:00 | --- Comment #6 from Thomas Koenig ---

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

2016-07-27 Thread tkoenig at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71961 --- Comment #9 from Thomas Koenig --- (In reply to James Greenhalgh from comment #7) > Reducing it would probably prove hard as the bug is a miscompile and > therefore only shows at runtime in a >30 second test. H.J. has narrowed the > miscompil

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

2016-07-27 Thread tkoenig at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71961 Thomas Koenig changed: What|Removed |Added Status|WAITING |NEW --- Comment #13 from Thomas Koenig

[Bug fortran/50259] Internal Error at (1): gfc_resolve_expr(): Bad expression type

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

[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 #16 from Thomas Koenig --- Author: tkoenig Date: Sun Aug 7 13:24:32 2016 New Revision: 239220 URL: https://gcc.gnu.org/viewcvs?rev=239220&root=gcc&view=rev Log: 2016-08-07 Thomas Koenig PR fortran/71961 * gfortra

[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 Thomas Koenig changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[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/71902] [5/6/7 Regression] Unneeded temporary on reallocatable character assignment

2016-09-04 Thread tkoenig at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71902 --- Comment #9 from Thomas Koenig --- Author: tkoenig Date: Sun Sep 4 16:17:55 2016 New Revision: 239977 URL: https://gcc.gnu.org/viewcvs?rev=239977&root=gcc&view=rev Log: 2016-09-04 Thomas Koenig PR fortran/71902 * frontend

[Bug fortran/77504] New: "is used uninitialized" with allocatable string and array constructors

2016-09-06 Thread tkoenig at gcc dot gnu.org
Severity: normal Priority: P3 Component: fortran Assignee: unassigned at gcc dot gnu.org Reporter: tkoenig at gcc dot gnu.org Target Milestone: --- Original bug report from John Urban, from https://gcc.gnu.org/ml/fortran/2016-09/msg00015.html program testit imp

[Bug fortran/77560] New: Redefinition of lower bound in explicit-shape dummy argument

2016-09-11 Thread tkoenig at gcc dot gnu.org
Priority: P3 Component: fortran Assignee: unassigned at gcc dot gnu.org Reporter: tkoenig at gcc dot gnu.org Target Milestone: --- The following program segfaults: subroutine foo(a,from,to) integer :: from, to real, dimension(from:to) :: a from = from + 1

[Bug fortran/77560] Redefinition of lower bound in explicit-shape dummy argument

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

[Bug fortran/32834] [Meta-bug] 'Fortran 95'-only failures

2016-09-11 Thread tkoenig at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=32834 Bug 32834 depends on bug 77560, which changed state. Bug 77560 Summary: Redefinition of lower bound in explicit-shape dummy argument https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77560 What|Removed |Added ---

[Bug bootstrap/77593] [7 Regression] Bootstrap failure with configure-target-libgfortran " cygwin64 Windows 10 anniversary

2016-09-14 Thread tkoenig at gcc dot gnu.org
CC||tkoenig at gcc dot gnu.org Component|fortran |bootstrap Host||x86_64-unknown-cygwin Target Milestone|--- |7.0 Summary|configure-target-libgfortra |[7

[Bug bootstrap/77593] [7 Regression] Bootstrap failure with configure-target-libgfortran " cygwin64 Windows 10 anniversary

2016-09-16 Thread tkoenig at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77593 --- Comment #5 from Thomas Koenig --- Tim, can you grab a clean copy of trunk (from a Linux box or from whereever), cooy that to your Windows machine and try again?

[Bug fortran/77694] ICE in optimize_binop_array_assignment, at fortran/frontend-passes.c:1080

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

[Bug target/27077] [x86, 4.1] builtin strlen poor performance

2016-09-26 Thread tkoenig at gcc dot gnu.org
||2016-09-26 CC||tkoenig at gcc dot gnu.org Resolution|INVALID |--- Ever confirmed|0 |1 --- Comment #7 from Thomas Koenig --- (In reply to Helmut Schellong from comment #6) >

[Bug target/27077] [x86, 4.1] builtin strlen poor performance

2016-09-27 Thread tkoenig at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=27077 --- Comment #9 from Thomas Koenig --- Please see https://gcc.gnu.org/bugs/#need for the things that are required for a bug report. Specifically, the preprocessed file (*.i*) that triggers the bug, generated by adding -save-temps to the complet

[Bug target/27077] [x86, 4.1] builtin strlen poor performance

2016-09-27 Thread tkoenig at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=27077 --- Comment #11 from Thomas Koenig --- > In this case a lot of informations are not necessary. Those bug reporting guidelines are there for a reason: To make it easier for developers (whose time is very limited) to quickly reproduce bugs. Witho

[Bug target/27077] [x86, 4.1] builtin strlen poor performance

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

[Bug fortran/38592] eliminate some string comparisons

2016-10-09 Thread tkoenig at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=38592 --- Comment #7 from Thomas Koenig --- We still do the comparison, although with memcmp now. More interesting question is if we could/should do forward propagation of values in the front end, or if this is something that the middle-end should, in

[Bug fortran/77915] [6/7 Regression] Internal error for matmul() in forall with optimization

2016-10-10 Thread tkoenig at gcc dot gnu.org
||2016-10-10 CC||tkoenig at gcc dot gnu.org Assignee|unassigned at gcc dot gnu.org |tkoenig at gcc dot gnu.org Target Milestone|--- |6.3 Summary|Internal error for matmul() |[6/7

[Bug fortran/77915] [6/7 Regression] Internal error for matmul() in forall with optimization

2016-10-10 Thread tkoenig at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77915 --- Comment #2 from Thomas Koenig --- Author: tkoenig Date: Mon Oct 10 14:54:26 2016 New Revision: 240928 URL: https://gcc.gnu.org/viewcvs?rev=240928&root=gcc&view=rev Log: 2016-10-10 Thomas Koenig PR fortran/77915 * frontend

[Bug fortran/77915] [6 Regression] Internal error for matmul() in forall with optimization

2016-10-16 Thread tkoenig at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77915 --- Comment #4 from Thomas Koenig --- Author: tkoenig Date: Sun Oct 16 18:16:29 2016 New Revision: 241217 URL: https://gcc.gnu.org/viewcvs?rev=241217&root=gcc&view=rev Log: 2016-10-16 Thomas Koenig Backport from trunk PR fort

[Bug fortran/77915] [6 Regression] Internal error for matmul() in forall with optimization

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

[Bug fortran/85531] New: Implement some loop fusion in the Fortran front end

2018-04-26 Thread tkoenig at gcc dot gnu.org
Component: fortran Assignee: unassigned at gcc dot gnu.org Reporter: tkoenig at gcc dot gnu.org Target Milestone: --- See the discussion starting at https://gcc.gnu.org/ml/gcc/2018-04/msg00128.html . Basically, for code like ZQICE(1:NPROMA,1:NFLEVG) = PGFL(1:NPROMA,1

[Bug fortran/85531] Implement some loop fusion in the Fortran front end

2018-04-26 Thread tkoenig at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85531 --- Comment #1 from Richard Biener --- Can you provide a testcase that can be compiled? --- Comment #2 from Thomas Koenig --- Here it is. The internal writes are there just to confuse the optimizer. module x implicit none contains subrouti

[Bug fortran/85531] Implement some loop fusion in the Fortran front end

2018-04-26 Thread tkoenig at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85531 --- Comment #4 from Thomas Koenig --- What is the best strategy on this? I assume the Fortran front end could do a dependency analysis, the existing code could be extended for this. We could then either do the scalarization in the front end, or

[Bug fortran/83224] creating character array from elements shorter than declared does not pad with whitespace properly and aborts

2018-05-01 Thread tkoenig at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83224 --- Comment #11 from Thomas Koenig --- *** Bug 85581 has been marked as a duplicate of this bug. ***

[Bug fortran/85581] implied DO not initializing array as expected

2018-05-01 Thread tkoenig at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85581 Thomas Koenig changed: What|Removed |Added Status|WAITING |RESOLVED Resolution|---

[Bug fortran/85599] invalid optimization: function not always evaluated in logical expression

2018-05-02 Thread tkoenig at gcc dot gnu.org
|UNCONFIRMED |NEW Last reconfirmed||2018-05-02 CC||tkoenig at gcc dot gnu.org Ever confirmed|0 |1 Severity|normal |enhancement --- Comment #2 from Thomas

[Bug fortran/85599] invalid optimization: function not always evaluated in logical expression

2018-05-02 Thread tkoenig at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85599 Thomas Koenig changed: What|Removed |Added Keywords||missed-optimization --- Comment #3 from

[Bug middle-end/85599] Function need not be evaluated in logical expression

2018-05-07 Thread tkoenig at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85599 Thomas Koenig changed: What|Removed |Added Status|WAITING |NEW Component|fortran

[Bug fortran/54613] [F08] Add FINDLOC plus support MAXLOC/MINLOC with KIND=/BACK=

2018-05-08 Thread tkoenig at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=54613 --- Comment #9 from Thomas Koenig --- Author: tkoenig Date: Tue May 8 07:47:19 2018 New Revision: 260023 URL: https://gcc.gnu.org/viewcvs?rev=260023&root=gcc&view=rev Log: 2018-05-08 Thomas Koenig PR fortran/54613 * check.c

[Bug fortran/54613] [F08] Add FINDLOC plus support MAXLOC/MINLOC with KIND=/BACK=

2018-05-10 Thread tkoenig at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=54613 --- Comment #10 from Thomas Koenig --- Author: tkoenig Date: Thu May 10 14:31:54 2018 New Revision: 260116 URL: https://gcc.gnu.org/viewcvs?rev=260116&root=gcc&view=rev Log: 2018-05-10 Thomas Koenig PR fortran/54613 * intrins

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

2018-05-10 Thread tkoenig at gcc dot gnu.org
||tkoenig at gcc dot gnu.org Resolution|--- |INVALID --- Comment #1 from Thomas Koenig --- It is working as (currently) designed. To quote from the description: `-Wdo-subscript' Warn if an array subscript inside a DO loop could lead

[Bug middle-end/85740] New: Non-optimal determining maximum in a loop

2018-05-10 Thread tkoenig at gcc dot gnu.org
: middle-end Assignee: unassigned at gcc dot gnu.org Reporter: tkoenig at gcc dot gnu.org Target Milestone: --- There is a problem with loops determining the maximum (or minimum) of a value. I noticed this when looking at inline code generated by gfortran for maxloc/minloc

[Bug middle-end/85740] Non-optimal determining maximum in a loop

2018-05-10 Thread tkoenig at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85740 --- Comment #5 from Thomas Koenig --- (In reply to Andrew Pinski from comment #1) > These functions are not functional equivalent. > > In the b.c, it records the max location but it is the last element which > contains that value. While in c.c,

[Bug middle-end/85740] Non-optimal determining maximum in a loop

2018-05-12 Thread tkoenig at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85740 --- Comment #9 from Thomas Koenig --- (In reply to Martin Liška from comment #8) > (In reply to Richard Biener from comment #7) > > Confirmed with a Haswell CPU as well. Without the __builtin_expect we > > rightfully predict the branch to be 50%

[Bug middle-end/85740] Non-optimal determining maximum in a loop

2018-05-12 Thread tkoenig at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85740 --- Comment #10 from Thomas Koenig --- Created attachment 44121 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=44121&action=edit Test case for vectorizing, inc. assembly This test case, written by Nicolas König, shows a proof of concept fo

[Bug middle-end/85599] Prevent short-circuiting of logical expressions for non-pure functions

2018-05-16 Thread tkoenig at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85599 --- Comment #21 from Thomas Koenig --- > Well, that was absolutely not my intention when I opened this PR, and it > still isn't. Quite the opposite: I don't think gfortran should apply more > optimizations, but less. I'm changing the title and k

[Bug middle-end/85599] Prevent short-circuiting of logical expressions for non-pure functions

2018-05-17 Thread tkoenig at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85599 --- Comment #25 from Thomas Koenig --- (In reply to janus from comment #23) > (In reply to Thomas Koenig from comment #21) > > If we make guarantees that the standard does not, we will be > > creating our own language > > I certainly don't want

[Bug middle-end/85599] Prevent short-circuiting of logical expressions for non-pure functions

2018-05-17 Thread tkoenig at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85599 --- Comment #27 from Thomas Koenig --- [Replying to myself now] > A front end pass (what else did you expect? :-) > > If an impure function is found (recursively) in the operands of an .AND. > expression, issue a > > gfc_warning(OPT_Wsurprisin

[Bug fortran/85641] [7/8/9 Regression] ICE with string concatenate

2018-06-06 Thread tkoenig at gcc dot gnu.org
at gcc dot gnu.org |tkoenig at gcc dot gnu.org --- Comment #4 from Thomas Koenig --- This looks good: --- frontend-passes.c (Revision 261245) +++ frontend-passes.c (Arbeitskopie) @@ -57,6 +57,8 @@ static bool has_dimen_vector_ref (gfc_expr *); static int matmul_temp_args (gfc_code

[Bug fortran/85641] [7/8/9 Regression] ICE with string concatenate

2018-06-06 Thread tkoenig at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85641 --- Comment #5 from Thomas Koenig --- Author: tkoenig Date: Wed Jun 6 21:41:29 2018 New Revision: 261248 URL: https://gcc.gnu.org/viewcvs?rev=261248&root=gcc&view=rev Log: 2018-06-06 Thomas Koenig PR fortran/85641 * frontend

[Bug fortran/85641] [7/8/9 Regression] ICE with string concatenate

2018-06-07 Thread tkoenig at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85641 --- Comment #6 from Thomas Koenig --- Author: tkoenig Date: Thu Jun 7 17:33:44 2018 New Revision: 261285 URL: https://gcc.gnu.org/viewcvs?rev=261285&root=gcc&view=rev Log: 2018-06-07 Thomas Koenig PR fortran/85641 Backport f

[Bug fortran/85641] [7/8/9 Regression] ICE with string concatenate

2018-06-07 Thread tkoenig at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85641 --- Comment #7 from Thomas Koenig --- Author: tkoenig Date: Thu Jun 7 18:13:33 2018 New Revision: 261289 URL: https://gcc.gnu.org/viewcvs?rev=261289&root=gcc&view=rev Log: 2018-06-07 Thomas Koenig PR fortran/85641 Backport f

[Bug fortran/85641] [7/8/9 Regression] ICE with string concatenate

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

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

2018-06-07 Thread tkoenig at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68241 Bug 68241 depends on bug 85641, which changed state. Bug 85641 Summary: [7/8/9 Regression] ICE with string concatenate https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85641 What|Removed |Added -

  1   2   3   4   5   6   7   8   9   10   >