Component: fortran
Assignee: unassigned at gcc dot gnu.org
Reporter: chilikin.k at gmail dot com
Target Milestone: ---
Created attachment 48928
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=48928&action=edit
Test case
Attached file contains an invalid call of a &quo
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96325
--- Comment #2 from Kirill Chilikin ---
Yes, there is no type-bound procedure really, and, yes, there is a bug in the
code (intentionally: it was called for the wrong variable, which is removed for
the test case). The module M2 indeed does not us
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96325
--- Comment #3 from Kirill Chilikin ---
I tested the reduced test case. It also compiles successfully with version
10.2.0, while it should not. With 8.3.0, an error is reported:
$ /usr/bin/gfortran -c -o test.o test2.f90
test2.f90:14:9:
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96325
--- Comment #4 from Kirill Chilikin ---
Thus, this error (or, more exactly, absence of error) does not depend on the
presence of a type-bound procedure with the same name for another derived type.
The bug description should probably be modified.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96325
--- Comment #7 from Kirill Chilikin ---
Result of git bisect:
$ git bisect log
git bisect start
# bad: [6e6e3f144a33ae504149dc992453b4f6dea12fdb] Update ChangeLog and version
files for release
git bisect bad 6e6e3f144a33ae504149dc992453b4f6dea12
: normal
Priority: P3
Component: fortran
Assignee: unassigned at gcc dot gnu.org
Reporter: chilikin.k at gmail dot com
Target Milestone: ---
The following code:
MODULE M
CONTAINS
MODULE SUBROUTINE S()
END SUBROUTINE
END MODULE
compiles successfully with
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54370
Bug #: 54370
Summary: error: non-trivial conversion in unary operation
Classification: Unclassified
Product: gcc
Version: 4.7.0
Status: UNCONFIRMED
Severity: normal
P
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54370
--- Comment #1 from Kirill Chilikin 2012-08-24
21:51:19 UTC ---
Created attachment 28080
--> http://gcc.gnu.org/bugzilla/attachment.cgi?id=28080
testcase
t: fortran
Assignee: unassigned at gcc dot gnu.org
Reporter: chilikin.k at gmail dot com
Target Milestone: ---
Created attachment 37815
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=37815&action=edit
Test program
Compilation of the following program (attach
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48757
Summary: internal compiler error: in compensate_edge, at
reg-stack.c:2788
Product: gcc
Version: 4.6.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Co
Component: fortran
Assignee: unassigned at gcc dot gnu.org
Reporter: chilikin.k at gmail dot com
Target Milestone: ---
The following module
MODULE M
TYPE T
INTEGER I
END TYPE
CONTAINS
SUBROUTINE S(X)
CLASS(T), POINTER :: X
SELECT TYPE (X)
TYPEIS (T
Priority: P3
Component: fortran
Assignee: unassigned at gcc dot gnu.org
Reporter: chilikin.k at gmail dot com
Target Milestone: ---
Created attachment 55720
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=55720&action=edit
Test case
The attached test
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110987
--- Comment #1 from Kirill Chilikin ---
Created attachment 55721
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=55721&action=edit
Objdump of the corresponding code
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110987
--- Comment #2 from Kirill Chilikin ---
Some additional information:
$ gfortran -g -o test test.f90 -fdump-tree-original
$ cat test.f90.005t.original | head -n 747 | tail -n 26
{
struct t3 zero.25;
struct array00_t3 desc.26;
struc
Priority: P3
Component: fortran
Assignee: unassigned at gcc dot gnu.org
Reporter: chilikin.k at gmail dot com
Target Milestone: ---
With gfortran 14.2.0,
$ cat test.f90
SUBROUTINE S
USE, INTRINSIC :: ISO_C_BINDING
USE, INTRINSIC :: ISO_FORTRAN_ENV
IMPLICIT
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95397
Kirill Chilikin changed:
What|Removed |Added
CC||chilikin.k at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95397
--- Comment #5 from Kirill Chilikin ---
Created attachment 59111
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=59111&action=edit
Test case
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95397
--- Comment #6 from Kirill Chilikin ---
Created attachment 59112
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=59112&action=edit
Test case (works)
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110987
--- Comment #3 from Kirill Chilikin ---
The derived type T3 has zero components but not zero length as it extends T1;
the test does not crash after the following changes:
diff --git a/gcc/fortran/trans.cc b/gcc/fortran/trans.cc
index 961b0b5a57
: normal
Priority: P3
Component: lto
Assignee: unassigned at gcc dot gnu.org
Reporter: chilikin.k at gmail dot com
Target Milestone: ---
Created attachment 59440
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=59440&action=edit
test.f90
With g
Priority: P3
Component: rtl-optimization
Assignee: unassigned at gcc dot gnu.org
Reporter: chilikin.k at gmail dot com
Target Milestone: ---
Created attachment 59217
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=59217&action=edit
test.f90
With g
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116875
--- Comment #1 from Kirill Chilikin ---
Created attachment 59218
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=59218&action=edit
test2.f90
22 matches
Mail list logo