[Bug fortran/83316] ICE: minval/maxval and characters

2017-12-07 Thread tkoenig at gcc dot gnu.org
||45689 Assignee|unassigned at gcc dot gnu.org |tkoenig at gcc dot gnu.org --- Comment #2 from Thomas Koenig --- Yep, that's still missing. I'll take a look. Referenced Bugs: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=45689 [Bug 45689] [F0

[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/78021] [5/6/7 Regression] Wrong result with optimization on character constant

2016-10-19 Thread tkoenig at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78021 --- Comment #3 from Thomas Koenig --- This looks promising, modulo some line breaks: Index: dependency.c === --- dependency.c(Revision 240928) +++ dependency.c(Arbei

[Bug fortran/78021] [5/6/7 Regression] Wrong result with optimization on character constant

2016-10-22 Thread tkoenig at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78021 --- Comment #4 from Thomas Koenig --- Author: tkoenig Date: Sat Oct 22 14:04:46 2016 New Revision: 241440 URL: https://gcc.gnu.org/viewcvs?rev=241440&root=gcc&view=rev Log: 2016-10-22 Thomas Koenig PR fortran/78021 * gfc_comp

[Bug fortran/78021] [5/6/7 Regression] Wrong result with optimization on character constant

2016-10-23 Thread tkoenig at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78021 --- Comment #5 from Thomas Koenig --- Author: tkoenig Date: Sun Oct 23 17:32:40 2016 New Revision: 241449 URL: https://gcc.gnu.org/viewcvs?rev=241449&root=gcc&view=rev Log: 2016-10-23 Thomas Koenig Backport from trunk PR fort

[Bug fortran/78021] [5/6/7 Regression] Wrong result with optimization on character constant

2016-10-24 Thread tkoenig at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78021 --- Comment #6 from Thomas Koenig --- Author: tkoenig Date: Mon Oct 24 22:12:06 2016 New Revision: 241498 URL: https://gcc.gnu.org/viewcvs?rev=241498&root=gcc&view=rev Log: 2016-10-24 Thomas Koenig Backport from trunk PR fort

[Bug fortran/78021] [5/6/7 Regression] Wrong result with optimization on character constant

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

[Bug fortran/67219] [6/7 Regression] Incorrect conversion warning

2016-10-30 Thread tkoenig at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67219 --- Comment #9 from Thomas Koenig --- This looks quite good. Will see if it passes a regression-test. Index: arith.c === --- arith.c (Revision 241590) +++ arith.c (Arbeitsk

[Bug fortran/68009] [6/7 Regression] prototype for gfortran_runtime_error with inline matmul

2016-10-30 Thread tkoenig at gcc dot gnu.org
at gcc dot gnu.org |tkoenig at gcc dot gnu.org

[Bug fortran/68009] [6/7 Regression] prototype for gfortran_runtime_error with inline matmul

2016-10-30 Thread tkoenig at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68009 Thomas Koenig changed: What|Removed |Added Status|ASSIGNED|NEW Assignee|tkoenig at gcc

[Bug fortran/67219] [6/7 Regression] Incorrect conversion warning

2016-10-30 Thread tkoenig at gcc dot gnu.org
at gcc dot gnu.org |tkoenig at gcc dot gnu.org --- Comment #10 from Thomas Koenig --- This is the correct one.

[Bug fortran/67219] [6/7 Regression] Incorrect conversion warning

2016-10-30 Thread tkoenig at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67219 --- Comment #11 from Thomas Koenig --- Author: tkoenig Date: Sun Oct 30 17:48:27 2016 New Revision: 241689 URL: https://gcc.gnu.org/viewcvs?rev=241689&root=gcc&view=rev Log: 2016-10-30 Thomas Koenig PR fortran/67219 * arith.c

[Bug fortran/67219] [6 Regression] Incorrect conversion warning

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

[Bug fortran/67219] [6 Regression] Incorrect conversion warning

2016-10-30 Thread tkoenig at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67219 --- Comment #13 from Thomas Koenig --- Author: tkoenig Date: Sun Oct 30 18:28:33 2016 New Revision: 241690 URL: https://gcc.gnu.org/viewcvs?rev=241690&root=gcc&view=rev Log: 2016-10-30 Thomas Koenig Backport from trunk PR for

[Bug fortran/67219] [6 Regression] Incorrect conversion warning

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

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

2016-10-31 Thread tkoenig at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71902 --- Comment #10 from Thomas Koenig --- Author: tkoenig Date: Mon Oct 31 18:28:11 2016 New Revision: 241717 URL: https://gcc.gnu.org/viewcvs?rev=241717&root=gcc&view=rev Log: 2016-10-31 Thomas Koenig Backport from trunk PR for

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

2016-11-01 Thread tkoenig at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71902 --- Comment #11 from Thomas Koenig --- Author: tkoenig Date: Tue Nov 1 08:12:00 2016 New Revision: 241732 URL: https://gcc.gnu.org/viewcvs?rev=241732&root=gcc&view=rev Log: 2016-10-31 Thomas Koenig Backport from trunk PR for

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

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

[Bug fortran/70959] [6/7 Regression] Invalid type determination due to expression in a type declaration statement

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

[Bug fortran/69544] [5/6/7 Regression] Internal compiler error with -Wall and where

2016-11-01 Thread tkoenig at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69544 --- Comment #5 from Thomas Koenig --- Author: tkoenig Date: Tue Nov 1 16:18:18 2016 New Revision: 241745 URL: https://gcc.gnu.org/viewcvs?rev=241745&root=gcc&view=rev Log: 2016-11-01 Thomas Koenig PR fortran/69544 * match.c

[Bug fortran/78178] New: ICE in WHERE statement with diagnostic

2016-11-01 Thread tkoenig at gcc dot gnu.org
Assignee: unassigned at gcc dot gnu.org Reporter: tkoenig at gcc dot gnu.org Target Milestone: --- This is a spin-off from PR 65944. As noted by Dominique in https://gcc.gnu.org/ml/fortran/2016-11/msg2.html , gfc_match_simple_where also has an issue with not setting the

[Bug fortran/78178] ICE in WHERE statement with diagnostic

2016-11-01 Thread tkoenig at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78178 --- Comment #1 from Thomas Koenig --- > What on earth is going on there I don't know. I think I will > build from a clean tree and retry, and in the meantime fix That should be PR 69544, of course.

[Bug fortran/69544] [5/6/7 Regression] Internal compiler error with -Wall and where

2016-11-01 Thread tkoenig at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69544 --- Comment #7 from Thomas Koenig --- Author: tkoenig Date: Tue Nov 1 21:16:46 2016 New Revision: 241756 URL: https://gcc.gnu.org/viewcvs?rev=241756&root=gcc&view=rev Log: 2016-11-01 Thomas Koenig PR fortran/78178 * match.c

[Bug fortran/78178] ICE in WHERE statement with diagnostic

2016-11-01 Thread tkoenig at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78178 --- Comment #2 from Thomas Koenig --- Author: tkoenig Date: Tue Nov 1 21:16:46 2016 New Revision: 241756 URL: https://gcc.gnu.org/viewcvs?rev=241756&root=gcc&view=rev Log: 2016-11-01 Thomas Koenig PR fortran/78178 * match.c

[Bug fortran/69544] [5/6/7 Regression] Internal compiler error with -Wall and where

2016-11-02 Thread tkoenig at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69544 --- Comment #8 from Thomas Koenig --- Author: tkoenig Date: Wed Nov 2 20:54:29 2016 New Revision: 241802 URL: https://gcc.gnu.org/viewcvs?rev=241802&root=gcc&view=rev Log: 2016-11-02 Thomas Koenig Backport from trunk PR fort

[Bug fortran/78178] ICE in WHERE statement with diagnostic

2016-11-02 Thread tkoenig at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78178 --- Comment #4 from Thomas Koenig --- Author: tkoenig Date: Wed Nov 2 20:54:29 2016 New Revision: 241802 URL: https://gcc.gnu.org/viewcvs?rev=241802&root=gcc&view=rev Log: 2016-11-02 Thomas Koenig Backport from trunk PR fort

[Bug fortran/78187] -fno-automatic does not work with allocatable scalar character result result

2016-11-02 Thread tkoenig at gcc dot gnu.org
||2016-11-02 CC||tkoenig at gcc dot gnu.org Ever confirmed|0 |1 --- Comment #1 from Thomas Koenig --- Seems like allocatable character functions don't work with -fno-automatic. The problem is not in the

[Bug middle-end/37150] basic-block vectorization misses some unrolled loops

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

[Bug fortran/68600] Inlined MATMUL is too slow.

2016-11-04 Thread tkoenig at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68600 --- Comment #14 from Thomas Koenig --- Question: Would it make sense to add an option so that only matrices with size known at compile-time are inlined? Somethin like -finline-matmul-size-var=0 (to disable), -finline-matmul-size-fixed=5 (to inl

[Bug fortran/78221] [6/7 Regression] bogus warning: Non-zero imaginary part discarded in conversion [-Wconversion]

2016-11-06 Thread tkoenig at gcc dot gnu.org
at gcc dot gnu.org |tkoenig at gcc dot gnu.org --- Comment #5 from Thomas Koenig --- I have an idea where this comes from, and how to fix it. Probably similar to PR 67219.

[Bug fortran/78221] [6/7 Regression] bogus warning: Non-zero imaginary part discarded in conversion [-Wconversion]

2016-11-06 Thread tkoenig at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78221 --- Comment #6 from Thomas Koenig --- This looks promising: Index: arith.c === --- arith.c (Revision 241747) +++ arith.c (Arbeitskopie) @@ -2369,10 +2369,10 @@ gfc_complex2r

[Bug fortran/78221] [6/7 Regression] bogus warning: Non-zero imaginary part discarded in conversion [-Wconversion]

2016-11-06 Thread tkoenig at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78221 --- Comment #7 from Thomas Koenig --- Author: tkoenig Date: Sun Nov 6 12:27:51 2016 New Revision: 241884 URL: https://gcc.gnu.org/viewcvs?rev=241884&root=gcc&view=rev Log: 2016-11-06 Thomas Koenig PR fortran/78221 * arith.c

[Bug fortran/78221] [6/7 Regression] bogus warning: Non-zero imaginary part discarded in conversion [-Wconversion]

2016-11-06 Thread tkoenig at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78221 --- Comment #9 from Thomas Koenig --- Conversion is done during the matching phase, so this is when we warn. The problem here, as with PR 67219, was that these warning may be issued, and then the statement may be rejected. If that happens, we sh

[Bug fortran/78226] New: Fill out location information everywhere

2016-11-06 Thread tkoenig at gcc dot gnu.org
: fortran Assignee: unassigned at gcc dot gnu.org Reporter: tkoenig at gcc dot gnu.org Target Milestone: --- Created attachment 39973 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=39973&action=edit Patch to expose missing locations It would be nice if we could consi

[Bug fortran/78178] ICE in WHERE statement with diagnostic

2016-11-06 Thread tkoenig at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78178 --- Comment #5 from Thomas Koenig --- Author: tkoenig Date: Sun Nov 6 20:30:31 2016 New Revision: 241886 URL: https://gcc.gnu.org/viewcvs?rev=241886&root=gcc&view=rev Log: 2016-11-06 Thomas Koenig Backport from trunk PR fort

[Bug fortran/69544] [5/6/7 Regression] Internal compiler error with -Wall and where

2016-11-06 Thread tkoenig at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69544 --- Comment #9 from Thomas Koenig --- Author: tkoenig Date: Sun Nov 6 20:30:31 2016 New Revision: 241886 URL: https://gcc.gnu.org/viewcvs?rev=241886&root=gcc&view=rev Log: 2016-11-06 Thomas Koenig Backport from trunk PR fort

[Bug fortran/69544] [5/6/7 Regression] Internal compiler error with -Wall and where

2016-11-06 Thread tkoenig at gcc dot gnu.org
||tkoenig at gcc dot gnu.org Resolution|--- |FIXED --- Comment #10 from Thomas Koenig --- Fixed on all open branches, closing.

[Bug fortran/78226] Fill out location information everywhere

2016-11-06 Thread tkoenig at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78226 --- Comment #1 from Thomas Koenig --- Author: tkoenig Date: Sun Nov 6 21:27:32 2016 New Revision: 241887 URL: https://gcc.gnu.org/viewcvs?rev=241887&root=gcc&view=rev Log: 2016-11-06 Thomas Koenig PR fortran/78226 resolve.c

[Bug fortran/78226] Fill out location information everywhere

2016-11-07 Thread tkoenig at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78226 --- Comment #2 from Thomas Koenig --- Here's a list of the currently failing test cases. That doesn't look to bad, problems mostly seem to be with SELECT TYPE and ALLOCATE. llocate_class_3.f90 allocate_with_source_16.f90 alloc_comp_class_3.f03 c

[Bug fortran/78221] [6/7 Regression] bogus warning: Non-zero imaginary part discarded in conversion [-Wconversion]

2016-11-07 Thread tkoenig at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78221 --- Comment #10 from Thomas Koenig --- Author: tkoenig Date: Mon Nov 7 13:46:31 2016 New Revision: 241906 URL: https://gcc.gnu.org/viewcvs?rev=241906&root=gcc&view=rev Log: 2016-11-07 Thomas Koenig Backport from trunk PR for

[Bug fortran/78221] [6/7 Regression] bogus warning: Non-zero imaginary part discarded in conversion [-Wconversion]

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

[Bug fortran/78226] Fill out location information everywhere

2016-11-07 Thread tkoenig at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78226 --- Comment #4 from Thomas Koenig --- Here's the commit, the PR number was incorrect. Author: tkoenig Date: Mon Nov 7 15:25:21 2016 New Revision: 241909 URL: https://gcc.gnu.org/viewcvs?rev=241909&root=gcc&view=rev Log: 2016-11-07 Thomas Koen

[Bug fortran/78226] Fill out location information everywhere

2016-11-07 Thread tkoenig at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78226 --- Comment #5 from Thomas Koenig --- Author: tkoenig Date: Mon Nov 7 19:33:27 2016 New Revision: 241927 URL: https://gcc.gnu.org/viewcvs?rev=241927&root=gcc&view=rev Log: 2016-11-07 Thomas Koenig PR fortran/78226 * expr.c (

[Bug libfortran/51119] MATMUL slow for large matrices

2016-11-08 Thread tkoenig at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=51119 --- Comment #35 from Thomas Koenig --- (In reply to Jerry DeLisle from comment #34) > -Ofast does reorder execution.. So does a block algorithm. > Opinions welcome. I'd say go for -Ofast, or at least its subset that enables reordering of exp

[Bug libfortran/51119] MATMUL slow for large matrices

2016-11-08 Thread tkoenig at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=51119 --- Comment #38 from Thomas Koenig --- (In reply to Joost VandeVondele from comment #37) > (In reply to Joost VandeVondele from comment #36) > > #pragma GCC optimize ( "-Ofast -fvariable-expansion-in-unroller > > -funroll-loops" ) > > and really

[Bug other/78366] New: target_clones does not generate resovler function

2016-11-15 Thread tkoenig at gcc dot gnu.org
: other Assignee: unassigned at gcc dot gnu.org Reporter: tkoenig at gcc dot gnu.org Target Milestone: --- The doc to target_clones says # For instance, on an x86, you could compile a function with # `target_clones("sse4.1,avx")'. GCC creates two

[Bug other/78366] target_clones does not generate resovler function

2016-11-16 Thread tkoenig at gcc dot gnu.org
||2016-11-16 Assignee|unassigned at gcc dot gnu.org |tkoenig at gcc dot gnu.org Ever confirmed|0 |1 Severity|normal |enhancement --- Comment #3 from Thomas Koenig --- OK, so this is more of a

[Bug tree-optimization/21278] Move maximum out of a loop

2016-11-16 Thread tkoenig at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=21278 Thomas Koenig changed: What|Removed |Added Last reconfirmed|2013-02-01 18:00:00 |2016-11-16 --- Comment #2 from Thomas Ko

[Bug libfortran/78379] New: Processor-specific versions for matmul

2016-11-16 Thread tkoenig at gcc dot gnu.org
: libfortran Assignee: unassigned at gcc dot gnu.org Reporter: tkoenig at gcc dot gnu.org Target Milestone: --- Now that a patch for PR51119 is in, we can think about inserting processor-specific versions. target_clones looks to be a good idea for this, see https://gcc.gnu.org

[Bug libfortran/51119] MATMUL slow for large matrices

2016-11-16 Thread tkoenig at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=51119 --- Comment #46 from Thomas Koenig --- (In reply to Jerry DeLisle from comment #44) > Yes I am aware of these. I was willing to live with them, but if it is a > problem, we can remove those options easy enough. I think it is no big deal, but on

[Bug fortran/78387] OpenMP segfault/stack size exceeded writing to internal file

2016-11-16 Thread tkoenig at gcc dot gnu.org
||tkoenig at gcc dot gnu.org Resolution|--- |INVALID --- Comment #1 from Thomas Koenig --- Hi Andrew, I/O operations are not thread safe. If you enclose them in !$omp critical, you will get the expected result: ig25@linux-fd1f:/tmp> cat omp.

[Bug fortran/78387] OpenMP segfault/stack size exceeded writing to internal file

2016-11-16 Thread tkoenig at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78387 Thomas Koenig changed: What|Removed |Added Status|RESOLVED|NEW Last reconfirmed|

[Bug libfortran/78379] Processor-specific versions for matmul

2016-11-17 Thread tkoenig at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78379 --- Comment #1 from Thomas Koenig --- Created attachment 40074 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=40074&action=edit Test program for benchmarks

[Bug libfortran/78379] Processor-specific versions for matmul

2016-11-17 Thread tkoenig at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78379 --- Comment #2 from Thomas Koenig --- Here are some measurements with the AVX-enabling patch. They were done on an AVX machine, namely gcc75 from the compile farm. This was done with the command line gfortran -static-libgfortran -finline-matmul

[Bug libfortran/78379] Processor-specific versions for matmul

2016-11-17 Thread tkoenig at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78379 --- Comment #6 from Thomas Koenig --- > You may notice I was invoking the wrong executable in what I posted in > comment #3. I did rerun the correct one several times and tried it with > -mavx -mprefer-avx128. I get the same poor results regardl

[Bug libfortran/78379] Processor-specific versions for matmul

2016-11-17 Thread tkoenig at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78379 --- Comment #7 from Thomas Koenig --- And one more thing. Comparing the timing you get for the version with the target_clone and a version using just -mavx added to the relevant line in the Makefile, do you see a difference?

[Bug target/78417] New: target_clones default for powerpc64

2016-11-18 Thread tkoenig at gcc dot gnu.org
Assignee: unassigned at gcc dot gnu.org Reporter: tkoenig at gcc dot gnu.org Target Milestone: --- The following does not work as expected. Either default is an invalid target for target_clones, or it is missing. Bit of a Catch-22 there :-) The reason why I'm interested is PR

[Bug other/78419] New: ICE with target_clone on invalid target

2016-11-18 Thread tkoenig at gcc dot gnu.org
Assignee: unassigned at gcc dot gnu.org Reporter: tkoenig at gcc dot gnu.org Target Milestone: --- ig25@linux-fd1f:~/Krempel/Target> cat t2.c static double foo_int(double *restrict, double *restrict, int) __attribute__ ((target_clones("avx,foo,avx2,avx512f,default"

[Bug other/78419] ICE with target_clone on invalid target

2016-11-18 Thread tkoenig at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78419 --- Comment #1 from Thomas Koenig --- Valgrind has some more info: ig25@linux-fd1f:~/Krempel/Target> valgrind /home/ig25/lib/gcc/x86_64-pc-linux-gnu/7.0.0/cc1 t2.c ==23596== Memcheck, a memory error detector ==23596== Copyright (C) 2002-2013, an

[Bug libfortran/78379] Processor-specific versions for matmul

2016-11-18 Thread tkoenig at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78379 --- Comment #9 from Thomas Koenig --- Next question - what happens if you add -mvzeroupper -mavx to the line in the Makefile? Does that make a difference in speed?

[Bug libfortran/78379] Processor-specific versions for matmul

2016-11-19 Thread tkoenig at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78379 --- Comment #12 from Thomas Koenig --- (In reply to Jerry DeLisle from comment #11) > One could consider running a reference matrix multiply of size 32 in a loop > and do timing tests to determine whether to use -mprefer-avx128. 0n this > machine

[Bug libfortran/78379] Processor-specific versions for matmul

2016-11-19 Thread tkoenig at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78379 --- Comment #13 from Thomas Koenig --- OK, I think I have a rough idea how to do this. For querying the CPU model, we need to put the interface in libgcc/config/i386/cpuinfo.c into a separate header. Then we generate a list of matmul functions

[Bug libfortran/78379] Processor-specific versions for matmul

2016-11-20 Thread tkoenig at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78379 --- Comment #15 from Thomas Koenig --- OMG, the world of processors is more complicated than I thought. So, these rather modern AMD chips support AVX, but suck at it. Two questions: - Can you check if -mfma3 and/or -mfma4 make any difference?

[Bug fortran/60522] [4.7/4.8/4.9 Regression] WHERE construct causes an ICE in gfc_trans_where_2

2014-03-27 Thread tkoenig at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60522 --- Comment #5 from Thomas Koenig --- Author: tkoenig Date: Thu Mar 27 22:21:35 2014 New Revision: 208883 URL: http://gcc.gnu.org/viewcvs?rev=208883&root=gcc&view=rev Log: 2014-04-27 Thomas Koenig PR fortran/60522 * frontend-passes.c

[Bug fortran/60522] [4.7/4.8/4.9 Regression] WHERE construct causes an ICE in gfc_trans_where_2

2014-03-28 Thread tkoenig at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60522 --- Comment #6 from Thomas Koenig --- Author: tkoenig Date: Fri Mar 28 07:17:13 2014 New Revision: 208890 URL: http://gcc.gnu.org/viewcvs?rev=208890&root=gcc&view=rev Log: 2014-04-28 Thomas Koenig PR fortran/60522 * frontend-passes.c

[Bug fortran/60522] [4.7/4.8/4.9 Regression] WHERE construct causes an ICE in gfc_trans_where_2

2014-03-29 Thread tkoenig at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60522 --- Comment #7 from Thomas Koenig --- Author: tkoenig Date: Sat Mar 29 11:51:17 2014 New Revision: 208934 URL: http://gcc.gnu.org/viewcvs?rev=208934&root=gcc&view=rev Log: 2014-04-29 Thomas Koenig PR fortran/60522 * frontend-passes.c

[Bug fortran/60522] [4.7/4.8/4.9 Regression] WHERE construct causes an ICE in gfc_trans_where_2

2014-03-29 Thread tkoenig at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60522 Thomas Koenig changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug fortran/60127] ICE with OpenMP and DO CONCURRENT

2014-03-29 Thread tkoenig at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60127 Thomas Koenig changed: What|Removed |Added CC||tkoenig at gcc dot gnu.org --- Comment

[Bug fortran/60661] DO CONCURRENT with MASK: Avoid using a temporary for the mask

2014-03-30 Thread tkoenig at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60661 --- Comment #3 from Thomas Koenig --- We have to be a bit careful about statement like do concurrent(i=1:n, a(i)>sum(a)/n) a(i) = a(i) * 0.5 end do which really have to be before the execution of the loop body itself.

[Bug fortran/60834] [OOP] ICE with ASSOCIATE construct (gimplify_var_or_parm_decl, at gimplify.c:1721)

2014-04-14 Thread tkoenig at gcc dot gnu.org
at gcc dot gnu.org |tkoenig at gcc dot gnu.org --- Comment #2 from Thomas Koenig --- Created attachment 32598 --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=32598&action=edit proposed patch This seems to do the trick.

[Bug fortran/60913] Memory leak with deferred operators

2014-04-21 Thread tkoenig at gcc dot gnu.org
||2014-04-21 CC||tkoenig at gcc dot gnu.org Ever confirmed|0 |1 --- Comment #1 from Thomas Koenig --- Valgrind shows: ig25@linux-fd1f:~/Krempel/Leak> valgrind --leak-check=full ./a.out ==4355== Memcheck

[Bug fortran/59604] Constant comparisons with -fno-range-check and int(z'...')

2014-04-27 Thread tkoenig at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59604 --- Comment #8 from Thomas Koenig --- Author: tkoenig Date: Sun Apr 27 10:48:56 2014 New Revision: 209836 URL: http://gcc.gnu.org/viewcvs?rev=209836&root=gcc&view=rev Log: 2014-03-27 Thomas Koenig PR fortran/59604 PR fortran/58003

[Bug fortran/58003] internal compiler error: in convert_mpz_to_unsigned, at fortran/simplify.c:165

2014-04-27 Thread tkoenig at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58003 --- Comment #5 from Thomas Koenig --- Author: tkoenig Date: Sun Apr 27 10:48:56 2014 New Revision: 209836 URL: http://gcc.gnu.org/viewcvs?rev=209836&root=gcc&view=rev Log: 2014-03-27 Thomas Koenig PR fortran/59604 PR fortran/58003

[Bug fortran/59604] Constant comparisons with -fno-range-check and int(z'...')

2014-04-27 Thread tkoenig at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59604 Thomas Koenig changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug fortran/58003] internal compiler error: in convert_mpz_to_unsigned, at fortran/simplify.c:165

2014-04-27 Thread tkoenig at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58003 Bug 58003 depends on bug 59604, which changed state. Bug 59604 Summary: Constant comparisons with -fno-range-check and int(z'...') http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59604 What|Removed |Added ---

[Bug fortran/58003] internal compiler error: in convert_mpz_to_unsigned, at fortran/simplify.c:165

2014-04-27 Thread tkoenig at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58003 Thomas Koenig changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug fortran/41137] inefficient zeroing of an array

2014-05-01 Thread tkoenig at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41137 --- Comment #19 from Thomas Koenig --- Also see PR 55858.

[Bug fortran/60834] [OOP] ICE with ASSOCIATE construct (gimplify_var_or_parm_decl, at gimplify.c:1721)

2014-05-12 Thread tkoenig at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60834 --- Comment #3 from Thomas Koenig --- Author: tkoenig Date: Mon May 12 16:17:09 2014 New Revision: 210329 URL: http://gcc.gnu.org/viewcvs?rev=210329&root=gcc&view=rev Log: 2014-05-12 Thomas Koenig PR fortran/60834 * frontend-passes.c

[Bug fortran/60834] [OOP] ICE with ASSOCIATE construct (gimplify_var_or_parm_decl, at gimplify.c:1721)

2014-05-29 Thread tkoenig at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=60834 --- Comment #4 from Thomas Koenig --- Author: tkoenig Date: Thu May 29 12:12:00 2014 New Revision: 211052 URL: http://gcc.gnu.org/viewcvs?rev=211052&root=gcc&view=rev Log: 2014-05-29 Thomas Koenig PR fortran/60834 * frontend-passes.c

[Bug fortran/60834] [OOP] ICE with ASSOCIATE construct (gimplify_var_or_parm_decl, at gimplify.c:1721)

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

[Bug middle-end/65504] New: [4.9/5 Regression] select case with strings and -fgcse -O

2015-03-21 Thread tkoenig at gcc dot gnu.org
Priority: P3 Component: middle-end Assignee: unassigned at gcc dot gnu.org Reporter: tkoenig at gcc dot gnu.org Original bug report from https://stackoverflow.com/questions/29163373/why-do-i-have-random-return-values-in-my-type-in-fortran-with-o2 by "Sebastian&q

[Bug middle-end/65504] [4.9/5 Regression] select case with strings and -fgcse -O

2015-03-21 Thread tkoenig at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65504 Thomas Koenig changed: What|Removed |Added Keywords||wrong-code Target Milestone|---

[Bug rtl-optimization/65504] [4.9/5 Regression] select case with strings and -fgcse -O

2015-03-21 Thread tkoenig at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65504 Thomas Koenig changed: What|Removed |Added Component|middle-end |rtl-optimization --- Comment #1 from Tho

[Bug rtl-optimization/65504] [4.9/5 Regression] select case with strings and -fgcse -O

2015-03-21 Thread tkoenig at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65504 --- Comment #3 from Thomas Koenig --- It may be target dependent. I can reproduce this on x86_64-unknown-linux-gnu . By the way, -fno-gcse cures it.

<    23   24   25   26   27   28   29   30   31   32   >