[Bug fortran/70350] [5 Regression] ICE with -fcheck=all and array initialization

2016-05-10 Thread bugs at stellardeath dot org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70350 Lorenz Hüdepohl changed: What|Removed |Added CC||bugs at stellardeath dot org

[Bug fortran/66640] Symbolic (addr2line) backtrace handler sometimes does not terminate when using OpenMP

2015-09-11 Thread bugs at stellardeath dot org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66640 --- Comment #2 from Lorenz Hüdepohl --- (In reply to Dominique d'Humieres from comment #1) > I cannot reproduce this PR on darwin (no addr2line). > > Could you check that this has not been fixed on a recent version of trunk > (6.0): post r227503

[Bug fortran/66640] New: Symbolic (addr2line) backtrace handler sometimes does not terminate when using OpenMP

2015-06-23 Thread bugs at stellardeath dot org
Severity: normal Priority: P3 Component: fortran Assignee: unassigned at gcc dot gnu.org Reporter: bugs at stellardeath dot org Target Milestone: --- Symbolic backtraces seem to be implemented by a fork()/execve() to addr2line. when this is done from within an

[Bug preprocessor/65387] New: cpp -C emits extraneous comment header on every file

2015-03-12 Thread bugs at stellardeath dot org
Component: preprocessor Assignee: unassigned at gcc dot gnu.org Reporter: bugs at stellardeath dot org cpp is often (mis)used for non-C files, many Fortran projects for example prefer to run a separate preprocessor step by invoking cpp by hand instead of relying on the built-in

[Bug fortran/57284] [OOP] ICE with find_array_spec for polymorphic arrays

2015-02-09 Thread bugs at stellardeath dot org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=57284 --- Comment #3 from Lorenz Hüdepohl --- Any progress on this one? 4.9.2 still produces the error: > ~/sys/stow/gcc-4.9.2/bin/gfortran --version GNU Fortran (GCC) 4.9.2 Copyright (C) 2014 Free Software Foundation, Inc. GNU Fortran comes with NO

[Bug fortran/64947] Internal compiler error: in gimplify_expr, at gimplify.c:8425

2015-02-05 Thread bugs at stellardeath dot org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64947 --- Comment #1 from Lorenz Hüdepohl --- Also present in 4.8.3: #> gfortran --version GNU Fortran (SUSE Linux) 4.8.3 20141208 [gcc-4_8-branch revision 218481] Copyright (C) 2013 Free Software Foundation, Inc. GNU Fortran comes with NO WARRANTY,

[Bug fortran/64947] New: Internal compiler error: in gimplify_expr, at gimplify.c:8425

2015-02-05 Thread bugs at stellardeath dot org
Priority: P3 Component: fortran Assignee: unassigned at gcc dot gnu.org Reporter: bugs at stellardeath dot org Created attachment 34676 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=34676&action=edit Fairly minimal testcase to trigger the bug. The fo

[Bug fortran/64854] No bound check for explicit-shape arrays

2015-01-30 Thread bugs at stellardeath dot org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64854 --- Comment #7 from Lorenz Hüdepohl --- > Use valgrind or -fsanitize=address to detect this kind of > memory problems. I can live with that, thanks for your comments!

[Bug fortran/64854] No bound check for explicit-shape arrays

2015-01-29 Thread bugs at stellardeath dot org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64854 --- Comment #4 from Lorenz Hüdepohl --- > The right way to fix the problem is to fix the program > by using an appropriate programming style. Writing > > real:: a(n1:) ! not: real :: a(n1:n2) > > one gets the expected check I realiz

[Bug fortran/64854] No bound check for explicit-shape arrays

2015-01-29 Thread bugs at stellardeath dot org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64854 --- Comment #2 from Lorenz Hüdepohl --- (Please remove the line "use m1" from my example, its a leftover from a previous version) I'm not denying that there is a mistake in the example program. I just hoped that -fcheck=bounds would save me fro

[Bug fortran/64854] New: No bound check for explicit-shape arrays

2015-01-29 Thread bugs at stellardeath dot org
Assignee: unassigned at gcc dot gnu.org Reporter: bugs at stellardeath dot org I assumed that the following would be catched by -fcheck=bounds, array "a" is passed as an explicit-shape array to subroutine "testsub" with the invalid bounds "n1"

[Bug fortran/59488] [OpenMP] named constant in parallel construct leads to "not specified in enclosing parallel" error.

2014-10-09 Thread bugs at stellardeath dot org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=59488 Lorenz Hüdepohl changed: What|Removed |Added CC||bugs at stellardeath dot org

[Bug fortran/61156] New: Internal compiler error for Fortran files when specifying a file instead of an include directory with -I

2014-05-12 Thread bugs at stellardeath dot org
Status: UNCONFIRMED Severity: trivial Priority: P3 Component: fortran Assignee: unassigned at gcc dot gnu.org Reporter: bugs at stellardeath dot org gfortran produces an internal compiler error when one mistakenly specifies a file instead of a

[Bug fortran/59537] No "Automatic array cannot have an initializer", for -finit-real without a SAVE statement present in subroutine

2014-05-12 Thread bugs at stellardeath dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59537 --- Comment #6 from Lorenz Hüdepohl --- >> Nonetheless, code that compiles without -finit-real should also compile >> with -finit-real, right? > > I disagree: C506 states that automatic object cannot be initialized. What is > wrong is that it dep

[Bug fortran/59537] "An automatic object shall not have the SAVE attribute." is not diagnosed.

2014-03-22 Thread bugs at stellardeath dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59537 --- Comment #4 from Lorenz Hüdepohl --- > From the above gfortran is right to reject the code with initialization. > > > Without the SAVE statement it compiles fine. > > From the above (C513) this is a bug, the code should give an error > without

[Bug fortran/59537] "Automatic array cannot have an initializer", for -finit-real and a SAVE statement present in subroutine

2014-02-19 Thread bugs at stellardeath dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59537 --- Comment #1 from Lorenz Hüdepohl --- Maybe related to the already fixed #51800?

[Bug fortran/59537] New: "Automatic array cannot have an initializer", for -finit-real and a SAVE statement present in subroutine

2013-12-17 Thread bugs at stellardeath dot org
Status: UNCONFIRMED Severity: normal Priority: P3 Component: fortran Assignee: unassigned at gcc dot gnu.org Reporter: bugs at stellardeath dot org Created attachment 31461 --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=31461&action=edit Min

[Bug fortran/57461] New: Ice on valid: lookup_page_table_entry, depending on details like (length of?) identifier names, file name of source file

2013-05-29 Thread bugs at stellardeath dot org
Version: 4.9.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: fortran Assignee: unassigned at gcc dot gnu.org Reporter: bugs at stellardeath dot org Created attachment 30220 --> http://gcc.gnu.org/bugzilla/attachment.cgi

[Bug fortran/57435] Ice on invalid: check_for_ambiguous

2013-05-27 Thread bugs at stellardeath dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57435 --- Comment #1 from Lorenz Hüdepohl --- Seems the output of "cat" got dropped, for those who do not want to look at the attached file: > cat gfortran_check_for_ambiguous.f90 module precision end module precision contains use precision module

[Bug fortran/57435] New: Ice on invalid: check_for_ambiguous

2013-05-27 Thread bugs at stellardeath dot org
Assignee: unassigned at gcc dot gnu.org Reporter: bugs at stellardeath dot org Created attachment 30205 --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=30205&action=edit Minimal test case When trying to reduce a test-case with "delta", I stumbled upon this (u

[Bug tree-optimization/57396] Wrong code with -fpredictive-commoning in Fortran double-loop

2013-05-24 Thread bugs at stellardeath dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57396 --- Comment #1 from Lorenz Hüdepohl --- As the loop is quite confusing, i wrote a small python program to reproduce the correct result: > cat test.py def foo(n): r = {} a = {} # initialize with some dummy values for i in range(-n

[Bug tree-optimization/57396] New: Wrong code with -fpredictive-commoning in Fortran double-loop

2013-05-24 Thread bugs at stellardeath dot org
Priority: P3 Component: tree-optimization Assignee: unassigned at gcc dot gnu.org Reporter: bugs at stellardeath dot org Created attachment 30182 --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=30182&action=edit Small test case The following example

[Bug fortran/57373] New: ICE on invalid: insert_bbt(): Duplicate key found!

2013-05-22 Thread bugs at stellardeath dot org
: fortran Assignee: unassigned at gcc dot gnu.org Reporter: bugs at stellardeath dot org Created attachment 30165 --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=30165&action=edit Minimal test case The following invalid code (with a number instead of an identifier

[Bug fortran/57284] ICE with "find_array_spec: unused as (1)" in conjunction with size() intrinsic on class dummy parameter shape

2013-05-15 Thread bugs at stellardeath dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57284 --- Comment #1 from Lorenz Hüdepohl --- Might be related to Bug #57285

[Bug fortran/57285] ICe on invalid: "gfc_array_dimen_size(): Bad dimension" due to size() intrinsic with invalid dim on class() dummy argument

2013-05-15 Thread bugs at stellardeath dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57285 --- Comment #1 from Lorenz Hüdepohl --- Created attachment 30120 --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=30120&action=edit Minimal test case

[Bug fortran/57285] New: ICe on invalid: "gfc_array_dimen_size(): Bad dimension" due to size() intrinsic with invalid dim on class() dummy argument

2013-05-15 Thread bugs at stellardeath dot org
oduct: gcc Version: 4.9.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: fortran Assignee: unassigned at gcc dot gnu.org Reporter: bugs at stellardeath dot org The following invalid code produces an internal error. It is inv

[Bug fortran/57284] New: ICE with "find_array_spec: unused as (1)" in conjunction with size() intrinsic on class dummy parameter shape

2013-05-15 Thread bugs at stellardeath dot org
ion: 4.9.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: fortran Assignee: unassigned at gcc dot gnu.org Reporter: bugs at stellardeath dot org Created attachment 30119 --> http://gcc.gnu.org/bugzilla/attachment.cgi?id

[Bug fortran/56852] New: ICE on invalid: "Bad array reference" for an undeclared loop variable

2013-04-05 Thread bugs at stellardeath dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56852 Bug #: 56852 Summary: ICE on invalid: "Bad array reference" for an undeclared loop variable Classification: Unclassified Product: gcc Version: 4.9.0 Status:

[Bug fortran/55827] ICE with multiple fortran modules and character lenght determined by an interfaced pure function

2012-12-28 Thread bugs at stellardeath dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55827 --- Comment #1 from Lorenz Hüdepohl 2012-12-28 21:12:28 UTC --- Forgot the actual compiler output, this is of a self-compiled gcc (checked out 2012/12/22), see below for an 4.7.1: #> gfortran -v -fimplicit-none -Wall -pedantic --std=f2003 -c ic

[Bug fortran/55827] New: ICE with multiple fortran modules and character lenght determined by an interfaced pure function

2012-12-28 Thread bugs at stellardeath dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55827 Bug #: 55827 Summary: ICE with multiple fortran modules and character lenght determined by an interfaced pure function Classification: Unclassified Product: gcc Version:

[Bug fortran/51713] New: Type mismatch for polymorphic dummy arguments depending on "use" path

2011-12-30 Thread bugs at stellardeath dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51713 Bug #: 51713 Summary: Type mismatch for polymorphic dummy arguments depending on "use" path Classification: Unclassified Product: gcc Version: 4.6.2 Status: UNCONFIRM