[Bug middle-end/81441] slowdown due to -fpeel-loops and -ftracer added by -fprofile-use

2017-07-17 Thread Joost.VandeVondele at mat dot ethz.ch
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81441 Joost VandeVondele changed: What|Removed |Added CC||Joost.VandeVondele at mat dot ethz

[Bug middle-end/81441] New: slowdown due to -fpeel-loops and -ftracer added by -fprofile-use

2017-07-14 Thread Joost.VandeVondele at mat dot ethz.ch
Priority: P3 Component: middle-end Assignee: unassigned at gcc dot gnu.org Reporter: Joost.VandeVondele at mat dot ethz.ch Target Milestone: --- For our code, we see a slowdown (3%-7% depending on the user reporting) due to the options -fpeel-loops and -ftracer

[Bug target/80817] [missed optimization][x86] relaxed atomics

2017-05-22 Thread Joost.VandeVondele at mat dot ethz.ch
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80817 --- Comment #3 from Joost VandeVondele --- If I compile with -m32 gcc -std=c++11 -m32 -S -O3 test.cpp I get .cfi_startproc subl$12, %esp .cfi_def_cfa_offset 16 movl16(%esp), %ecx fildq

[Bug target/80817] [missed optimization][x86] relaxed atomics

2017-05-20 Thread Joost.VandeVondele at mat dot ethz.ch
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80817 Joost VandeVondele changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug target/80817] New: [missed optimization][x86] relaxed atomics

2017-05-18 Thread Joost.VandeVondele at mat dot ethz.ch
: target Assignee: unassigned at gcc dot gnu.org Reporter: Joost.VandeVondele at mat dot ethz.ch Target Milestone: --- Using gcc 7.1 on x86, the following #include void increment_relaxed(std::atomic& counter) { atomic_store_explicit(, atomic_load_explicit(,

[Bug libfortran/51119] MATMUL slow for large matrices

2016-11-08 Thread Joost.VandeVondele at mat dot ethz.ch
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=51119 --- Comment #37 from Joost VandeVondele --- (In reply to Joost VandeVondele from comment #36) > #pragma GCC optimize ( "-Ofast -fvariable-expansion-in-unroller > -funroll-loops" ) and really beneficial for larger matrices would be

[Bug libfortran/51119] MATMUL slow for large matrices

2016-11-08 Thread Joost.VandeVondele at mat dot ethz.ch
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=51119 --- Comment #36 from Joost VandeVondele --- (In reply to Jerry DeLisle from comment #34) > -Ofast does reorder execution.. > Opinions welcome. That is absolutely OK for a matmul, and all techniques to get near peak performance require that

[Bug fortran/68649] [6/7 Regression] note: code may be misoptimized unless -fno-strict-aliasing is used

2016-10-18 Thread Joost.VandeVondele at mat dot ethz.ch
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68649 --- Comment #18 from Joost VandeVondele --- since this PR, and the related PR77278 can presumably only be fixed by changing libgfortran abi (at least if I understand Richard's suggestion for fixing this). The announced major version bump of

[Bug tree-optimization/77719] [7 Regression] ICE in pp_string, at pretty-print.c:955

2016-09-25 Thread Joost.VandeVondele at mat dot ethz.ch
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77719 --- Comment #6 from Joost VandeVondele --- (In reply to kugan from comment #5) > Sent a patch to fix this at > https://gcc.gnu.org/ml/gcc-patches/2016-09/msg01760.html. Thanks, add this line before the first IF statement to silence the

[Bug tree-optimization/77719] [7 Regression] ICE in pp_string, at pretty-print.c:955

2016-09-24 Thread Joost.VandeVondele at mat dot ethz.ch
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77719 --- Comment #4 from Joost VandeVondele --- (In reply to Dominique d'Humieres from comment #3) > I > don't think the code is valid: spdim is an implicit real used uninitialized. yeah, auto-reduced from valid code. but thanks for confirming,

[Bug tree-optimization/77719] [7 Regression] ICE in pp_string, at pretty-print.c:955

2016-09-24 Thread Joost.VandeVondele at mat dot ethz.ch
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77719 Joost VandeVondele changed: What|Removed |Added CC||Joost.VandeVondele at mat dot ethz

[Bug tree-optimization/77719] New: [7 Regression] ICE in pp_string, at pretty-print.c:955

2016-09-24 Thread Joost.VandeVondele at mat dot ethz.ch
Component: tree-optimization Assignee: unassigned at gcc dot gnu.org Reporter: Joost.VandeVondele at mat dot ethz.ch Target Milestone: --- recent trunk regression: > cat bug.f90 SUBROUTINE urep_egr(erep,derep,surr) INTEGER, PARAMETER :: dp=8 REAL(dp), INTENT(in

[Bug tree-optimization/77644] New: missed optimization with sqrt in comparison

2016-09-19 Thread Joost.VandeVondele at mat dot ethz.ch
-optimization Assignee: unassigned at gcc dot gnu.org Reporter: Joost.VandeVondele at mat dot ethz.ch Target Milestone: --- > cat t.f90 LOGICAL FUNCTION F1(A,B) REAL :: A,B F1=(abs(A)<sqrt(B)) END FUNCTION LOGICAL FUNCTION F2(A,B) REAL :: A,B F2=(A*A<B) END

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

2016-08-04 Thread Joost.VandeVondele at mat dot ethz.ch
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=50259 Joost VandeVondele changed: What|Removed |Added Status|NEW |RESOLVED CC|

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

2016-07-27 Thread Joost.VandeVondele at mat dot ethz.ch
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71961 --- Comment #11 from Joost VandeVondele --- This even gives wrong results at -O0 ... > cat test.f90 INTEGER, DIMENSION(:,:), POINTER :: a INTEGER, DIMENSION(:,:), ALLOCATABLE :: b ALLOCATE(a(4,4),b(4,2)) a=1 ; b=2

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

2016-07-27 Thread Joost.VandeVondele at mat dot ethz.ch
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71961 --- Comment #10 from Joost VandeVondele --- (In reply to Thomas Koenig from comment #9) > With a test case, it would be OK with me if somebody reverted the > patch. I can then rework it to take care of that particular bug. A revert would be

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

2016-07-27 Thread Joost.VandeVondele at mat dot ethz.ch
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71961 Joost VandeVondele changed: What|Removed |Added CC||Joost.VandeVondele at mat dot ethz

[Bug middle-end/71898] [7 Regression] [graphite] ICE: verify_ssa failed

2016-07-20 Thread Joost.VandeVondele at mat dot ethz.ch
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71898 --- Comment #4 from Joost VandeVondele --- (In reply to Martin Liška from comment #2) > Created attachment 38939 [details] > Candidate patch Since this is a graphite fix, it might also fix PR71351 ?

[Bug middle-end/71898] New: [7 Regression] [graphite] ICE: verify_ssa failed

2016-07-15 Thread Joost.VandeVondele at mat dot ethz.ch
: middle-end Assignee: unassigned at gcc dot gnu.org Reporter: Joost.VandeVondele at mat dot ethz.ch Target Milestone: --- The following started regressing roughly July 7th/8th: > cat bug.f90 MODULE d3_poly INTEGER, PUBLIC, PARAMETER :: max_grad2=5 INTEGER, PUB

[Bug web/69601] current/ redirect is off by at least a day

2016-07-01 Thread Joost.VandeVondele at mat dot ethz.ch
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69601 Joost VandeVondele changed: What|Removed |Added Last reconfirmed|2016-06-26 00:00:00 |2016-7-1 --- Comment #4 from Joost

[Bug debug/71642] New: [7 Regression] ICE: in gen_type_die_with_usage, at dwarf2out.c:22729

2016-06-24 Thread Joost.VandeVondele at mat dot ethz.ch
Priority: P3 Component: debug Assignee: unassigned at gcc dot gnu.org Reporter: Joost.VandeVondele at mat dot ethz.ch Target Milestone: --- overnight trunk regression: > cat bug.f90 MODULE gauss_colloc INTEGER, PARAMETER :: dp=8 CONTAINS SUBROUT

[Bug middle-end/71526] New: [7 Regression] ICE: verify_gimple failed

2016-06-14 Thread Joost.VandeVondele at mat dot ethz.ch
-end Assignee: unassigned at gcc dot gnu.org Reporter: Joost.VandeVondele at mat dot ethz.ch Target Milestone: --- Overnight trunk regression, requires LTO. > cat bug.f90 MODULE util INTERFACE sort MODULE PROCEDURE sort_cv END INTERFACE CONTAINS SUBROUTINE sort

[Bug tree-optimization/71252] [7 Regression] ICE: verify_ssa failed : definition in block 7 does not dominate use in block 6

2016-06-10 Thread Joost.VandeVondele at mat dot ethz.ch
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71252 Joost VandeVondele changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug tree-optimization/71414] 2x slower than clang summing small float array, GCC should consider larger vectorization factor for "unrolling" reductions

2016-06-07 Thread Joost.VandeVondele at mat dot ethz.ch
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71414 Joost VandeVondele changed: What|Removed |Added CC||Joost.VandeVondele at mat dot ethz

[Bug tree-optimization/71351] [7 Regression] ICE: Segmentation fault

2016-05-31 Thread Joost.VandeVondele at mat dot ethz.ch
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71351 Joost VandeVondele changed: What|Removed |Added CC||Joost.VandeVondele at mat dot ethz

[Bug tree-optimization/71142] [6/7 Regression] ICE: Segmentation fault in ssa_default_def

2016-05-31 Thread Joost.VandeVondele at mat dot ethz.ch
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71142 Joost VandeVondele changed: What|Removed |Added CC||Joost.VandeVondele at mat dot ethz

[Bug tree-optimization/71351] New: [7 Regression] ICE: Segmentation fault

2016-05-31 Thread Joost.VandeVondele at mat dot ethz.ch
-optimization Assignee: unassigned at gcc dot gnu.org Reporter: Joost.VandeVondele at mat dot ethz.ch Target Milestone: --- recent trunk regression: > cat bug.f90 MODULE k290 INTEGER, PARAMETER :: dp=8 TYPE csym_type INTEGER :: isy, nc REAL(KIND=dp), DIMENSION(3

[Bug tree-optimization/71230] [7 Regression] ICE : in zero_one_operation, at tree-ssa-reassoc.c:1230

2016-05-31 Thread Joost.VandeVondele at mat dot ethz.ch
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71230 Joost VandeVondele changed: What|Removed |Added Status|RESOLVED|REOPENED Resolution|FIXED

[Bug tree-optimization/71252] [7 Regression] ICE: verify_ssa failed : definition in block 7 does not dominate use in block 6

2016-05-25 Thread Joost.VandeVondele at mat dot ethz.ch
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71252 --- Comment #11 from Joost VandeVondele --- (In reply to Joost VandeVondele from comment #10) > I had a single file version of it, I'll try to recreate that once for our > current version. To use and compile the single file version try this:

[Bug tree-optimization/71252] [7 Regression] ICE: verify_ssa failed : definition in block 7 does not dominate use in block 6

2016-05-25 Thread Joost.VandeVondele at mat dot ethz.ch
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71252 --- Comment #10 from Joost VandeVondele --- (In reply to kugan from comment #9) > What application is this testcase from? I have a patch which I want to try. This is from the CP2K code we develop, it is available from

[Bug tree-optimization/71252] [7 Regression] ICE: verify_ssa failed : definition in block 7 does not dominate use in block 6

2016-05-25 Thread Joost.VandeVondele at mat dot ethz.ch
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71252 --- Comment #7 from Joost VandeVondele --- The following testcase is slightly different in that it leads to a segfault: > cat bug.f90 MODULE xc_pbe INTEGER, PARAMETER :: dp=8 CONTAINS SUBROUTINE pbe_lsd_calc(rhoa, rhob, norm_drho,

[Bug tree-optimization/71252] [7 Regression] ICE: verify_ssa failed : definition in block 7 does not dominate use in block 6

2016-05-25 Thread Joost.VandeVondele at mat dot ethz.ch
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71252 --- Comment #6 from Joost VandeVondele --- reduced testcase > cat bug.f90 MODULE xc_pbe INTEGER, PARAMETER :: dp=8 PRIVATE PUBLIC :: pbe_lda_info, pbe_lsd_info, pbe_lda_eval, pbe_lsd_eval CONTAINS SUBROUTINE

[Bug tree-optimization/71252] [7 Regression] ICE: verify_ssa failed : definition in block 7 does not dominate use in block 6

2016-05-24 Thread Joost.VandeVondele at mat dot ethz.ch
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71252 Joost VandeVondele changed: What|Removed |Added CC||Joost.VandeVondele at mat dot ethz

[Bug tree-optimization/71230] [7 Regression] ICE : in zero_one_operation, at tree-ssa-reassoc.c:1230

2016-05-24 Thread Joost.VandeVondele at mat dot ethz.ch
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71230 --- Comment #10 from Joost VandeVondele --- new testcase: > cat bug.f90 MODULE ai_coulomb_test INTEGER, PARAMETER :: dp=8 INTERFACE SUBROUTINE g2gemint(intabc,la_max,npgfa,zeta,a,lb_max,npgfb,zetb,b,&

[Bug tree-optimization/71230] [7 Regression] ICE : in zero_one_operation, at tree-ssa-reassoc.c:1230

2016-05-24 Thread Joost.VandeVondele at mat dot ethz.ch
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71230 --- Comment #9 from Joost VandeVondele --- (In reply to Richard Biener from comment #8) > There is another bug in this function remaining. I indeed see : bug.f90:47:0: SUBROUTINE eri_test (iw,error) in pp_string, at pretty-print.c:937

[Bug middle-end/71252] New: [7 Regression] ICE: verify_ssa failed : definition in block 7 does not dominate use in block 6

2016-05-24 Thread Joost.VandeVondele at mat dot ethz.ch
Severity: normal Priority: P3 Component: middle-end Assignee: unassigned at gcc dot gnu.org Reporter: Joost.VandeVondele at mat dot ethz.ch Target Milestone: --- today's trunk: > cat bug.f90 MODULE xc_b97 INTEGER, PARAMETER :: dp=8 PRIVATE PUB

[Bug middle-end/71230] [7 Regression] ICE : in zero_one_operation, at tree-ssa-reassoc.c:1230

2016-05-23 Thread Joost.VandeVondele at mat dot ethz.ch
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71230 Joost VandeVondele changed: What|Removed |Added CC||Joost.VandeVondele at mat dot ethz

[Bug middle-end/71230] New: [7 Regression] ICE : in zero_one_operation, at tree-ssa-reassoc.c:1230

2016-05-23 Thread Joost.VandeVondele at mat dot ethz.ch
Priority: P3 Component: middle-end Assignee: unassigned at gcc dot gnu.org Reporter: Joost.VandeVondele at mat dot ethz.ch Target Milestone: --- A recent trunk regression leads to : > gfortran -c -O1 -ffast-math bug.f90 bug.f90:6:0: SUBROUT

[Bug tree-optimization/71078] New: x/abs(x) -> sign(1.0,x)

2016-05-12 Thread Joost.VandeVondele at mat dot ethz.ch
ion Assignee: unassigned at gcc dot gnu.org Reporter: Joost.VandeVondele at mat dot ethz.ch Target Milestone: --- just noticed in some legacy code the equivalent of this construct: REAL FUNCTION mysign(x) REAL :: x mysign=x/abs(x) END FUNCTION which I would expect to be conver

[Bug middle-end/70960] New: [7.0 Regression] ICE: tree check: expected ssa_name, have integer_cst in ifcvt_walk_pattern_tree, at tree-if-conv.c:2465

2016-05-05 Thread Joost.VandeVondele at mat dot ethz.ch
Version: 7.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: middle-end Assignee: unassigned at gcc dot gnu.org Reporter: Joost.VandeVondele at mat dot ethz.ch Target Milestone: --- recent trunk regression: > cat bug.

[Bug middle-end/70937] New: [7.0 Regression] ICE: tree code ‘ssa_name’ is not supported in LTO streams

2016-05-03 Thread Joost.VandeVondele at mat dot ethz.ch
: normal Priority: P3 Component: middle-end Assignee: unassigned at gcc dot gnu.org Reporter: Joost.VandeVondele at mat dot ethz.ch Target Milestone: --- overnight regression in trunk: > cat bug.f90 SUBROUTINE dbcsr_test_read_args(narg, args) CHARACTER(

[Bug tree-optimization/68715] [6 Regression] ice: in harmful_stmt_in_region, at graphite-scop-detection.c:1043

2016-03-15 Thread Joost.VandeVondele at mat dot ethz.ch
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68715 --- Comment #7 from Joost VandeVondele --- (In reply to vries from comment #6) > Created attachment 37976 [details] > tentative patch, fixes examples from comment 4 and 5. also fixes the first testcase, thanks! For whatever reason I had to

[Bug web/69601] current/ redirect is off by at least a day

2016-03-01 Thread Joost.VandeVondele at mat dot ethz.ch
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69601 --- Comment #2 from Joost VandeVondele --- same issue for March

[Bug middle-end/69987] [6 Regression] internal compiler error: in verify_loop_structure, at cfgloop.c:1639

2016-02-27 Thread Joost.VandeVondele at mat dot ethz.ch
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69987 Joost VandeVondele changed: What|Removed |Added CC||Joost.VandeVondele at mat dot ethz

[Bug middle-end/69987] New: [6 Regression] internal compiler error: in verify_loop_structure, at cfgloop.c:1639

2016-02-27 Thread Joost.VandeVondele at mat dot ethz.ch
Severity: normal Priority: P3 Component: middle-end Assignee: unassigned at gcc dot gnu.org Reporter: Joost.VandeVondele at mat dot ethz.ch Target Milestone: --- an overnight regression on trunk, which I'll tr to reduce: /data/vjoost/gnu/cp2k/cp2k/makefiles

[Bug fortran/69695] slice of an array retains pointer attribute

2016-02-07 Thread Joost.VandeVondele at mat dot ethz.ch
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69695 --- Comment #3 from Joost VandeVondele --- (In reply to Mikael Morin from comment #2) > This seems to be allowed, see 12.5.2.7: Interesting, so that's a F2008 feature. The Cray compiler indeed gets this right. > So this is probably a plain

[Bug web/69601] current/ redirect is off by at least a day

2016-02-07 Thread Joost.VandeVondele at mat dot ethz.ch
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69601 Joost VandeVondele changed: What|Removed |Added CC||gerald at pfeifer dot com,

[Bug fastjar/69695] New: slice of an array retains pointer attribute

2016-02-05 Thread Joost.VandeVondele at mat dot ethz.ch
: fastjar Assignee: unassigned at gcc dot gnu.org Reporter: Joost.VandeVondele at mat dot ethz.ch Target Milestone: --- The following testcase: > cat test.f90 module point implicit none type point_type integer, dimension(:,:), pointer :: array end type point_type conta

[Bug fortran/69646] New: multiple warnings with -Wintrinsics-std

2016-02-02 Thread Joost.VandeVondele at mat dot ethz.ch
Assignee: unassigned at gcc dot gnu.org Reporter: Joost.VandeVondele at mat dot ethz.ch Target Milestone: --- This testcase related to Janus question on the ml : > cat test.f90 WRITE(6,*) BGE(1,2) END yields three times a similar warning with -Wintrinsics-std > gfort

[Bug web/69601] New: current/ redirect is off by at least a day

2016-02-01 Thread Joost.VandeVondele at mat dot ethz.ch
: web Assignee: unassigned at gcc dot gnu.org Reporter: Joost.VandeVondele at mat dot ethz.ch Target Milestone: --- The current/ redirect as in e.g. : https://gcc.gnu.org/ml/gcc-patches/current/ doesn't seem to redirect to https://gcc.gnu.org/ml/gcc-patches/2016-02/ at the right

[Bug tree-optimization/68976] [6 Regression] ICE w/ -O2 (and above) -fgraphite-identity (or -floop-nest-optimize)

2016-01-13 Thread Joost.VandeVondele at mat dot ethz.ch
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68976 --- Comment #5 from Joost VandeVondele --- I'm somewhat surprised graphite regressions get a P4. Discussions on the list suggested that graphite would be enabled by default in the near future. Lowering graphite regression priority to 'not

[Bug fortran/66461] [4.9/5/6 Regression] ICE on missing end program in fixed source

2016-01-10 Thread Joost.VandeVondele at mat dot ethz.ch
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66461 Joost VandeVondele changed: What|Removed |Added CC||Joost.VandeVondele at mat dot ethz

[Bug fortran/68829] [4.9/5/6 Regression] Segfaults with -Ofast due to large array on stack

2016-01-10 Thread Joost.VandeVondele at mat dot ethz.ch
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68829 Joost VandeVondele changed: What|Removed |Added CC||Joost.VandeVondele at mat dot ethz

[Bug fortran/69154] [6 Regression] ICE in gfc_trans_where_2, at fortran/trans-stmt.c:5005 on *-linux

2016-01-06 Thread Joost.VandeVondele at mat dot ethz.ch
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69154 Joost VandeVondele changed: What|Removed |Added CC||Joost.VandeVondele at mat dot ethz

[Bug fortran/68993] MERGE does not evaluate its arguments

2015-12-21 Thread Joost.VandeVondele at mat dot ethz.ch
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68993 --- Comment #5 from Joost VandeVondele --- (In reply to Steve Kargl from comment #4) > > I would urge anyone trying to be clever to use clear syntax: > https://github.com/hfp/libxsmm/commit/cc308fc5debe6151157a4fa9efacc7aa03351283 is what

[Bug fortran/68993] MERGE does not evaluate its arguments

2015-12-20 Thread Joost.VandeVondele at mat dot ethz.ch
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68993 Joost VandeVondele changed: What|Removed |Added Status|WAITING |RESOLVED CC|

[Bug fortran/68993] New: MERGE does not evaluate its arguments

2015-12-19 Thread Joost.VandeVondele at mat dot ethz.ch
Assignee: unassigned at gcc dot gnu.org Reporter: Joost.VandeVondele at mat dot ethz.ch Target Milestone: --- I'm not 100% sure what the right answer is, i.e. if MERGE is defined by the standard to do something special with respect to evaluating its arguments. The origin is code

[Bug fortran/68649] [6 Regression] note: code may be misoptimized unless -fno-strict-aliasing is used

2015-12-11 Thread Joost.VandeVondele at mat dot ethz.ch
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68649 --- Comment #11 from Joost VandeVondele --- (In reply to Jerry DeLisle from comment #10) > This PR is tagged as a regression. Has anyone determined when it last > worked or is it longstanding bug uncovered by recent non-fortran fe changes?

[Bug fortran/68829] New: [4.7/4.8/4.9/5.3/6.0 Regression] Segfaults with -Ofast

2015-12-10 Thread Joost.VandeVondele at mat dot ethz.ch
Component: fortran Assignee: unassigned at gcc dot gnu.org Reporter: Joost.VandeVondele at mat dot ethz.ch Target Milestone: --- Currently, switching from -O3 to -Ofast might result in segfaulting Fortran programs: > cat test.f90 MODULE foo CONTAINS SUBROUTINE my

[Bug middle-end/68002] retaining unused static functions at -O1

2015-12-08 Thread Joost.VandeVondele at mat dot ethz.ch
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68002 Joost VandeVondele changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug fortran/39772] -fcheck=bounds could check for overflow of size intrinsic.

2015-12-05 Thread Joost.VandeVondele at mat dot ethz.ch
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=39772 Joost VandeVondele changed: What|Removed |Added Status|WAITING |NEW Summary|add a

[Bug fortran/55916] Alignment issues with real(16) on i686

2015-12-05 Thread Joost.VandeVondele at mat dot ethz.ch
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=55916 Joost VandeVondele changed: What|Removed |Added CC||Joost.VandeVondele at mat dot ethz

[Bug tree-optimization/68715] [6 Regression] ice: in harmful_stmt_in_region, at graphite-scop-detection.c:1043

2015-12-05 Thread Joost.VandeVondele at mat dot ethz.ch
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68715 Joost VandeVondele changed: What|Removed |Added Last reconfirmed||2015-12-5 CC|

[Bug tree-optimization/68715] New: [6 Regression] ice: in harmful_stmt_in_region, at graphite-scop-detection.c:1043

2015-12-05 Thread Joost.VandeVondele at mat dot ethz.ch
: normal Priority: P3 Component: tree-optimization Assignee: unassigned at gcc dot gnu.org Reporter: Joost.VandeVondele at mat dot ethz.ch Target Milestone: --- not a dup of PR68693: > cat bug.f90 SUBROUTINE se_core_core_interaction(calculate_for

[Bug tree-optimization/68692] New: [graphite] ice: Segmentation fault

2015-12-03 Thread Joost.VandeVondele at mat dot ethz.ch
-optimization Assignee: unassigned at gcc dot gnu.org Reporter: Joost.VandeVondele at mat dot ethz.ch Target Milestone: --- > cat bug.f90 MODULE spme INTEGER, PARAMETER :: dp=8 PRIVATE PUBLIC :: get_patch CONTAINS SUBROUTINE get_patch ( part, box, green, npts, p, rhos, is_c

[Bug tree-optimization/68693] New: [6 Regression] ice: in harmful_stmt_in_region, at graphite-scop-detection.c:1052

2015-12-03 Thread Joost.VandeVondele at mat dot ethz.ch
: normal Priority: P3 Component: tree-optimization Assignee: unassigned at gcc dot gnu.org Reporter: Joost.VandeVondele at mat dot ethz.ch Target Milestone: --- > cat bug.f90 MODULE dbcsr_index_operations INTERFACE dbcsr_build_row_index END INTERF

[Bug tree-optimization/68693] [6 Regression] ice: in harmful_stmt_in_region, at graphite-scop-detection.c:1052

2015-12-03 Thread Joost.VandeVondele at mat dot ethz.ch
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68693 Joost VandeVondele changed: What|Removed |Added Last reconfirmed||2015-12-4 CC|

[Bug tree-optimization/68692] [6 Regression] ice: Segmentation fault

2015-12-03 Thread Joost.VandeVondele at mat dot ethz.ch
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68692 Joost VandeVondele changed: What|Removed |Added Last reconfirmed||2015-12-4 CC|

[Bug tree-optimization/68550] [6 Regression] ICE: verify_gimple failed Error: missing PHI def

2015-12-03 Thread Joost.VandeVondele at mat dot ethz.ch
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68550 --- Comment #7 from Joost VandeVondele --- (In reply to Sebastian Pop from comment #5) > fixed BTW, with this fixed, I can compile our CP2K code with -floop-nest-optimize at various -Ox and all seems correct. Thanks! I'll try to integrate

[Bug tree-optimization/68550] [6 Regression] ICE: verify_gimple failed Error: missing PHI def

2015-12-02 Thread Joost.VandeVondele at mat dot ethz.ch
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68550 --- Comment #2 from Joost VandeVondele --- The following simpler looking testcase fails at -O1: > cat bug.f90 SUBROUTINE PD2VAL(RES,NDERIV,TG1,TG2,C0) INTEGER, PARAMETER :: dp=8 REAL(KIND=dp), INTENT(OUT) :: res(*) REAL(KIND=dp),

[Bug fortran/68649] [6 Regression] note: code may be misoptimized unless -fno-strict-aliasing is used

2015-12-02 Thread Joost.VandeVondele at mat dot ethz.ch
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68649 Joost VandeVondele changed: What|Removed |Added Status|WAITING |UNCONFIRMED Depends on|

[Bug rtl-optimization/68641] undefined variables implicitly considered to be zero

2015-12-02 Thread Joost.VandeVondele at mat dot ethz.ch
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68641 --- Comment #10 from Joost VandeVondele --- (In reply to rguent...@suse.de from comment #9) > Though with the testcase you gave we warn at both -O0 and -O1: yes, but unfortunately, -Wuninitialized, also warns for 'may be used uninitialized'

[Bug rtl-optimization/68641] undefined variables implicitly considered to be zero

2015-12-02 Thread Joost.VandeVondele at mat dot ethz.ch
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68641 Joost VandeVondele changed: What|Removed |Added CC||Joost.VandeVondele at mat dot ethz

[Bug rtl-optimization/68641] undefined variables implicitly considered to be zero

2015-12-02 Thread Joost.VandeVondele at mat dot ethz.ch
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68641 --- Comment #12 from Joost VandeVondele --- (In reply to Marc Glisse from comment #11) > That sounds like a bug. It works for me on a simple C testcase. sorry, fat fingers on my side. So, yes, this works gfortran -c -Werror=uninitialized

[Bug middle-end/68641] New: undefined variables implicitly considered to be zero

2015-12-01 Thread Joost.VandeVondele at mat dot ethz.ch
Component: middle-end Assignee: unassigned at gcc dot gnu.org Reporter: Joost.VandeVondele at mat dot ethz.ch Target Milestone: --- This is an enhancement request. Using -O1 and higher, undefined variables are considered equal to 0 in optimization. This leads to code compiling at -O1

[Bug fortran/38312] Unexpected STATEMENT FUNCTION statement

2015-12-01 Thread Joost.VandeVondele at mat dot ethz.ch
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=38312 Joost VandeVondele changed: What|Removed |Added CC||Joost.VandeVondele at mat dot ethz

[Bug middle-end/68649] New: note: code may be misoptimized unless -fno-strict-aliasing is used

2015-12-01 Thread Joost.VandeVondele at mat dot ethz.ch
Priority: P3 Component: middle-end Assignee: unassigned at gcc dot gnu.org Reporter: Joost.VandeVondele at mat dot ethz.ch Target Milestone: --- Today's trunk produces a lot of warnings / notes all referring to functions from libgfortran, when compiling CP2K

[Bug middle-end/68649] [6 Regression] note: code may be misoptimized unless -fno-strict-aliasing is used

2015-12-01 Thread Joost.VandeVondele at mat dot ethz.ch
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68649 Joost VandeVondele changed: What|Removed |Added CC||hubicka at gcc dot gnu.org,

[Bug fortran/68649] [6 Regression] note: code may be misoptimized unless -fno-strict-aliasing is used

2015-12-01 Thread Joost.VandeVondele at mat dot ethz.ch
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68649 --- Comment #3 from Joost VandeVondele --- Grepping the list of 'note:' in our build process, it triggers for at least these functions: _gfortran_matmul_r8 _gfortran_reshape_4 _gfortran_reshape_c4 _gfortran_reshape_c8 _gfortran_reshape_r4

[Bug fortran/38312] Unexpected STATEMENT FUNCTION statement

2015-12-01 Thread Joost.VandeVondele at mat dot ethz.ch
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=38312 Joost VandeVondele changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug tree-optimization/68639] New: [6 Regression] ICE: Floating point exception

2015-12-01 Thread Joost.VandeVondele at mat dot ethz.ch
-optimization Assignee: unassigned at gcc dot gnu.org Reporter: Joost.VandeVondele at mat dot ethz.ch Target Milestone: --- trunk regression: > cat bug.f90 SUBROUTINE makeCoulE0(natorb,Coul) INTEGER, PARAMETER :: dp=8 REAL(KIND=dp), PARAMETER :: fourpi=432

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

2015-11-30 Thread Joost.VandeVondele at mat dot ethz.ch
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68600 Joost VandeVondele changed: What|Removed |Added CC||Joost.VandeVondele at mat dot ethz

[Bug bootstrap/68540] 6.0 build process broken on Linux Mint, potential include ordering problem

2015-11-27 Thread Joost.VandeVondele at mat dot ethz.ch
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68540 Joost VandeVondele changed: What|Removed |Added CC||Joost.VandeVondele at mat dot ethz

[Bug middle-end/68565] New: [6 Regression] graphite : -O2 -floop-nest-optimize miscompile

2015-11-26 Thread Joost.VandeVondele at mat dot ethz.ch
Priority: P3 Component: middle-end Assignee: unassigned at gcc dot gnu.org Reporter: Joost.VandeVondele at mat dot ethz.ch Target Milestone: --- current trunk lead to wrong code for the following testcase if -floop-nest-optimize is used: > cat test.f90 MODULE t

[Bug middle-end/68565] [6 Regression] graphite : -O2 -floop-nest-optimize miscompile

2015-11-26 Thread Joost.VandeVondele at mat dot ethz.ch
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68565 Joost VandeVondele changed: What|Removed |Added Last reconfirmed||2015-11-26 CC|

[Bug middle-end/68575] New: [6 Regression] ice: verify_ssa failed, definition in block 2 follows the use

2015-11-26 Thread Joost.VandeVondele at mat dot ethz.ch
: normal Priority: P3 Component: middle-end Assignee: unassigned at gcc dot gnu.org Reporter: Joost.VandeVondele at mat dot ethz.ch Target Milestone: --- overnight regression with current trunk: > cat bug.f90 MODULE qs_efield_berry TYPE cp_error_type

[Bug tree-optimization/68453] [6 Regression] graphite ICE: segfault

2015-11-26 Thread Joost.VandeVondele at mat dot ethz.ch
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68453 --- Comment #3 from Joost VandeVondele --- at r230923 this testcase seems not to fail anymore. Should this be closed as fixed (maybe after adding the testcase ?) I ran into a new ICE however, but I'll open a PR once I have this reduced.

[Bug tree-optimization/68550] New: [6 Regression] ICE: verify_gimple failed Error: missing PHI def

2015-11-26 Thread Joost.VandeVondele at mat dot ethz.ch
Priority: P3 Component: tree-optimization Assignee: unassigned at gcc dot gnu.org Reporter: Joost.VandeVondele at mat dot ethz.ch Target Milestone: --- graphite-triggered ICE in current trunk. > cat bug.f90 SUBROUTINE integrate_core_1(grid,coef_xyz,pol_x,po

[Bug tree-optimization/68453] [6 Regression] graphite ICE: segfault

2015-11-26 Thread Joost.VandeVondele at mat dot ethz.ch
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68453 --- Comment #5 from Joost VandeVondele --- (In reply to Sebastian Pop from comment #4) > fixed in r230918 Thanks! I think if you make the changelog part of the commit message (in particular the line containing PR tree-optimization/68453) an

[Bug tree-optimization/68379] [6 Regression] BB vectorization: definition in block 13 follows the use for SSA_NAME

2015-11-26 Thread Joost.VandeVondele at mat dot ethz.ch
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68379 --- Comment #2 from Joost VandeVondele --- (In reply to Markus Trippelsdorf from comment #1) > *** Bug 68575 has been marked as a duplicate of this bug. *** The testcase in PR68575 doesn't require avx, so might be useful for the testsuite.

[Bug tree-optimization/68379] [6 Regression] BB vectorization: definition in block 13 follows the use for SSA_NAME

2015-11-26 Thread Joost.VandeVondele at mat dot ethz.ch
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68379 Joost VandeVondele changed: What|Removed |Added Target|aarch64 |aarch64, |

[Bug rtl-optimization/68432] [6 Regression] internal compiler error: in expand_insn, at optabs.c:6947

2015-11-25 Thread Joost.VandeVondele at mat dot ethz.ch
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68432 --- Comment #11 from Joost VandeVondele --- (In reply to rsand...@gcc.gnu.org from comment #10) > Series finally posted here: > > https://gcc.gnu.org/ml/gcc-patches/2015-11/msg03020.html > > Sorry for the delay. Many thanks for fixing this

[Bug libfortran/51119] MATMUL slow for large matrices

2015-11-24 Thread Joost.VandeVondele at mat dot ethz.ch
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=51119 --- Comment #29 from Joost VandeVondele --- (In reply to Thomas Koenig from comment #27) > (In reply to Joost VandeVondele from comment #22) > If the compiler turns out not to be reasonably smart, file a bug report :-) what is needed for large

[Bug sanitizer/59302] tsan: Unexpected mmap in InternalAllocator!

2015-11-23 Thread Joost.VandeVondele at mat dot ethz.ch
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=59302 Joost VandeVondele changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug libfortran/51119] MATMUL slow for large matrices

2015-11-23 Thread Joost.VandeVondele at mat dot ethz.ch
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=51119 --- Comment #22 from Joost VandeVondele --- (In reply to Thomas Koenig from comment #21) > I assume that for small matrices bordering on the silly > (say, a matrix multiplication with dimensions of (1,2) and (2,1)) > the inline code will be

[Bug middle-end/68279] ICE: in create_pw_aff_from_tree, at graphite-sese-to-poly.c:836

2015-11-23 Thread Joost.VandeVondele at mat dot ethz.ch
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68279 --- Comment #6 from Joost VandeVondele --- (In reply to Sebastian Pop from comment #5) > After fixing the graphite fail, I get these warnings from the testcase in thanks, these are due to reducing the testcase stripping variable definitions.

[Bug libfortran/51119] MATMUL slow for large matrices

2015-11-22 Thread Joost.VandeVondele at mat dot ethz.ch
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=51119 --- Comment #20 from Joost VandeVondele --- (In reply to Jerry DeLisle from comment #19) > If I can get something working I am thinking something like > -fexternal-blas-n, if -n not given then default to current libblas > behaviour. This way

[Bug libfortran/51119] MATMUL slow for large matrices

2015-11-22 Thread Joost.VandeVondele at mat dot ethz.ch
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=51119 --- Comment #18 from Joost VandeVondele --- (In reply to Jerry DeLisle from comment #17) > I have done some experimenting. Since gcc supports OMP and I think to some > extent ACC why not come up with a MATMUL that exploits these if present?

[Bug rtl-optimization/68432] [6 Regression] internal compiler error: in expand_insn, at optabs.c:6947

2015-11-19 Thread Joost.VandeVondele at mat dot ethz.ch
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68432 Joost VandeVondele changed: What|Removed |Added CC||Joost.VandeVondele at mat dot ethz

[Bug middle-end/68279] ICE: in create_pw_aff_from_tree, at graphite-sese-to-poly.c:836

2015-11-19 Thread Joost.VandeVondele at mat dot ethz.ch
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68279 Joost VandeVondele changed: What|Removed |Added Last reconfirmed||2015-11-20 --- Comment #4 from

  1   2   3   4   5   6   7   8   >