Assignee: unassigned at gcc dot gnu.org
Reporter: gerhard.steinmetz.fort...@t-online.de
Target Milestone: ---
With testfile ./gcc.dg/pr38934.c :
$ gcc-7-20170226 -m32 -mmpx -fcheck-pointer-bounds -ftrapv -c pr38934.c
pr38934.c: In function 'f':
pr38934.c:14:13: warnin
Assignee: unassigned at gcc dot gnu.org
Reporter: gerhard.steinmetz.fort...@t-online.de
Target Milestone: ---
With testfiles ./gcc.target/i386/bmi-1.c and ./gcc.target/i386/bmi-2.c
at -Os|1|2|3 :
$ gcc-7-20170226 -O2 -mmpx -fcheck-pointer-bounds -c bmi-1.c
In file included
c
Version: 7.0.1
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: c++
Assignee: unassigned at gcc dot gnu.org
Reporter: gerhard.steinmetz.fort...@t-online.de
Target Milestone: ---
Over 400 testfiles from ./
++
Assignee: unassigned at gcc dot gnu.org
Reporter: gerhard.steinmetz.fort...@t-online.de
Target Milestone: ---
With testfile ./g++.dg/ext/int128-3.C
down to version 4.9 :
$ gcc-7-20170226 -c int128-3.C
$ gcc-7-20170226 -m32 -c int128-3.C
int128-3.C:7:3: error: overflow in
Product: gcc
Version: 7.0.1
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: c
Assignee: unassigned at gcc dot gnu.org
Reporter: gerhard.steinmetz.fort...@t-online.de
Target Milestone: ---
With invalid code on x86_64
Assignee: unassigned at gcc dot gnu.org
Reporter: gerhard.steinmetz.fort...@t-online.de
Target Milestone: ---
With invalid code on x86_64 GNU/Linux and option
-fsanitize=undefined or -fsanitize=integer-divide-by-zero,
down to version 4.9 (configured with --enable-checking=yes
Assignee: unassigned at gcc dot gnu.org
Reporter: gerhard.steinmetz.fort...@t-online.de
Target Milestone: ---
Affects versions down to 4.9 (configured with --enable-checking=yes) :
$ cat z1.c
typedef int V __attribute__ ((vector_size(4)));
void fn1 ()
{
(V){(1,0)}[0] = 0
Component: c
Assignee: unassigned at gcc dot gnu.org
Reporter: gerhard.steinmetz.fort...@t-online.de
Target Milestone: ---
Affects versions down to 4.9 (configured with --enable-checking=yes) :
$ cat z1.c
void foo () {}
#pragma weak foo = _foo
int _foo = 0;
$ gcc-7-20170226 -c z1
Component: c
Assignee: unassigned at gcc dot gnu.org
Reporter: gerhard.steinmetz.fort...@t-online.de
Target Milestone: ---
With invalid code on x86_64 GNU/Linux, down to at least 4.8 :
$ cat z1.c
_Decimal32
typedef int V __attribute__ ((vector_size(16)));
int fn1 (V a) { }
$ gcc
Priority: P3
Component: c
Assignee: unassigned at gcc dot gnu.org
Reporter: gerhard.steinmetz.fort...@t-online.de
Target Milestone: ---
Affects version 7 on x86_64 GNU/Linux at -Os|1|2|3,
testfile ./gcc.dg/pr41340.c :
$ gcc-7-20170226 -O0 -mmpx -fcheck-pointer-bounds -c
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79733
--- Comment #4 from Gerhard Steinmetz
---
Nothing fancy at all, no arch-specific flags.
$ gcc-7-20170226 -v
Using built-in specs.
COLLECT_GCC=.../bin/gcc
COLLECT_LTO_WRAPPER=.../lib/gcc/x86_64-pc-linux-gnu/7.0.1/lto-wrapper
Target: x86_64-pc-li
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79559
--- Comment #7 from Gerhard Steinmetz
---
Using version gcc-7-20170226, above cases compile on my environment, too.
But pr79729 does not (yes, appending to this pr would have been better).
Assignee: unassigned at gcc dot gnu.org
Reporter: gerhard.steinmetz.fort...@t-online.de
Target Milestone: ---
With testfile ./gcc.target/i386/avx512f-kortestw-2.c,
down to version 4.9, at -Os|1|2|3 and with one of
-mavx512f
-mavx512pf
-mavx512er
-mavx512cd
: unassigned at gcc dot gnu.org
Reporter: gerhard.steinmetz.fort...@t-online.de
Target Milestone: ---
With version 6/7 (on x86_64 GNU/Linux).
Reduced from ./g++.dg/ext/vector27.C :
$ cat z1.cc
typedef float vecf __attribute__ ((vector_size (4 * sizeof (float;
void g (vecf *a, vecf
Assignee: unassigned at gcc dot gnu.org
Reporter: gerhard.steinmetz.fort...@t-online.de
Target Milestone: ---
With a mismatch (int/void), down to at least 4.8,
at -Os, -O1 or higher. No ICE seen with 4.9 :
$ cat z1.c
int bar () __attribute__ ((alias ("foo")))
: unassigned at gcc dot gnu.org
Reporter: gerhard.steinmetz.fort...@t-online.de
Target Milestone: ---
Affects version 7 at -Os, -O1 or higher.
$ cat z1.c
typedef unsigned V __attribute__ ((vector_size (8)));
V
foo (unsigned x, V v)
{
do {
v %= x;
x = 1;
} while (v[1
Severity: normal
Priority: P3
Component: c
Assignee: unassigned at gcc dot gnu.org
Reporter: gerhard.steinmetz.fort...@t-online.de
Target Milestone: ---
Affects versions down to 4.9 (configured with --enable-checking=yes) :
$ cat z1.c
register int x() asm
Component: target
Assignee: unassigned at gcc dot gnu.org
Reporter: gerhard.steinmetz.fort...@t-online.de
Target Milestone: ---
Affects versions down to 4.9.
Reduced from ./gcc.target/sh/pr21255-3.c :
$ cat z1.c
double
f ()
{
double r;
asm ("mov %S1,%S0; mov %R1,%R0&q
Assignee: unassigned at gcc dot gnu.org
Reporter: gerhard.steinmetz.fort...@t-online.de
Target Milestone: ---
With -O0 for versions down to at least 4.8 (on x86_64 GNU/Linux)
and file ./gcc/testsuite/gcc.target/i386/pr65693.c
$ cat pr65693.c
int a;
void
foo (int (*fn) (int
Component: c
Assignee: unassigned at gcc dot gnu.org
Reporter: gerhard.steinmetz.fort...@t-online.de
Target Milestone: ---
Version 5/6/7 (on x86_64 GNU/Linux) and files
./gcc.dg/tree-ssa/ssa-pre-13.cat -O2|3
./gcc.dg/torture/pr55890-1.c at -Os|1|2|3
$ cat pr55890-1.c
Assignee: unassigned at gcc dot gnu.org
Reporter: gerhard.steinmetz.fort...@t-online.de
Target Milestone: ---
Version 5/6/7 (on x86_64 GNU/Linux) at -Os|1|2|3 and files
./gcc.target/i386/addr-space-1.c
./gcc.target/i386/addr-space-5.c
./gcc.target/i386/pr65523.c
./gcc.dg
Severity: normal
Priority: P3
Component: c
Assignee: unassigned at gcc dot gnu.org
Reporter: gerhard.steinmetz.fort...@t-online.de
Target Milestone: ---
Version 5/6/7 (on x86_64 GNU/Linux) at -Os|1|2|3
and file ./gcc.dg/torture/pr71901.c
$ gcc-7-20170219 -O2
Assignee: unassigned at gcc dot gnu.org
Reporter: gerhard.steinmetz.fort...@t-online.de
Target Milestone: ---
Version 5/6/7 (on x86_64 GNU/Linux) and files
./gcc.dg/nested-func-9.c
./gcc.target/i386/pr66817.c
./gcc.dg/torture/pr8081.c
Maybe related to pr77383 -- but here not
Component: c
Assignee: unassigned at gcc dot gnu.org
Reporter: gerhard.steinmetz.fort...@t-online.de
Target Milestone: ---
For versions down to 4.9 (on x86_64 GNU/Linux) and
test file ./gcc/testsuite/gcc.target/sh/pr21255-2-ml.c :
$ cat pr21255-2-ml.c
double d;
double
f (void
Component: c
Assignee: unassigned at gcc dot gnu.org
Reporter: gerhard.steinmetz.fort...@t-online.de
Target Milestone: ---
Versions 5/6/7 together with option -fsanitize=undefined
(or -fsanitize=bounds, or -fsanitize=bounds-strict) :
$ cat z1.c
void fn1 (int n)
{
int i, j
Priority: P3
Component: c++
Assignee: unassigned at gcc dot gnu.org
Reporter: gerhard.steinmetz.fort...@t-online.de
Target Milestone: ---
Version 7 applied to ./gcc/testsuite/g++.dg/cpp1z/inh-ctor28.C
(on x86_64 GNU/Linux) at -Os, -O2 or higher :
$ cat inh-ctor28.C
Assignee: unassigned at gcc dot gnu.org
Reporter: gerhard.steinmetz.fort...@t-online.de
Target Milestone: ---
Affects versions down to at least 4.8 (on x86_64 GNU/Linux) :
$ cat z1.c
void fn1 ()
{
L: *&&L;
}
$ gcc-7-20170212 -c z1.c
z1.c: In function 'f
Assignee: unassigned at gcc dot gnu.org
Reporter: gerhard.steinmetz.fort...@t-online.de
Target Milestone: ---
Affects versions down to at least 4.8 (on x86_64 GNU/Linux) :
$ cat z1.c
typedef int A;
void fn1 (A x, A y)
{
if ( (x+(x-y)*1i) != -(-x+(y-x)*1i) );
}
$ gcc-7
: c++
Assignee: unassigned at gcc dot gnu.org
Reporter: gerhard.steinmetz.fort...@t-online.de
Target Milestone: ---
Affects versions 6/7 (on x86_64 GNU/Linux) :
$ cat z1.cc
struct A
{
int b = 1;
int c = 2;
int x[] = { c, 3 };
};
A a = { 4, 5 };
$ gcc-7-20170212 -c z1
Assignee: unassigned at gcc dot gnu.org
Reporter: gerhard.steinmetz.fort...@t-online.de
Target Milestone: ---
For versions down to at least 4.8 (on x86_64 GNU/Linux) with
options "-E -traditional" or "-traditional-cpp" applied to file
./gcc/testsuite/gcc.dg/prag
Product: gcc
Version: 7.0.1
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: c
Assignee: unassigned at gcc dot gnu.org
Reporter: gerhard.steinmetz.fort...@t-online.de
Target Milestone: ---
A test run with -Wdouble-
Component: c
Assignee: unassigned at gcc dot gnu.org
Reporter: gerhard.steinmetz.fort...@t-online.de
Target Milestone: ---
A test run with -m96bit-long-double (on x86_64 GNU/Linux)
gives ICEs down to 4.9 for several testsuite files.
An incomplete list :
./gcc.c-torture/execute
Component: c++
Assignee: unassigned at gcc dot gnu.org
Reporter: gerhard.steinmetz.fort...@t-online.de
Target Milestone: ---
Version 6/7 (on x86_64 GNU/Linux) with option -fopenmp-simd
ICEs for testsuite files ./g++.dg/gomp/target-teams-1.C
and ./g++.dg/gomp/teams-1.C. Last one
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79499
--- Comment #1 from Gerhard Steinmetz
---
Original files from ./gcc/testsuite/gcc.dg/torture.
Oh, and gcc-5 (configured with --enable-checking=yes) also gives
that ICE for pr57478.c (but not for pr78542.c).
Whereas with release versions 5/6/7 (
Assignee: unassigned at gcc dot gnu.org
Reporter: gerhard.steinmetz.fort...@t-online.de
Target Milestone: ---
Version 6/7 with a involved -fno-omit-frame-pointer (at -Os|2|3)
ICEs for at least two testsuite files pr57478.c, pr78542.c :
$ cat pr57478.c
typedef struct Node Node
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79498
--- Comment #1 from Gerhard Steinmetz
---
No ICE seen with gcc version 6.3.1 20170131.
On my environment, gcc-5.4.1 gives :
$ gcc-5-20170110 -mcmodel=large -O2 -c pr78526.c
pr78526.c: In function 'bar':
pr78526.c:11:1: warning: AVX512F vector
Assignee: unassigned at gcc dot gnu.org
Reporter: gerhard.steinmetz.fort...@t-online.de
Target Milestone: ---
Version 7 gives an ICE for testsuite file pr78526.c
in combination with -mcmodel=large and -Os, -O2 or higher :
$ gcc-7-20170212 -O2 -mcmodel=large -c pr78526.c
pr78526.c
Assignee: unassigned at gcc dot gnu.org
Reporter: gerhard.steinmetz.fort...@t-online.de
Target Milestone: ---
A test run with option -mcmodel=large hits an ICE for testsuite
file run-gd.c and run-ld.c, down to at least gcc 4.8.
$ gcc-7-20170212 -mcmodel=large -c run-gd.c
run-gd.c: In
Assignee: unassigned at gcc dot gnu.org
Reporter: gerhard.steinmetz.fort...@t-online.de
Target Milestone: ---
A test run with option -msoft-float hits an ICE for testsuite file
.../ieee/fp-cmp-3.c, version 6/7 at -Os, -O1 or higher.
Reduced :
$ cat z1.c
long double dnan
Component: c
Assignee: unassigned at gcc dot gnu.org
Reporter: gerhard.steinmetz.fort...@t-online.de
Target Milestone: ---
Option -fsplit-stack gives this ICE for roughly two dozen files
from gcc/testsuite, for example (down to 4.9) :
$ cat pr49994-1.c
void x (int a)
{
__label__
: unassigned at gcc dot gnu.org
Reporter: gerhard.steinmetz.fort...@t-online.de
Target Milestone: ---
Seen with version 7 only, on x86_64 GNU/Linux.
(not depending on any options)
$ cat z1.c
int fn1 (void);
int vfork (void);
void fn2 ()
{
int a;
a = fn1() + vfork();
}
$ gcc-6 -c z1.c
: unassigned at gcc dot gnu.org
Reporter: gerhard.steinmetz.fort...@t-online.de
Target Milestone: ---
Affects versions 6 and 7 (configured with --enable-checking=yes) :
(compiles with "static int a")
$ cat z1.c
void fn1 ()
{
int a;
#pragma omp declare target (a)
}
$ gcc-
++
Assignee: unassigned at gcc dot gnu.org
Reporter: gerhard.steinmetz.fort...@t-online.de
Target Milestone: ---
Affects versions 6 and 7 (configured with --enable-checking=yes).
Issue similar to that from pr79428.
$ cat z1.cc
#pragma omp target
$ cat z2.cc
#pragma omp ordered
$ g
: c
Assignee: unassigned at gcc dot gnu.org
Reporter: gerhard.steinmetz.fort...@t-online.de
Target Milestone: ---
Affects versions 6 and 7 (configured with --enable-checking=yes) :
$ cat z1.c
#pragma omp ordered
$ gcc-5 -fopenmp -c z1.c
z1.c:1:9: error: expected declaration
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=60085
--- Comment #4 from Gerhard Steinmetz
---
Another variant (invalid) :
$ cat z1.c
void fn1 ()
{
void fnx ()
int n;
int a[n];
}
$ gcc-7-20170205 -c z1.c
z1.c: In function 'fnx':
z1.c:6:1: error: expected declaration specifiers before '}' to
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=60085
Gerhard Steinmetz changed:
What|Removed |Added
CC||gerhard.steinmetz.fortran@t
Assignee: unassigned at gcc dot gnu.org
Reporter: gerhard.steinmetz.fort...@t-online.de
Target Milestone: ---
Seen with test-version 7 at -Os, -O2 or higher :
$ cat z1.c
void fn1 ()
{
typeof (int [1/0]) a;
}
void fn2 ()
{
fn1();
}
$ gcc-6 -O2 -c z1.c
$ gcc-7-20170205
Assignee: unassigned at gcc dot gnu.org
Reporter: gerhard.steinmetz.fort...@t-online.de
Target Milestone: ---
With invalid code down to at least gcc 4.8 (configured with
--enable-checking=yes) on x86_64 GNU/Linux.
(official releases: confused by earlier errors, bailing out
: c
Assignee: unassigned at gcc dot gnu.org
Reporter: gerhard.steinmetz.fort...@t-online.de
Target Milestone: ---
With a modified test pr57026.c at -Os, -O1 or above, down to gcc 4.9 :
$ cat z1.c
typedef struct __jmp_buf_tag { char buf[1024]; } jmp_buf[1];
extern int setjmp
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61342
Gerhard Steinmetz changed:
What|Removed |Added
CC||gerhard.steinmetz.fortran@t
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=43374
Gerhard Steinmetz changed:
What|Removed |Added
CC||gerhard.steinmetz.fortran@t
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=30552
--- Comment #2 from Gerhard Steinmetz
---
Other test cases :
$ cat z1.c
void f()
{
void g()
void a[( {void b} )];
}
$ cat z2.c
int f()
{
int g()
int a[( {int b} )];
}
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=30552
Gerhard Steinmetz changed:
What|Removed |Added
CC||gerhard.steinmetz.fortran@t
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78866
--- Comment #1 from Gerhard Steinmetz
---
Older versions down to at least 5.4.1 give :
$ gfortran-7-20161023 -fopenmp -c z1.f90
z1.f90:4:0:
!$omp target
internal compiler error: Segmentation fault
0xc32b7f crash_signal
../../gcc/to
Priority: P3
Component: fortran
Assignee: unassigned at gcc dot gnu.org
Reporter: gerhard.steinmetz.fort...@t-online.de
Target Milestone: ---
Follow-up of pr77973 :
$ cat z1.f90
subroutine s(x)
integer :: x(*)
!$omp parallel
!$omp target
x(1) = 1
!$omp end target
: fortran
Assignee: unassigned at gcc dot gnu.org
Reporter: gerhard.steinmetz.fort...@t-online.de
Target Milestone: ---
Affects version 7 down to at least 4.8, at -Os, -O2 or higher :
$ cat z1.f90
program p
call sub (3)
end
subroutine sub (x)
integer :: x, i, n
do i = 1, x
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78864
--- Comment #1 from Gerhard Steinmetz
---
Older versions give :
$ gfortran-7-20160828 z1.f90
z1.f90:5:16:
namelist /nml/ x
1
Error: NAMELIST object 'x' in namelist 'nml' at (1) is polymorphic and requires
a defined input/
Component: fortran
Assignee: unassigned at gcc dot gnu.org
Reporter: gerhard.steinmetz.fort...@t-online.de
Target Milestone: ---
Invalid code affects version 7 since about 20160904 :
$ cat z1.f90
program p
type t
end type
class(t) :: x
namelist /nml/ x
end
$ gfortran
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78815
--- Comment #1 from Gerhard Steinmetz
---
This concerns several files from testsuite/gfortran.dg :
goacc/default_none.f95
goacc/kernels-alias-4.f95
goacc/kernels-loop-2.f95
goacc/kernels-loop-data-2.f95
goacc/kernels-loop-data-e
: fortran
Assignee: unassigned at gcc dot gnu.org
Reporter: gerhard.steinmetz.fort...@t-online.de
Target Milestone: ---
Follow-up of pr77973, since about 20161113.
An example with an automatic explicit-shape array :
$ cat z1.f90
subroutine s(n)
integer :: i, n, z(n)
!$omp
: fortran
Assignee: unassigned at gcc dot gnu.org
Reporter: gerhard.steinmetz.fort...@t-online.de
Target Milestone: ---
With invalid code, down to at least 4.8 :
(bailed out with official releases 5, 6)
$ cat z1.f90
program p
class(*) :: x
print *, f(x)
end
$ cat z2.f90
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78801
--- Comment #1 from Gerhard Steinmetz
---
With option -O0 :
$ gfortran-7-20161211 -O0 -c z1.f90
z1.f90:2:0:
character(8) :: g
internal compiler error: in convert_move, at expr.c:228
0x92d1ec convert_move(rtx_def*, rtx_def*, int)
.
: fortran
Assignee: unassigned at gcc dot gnu.org
Reporter: gerhard.steinmetz.fort...@t-online.de
Target Milestone: ---
With invalid code, down to at least 4.8 :
$ cat z1.f90
function f()
character(8) :: g
entry g() result(z)
end
$ gfortran-7-20161211 -O2 -c z1.f90
z1.f90:4:0
Component: fortran
Assignee: unassigned at gcc dot gnu.org
Reporter: gerhard.steinmetz.fort...@t-online.de
Target Milestone: ---
With invalid code, down to at least 4.8 :
(bailed out with official releases 5, 6)
$ cat z1.f90
program p
type t
end type
class(*) :: z
call
Priority: P3
Component: fortran
Assignee: unassigned at gcc dot gnu.org
Reporter: gerhard.steinmetz.fort...@t-online.de
Target Milestone: ---
Since recently :
$ cat z1.f90
module m
type t
class(t), pointer :: z
end type
contains
function f(x
Priority: P3
Component: fortran
Assignee: unassigned at gcc dot gnu.org
Reporter: gerhard.steinmetz.fort...@t-online.de
Target Milestone: ---
Since recently, with a case from testsuite/gfortran.dg :
$ gfortran-7-20161211 -fcoarray=lib coarray_allocate_1.f90
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68568
--- Comment #7 from Gerhard Steinmetz
---
Update for both backtraces :
$ gfortran-7-20161211 -finit-local-zero -c z1a.f90
z1a.f90:1:0:
subroutine s(n)
internal compiler error: in gfc_get_symbol_decl, at fortran/trans-decl.c:1739
0x75c147 gf
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66544
--- Comment #9 from Gerhard Steinmetz
---
Frankly speaking, it's difficile. Smells more invalid than valid.
As a side note, I do not have any production code using a contruct
similar to that in comment 0 or in recursive_interface_*.
Still af
Priority: P3
Component: fortran
Assignee: unassigned at gcc dot gnu.org
Reporter: gerhard.steinmetz.fort...@t-online.de
Target Milestone: ---
With invalid code (symbol "g" name clash), down to at least 4.8.
$ cat z1.f90
subroutine s(n, x)
integer :: n
c
Priority: P3
Component: fortran
Assignee: unassigned at gcc dot gnu.org
Reporter: gerhard.steinmetz.fort...@t-online.de
Target Milestone: ---
A tiny snippet of _invalid_ code, ICEs down to at least 4.8.
Backtrace similar to that of pr68846 comment 4 and pr70864 comment 3
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68225
--- Comment #8 from Gerhard Steinmetz
---
Addendum :
$ cat zzp.f90
program p
type t
integer :: a
character(:), allocatable :: c
end type
type(t) :: x
x = t(a=1) ; print *, x%a, x%c
x = t(a=2, c=null()) ; p
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68241
Bug 68241 depends on bug 68439, which changed state.
Bug 68439 Summary: ICE in alloc_scalar_allocatable_for_subcomponent_assignment,
at fortran/trans-expr.c:6711
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68439
What|Removed
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68225
--- Comment #7 from Gerhard Steinmetz
---
*** Bug 68439 has been marked as a duplicate of this bug. ***
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68439
Gerhard Steinmetz changed:
What|Removed |Added
Status|NEW |RESOLVED
Resolution|---
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69860
--- Comment #15 from Gerhard Steinmetz
---
Confirmed, this ICE is now completely gone on my environment.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78719
--- Comment #2 from Gerhard Steinmetz
---
Interestingly, following invalid variant with "type(t)"
is silently accepted and gives same results as z0.f90 in comment 1.
$ cat z2.f90
program p
type t
integer :: n
end type
type(t) :
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78719
--- Comment #1 from Gerhard Steinmetz
---
Detected with type "real" instead of "class(t)" :
$ cat z3.f90
program p
type t
integer :: n
end type
real :: g !!
abstract interface
subroutine h
end
end interface
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68569
--- Comment #2 from Gerhard Steinmetz
---
Update, backtrace :
$ gfortran-7-20161204 -c z2a.f90
z2a.f90:4:12:
data x /'a'/
1
Warning: Initialization string at (1) was truncated to fit the variable (0/1)
z2a.f90:1:0:
subroutin
Priority: P3
Component: fortran
Assignee: unassigned at gcc dot gnu.org
Reporter: gerhard.steinmetz.fort...@t-online.de
Target Milestone: ---
With invalid code (due to an extra declaration flagged with "!!"),
down to at least 4.8 :
$ cat z1.f90
program p
Priority: P3
Component: fortran
Assignee: unassigned at gcc dot gnu.org
Reporter: gerhard.steinmetz.fort...@t-online.de
Target Milestone: ---
Affects versions down to at least 4.8 :
$ cat z1.f90
program p
integer :: n, z
n = 1
contains
function f() result(z
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70149
Gerhard Steinmetz changed:
What|Removed |Added
CC||gerhard.steinmetz.fortran@t
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70864
--- Comment #4 from Gerhard Steinmetz
---
Related to pr68846 (technically slightly different).
Backtrace identical to that of pr68846 comment 3 etc.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68846
--- Comment #5 from Gerhard Steinmetz
---
Related to pr70864 (technically slightly different).
Backtrace identical to that of pr70864 comment 3.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68846
--- Comment #4 from Gerhard Steinmetz
---
Further modified and reduced to a skeleton, i.e. :
$ cat z3.f90
module m68846
type t
contains
procedure, nopass :: f => f1
end type
contains
function f1() result(p)
real, point
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68846
--- Comment #3 from Gerhard Steinmetz
---
Both variants reduced and simplified a bit :
$ cat z1.f90
module m68846
type grid_t
real, pointer :: p(:) => null()
end type
type subgrid_t
class(grid_t), pointer :: grd => null()
cont
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68846
Gerhard Steinmetz changed:
What|Removed |Added
CC||gerhard.steinmetz.fortran@t
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=72755
--- Comment #10 from Gerhard Steinmetz
---
Reduced source is nearly identical, backtrace completely identical
to that of pr70864 comment 3.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70864
Gerhard Steinmetz changed:
What|Removed |Added
CC||gerhard.steinmetz.fortran@t
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=72755
Gerhard Steinmetz changed:
What|Removed |Added
CC||gerhard.steinmetz.fortran@t
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78686
--- Comment #1 from Gerhard Steinmetz
---
Whereas, for example with "real" :
$ cat z2.f90
program p
type t
real :: c(1) = [t()]
end type
end
$ gfortran-7-20161204 z2.f90
z2.f90:3:20:
real :: c(1) = [t()]
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68155
--- Comment #7 from Gerhard Steinmetz
---
Sequence changed, still ok :
$ cat zz3.f90
program p
character(3) :: c1(2) = ['b', 'c'] // ''
character(3) :: c2(2) = ['b', 'c'] // 'a'
character(3) :: c3(2) = ['b', 'c'] // 'ax'
character(3
: fortran
Assignee: unassigned at gcc dot gnu.org
Reporter: gerhard.steinmetz.fort...@t-online.de
Target Milestone: ---
With invalid code, down to at least 4.8 :
$ cat z1.f90
program p
type t
character :: c(1) = [t()]
end type
end
$ gfortran-7-20161204 z1.f90
f951
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65173
--- Comment #9 from Gerhard Steinmetz
---
Another example, together with LANG=de_DE.UTF-8 :
$ cat zz1.f90
program p
type t
character, allocatable :: z1(:), z1(:)
end type
end
$ gfortran-7-20161204 -m32 zz1.f90
zz1.f90:3:37-44:
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68155
Gerhard Steinmetz changed:
What|Removed |Added
Version|5.2.1 |7.0
--- Comment #6 from Gerhard Stei
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78570
Gerhard Steinmetz changed:
What|Removed |Added
Status|NEW |RESOLVED
Resolution|---
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68155
--- Comment #5 from Gerhard Steinmetz
---
*** Bug 78570 has been marked as a duplicate of this bug. ***
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68155
--- Comment #4 from Gerhard Steinmetz
---
Update, new backtrace :
$ gfortran-7-20161127 z1t.f90
z1t.f90:3:28:
character(2) :: z(1) = '' // ['y']
1
Warning: CHARACTER expression at (1) is being truncated (2/1
Priority: P3
Component: fortran
Assignee: unassigned at gcc dot gnu.org
Reporter: gerhard.steinmetz.fort...@t-online.de
Target Milestone: ---
Invalid code affects versions 5, 6 and 7, at -Og, -Os, -O1 or higher.
$ cat z1.f90
function f(x) result(z)
real :: x, z
z
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78618
--- Comment #1 from Gerhard Steinmetz
---
Working variants :
$ cat z2.f90
program p
character :: c = char(256,4)
print *, rank(c)
end
$ gfortran-7-20161127 z2.f90
z2.f90:2:19:
character :: c = char(256,4)
1
Erro
: fortran
Assignee: unassigned at gcc dot gnu.org
Reporter: gerhard.steinmetz.fort...@t-online.de
Target Milestone: ---
With invalid code, down to at least 4.8 :
$ cat z1.f90
program p
character, parameter :: c = char(256,4)
print *, rank(c)
end
$ gfortran-7-20161127 z1
1 - 100 of 588 matches
Mail list logo