[Bug fortran/112338] New: ieee_set_halting_mode only affects the master thread outside of an OpenMP parallel region

2023-11-01 Thread vladimir.fuka at gmail dot com via Gcc-bugs
Severity: normal Priority: P3 Component: fortran Assignee: unassigned at gcc dot gnu.org Reporter: vladimir.fuka at gmail dot com Target Milestone: --- Calling ieee_set_halting_mode only affects the master thread if other threads already exist and the

[Bug fortran/111837] New: [8, 9, 10, 11, 12, 13 Regression] Out of bounds access with optimization inside io-implied-do-control

2023-10-16 Thread vladimir.fuka at gmail dot com via Gcc-bugs
: UNCONFIRMED Severity: normal Priority: P3 Component: fortran Assignee: unassigned at gcc dot gnu.org Reporter: vladimir.fuka at gmail dot com Target Milestone: --- The following code causes an out-of bounds access in array ni(1) when optimized with -O1 or

[Bug fortran/89925] [10/11/12/13 Regression] Wrong array bounds from ALLOCATE with SOURCE or MOLD

2023-02-03 Thread vladimir.fuka at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89925 Vladimir Fuka changed: What|Removed |Added CC||vladimir.fuka at gmail dot com

[Bug fortran/105138] [7,8,9,10,11,12,F95] Bogus error when function name does not shadow an intrinsic when RESULT clause is used

2022-04-02 Thread vladimir.fuka at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105138 --- Comment #5 from Vladimir Fuka --- In that case some compiler or linker magic happens after that, because the correct code is executed.

[Bug fortran/105138] [7,8,9,10,11,12,F95] Bogus error when function name does not shadow an intrinsic when RESULT clause is used

2022-04-02 Thread vladimir.fuka at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105138 --- Comment #2 from Vladimir Fuka --- As mentioned, the correct function is called in case everything is REAL a = floor(5.0) print *, a contains RECURSIVE FUNCTION FLOOR(Z) RESULT(RES) REAL,INTENT(IN) :: Z REAL :: RES if (z>0) then

[Bug fortran/105138] [7,8,9,10,11,12,F95] Bogus error when function name does not shadow an intrinsic when RESULT clause is used

2022-04-02 Thread vladimir.fuka at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105138 --- Comment #1 from Vladimir Fuka --- For after naming LOG one gets RECURSIVE FUNCTION LOG(Z) RESULT(RES) COMPLEX,INTENT(IN) :: Z COMPLEX :: RES RES = LOG(Z); END FUNCTION LOG > gfortran-12 -c shadow.f90 /tmp/ccbpyhxl.s: Assembler mes

[Bug fortran/105138] New: [7,8,9,10,11,12,F95] Bogus error when function name does not shadow an intrinsic when RESULT clause is used

2022-04-02 Thread vladimir.fuka at gmail dot com via Gcc-bugs
Status: UNCONFIRMED Severity: normal Priority: P3 Component: fortran Assignee: unassigned at gcc dot gnu.org Reporter: vladimir.fuka at gmail dot com Target Milestone: --- Reported at Stackoverflow by Denis Cousineau https

[Bug fortran/59202] Erroneous argument aliasing with defined assignment

2021-06-01 Thread vladimir.fuka at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=59202 Vladimir Fuka changed: What|Removed |Added CC||vladimir.fuka at gmail dot com

[Bug fortran/98411] [10/11] Pointless: Array larger than ‘-fmax-stack-var-size=’, moved from stack to static storage for main program variables

2021-05-17 Thread vladimir.fuka at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98411 --- Comment #7 from Vladimir Fuka --- This sounds like good progress and I thank you for the patch. However, shouldn't implicitly SAVE'd variables, as e.g. the program local variable in the original report, be included as well?

[Bug fortran/49213] [OOP] gfortran rejects structure constructor expression

2021-04-16 Thread vladimir.fuka at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=49213 Vladimir Fuka changed: What|Removed |Added CC||vladimir.fuka at gmail dot com

[Bug fortran/87127] External function not recognised from within an associate block

2021-03-01 Thread vladimir.fuka at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87127 --- Comment #9 from Vladimir Fuka --- I see now, it was fixed on the 8 branch, but not on the trunk! It ought to be applied at least to the 12.

[Bug fortran/87127] External function not recognised from within an associate block

2021-03-01 Thread vladimir.fuka at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87127 Vladimir Fuka changed: What|Removed |Added CC||vladimir.fuka at gmail dot com

[Bug fortran/98411] New: [10/11] Pointless: Array larger than ‘-fmax-stack-var-size=’, moved from stack to static storage for main program variables

2020-12-21 Thread vladimir.fuka at gmail dot com via Gcc-bugs
Version: 11.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: fortran Assignee: unassigned at gcc dot gnu.org Reporter: vladimir.fuka at gmail dot com Target Milestone: --- This program program p dimension a(10

[Bug fortran/83118] [8/9/10/11 Regression] Bad intrinsic assignment of class(*) array component of derived type

2020-05-07 Thread vladimir.fuka at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83118 Vladimir Fuka changed: What|Removed |Added CC||vladimir.fuka at gmail dot com

[Bug fortran/94975] Address sanitizations show heap-buffer-overflow with class(*) allocated to character on assignment

2020-05-06 Thread vladimir.fuka at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94975 --- Comment #1 from Vladimir Fuka --- It is probably discussed here https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83118 but that was not possible to find it by the search as the title is not directly related.

[Bug fortran/94975] New: Address sanitizations show heap-buffer-overflow with class(*) allocated to character on assignment

2020-05-06 Thread vladimir.fuka at gmail dot com
: UNCONFIRMED Severity: normal Priority: P3 Component: fortran Assignee: unassigned at gcc dot gnu.org Reporter: vladimir.fuka at gmail dot com Target Milestone: --- With GCC 7-10 (bit libasan from 10) class(*), allocatable :: p p = "abc"

[Bug fortran/92178] Segmentation fault after passing allocatable array as intent(out) and its element as value into the same subroutine

2019-10-22 Thread vladimir.fuka at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92178 --- Comment #4 from Vladimir Fuka --- It would be really strange if even expressions like below were not possible. implicit none integer, allocatable :: a(:) allocate(a, source=[1]) call assign(a, (min(a(1)**2,0))) print *, alloca

[Bug fortran/92178] Segmentation fault after passing allocatable array as intent(out) and its element as value into the same subroutine

2019-10-22 Thread vladimir.fuka at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92178 --- Comment #1 from Vladimir Fuka --- It also crashes with passing just a(1) instead of (a(1)) and when removing the value attribute.

[Bug fortran/92178] New: Segmentation fault after passing allocatable array as intent(out) and its element as value into the same subroutine

2019-10-22 Thread vladimir.fuka at gmail dot com
: 9.2.1 Status: UNCONFIRMED Severity: normal Priority: P3 Component: fortran Assignee: unassigned at gcc dot gnu.org Reporter: vladimir.fuka at gmail dot com Target Milestone: --- This code crashes at the allocated() call with GCC 7,8,9

[Bug fortran/90498] New: [8,9 Regression] ICE with select type/associate and derived type argument containing class(*)

2019-05-15 Thread vladimir.fuka at gmail dot com
Severity: normal Priority: P3 Component: fortran Assignee: unassigned at gcc dot gnu.org Reporter: vladimir.fuka at gmail dot com Target Milestone: --- subroutine s(a) use iso_fortran_env type field_names_a class(*), pointer :: var(:) =>n

[Bug fortran/80708] [f08] ALLOCATE with MOLD error if source-expr is a derived type with null-init pointer component

2019-01-25 Thread vladimir.fuka at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80708 Vladimir Fuka changed: What|Removed |Added CC||vladimir.fuka at gmail dot com

[Bug fortran/85868] New: Subarray of a pointer array associated with a pointer dummy argument

2018-05-22 Thread vladimir.fuka at gmail dot com
Priority: P3 Component: fortran Assignee: unassigned at gcc dot gnu.org Reporter: vladimir.fuka at gmail dot com Target Milestone: --- Reported at https://stackoverflow.com/questions/50459234/fortran-pointer-dummy-argument This code returns program aa

[Bug fortran/85855] [7 Regression] (Maybe) uninitialized descriptor fields of an allocatable array component of a function result

2018-05-21 Thread vladimir.fuka at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85855 --- Comment #2 from Vladimir Fuka --- Yes, that is quite possible, although I tried to search first, because I had this problem without reporting for a long time, but may main compiler version to use was an older one so I didn't car that much fo

[Bug fortran/85855] New: [7 Regression] (Maybe) uninitialized descriptor fields of an allocatable array component of a function result

2018-05-21 Thread vladimir.fuka at gmail dot com
: UNCONFIRMED Severity: normal Priority: P3 Component: fortran Assignee: unassigned at gcc dot gnu.org Reporter: vladimir.fuka at gmail dot com Target Milestone: --- This code does not issue any warning in GCC 4.8 to 6 but does for GCC 7.3.1: module

[Bug fortran/84074] Incorrect indexing of array when actual argument is an array expression and dummy is polymorphic

2018-01-27 Thread vladimir.fuka at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84074 --- Comment #3 from Vladimir Fuka --- The bug has been around for so long that I already forgot I saw these problems before.

[Bug fortran/84074] New: Incorrect indexing of array when actual argument is an array expression and dummy is polymorphic

2018-01-26 Thread vladimir.fuka at gmail dot com
Severity: normal Priority: P3 Component: fortran Assignee: unassigned at gcc dot gnu.org Reporter: vladimir.fuka at gmail dot com Target Milestone: --- Base on https://stackoverflow.com/questions/48468922/creating-a-subset-of-an-array-of-derived

[Bug fortran/84060] New: Wrong assignment from a class(*) variable which is a function result.

2018-01-26 Thread vladimir.fuka at gmail dot com
Priority: P3 Component: fortran Assignee: unassigned at gcc dot gnu.org Reporter: vladimir.fuka at gmail dot com Target Milestone: --- The following gives random garbage results: select type (tmp => getValue()) type is (integer) pr

[Bug fortran/78797] It is time perhaps to implement -std=f2015

2018-01-19 Thread vladimir.fuka at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78797 Vladimir Fuka changed: What|Removed |Added CC||vladimir.fuka at gmail dot com

[Bug fortran/83939] New: Constraint C1290 (elemental function cannot be allocatable) not enforced

2018-01-19 Thread vladimir.fuka at gmail dot com
: normal Priority: P3 Component: fortran Assignee: unassigned at gcc dot gnu.org Reporter: vladimir.fuka at gmail dot com Target Milestone: --- Based on report https://stackoverflow.com/questions/48331223/fortran-elemental-function-is-this-behavior-normal . The

[Bug fortran/56386] [F03] ICE with ASSOCIATE construct and an derived type array component

2017-06-07 Thread vladimir.fuka at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=56386 Vladimir Fuka changed: What|Removed |Added Version|4.8.0 |7.1.1 --- Comment #6 from Vladimir Fuka

[Bug fortran/56386] [F03] ICE with ASSOCIATE construct and an derived type array component

2017-06-07 Thread vladimir.fuka at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=56386 --- Comment #5 from Vladimir Fuka --- Probably not a duplicate of pr64674 because this bug is still present in 7.1.1.

[Bug fortran/58618] ICE with character substring and ASSOCIATE

2017-06-07 Thread vladimir.fuka at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=58618 Vladimir Fuka changed: What|Removed |Added Version|4.8.0 |7.1.1 --- Comment #3 from Vladimir Fuka

[Bug fortran/58861] Realloc on assignment: Bogus "Array bound mismatch" error with -fcheck=bounds

2017-06-06 Thread vladimir.fuka at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=58861 --- Comment #6 from Vladimir Fuka --- Still present in GCC 7.1.1. Cab bug70231 be related?

[Bug fortran/70231] Runtime error: Different CHARACTER lengths in array constructor with allocatable array and -O0

2017-06-06 Thread vladimir.fuka at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70231 --- Comment #2 from Vladimir Fuka --- Still present in GCC 7 and people are complaining https://stackoverflow.com/questions/44385909/adding-to-an-array-of-characters-in-fortran

[Bug fortran/80766] New: [7 Regression] ICE with type bound procedures returning an array

2017-05-15 Thread vladimir.fuka at gmail dot com
Priority: P3 Component: fortran Assignee: unassigned at gcc dot gnu.org Reporter: vladimir.fuka at gmail dot com Target Milestone: --- The following: module m1 type :: base contains procedure :: fun end type type, extends(base) :: child end type

[Bug fortran/79485] New: Bind(c) and module procedure renaming causes wrong procedure to be called

2017-02-13 Thread vladimir.fuka at gmail dot com
: normal Priority: P3 Component: fortran Assignee: unassigned at gcc dot gnu.org Reporter: vladimir.fuka at gmail dot com Target Milestone: --- Reported at http://stackoverflow.com/questions/42189625/renaming-a-subroutine-in-a-fortran-module-when-using-iso-c

[Bug fortran/77746] [5/6/7 Regression] Wrong subroutine called, clash of specific procedure name and binding-name

2016-09-27 Thread vladimir.fuka at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77746 --- Comment #3 from Vladimir Fuka --- Indeed, 4.9 crashes as well, my first description is incorrect. It was running well in 4.8.5.

[Bug fortran/77746] [5 Regression] Wrong subroutine called, clash of specific procedure name and binding-name

2016-09-26 Thread vladimir.fuka at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77746 --- Comment #1 from Vladimir Fuka --- -fdump-tree-original random_name () { } p_execute (integer(kind=4) & restrict i) { p_execute (); } MAIN__ () { { static integer(kind=4) C.3388 = 1; p_execute (&C.3388); } } main (intege

[Bug fortran/77746] New: [5 Regression] Wrong subroutine called, clash of specific procedure name and binding-name

2016-09-26 Thread vladimir.fuka at gmail dot com
Severity: normal Priority: P3 Component: fortran Assignee: unassigned at gcc dot gnu.org Reporter: vladimir.fuka at gmail dot com Target Milestone: --- This program finishes successfully with 4.9 and crashes with 5.3.1 The generic resolution selects wrong

[Bug fortran/71967] Protected and private specified at the same time and the symbol is accessible

2016-07-22 Thread vladimir.fuka at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71967 --- Comment #7 from Vladimir Fuka --- I think we can mark this as INVALID then. The protected attribute is indeed not an access attribute.

[Bug fortran/71967] Protected and private specified at the same time and the symbol is accessible

2016-07-22 Thread vladimir.fuka at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71967 --- Comment #5 from Vladimir Fuka --- OMG, I forgot implicit none and the only clause. Sorry. So is ifort wrong in treating protected like an access statement? Dne 22. 7. 2016 13:04 napsal uživatel "dominiq at lps dot ens.fr" < gcc-bugzi...@gcc.g

[Bug fortran/71967] Protected and private specified at the same time and the symbol is accessible

2016-07-22 Thread vladimir.fuka at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71967 --- Comment #3 from Vladimir Fuka --- OK, protected is not an access-stmt. But in that case, why is the private access-stmt ignored?

[Bug fortran/71967] New: Protected and private specified at the same time and the symbol is accessible

2016-07-22 Thread vladimir.fuka at gmail dot com
: normal Priority: P3 Component: fortran Assignee: unassigned at gcc dot gnu.org Reporter: vladimir.fuka at gmail dot com Target Milestone: --- This program compiles module m protected :: k private :: k integer k end module use m print *, k end but I

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

2016-07-16 Thread vladimir.fuka at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71795 --- Comment #6 from Vladimir Fuka --- (In reply to Thomas Koenig from comment #4) > (In reply to Vladimir Fuka from comment #3) > > I suppose it should not be P4 critical? > > All Fortran regressions are classified below P3. > Fortran is not con

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

2016-07-12 Thread vladimir.fuka at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71795 Vladimir Fuka changed: What|Removed |Added CC||vladimir.fuka at gmail dot com

[Bug fortran/71085] New: ICE with some intrinsic functions specifying array function result dimension

2016-05-12 Thread vladimir.fuka at gmail dot com
: normal Priority: P3 Component: fortran Assignee: unassigned at gcc dot gnu.org Reporter: vladimir.fuka at gmail dot com Target Milestone: --- print *, f() contains function f() integer :: f(iargc()*10) end end ICE's with gcc version

[Bug fortran/70330] New: ICE with -Wextra -Wno-unused-dummy-argument and unused optional dummy argument

2016-03-20 Thread vladimir.fuka at gmail dot com
: normal Priority: P3 Component: fortran Assignee: unassigned at gcc dot gnu.org Reporter: vladimir.fuka at gmail dot com Target Milestone: --- function f(o) optional o end function causes gfortran -Wall -Wextra -Wno-unused-dummy-argument

[Bug fortran/70231] New: Runtime error: Different CHARACTER lengths in array constructor with allocatable array and -O0

2016-03-14 Thread vladimir.fuka at gmail dot com
Severity: normal Priority: P3 Component: fortran Assignee: unassigned at gcc dot gnu.org Reporter: vladimir.fuka at gmail dot com Target Milestone: --- integer, parameter :: char_len = 32 character(char_len), allocatable :: ch_array

[Bug fortran/68101] Provide a way to allocate arrays aligned to 32 bytes

2015-10-26 Thread vladimir.fuka at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68101 --- Comment #2 from Vladimir Fuka --- Definitely similar, but the link is about failure to align to the required alignment for that datatype. This feature request is about higher than required alignment for performance reasons (SIMD vectorizati

[Bug fortran/68101] New: Provide a way to allocate arrays aligned to 32 bytes

2015-10-26 Thread vladimir.fuka at gmail dot com
Component: fortran Assignee: unassigned at gcc dot gnu.org Reporter: vladimir.fuka at gmail dot com Target Milestone: --- This is an extension of https://gcc.gnu.org/bugzilla/show_bug.cgi?id=24261 which is claimed to be RESOLVED FIXED, but is not when `-m32` is used. There should be

[Bug fortran/61337] Wrong indexing and runtime crash with unlimited polymorphic array.

2015-09-02 Thread vladimir.fuka at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61337 --- Comment #3 from Vladimir Fuka --- The crash is at line 22: allocate(a(size(tmp)+1)%items(size(e)), source = e) ASAN:SIGSEGV = ==5902==ERROR: AddressSanitizer: SEGV on unknown a

[Bug fortran/61337] Wrong indexing and runtime crash with unlimited polymorphic array.

2015-09-02 Thread vladimir.fuka at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61337 --- Comment #2 from Vladimir Fuka --- The first is fixed on trunk apparently by https://gcc.gnu.org/ml/fortran/2015-07/msg00038.html The modification call add_item(a_list, [1, 2]) call add_item(a_list, [1, 2]) do i = 1, size(a_list)

[Bug fortran/58043] [OOP] Incorrect behaviour of polymorphic array

2015-09-02 Thread vladimir.fuka at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=58043 Vladimir Fuka changed: What|Removed |Added CC||vladimir.fuka at gmail dot com

[Bug fortran/66695] [4.9, 5 Regression] ICE with binding-name equal to the name of a use-associated procedure

2015-07-06 Thread vladimir.fuka at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66695 --- Comment #1 from Vladimir Fuka --- Anyone can confirm this behaviour?

[Bug fortran/66695] New: [4.9, 5 Regression] ICE with binding-name equal to overloaded name of use-associated procedure

2015-06-29 Thread vladimir.fuka at gmail dot com
Severity: normal Priority: P3 Component: fortran Assignee: unassigned at gcc dot gnu.org Reporter: vladimir.fuka at gmail dot com Target Milestone: --- The following code compiles with 4.8.5, and 4.9.0 and causes ICE with 4.9.2 and 5.1.1 module mod

[Bug fortran/62131] New: Openmp Regression 4.9.1 : Subobject of an allocatable array not allowed in OMP ATOMIC

2014-08-14 Thread vladimir.fuka at gmail dot com
Severity: normal Priority: P3 Component: fortran Assignee: unassigned at gcc dot gnu.org Reporter: vladimir.fuka at gmail dot com layzrc raised this problem on comp.lang.fortran https://groups.google.com/forum/#!topic/comp.lang.fortran/lVzeHW_X1aw module

[Bug fortran/61337] New: Wrong indexing and runtime crash with unlimited polymorphic array.

2014-05-28 Thread vladimir.fuka at gmail dot com
Priority: P3 Component: fortran Assignee: unassigned at gcc dot gnu.org Reporter: vladimir.fuka at gmail dot com module array_list type container class(*), allocatable :: items(:) end type contains subroutine add_item(a, e) type(container

[Bug fortran/60777] New: Fortran 2003: RECURSIVE function rejected in specification expression

2014-04-07 Thread vladimir.fuka at gmail dot com
Priority: P3 Component: fortran Assignee: unassigned at gcc dot gnu.org Reporter: vladimir.fuka at gmail dot com John Harper reports on comp.lang.fortran: ! A recursive function in a specification expression module recur implicit none contains

[Bug fortran/60717] Wrong code with recursive procedure with unlimited polymorphic dummy argument

2014-04-03 Thread vladimir.fuka at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60717 --- Comment #3 from Vladimir Fuka --- Could there be a connection http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58085 ?

[Bug fortran/60739] New: Maybe uninitialized with deferred length character

2014-04-02 Thread vladimir.fuka at gmail dot com
: fortran Assignee: unassigned at gcc dot gnu.org Reporter: vladimir.fuka at gmail dot com subroutine sub(str) character(*) :: str character(:), allocatable :: tmp tmp = str print *,allocated(tmp) end gfortran-4.9 uninit.f90 -c -Wall uninit.f90: In function ‘sub

[Bug fortran/60717] New: Wrong code with recursive procedure with unlimited polymorphic dummy argument

2014-03-31 Thread vladimir.fuka at gmail dot com
: normal Priority: P3 Component: fortran Assignee: unassigned at gcc dot gnu.org Reporter: vladimir.fuka at gmail dot com reported on comp.lang.fortran by Thomas Schnurrenberger The output of the two parts of the following program should be the same, as they are

[Bug lto/60635] New: ICE when mixing C and Fortran lto1: error: use operand missing for stmt

2014-03-24 Thread vladimir.fuka at gmail dot com
Priority: P3 Component: lto Assignee: unassigned at gcc dot gnu.org Reporter: vladimir.fuka at gmail dot com The code is quite possibly non-standard or totally buggy, but prints the expected answer without -flto. bigend.c: #include #include static bool

[Bug fortran/60507] New: Passing real expression into procedure argument not caught

2014-03-12 Thread vladimir.fuka at gmail dot com
Priority: P3 Component: fortran Assignee: unassigned at gcc dot gnu.org Reporter: vladimir.fuka at gmail dot com This compiles fine with the trunk and crashes at runtime: print *, f(g(x)) contains real function f(fun) procedure(g) :: fun f = fun(1.) end

[Bug fortran/60447] Empty .s file created when using -E flag

2014-03-06 Thread vladimir.fuka at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60447 --- Comment #4 from Vladimir Fuka --- I see, but I just wanted to print the content or pipe it somewhere, so I don't think that resolves it.

[Bug fortran/60447] Empty .s file created when using -E flag

2014-03-06 Thread vladimir.fuka at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60447 --- Comment #2 from Vladimir Fuka --- -o option for what?

[Bug fortran/60447] New: Empty .s file created when using -E flag

2014-03-06 Thread vladimir.fuka at gmail dot com
Assignee: unassigned at gcc dot gnu.org Reporter: vladimir.fuka at gmail dot com > touch test.f90 > gfortran -E -cpp test.f90 # 1 "test.f90" # 1 "" # 1 "test.f90" > ls -l test.s -rw-r--r-- 1 lada users 0 6. bře 13.47 test.s C and C++ fr

[Bug fortran/60378] New: ICE on attempt to print null of derived type with unlimited polymorphic component

2014-03-01 Thread vladimir.fuka at gmail dot com
Severity: normal Priority: P3 Component: fortran Assignee: unassigned at gcc dot gnu.org Reporter: vladimir.fuka at gmail dot com type refptr class(*), allocatable :: data end type type(refptr),pointer :: x print *,null(mold=x) end gfortran null.f90

[Bug fortran/60355] New: C519 of Fortran 2008 for BIND attribute not enforced

2014-02-27 Thread vladimir.fuka at gmail dot com
Component: fortran Assignee: unassigned at gcc dot gnu.org Reporter: vladimir.fuka at gmail dot com bind(C) test_bind end is compiled without error or warning with gfortran -std=f2008 but C519 A variable with the BIND attribute shall be declared in the specification part of a

[Bug fortran/58916] [F03] Allocation of scalar with array source not rejected

2013-12-09 Thread vladimir.fuka at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58916 --- Comment #7 from Vladimir Fuka --- Sorry, didn't remember that.

[Bug fortran/58992] New: Bogus error "Entity with assumed character length at (1) must be a dummy argument or a PARAMETER" with associate and character string

2013-11-04 Thread vladimir.fuka at gmail dot com
oduct: gcc Version: 4.8.2 Status: UNCONFIRMED Severity: normal Priority: P3 Component: fortran Assignee: unassigned at gcc dot gnu.org Reporter: vladimir.fuka at gmail dot com > cat assoc.f90 associate (x=>trim("abc

[Bug fortran/58991] New: ICE with associate and character string constant

2013-11-04 Thread vladimir.fuka at gmail dot com
: fortran Assignee: unassigned at gcc dot gnu.org Reporter: vladimir.fuka at gmail dot com Connected or duplicate of http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58618 ? >cat assoc.f90 associate (x=>"abc") end associate end > gfortran assoc.f90 f951: inte

[Bug fortran/58947] [OOP] ICE on select type with non-polymorphic selector

2013-11-02 Thread vladimir.fuka at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58947 --- Comment #2 from Vladimir Fuka --- Yes, also on my other computer with a more recent version (4.8.2 20131003) it works right. I have more computers and I sometimes loose track of when did I recompile gcc last time there. I assumed it is from fi

[Bug fortran/58947] New: [OOP] ICE on select type with non-polymorphic selector

2013-10-31 Thread vladimir.fuka at gmail dot com
Priority: P3 Component: fortran Assignee: unassigned at gcc dot gnu.org Reporter: vladimir.fuka at gmail dot com type t integer i end type type(t) a select type (x=>a%i) type is (integer) print *,x end select end > gfortran seltype.f90 f951: in

[Bug fortran/58917] New: ICE with allocation of a scalar with array source

2013-10-29 Thread vladimir.fuka at gmail dot com
: fortran Assignee: unassigned at gcc dot gnu.org Reporter: vladimir.fuka at gmail dot com allocatable :: a real b(1) allocate(a, source=b) end gfortran -v alloc3.f90 Driving: gfortran -v alloc3.f90 -l gfortran -l m -shared-libgcc Using built-in specs. COLLECT_GCC=gfortran

[Bug fortran/58916] New: Allocation of a class(*) scalar with array source allowed

2013-10-29 Thread vladimir.fuka at gmail dot com
Priority: P3 Component: fortran Assignee: unassigned at gcc dot gnu.org Reporter: vladimir.fuka at gmail dot com class(*),allocatable :: a real b(1) allocate(a, source=b) end Does not cause any error.

[Bug fortran/58861] New: No reallocation assignment performed (due to different kinds?)

2013-10-24 Thread vladimir.fuka at gmail dot com
Priority: P3 Component: fortran Assignee: unassigned at gcc dot gnu.org Reporter: vladimir.fuka at gmail dot com program test real(8), allocatable :: a(:,:) real(4),allocatable :: b(:,:) allocate(b(100,100)) b = 0 !both lines below create problem

[Bug fortran/58658] New: Pointer assignment to allocatable unlimited polymorphic accepted

2013-10-07 Thread vladimir.fuka at gmail dot com
Priority: P3 Component: fortran Assignee: unassigned at gcc dot gnu.org Reporter: vladimir.fuka at gmail dot com subroutine sub(a) class(*),allocatable :: a a => null() end subroutine is accepted by gfortran -v Using built-in specs. COLLECT_GCC=gfort

[Bug fortran/58652] ICE with move_alloc and unlimited polymorphic

2013-10-06 Thread vladimir.fuka at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58652 --- Comment #1 from Vladimir Fuka --- maybe connected: module gen_lists type list_node class(*),allocatable :: item contains procedure :: move_alloc => list_move_alloc end type contains subroutine list_move_alloc(self,i

[Bug fortran/58652] New: ICE with move_alloc and unlimited polymorphic

2013-10-06 Thread vladimir.fuka at gmail dot com
: fortran Assignee: unassigned at gcc dot gnu.org Reporter: vladimir.fuka at gmail dot com class(*),allocatable :: a class(*),allocatable :: c call move_alloc(a,c) end gfortran starallocatable.f90 starallocatable.f90: In function ‘MAIN__’: starallocatable.f90:4:0: internal

[Bug fortran/58618] New: ICE with character array and ASSOCIATE

2013-10-04 Thread vladimir.fuka at gmail dot com
Assignee: unassigned at gcc dot gnu.org Reporter: vladimir.fuka at gmail dot com character(1) :: s(1) associate (x=>s(1)(1:1)) end associate end gfortran ice11.f90 f951: internal compiler error: Neoprávněný přístup do paměti (SIGSEGV) 0x8ba79f crash_sig

[Bug fortran/58586] New: ICE with derived type with a polymorphic allocatable component passed by value

2013-09-30 Thread vladimir.fuka at gmail dot com
: normal Priority: P3 Component: fortran Assignee: unassigned at gcc dot gnu.org Reporter: vladimir.fuka at gmail dot com > gfortran -c ice3.f90 ice3.f90: In function ‘sub’: ice3.f90:29:0: internal compiler error: Segmentation fault call add(b()) ^ 0x87d

[Bug fortran/58410] Bogus uninitialized variable warning for allocatable derived type array function result

2013-09-13 Thread vladimir.fuka at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58410 --- Comment #1 from Vladimir Fuka --- Created attachment 30815 --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=30815&action=edit uninit.f90

[Bug fortran/58410] New: Bogus uninitialized variable warning for allocatable derived type array function result

2013-09-13 Thread vladimir.fuka at gmail dot com
Severity: normal Priority: P3 Component: fortran Assignee: unassigned at gcc dot gnu.org Reporter: vladimir.fuka at gmail dot com gfortran -c -Wall -O2 uninit.f90 uninit.f90: In function ‘sub’: uninit.f90:22:0: warning: ‘new.dim[0].ubound’ may be used

[Bug fortran/58085] New: Wrong indexing of an array in ASSOCIATE

2013-08-05 Thread vladimir.fuka at gmail dot com
Assignee: unassigned at gcc dot gnu.org Reporter: vladimir.fuka at gmail dot com Program: real c(3,3) associate (x=>shape(c)) print *,lbound(x) print *,ubound(x) print *,x(1),x(2) end associate end Expected result: 1 2

[Bug fortran/57469] New: Erroneous warning for unused dummy arguments used in namelist

2013-05-30 Thread vladimir.fuka at gmail dot com
Priority: P3 Component: fortran Assignee: unassigned at gcc dot gnu.org Reporter: vladimir.fuka at gmail dot com This code: subroutine read_command_line(line,a,b) character(*),intent(in) :: line intent(inout) :: a,b namelist /cmd/ a,b read(line

[Bug fortran/57354] Wrong run-time assignment of allocatable array of derived type with allocatable component

2013-05-21 Thread vladimir.fuka at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57354 --- Comment #1 from Vladimir Fuka --- valgrind ./a.out ==17600== Memcheck, a memory error detector ==17600== Copyright (C) 2002-2012, and GNU GPL'd, by Julian Seward et al. ==17600== Using Valgrind-3.8.1 and LibVEX; rerun with -h for copyright in

[Bug fortran/57354] New: Wrong run-time assignment of allocatable array of derived type with allocatable component

2013-05-21 Thread vladimir.fuka at gmail dot com
Severity: normal Priority: P3 Component: fortran Assignee: unassigned at gcc dot gnu.org Reporter: vladimir.fuka at gmail dot com Created attachment 30154 --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=30154&action=edit realloc.f90

[Bug fortran/57338] New: ICE with assumed rank

2013-05-20 Thread vladimir.fuka at gmail dot com
: unassigned at gcc dot gnu.org Reporter: vladimir.fuka at gmail dot com This function produces ICE with gcc-4.8 from 20130509: function avg(a) integer :: avg integer,intent(in) :: a(..) avg = sum(a)/size(a) end function gfortran -c ice9.f90 ice9.f90: In function ‘avg’: ice9

[Bug fortran/57307] New: ICE with sourced allocation with array constructor

2013-05-16 Thread vladimir.fuka at gmail dot com
: fortran Assignee: unassigned at gcc dot gnu.org Reporter: vladimir.fuka at gmail dot com integer,allocatable :: a(:) integer :: e allocate(a,source=[e]) end produces: gfortran -c ice8.f90 f951: internal compiler error: NeoprĂĄvnÄĂ˝ pĹĂ­stup do pamÄi (SIGSEGV

[Bug fortran/57305] ICE with warnings and unlimited polymorphic

2013-05-16 Thread vladimir.fuka at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57305 --- Comment #3 from Vladimir Fuka --- The first one is incorrect code, the other one compiles with ifort 13.1.

[Bug fortran/57305] ICE with warnings and unlimited polymorphic (incorrect code)

2013-05-16 Thread vladimir.fuka at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57305 --- Comment #2 from Vladimir Fuka --- Connected error: gfortran -Wall -c ice7.f90 ice7.f90: In function âadd_element_polyâ: ice7.f90:25:0: internal compiler error: in lhd_incomplete_type_error, at langhooks.c:203 dummy = memcpy(loc(a(si

[Bug fortran/57305] ICE with warnings and unlimited polymorphic (incorrect code)

2013-05-16 Thread vladimir.fuka at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57305 --- Comment #1 from Vladimir Fuka --- Created attachment 30136 --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=30136&action=edit ice7.f90 (second source)

[Bug fortran/57305] New: ICE with warnings and unlimited polymorphic (incorrect code)

2013-05-16 Thread vladimir.fuka at gmail dot com
Priority: P3 Component: fortran Assignee: unassigned at gcc dot gnu.org Reporter: vladimir.fuka at gmail dot com Created attachment 30135 --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=30135&action=edit source The attached code produces ICE with recent build

[Bug fortran/57022] [4.7/4.8/4.9 Regression] Inappropriate warning for use of TRANSFER with arrays

2013-04-21 Thread vladimir.fuka at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57022 Vladimir Fuka changed: What|Removed |Added CC||vladimir.fuka at gmail dot

[Bug c++/57000] 4.8 Regression?, ICE with -Ofast and -frounding-math

2013-04-18 Thread vladimir.fuka at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57000 --- Comment #1 from Vladimir Fuka 2013-04-18 19:20:38 UTC --- Created attachment 29899 --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=29899 Preprocessed was too long, is at http://artax.karlin.mff.cuni.cz/~fukav1am/polyhedron-preproc

[Bug c++/57000] New: 4.8 Regression?, ICE with -Ofast and -frounding-math

2013-04-18 Thread vladimir.fuka at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57000 Bug #: 57000 Summary: 4.8 Regression?, ICE with -Ofast and -frounding-math Classification: Unclassified Product: gcc Version: 4.8.1 Status: UNCONFIRMED Severity: normal

[Bug fortran/56386] [F03] ICE with ASSOCIATE construct and an derived type array component

2013-04-16 Thread vladimir.fuka at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56386 --- Comment #3 from Vladimir Fuka 2013-04-16 17:40:04 UTC --- Thanks, I didn't realize they might be connected. I even forgotten I have this bug opened when I asked. Vladimir Dne 16.4.2013 19:17 "burnus at gcc dot gnu.org" napsal(a)

[Bug fortran/56471] New: Program crashes when allocating a derived type with a character allocatable array component.

2013-02-27 Thread vladimir.fuka at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56471 Bug #: 56471 Summary: Program crashes when allocating a derived type with a character allocatable array component. Classification: Unclassified Product: gcc Version: 4.8.0

[Bug fortran/56386] New: ICE with ASSOCIATE construct and an derived type array component

2013-02-18 Thread vladimir.fuka at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56386 Bug #: 56386 Summary: ICE with ASSOCIATE construct and an derived type array component Classification: Unclassified Product: gcc Version: 4.8.0 Status: UNCONFIRMED

[Bug fortran/56385] New: ICE with allocatable function result in a type-bound procedure

2013-02-18 Thread vladimir.fuka at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56385 Bug #: 56385 Summary: ICE with allocatable function result in a type-bound procedure Classification: Unclassified Product: gcc Version: 4.8.0 Status: UNCONFIRMED

  1   2   >