[Bug middle-end/113636] New: internal compiler error: in dead_debug_global_find, at valtrack.cc:275

2024-01-28 Thread toon at moene dot org via Gcc-bugs
Priority: P3 Component: middle-end Assignee: unassigned at gcc dot gnu.org Reporter: toon at moene dot org Target Milestone: --- A build + test run [r14-8465] on aarch64-linux-gnu draws the following ICE while compiling math/cmplx: during RTL pass: sched1

[Bug fortran/111218] New: Conflict in BIND(C) INTERFACEs in two Modules leads to ICE.

2023-08-28 Thread toon at moene dot org via Gcc-bugs
Priority: P3 Component: fortran Assignee: unassigned at gcc dot gnu.org Reporter: toon at moene dot org Target Milestone: --- The following program: MODULE FIELD_2RM_UTIL_MODULE INTERFACE SUBROUTINE SET_ABOR1_EXCEPTION_HANDLER() BIND(C,name

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

2021-09-09 Thread toon at moene dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97589 --- Comment #29 from Toon Moene --- On 9/8/21 10:05 PM, anlauf at gcc dot gnu.org wrote: > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97589 > > anlauf at gcc dot gnu.org changed: > > What|Removed |Added >

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

2020-11-28 Thread toon at moene dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97589 --- Comment #27 from Toon Moene --- Yes, I am now convince this works (64 leads to stop 1, but 63 works). Note that I slightly changed the program today, to add a sync all before the forecasting loop, and adding one to the copy_local_to_global

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

2020-11-27 Thread toon at moene dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97589 --- Comment #25 from Toon Moene --- BTW, the speed difference between the native and the OpenMPI based program is staggering. For a 936x770x60 grid, the native run takes around 14 seconds elapsed time, while the OpenMPI based one takes 2 minutes

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

2020-11-27 Thread toon at moene dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97589 --- Comment #24 from Toon Moene --- And I can reproduce the GFORTRAN_NUM_IMAGES=64 segfault: (export LD_LIBRARY_PATH=/home/toon/compilers/install/coarray_native/lib/gcc/x86_64-pc-linux-gnu/11.0.0; export GFORTRAN_NUM_IMAGES=64; echo '

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

2020-11-27 Thread toon at moene dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97589 --- Comment #23 from Toon Moene --- The segfault at GFORTRAN_NUM_IMAGES=64 might be due to the fact that the program doesn't contain a check whether the size of the boundary relaxation zone (currently set to 4) is too large for the slabs. The

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

2020-11-22 Thread toon at moene dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97589 --- Comment #20 from Toon Moene --- Example of the problem described in the last comment: (export LD_LIBRARY_PATH=/home/toon/compilers/install/coarray_native/lib/gcc/x86_64-pc-linux-gnu/11.0.0; export GFORTRAN_NUM_IMAGES=28; echo '

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

2020-11-22 Thread toon at moene dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97589 --- Comment #19 from Toon Moene --- Thanks. It works now for export GFORTRAN_NUM_IMAGES=1..10 for me. Unfortunately, when I want to change the nxglobal and nyglobal values in the domain via the namelist, sometimes the "default" values are

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

2020-11-15 Thread toon at moene dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97589 --- Comment #11 from Toon Moene --- Created attachment 49564 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=49564=edit The full program I am testing. This is the full program I am testing. I have compiled it as follows (after building

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

2020-11-14 Thread toon at moene dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97589 Toon Moene changed: What|Removed |Added Resolution|FIXED |--- Status|RESOLVED

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

2020-11-10 Thread toon at moene dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97589 --- Comment #7 from Toon Moene --- I agree - the coarrays should be the same size and the program should just only *use* the part that it needs. I also got an error with the caf-mpi library, but that one was impossible to understand (in fact,

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

2020-10-27 Thread toon at moene dot org via Gcc-bugs
Component: fortran Assignee: unassigned at gcc dot gnu.org Reporter: toon at moene dot org Target Milestone: --- Created attachment 49446 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=49446=edit The failing program. I compiled the attached program as follows: ~/compil

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

2020-10-24 Thread toon at moene dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97530 --- Comment #1 from Toon Moene --- Created attachment 49437 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=49437=edit Reduced test case. I managed to reduce the failing program.

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

2020-10-22 Thread toon at moene dot org via Gcc-bugs
Status: UNCONFIRMED Severity: normal Priority: P3 Component: fortran Assignee: unassigned at gcc dot gnu.org Reporter: toon at moene dot org Target Milestone: --- Created attachment 49424 --> https://gcc.gnu.org/bugzilla/attachment.

[Bug fortran/96711] Internal Compiler Error on NINT() Function

2020-08-19 Thread toon at moene dot org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96711 Toon Moene changed: What|Removed |Added CC||toon at moene dot org --- Comment #7 from

[Bug fortran/96712] internal compiler error: in build_round_expr, at fortran/trans-intrinsic.c:399

2020-08-19 Thread toon at moene dot org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96712 Toon Moene changed: What|Removed |Added Resolution|--- |DUPLICATE Status|UNCONFIRMED

[Bug fortran/96712] New: internal compiler error: in build_round_expr, at fortran/trans-intrinsic.c:399

2020-08-19 Thread toon at moene dot org
: normal Priority: P3 Component: fortran Assignee: unassigned at gcc dot gnu.org Reporter: toon at moene dot org Target Milestone: --- The following source: integer i real(kind=8) r i = nint(r, 16) end generates an ICE when compiled with 10.2 as follows

[Bug analyzer/93405] Passing constant arguments to subroutines in Fortran ... and the analyzer.

2020-02-09 Thread toon at moene dot org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93405 --- Comment #5 from Toon Moene --- I have no problem with it. I will ACK it on the fortran mailing list.

[Bug analyzer/93405] Passing constant arguments to subroutines in Fortran ... and the analyzer.

2020-02-08 Thread toon at moene dot org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93405 --- Comment #3 from Toon Moene --- The patch indeed solved the test case. Thanks !

[Bug analyzer/93405] New: Passing constant arguments to subroutines in Fortran ... and the analyzer.

2020-01-23 Thread toon at moene dot org
: normal Priority: P3 Component: analyzer Assignee: dmalcolm at gcc dot gnu.org Reporter: toon at moene dot org Target Milestone: --- I think the analyzer has a problem in the way constant arguments are passed "by reference" in Fortran: $ cat main1.f

[Bug analyzer/93388] New: ensure -fanalyzer works with our C code

2020-01-22 Thread toon at moene dot org
Assignee: dmalcolm at gcc dot gnu.org Reporter: toon at moene dot org Target Milestone: --- Trying to bootstrap with a new config/bootstrap-analyzer.mk: STAGE2_CFLAGS += -fanalyzer STAGE3_CFLAGS += -fanalyzer fails while building libbacktrace/dwarf.c:448:12: warning: use

[Bug fortran/90937] internal compiler error: in gfc_get_symbol_decl, at fortran/trans-decl.c:1538

2019-06-19 Thread toon at moene dot org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90937 --- Comment #1 from Toon Moene --- It compiles with gfortran 7.3

[Bug fortran/90937] New: internal compiler error: in gfc_get_symbol_decl, at fortran/trans-decl.c:1538

2019-06-19 Thread toon at moene dot org
: normal Priority: P3 Component: fortran Assignee: unassigned at gcc dot gnu.org Reporter: toon at moene dot org Target Milestone: --- Compiling he following code leads to the ICE in the summary: SUBROUTINE LFIDIFF IMPLICIT NONE INTEGER, PARAMETER :: JPIM

[Bug fortran/90329] Incompatibility between gfortran and C lapack calls

2019-05-05 Thread toon at moene dot org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90329 --- Comment #9 from Toon Moene --- > So with this suggestion, this procedure would be generated without the hidden > length argument. The brokenness comes from > call foo("ab") > which would generate a call to a procedure WITH the hidden

[Bug fortran/51310] -finit-bla doesn't initialize *all* items of type bla to the requested constant.

2019-01-16 Thread toon at moene dot org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=51310 --- Comment #10 from Toon Moene --- On 1/14/19 11:52 PM, dominiq at lps dot ens.fr wrote: > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=51310 > > --- Comment #9 from Dominique d'Humieres --- > Output from the test in comment 0 is now > >

[Bug rtl-optimization/88519] New: internal compiler error: in expand_widen_pattern_expr, at optabs.c:278

2018-12-16 Thread toon at moene dot org
Priority: P3 Component: rtl-optimization Assignee: unassigned at gcc dot gnu.org Reporter: toon at moene dot org Target Milestone: --- Created attachment 45244 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=45244=edit Source code that provokes the

[Bug middle-end/87218] Extremely long compile time with 710 line Fortran code using -O2

2018-09-04 Thread toon at moene dot org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87218 --- Comment #1 from Toon Moene --- Well, OK - it's more like 9 minutes ...

[Bug middle-end/87218] New: Extremely long compile time with 710 line Fortran code using -O2

2018-09-04 Thread toon at moene dot org
Priority: P3 Component: middle-end Assignee: unassigned at gcc dot gnu.org Reporter: toon at moene dot org Target Milestone: --- Created attachment 44660 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=44660=edit Source of Fortran routine taking 12+ minu

[Bug fortran/71783] [5/6/7 Regression ] ICE on valid code in gimplify_var_or_parm_decl at gimplify.c:1801

2016-07-12 Thread toon at moene dot org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71783 --- Comment #13 from Toon Moene --- On 07/11/2016 10:26 PM, tkoenig at gcc dot gnu.org wrote: > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71783 > > Thomas Koenig changed: > >What|Removed |Added >

[Bug fortran/71783] [5/6/7 Regression ] ICE on valid code in gimplify_var_or_parm_decl at gimplify.c:1801

2016-07-09 Thread toon at moene dot org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71783 --- Comment #6 from Toon Moene --- On 07/08/2016 11:15 PM, tkoenig at gcc dot gnu.org wrote: > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71783 > > --- Comment #3 from Thomas Koenig --- > The solution turns that fixes the ICE turns out to be

[Bug fortran/71783] New: ICE on valid code.

2016-07-06 Thread toon at moene dot org
: unassigned at gcc dot gnu.org Reporter: toon at moene dot org Target Milestone: --- Created attachment 38843 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=38843=edit The code leading to the ICE. The following code: SUBROUTINE prtdata(ilen) INTEGER :: ilen character(len=i

[Bug fortran/71717] New: A gfortran silent "wrong code" bug in the transition from 4.9.0 -> 4.9.1, using OpenMP.

2016-06-30 Thread toon at moene dot org
: UNCONFIRMED Severity: major Priority: P3 Component: fortran Assignee: unassigned at gcc dot gnu.org Reporter: toon at moene dot org Target Milestone: --- Created attachment 38805 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=38805=edit The (reduc

[Bug libfortran/63460] New: Some namelists cannot be read from stdin (unit 5): Fortran runtime error: End of file

2014-10-05 Thread toon at moene dot org
Severity: normal Priority: P3 Component: libfortran Assignee: unassigned at gcc dot gnu.org Reporter: toon at moene dot org The following Fortran program, when compiled with gfortran 4.9.1 or trunk (5.0), cannot read a valid namelist file from stdin (unit 5

[Bug fortran/51310] -finit-bla doesn't initialize *all* items of type bla to the requested constant.

2011-12-08 Thread toon at moene dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51310 Toon Moene toon at moene dot org changed: What|Removed |Added Severity|normal |enhancement

[Bug fortran/51310] -finit-bla doesn't initialize *all* items of type bla to the requested constant.

2011-12-05 Thread toon at moene dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51310 Toon Moene toon at moene dot org changed: What|Removed |Added Attachment #25948|0 |1 is obsolete

[Bug fortran/51310] -finit-bla doesn't initialize *all* items of type bla to the requested constant.

2011-12-05 Thread toon at moene dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51310 --- Comment #3 from Toon Moene toon at moene dot org 2011-12-05 20:04:21 UTC --- At first I thought that gfortran would initialize small local arrays to whatever -finit-real indicated by making them static, instead of stack based. However

[Bug fortran/51310] -finit-bla doesn't initialize *all* items of type bla to the requested constant.

2011-11-29 Thread toon at moene dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51310 --- Comment #1 from Toon Moene toon at moene dot org 2011-11-29 19:37:19 UTC --- Created attachment 25948 -- http://gcc.gnu.org/bugzilla/attachment.cgi?id=25948 Untested patch to the documentation This is a completely untested patch

[Bug fortran/51310] New: -finit-bla doesn't initialize *all* items of type bla to the requested constant.

2011-11-26 Thread toon at moene dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51310 Bug #: 51310 Summary: -finit-bla doesn't initialize *all* items of type bla to the requested constant. Classification: Unclassified Product: gcc Version: 4.6.0

[Bug middle-end/50178] New: [4.6 regression] ICE with gfortran -O3, not with gfortran -02

2011-08-24 Thread toon at moene dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50178 Bug #: 50178 Summary: [4.6 regression] ICE with gfortran -O3, not with gfortran -02 Classification: Unclassified Product: gcc Version: 4.6.0 Status: UNCONFIRMED

[Bug middle-end/50178] [4.6 regression] ICE with gfortran -O3, not with gfortran -02

2011-08-24 Thread toon at moene dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50178 Toon Moene toon at moene dot org changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed

[Bug lto/44149] -fuse-linker-plugin lto1: internal compiler error: in lto_symtab_merge_decls_1, at lto-symtab.c:610

2011-05-08 Thread toon at moene dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44149 --- Comment #6 from Toon Moene toon at moene dot org 2011-05-08 13:15:44 UTC --- Well, that was a bit too quick (careful which compiler you are using). It works with this compiler: $ /usr/snp/bin/gfortran -v Using built-in specs. COLLECT_GCC

[Bug lto/44149] -fuse-linker-plugin lto1: internal compiler error: in lto_symtab_merge_decls_1, at lto-symtab.c:610

2011-05-08 Thread toon at moene dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44149 --- Comment #5 from Toon Moene toon at moene dot org 2011-05-08 13:00:33 UTC --- The bug does not manifest itself with the default compiler and linker on a recent version of Debian Testing: $ gcc -v Using built-in specs. COLLECT_GCC=gcc

[Bug lto/44149] lto1: internal compiler error: in lto_symtab_merge_decls_1, at lto-symtab.c:610

2010-05-16 Thread toon at moene dot org
--- Comment #2 from toon at moene dot org 2010-05-16 18:35 --- Created an attachment (id=20675) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=20675action=view) reduced test case A reduced test case that failes in the same way. -- toon at moene dot org changed: What

[Bug lto/44149] lto1: internal compiler error: in lto_symtab_merge_decls_1, at lto-symtab.c:610

2010-05-16 Thread toon at moene dot org
--- Comment #3 from toon at moene dot org 2010-05-16 18:51 --- It might be useful to compare the two decls that invoke the mismatch that triggers the gcc_assert: prevailing-decl is: function_decl 0x7fb0f574f900 convect_satmixratio type function_type 0x7fb0f5786b28 type

[Bug lto/44149] New: lto1: internal compiler error: in lto_symtab_merge_decls_1, at lto-symtab.c:610

2010-05-15 Thread toon at moene dot org
Severity: normal Priority: P3 Component: lto AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: toon at moene dot org GCC host triplet: x64_86-unknown-linux-gnu http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44149

[Bug lto/44149] lto1: internal compiler error: in lto_symtab_merge_decls_1, at lto-symtab.c:610

2010-05-15 Thread toon at moene dot org
--- Comment #1 from toon at moene dot org 2010-05-15 09:32 --- Created an attachment (id=20664) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=20664action=view) source code that shows the bug -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44149

[Bug fortran/40998] Source with routine in CONTAINS section and a local variable: No symbol nerr in current context

2010-03-20 Thread toon at moene dot org
--- Comment #7 from toon at moene dot org 2010-03-20 09:39 --- Works when using Debian's version of gfortran 4.4.3 and their gdb (version 7.0.1). -- toon at moene dot org changed: What|Removed |Added

[Bug fortran/42848] compiler crashes and asks for this bug report

2010-01-23 Thread toon at moene dot org
--- Comment #2 from toon at moene dot org 2010-01-23 13:24 --- Tobias, If we ask a bug submitter for more information, or to confirm our suspicions, we put the bug report in WAITING. Note to submitter: bug reports with status WAITING will be closed if not replied to within 3 months

[Bug libfortran/33905] show_backtrace hangs on SIGSEGV in malloc/free

2009-12-17 Thread toon at moene dot org
--- Comment #5 from toon at moene dot org 2009-12-17 21:58 --- (Even with a temporary file, other things can go wrong!) Paul, you are right - I agree with FX, but forgot to reply. Closing as WONTFIX is OK with me. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33905

[Bug fortran/42131] Weird translation of DO loops

2009-11-24 Thread toon at moene dot org
--- Comment #12 from toon at moene dot org 2009-11-24 18:03 --- Any tricks I have missed? Yes - we could provide for loop versioning in the front end. I.e., generate code like: IF (M3 0) THEN ... compute loop count ... ... perform loop ... ELSE IF (M3 0) THEN ... compute

[Bug fortran/42131] Weird translation of DO loops

2009-11-22 Thread toon at moene dot org
--- Comment #9 from toon at moene dot org 2009-11-22 10:20 --- Richard wondered about this earlier: countm1.1 = (character(kind=4)) (D.1337 - D.1336) / (character(kind=4)) D.1338; but perhaps it's better to asked explicitly: Where does the (character(kind=4)) comes from

[Bug tree-optimization/42108] [4.4/4.5 Regression] Vectorizer cannot deal with PAREN_EXPR gracefully, 50% performance regression

2009-11-21 Thread toon at moene dot org
--- Comment #15 from toon at moene dot org 2009-11-21 12:11 --- I don't see that the standard suggests the specific code the Frontend generates. In fact it should be valid to increment the DO variable by m3 and express the exit test in terms of the DO variable as well. The Standard

[Bug fortran/42131] Weird translation of DO loops

2009-11-21 Thread toon at moene dot org
--- Comment #2 from toon at moene dot org 2009-11-21 17:33 --- Sorry, Steve - my mistake. The original message should have been: To illustrate this with a simple example: DO I = M1, M2, M3 B(I) = A(I) ENDDO would be most easily, and straightforwardly, implemented as follows

[Bug fortran/42131] Weird translation of DO loops

2009-11-21 Thread toon at moene dot org
--- Comment #5 from toon at moene dot org 2009-11-21 21:40 --- The middle-end prefers do { } while () loop style so it knows the loop is always executed. And the Fortran Standard describes the loops being built (by compilers) just so: 1. First you determine what is m1, m2, m3 2

[Bug tree-optimization/42108] [4.4/4.5 Regression] Vectorizer cannot deal with PAREN_EXPR gracefully, 50% performance regression

2009-11-20 Thread toon at moene dot org
--- Comment #13 from toon at moene dot org 2009-11-20 19:45 --- The funny conditional initialization of countm1.6 makes the analysis of the number of iterations of this loop impossible (not to mention the conversions to character(kind=4)). Why does the frontend do induction

[Bug tree-optimization/42108] [4.4/4.5 Regression] Vectorizer cannot deal with PAREN_EXPR gracefully, 50% performance regression

2009-11-19 Thread toon at moene dot org
--- Comment #6 from toon at moene dot org 2009-11-19 19:53 --- Richard Guenther wrote: Well, within eval there's nothing really obvious to me. The innermost loop is exactly the same: But it is a very inefficient way of vectorizing, because the inner loop's body is either executed

[Bug lto/41871] New: lto-plugin gives: could not open/create temporary file

2009-10-29 Thread toon at moene dot org
Product: gcc Version: 4.5.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: lto AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: toon at moene dot org GCC build triplet: x86_64-unknown-linux-gnu GCC

[Bug lto/41654] New: ICE: in gimple_cond_get_ops_from_tree, at gimple.c:417

2009-10-10 Thread toon at moene dot org
Priority: P3 Component: lto AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: toon at moene dot org GCC build triplet: x86_64-unknown-linux-gnu GCC host triplet: x86_64-unknown-linux-gnu GCC target triplet: x86_64-unknown-linux-gnu http://gcc.gnu.org

[Bug lto/41654] ICE: in gimple_cond_get_ops_from_tree, at gimple.c:417

2009-10-10 Thread toon at moene dot org
--- Comment #1 from toon at moene dot org 2009-10-10 09:26 --- Created an attachment (id=18770) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=18770action=view) Source code that elicits the error. Added source code that evokes error. It is a .f90 source, not .f -- http

[Bug lto/41654] ICE: in gimple_cond_get_ops_from_tree, at gimple.c:417

2009-10-10 Thread toon at moene dot org
--- Comment #2 from toon at moene dot org 2009-10-10 09:50 --- (From update of attachment 18770) Wrong (incomplete) source. -- toon at moene dot org changed: What|Removed |Added

[Bug lto/41654] ICE: in gimple_cond_get_ops_from_tree, at gimple.c:417

2009-10-10 Thread toon at moene dot org
--- Comment #3 from toon at moene dot org 2009-10-10 09:52 --- Created an attachment (id=18771) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=18771action=view) Source code that elicits the error. This is the complete source evoking the error. -- http://gcc.gnu.org/bugzilla

[Bug lto/41566] New: ICE with -g -O3, no ICE without -g

2009-10-04 Thread toon at moene dot org
AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: toon at moene dot org GCC build triplet: x86_64-unknown-linux-gnu GCC host triplet: x86_64-unknown-linux-gnu GCC target triplet: x86_64-unknown-linux-gnu http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41566

[Bug lto/41566] ICE with -g -O3, no ICE without -g

2009-10-04 Thread toon at moene dot org
--- Comment #1 from toon at moene dot org 2009-10-04 13:09 --- Created an attachment (id=18701) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=18701action=view) Test case bzip2'd tar file with test case -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41566

[Bug libfortran/41387] OPEN, STATUS='NEW' of a symbolic link to a non-existing file fails.

2009-09-20 Thread toon at moene dot org
--- Comment #6 from toon at moene dot org 2009-09-20 17:03 --- It seems we have exhausted the arguments in this case. The best cause of action seems to be to document that gfortran won't allow to open dangling symlinks with STATUS='NEW'. This bug report remains open until that is done

[Bug libfortran/41387] New: OPEN, STATUS='NEW' of a symbolic link to a non-existing file fails.

2009-09-17 Thread toon at moene dot org
Component: libfortran AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: toon at moene dot org http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41387

[Bug libfortran/41387] OPEN, STATUS='NEW' of a symbolic link to a non-existing file fails.

2009-09-17 Thread toon at moene dot org
--- Comment #1 from toon at moene dot org 2009-09-17 13:26 --- Perhaps the system call 'access' can provide help here. From the man page (man 2 access): access() checks whether the calling process can access the file pathname. If pathname is a symbolic link, it is dereferenced

[Bug libfortran/41387] OPEN, STATUS='NEW' of a symbolic link to a non-existing file fails.

2009-09-17 Thread toon at moene dot org
--- Comment #4 from toon at moene dot org 2009-09-17 19:57 --- In response to reply 2 (thanks Steve), we might be able to exploit the system call access to at least solve the inconsistency between INQUIRE and OPEN: man 2 access ENOENT A component of pathname does not exist

[Bug libfortran/39668] Wrongly read namelist with two dimensional array.

2009-08-18 Thread toon at moene dot org
--- Comment #7 from toon at moene dot org 2009-08-18 16:40 --- The relevant wording in the Standard (2003) is: 9.5.3.4 Data transfer ... The list items for a namelist input statement are processed in the order of the entities specified within the input records. ... To spell it out

[Bug fortran/40998] Source with routine in CONTAINS section and a local variable: No symbol nerr in current context

2009-08-07 Thread toon at moene dot org
--- Comment #5 from toon at moene dot org 2009-08-07 16:58 --- Could indeed be the version of gdb. Mine is: $ gdb -v GNU gdb 6.8-debian Copyright (C) 2008 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later http://gnu.org/licenses/gpl.html This is free software

[Bug tree-optimization/40801] New: internal compiler error: in vect_get_vec_def_for_stmt_copy, at tree-vect-stmts.c:1096

2009-07-18 Thread toon at moene dot org
ReportedBy: toon at moene dot org GCC build triplet: x86_64-unknown-linux-gnu GCC host triplet: x86_64-unknown-linux-gnu GCC target triplet: x86_64-unknown-linux-gnu http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40801

[Bug tree-optimization/40801] internal compiler error: in vect_get_vec_def_for_stmt_copy, at tree-vect-stmts.c:1096

2009-07-18 Thread toon at moene dot org
--- Comment #1 from toon at moene dot org 2009-07-18 18:28 --- Created an attachment (id=18220) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=18220action=view) Source code that elicits the error. Not reduced (sorry). -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40801

[Bug middle-end/40328] New: internal compiler error: in set_ssa_val_to, at tree-ssa-sccvn.c:1811

2009-06-03 Thread toon at moene dot org
Status: UNCONFIRMED Severity: normal Priority: P3 Component: middle-end AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: toon at moene dot org GCC build triplet: x86_64-unknown-linux-gnu GCC host triplet: x86_64-unknown-linux-gnu GCC

[Bug middle-end/40328] internal compiler error: in set_ssa_val_to, at tree-ssa-sccvn.c:1811

2009-06-03 Thread toon at moene dot org
--- Comment #5 from toon at moene dot org 2009-06-03 12:55 --- It works for the testcase with your change (over revision 148127). -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40328

[Bug libfortran/39668] Wrongly read namelist with two dimensional array.

2009-05-05 Thread toon at moene dot org
--- Comment #5 from toon at moene dot org 2009-05-05 13:33 --- Hmm, I said I'd put it in waiting until I found the definite wording in the Standard about this use of namelist values ... -- toon at moene dot org changed: What|Removed |Added

[Bug libfortran/39668] Wrongly read namelist with two dimensional array.

2009-04-07 Thread toon at moene dot org
--- Comment #3 from toon at moene dot org 2009-04-07 18:41 --- Note that the namelist is overwriting earlier assignments, so it's doubtful it's legal Fortran. The original that got my colleague questioning gfortran was: namtest i(1,:)=1,2,3, i(2,:)=4,5,6, i(3,:)=7,8,9, / which

[Bug libfortran/39668] New: Wrongly read namelist with two dimensional array.

2009-04-06 Thread toon at moene dot org
Version: 4.5.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: libfortran AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: toon at moene dot org http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39668

[Bug libfortran/33905] show_backtrace hangs on SIGSEGV in malloc/free

2009-03-29 Thread toon at moene dot org
--- Comment #2 from toon at moene dot org 2009-03-29 13:36 --- I'll try to come up with a bug report this week (the original case is much to complicated to use as an example). However, it might take some time and it also might be system dependent to trigger this event. It's clear