: normal
Priority: P3
Component: fortran
Assignee: unassigned at gcc dot gnu.org
Reporter: gs...@t-online.de
Target Milestone: ---
Changed between 20171217 and 20180107 :
$ cat z1.f90
subroutine s(x)
character(*) :: x
associate (y => x)
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83975
--- Comment #1 from G. Steinmetz ---
Configured with --enable-checking=yes :
$ gfortran-8-20180121-chk -c z1.f90
z1.f90:1:0:
subroutine s(x)
internal compiler error: tree check: expected parm_decl, have var_decl in
assign_parm_find_data_type
Component: fortran
Assignee: unassigned at gcc dot gnu.org
Reporter: gs...@t-online.de
Target Milestone: ---
Gives an ICE with version 7/8, bailed out with 5/6 :
$ cat z1.f90
program p
type t
integer :: a
end type
class(t), allocatable :: x
type(t) :: z = t(3)
x
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83976
--- Comment #1 from G. Steinmetz ---
This variant works as expected :
$ cat z2.f90
program p
type t
integer :: a
end type
class(t), allocatable :: x
type(t) :: z = t(3)
x = z
z = x
print *, z
end
$ gfortran-8-20180
Priority: P3
Component: fortran
Assignee: unassigned at gcc dot gnu.org
Reporter: gs...@t-online.de
Target Milestone: ---
Changed between 20170924 and 20171008 :
$ cat z1.f90
integer function f(a, b)
integer :: a, b
!$omp declare simd uniform(b) linear
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83976
--- Comment #3 from G. Steinmetz ---
A class/type issue - changing x from class to type :
$ cat z3.f90
program p
type t
integer :: a
end type
type(t), allocatable :: x
type(t) :: z = t(3)
x = z
z = (x)
print *, z
end
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=59298
G. Steinmetz changed:
What|Removed |Added
CC||gs...@t-online.de
--- Comment #9 from G
Severity: normal
Priority: P3
Component: fortran
Assignee: unassigned at gcc dot gnu.org
Reporter: gs...@t-online.de
Target Milestone: ---
Changed between 20171022 and 20171029 :
$ cat z1.f90
program p
integer, parameter :: a(0) = 1
print
: normal
Priority: P3
Component: fortran
Assignee: unassigned at gcc dot gnu.org
Reporter: gs...@t-online.de
Target Milestone: ---
Changed between 20171112 and 20171119 :
$ cat z1.f90
program p
type t
integer :: a
end type
type(t) :: x(3)
x = f
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83999
--- Comment #1 from G. Steinmetz ---
Please note that a result with "type" instead of "class" gives :
$ cat z2.f90
program p
type t
integer :: a
end type
type(t) :: x(3)
x = f()
print *, x
contains
elemental function f(
Priority: P3
Component: fortran
Assignee: unassigned at gcc dot gnu.org
Reporter: gs...@t-online.de
Target Milestone: ---
Changed between 20171112 and 20171119 :
$ cat z1.f90
program p
do concurrent (i = 1:2)
do
end do
end do
end
$ gfortran-8
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83975
--- Comment #7 from G. Steinmetz ---
Some additional testcases :
$ cat z2.f90
subroutine s(x)
character(*) :: x
associate (y => [x])
print *, size(y), len(y), y
end associate
end
$ cat z3.f90
subroutine s(x)
character(*) ::
ran/trans-decl.c:256
Product: gcc
Version: 8.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: fortran
Assignee: unassigned at gcc dot gnu.org
Reporter: gs...@t-online.de
Target Milestone: ---
Changed
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84115
--- Comment #1 from G. Steinmetz ---
A few more testcases :
$ cat z2.f90
subroutine s(x)
character(:), allocatable :: x
associate (y => x)
print *, y
end associate
end
$ cat z3.f90
subroutine s(x)
character(:), allocatable
Priority: P3
Component: fortran
Assignee: unassigned at gcc dot gnu.org
Reporter: gs...@t-online.de
Target Milestone: ---
Affects version 7 and 8 :
$ cat z1.f90
program p
integer :: i
!$omp simd linear ((i))
do i = 1, 2
end do
end
$ cat z2.f90
Priority: P3
Component: fortran
Assignee: unassigned at gcc dot gnu.org
Reporter: gs...@t-online.de
Target Milestone: ---
Changed recently between 20180107 and 20180114.
Affects testfile gcc/testsuite/gfortran.dg/pr71230-1.f90 (and others).
$ gfortran-8-20180107 -c
Priority: P3
Component: fortran
Assignee: unassigned at gcc dot gnu.org
Reporter: gs...@t-online.de
Target Milestone: ---
Affects only version 8 at -Og, -Os, -O1 or higher.
Changed before 20170820.
$ cat z1.f90
program p
real :: x(2,2) = 1.0
real :: z(2,2
: fortran
Assignee: unassigned at gcc dot gnu.org
Reporter: gs...@t-online.de
Target Milestone: ---
Following invalid code affects version 8.
Behavior changed before 20170820.
$ cat z1.f90
program p
integer :: i, x(3)
data (x(i+1:i+2:i),i=0,1) /1,2,3/
end
$ gfortran-7
: normal
Priority: P3
Component: fortran
Assignee: unassigned at gcc dot gnu.org
Reporter: gs...@t-online.de
Target Milestone: ---
Changed before 20170820. No ICE with version 6 or 7.
In combination with -fcoarray=single or -fcoarray=lib.
$ cat z1.f90
program
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84135
--- Comment #1 from G. Steinmetz ---
These analogous cases compile and work :
$ cat z2.f90
program p
integer :: i
integer :: x(3)[2,*]
data (x(i:i+2:i+1), i=1,2) /1,2,3/
print *, x
end
$ cat z3.f90
program p
integer :: i
in
Assignee: unassigned at gcc dot gnu.org
Reporter: gs...@t-online.de
Target Milestone: ---
Changed between 20170723 and 20170820 :
$ cat z1.f90
subroutine s
integer(2) :: i, j
!$acc parallel loop tile(2,3)
do i = 1, 10
do j = 1, 10
end do
end do
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84217
--- Comment #1 from G. Steinmetz ---
When configured with --enable-checking=release, an additional -ftrapv
is necessary :
$ gfortran-8-20180204 -c z1.f90 -fopenacc
$
$ gfortran-8-20180204 -c z1.f90 -fopenacc -ftrapv
during RTL pass: expand
z1.
Priority: P3
Component: fortran
Assignee: unassigned at gcc dot gnu.org
Reporter: gs...@t-online.de
Target Milestone: ---
Another testcase (from scratch) with undefined variable "j".
Changed between 20170820 and 20170910 :
$ cat z1.f90
program p
in
Priority: P3
Component: fortran
Assignee: unassigned at gcc dot gnu.org
Reporter: gs...@t-online.de
Target Milestone: ---
Changed between 20171217 and 20180107.
Needs option -fcoarray=single or -fcoarray=lib.
$ cat z1.f90
program p
type t
integer
: normal
Priority: P3
Component: fortran
Assignee: unassigned at gcc dot gnu.org
Reporter: gs...@t-online.de
Target Milestone: ---
Function f in z1.f90 is not used, z2.f90 without f compiles.
Changed between 20161218 and 20170108.
$ cat z1.f90
program p
Priority: P3
Component: fortran
Assignee: unassigned at gcc dot gnu.org
Reporter: gs...@t-online.de
Target Milestone: ---
Changed between 20161023 and 20161030 :
$ cat z1.f90
program p
select type (x%a)
end select
end
$ cat z2.f90
program p
select type (x
Priority: P3
Component: fortran
Assignee: unassigned at gcc dot gnu.org
Reporter: gs...@t-online.de
Target Milestone: ---
Changed between 20161127 and 20161204 :
$ cat z1.f90
program p
type t
character(:), allocatable :: a
end type
type(t
: c
Assignee: unassigned at gcc dot gnu.org
Reporter: gs...@t-online.de
Target Milestone: ---
Changed between 20181118 and 20181125 :
$ cat z1.c
typedef int Assert [(__builtin_has_attribute (1, target("sse")) == 1)];
$ gcc-9-20190210 -c z1.c
z1.c:1:1: interna
Assignee: unassigned at gcc dot gnu.org
Reporter: gs...@t-online.de
Target Milestone: ---
A combination of __thread with option -mforce-indirect-call
and -fpic or -fPIC gives an ICE starting with early gcc-8
for pr24428, pr47715, pr68986 and others :
$ cat z1.c
extern __thread int a
Priority: P3
Component: c
Assignee: unassigned at gcc dot gnu.org
Reporter: gs...@t-online.de
Target Milestone: ---
With options -O0 -mcmodel=large on x86_64-pc-linux-gnu :
$ cat pr56847.c
struct S { long int a, b; } e;
__thread struct S s;
void
foo (void)
{
s = e
Priority: P3
Component: c
Assignee: unassigned at gcc dot gnu.org
Reporter: gs...@t-online.de
Target Milestone: ---
Changed between 20180930 and 20181007 :
$ cat z1.c
long f (long a);
long g (void)
{
register long z asm ("rax");
asm ("
Assignee: unassigned at gcc dot gnu.org
Reporter: gs...@t-online.de
Target Milestone: ---
Affects versions down to at least gcc-5 :
$ cat z1.c
extern __SIZE_TYPE__ strlen (const float *);
void foo (char *s)
{
if (strlen(s) > 0)
return;
}
$ gcc-9-20190210 -c z1.c
z1.c:
++
Assignee: unassigned at gcc dot gnu.org
Reporter: gs...@t-online.de
Target Milestone: ---
Starting with gcc-8 and options -fsplit-stack -mforce-indirect-call;
affects several test cases, e.g. :
$ cat first-global.C
struct foo { foo (); };
foo foobar;
$ g++-9-20190210 -c first
Priority: P3
Component: c
Assignee: unassigned at gcc dot gnu.org
Reporter: gs...@t-online.de
Target Milestone: ---
Affects versions down to at least gcc-5 :
$ cat z1.c
void foo ()
{
__attribute__((weak))
void bar () { }
bar();
}
$ gcc-9-20190210 -c z1.c
: unassigned at gcc dot gnu.org
Reporter: gs...@t-online.de
Target Milestone: ---
With option -O0 down to at least gcc-5 :
$ cat z1.c
__attribute__((weakref("bar")))
static void foo () { }
void foo ();
$ gcc-9-20190210 -c z1.c -O1
$
$ gcc-9-20190210 -c z1.c -O0
z1.c:2:13
Assignee: unassigned at gcc dot gnu.org
Reporter: gs...@t-online.de
Target Milestone: ---
Affected by options -O[gs012] down to at least gcc-5,
compiles of course with -O3 or -Ofast (not sure if legal) :
$ cat z1.c
__attribute__((optimize("Ofast"))
Priority: P3
Component: c++
Assignee: unassigned at gcc dot gnu.org
Reporter: gs...@t-online.de
Target Milestone: ---
Changed between 20181125 and 20181202 :
$ cat z1.cc
enum class a { };
void f ()
{
a::~a()
}
$ g++-9-20181125 -c z1.cc
In function 'void f()'
Priority: P3
Component: c++
Assignee: unassigned at gcc dot gnu.org
Reporter: gs...@t-online.de
Target Milestone: ---
Changed between 20180513 and 20180527 :
$ cat z1.cc
struct S { };
void f ()
{
auto a = reinterpret_cast(f());
}
$ g++-9-20180513 -c z1.cc
Priority: P3
Component: c++
Assignee: unassigned at gcc dot gnu.org
Reporter: gs...@t-online.de
Target Milestone: ---
Started with gcc-7 :
$ cat z1.cc
typedef struct {
virtual void f () {}
} s;
s t;
$ g++-6 -c z1.cc -O1 -flto -fvtable-verify=std
$
$ g++-9-20190217 -c
Priority: P3
Component: c++
Assignee: unassigned at gcc dot gnu.org
Reporter: gs...@t-online.de
Target Milestone: ---
With options "-fsyntax-only -Os" and several test cases like
$ cat constexpr-empty11.C
template
struct element : Xn {
constexpr elem
Priority: P3
Component: c++
Assignee: unassigned at gcc dot gnu.org
Reporter: gs...@t-online.de
Target Milestone: ---
This invalid code ICEs with gcc-7 onwards :
$ cat z1.cc
void
foo (int n)
{
struct {} a[1][n] (+a[0]);
}
$ g++-6 -c z1.cc
z1.cc: In function
Priority: P3
Component: c++
Assignee: unassigned at gcc dot gnu.org
Reporter: gs...@t-online.de
Target Milestone: ---
The combination "-std=c++17 -fno-weak" affects several testsuite cases.
Changed between 20180527 and 20180610.
$ cat z1.cc
#include
int*
ty: normal
Priority: P3
Component: c++
Assignee: unassigned at gcc dot gnu.org
Reporter: gs...@t-online.de
Target Milestone: ---
Changed between 20181028 and 20181104 (with any -std) :
$ cat z1.cc
template
$ g++-9-20190217 -c z1.cc
z1.cc:1:11: warning:
Priority: P3
Component: c++
Assignee: unassigned at gcc dot gnu.org
Reporter: gs...@t-online.de
Target Milestone: ---
Changed between 2018 and 20181118 :
$ cat z1.cc
template < //>
auto c = []{ return []{}; }();
$ g++-9-20190217 -c z1.cc
z1.cc:2:29: in
Priority: P3
Component: c++
Assignee: unassigned at gcc dot gnu.org
Reporter: gs...@t-online.de
Target Milestone: ---
Started with gcc-8 and option -g :
$ cat z1.cc
template struct S
{
friend void foo (int a = []{ return 0; }()) {}
int b;
};
S<0> t;
$
Priority: P3
Component: c
Assignee: unassigned at gcc dot gnu.org
Reporter: gs...@t-online.de
Target Milestone: ---
Feeding g++ with testsuite/gcc.c-torture/compile/pr84305.c
affects versions since g++-7 at -O1+ :
$ cat pr84305.c
int res, a, b;
void *foo;
static
Severity: normal
Priority: P3
Component: c
Assignee: unassigned at gcc dot gnu.org
Reporter: gs...@t-online.de
Target Milestone: ---
Changed between 2018 and 20181118,
with -Ofast or -O3 -ffast-math :
$ cat z1.c
float
f (float x)
{
int i
Priority: P3
Component: c
Assignee: unassigned at gcc dot gnu.org
Reporter: gs...@t-online.de
Target Milestone: ---
Affects several testsuite cases at -O1+.
Changed between 2018 and 20181118 :
$ cat pr71078-2.c
#include
float f1(float x)
{
float t1 = fabsf (x
Priority: P3
Component: c
Assignee: unassigned at gcc dot gnu.org
Reporter: gs...@t-online.de
Target Milestone: ---
Started with gcc-6 at -O[23] :
$ cat z1.c
#pragma acc routine vector
void Vector (int *ptr, int n, const int inc)
{
#pragma acc loop vector
for
Severity: normal
Priority: P3
Component: c
Assignee: unassigned at gcc dot gnu.org
Reporter: gs...@t-online.de
Target Milestone: ---
Started with gcc-9 at -O[23] :
$ cat z1.c
extern __SIZE_TYPE__ strlen (const char*);
extern __SIZE_TYPE__ strnlen
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89498
--- Comment #2 from G. Steinmetz ---
Hm, on my environment it's not necessary to include ,
can therefore be omitted. But that case was only exemplary.
You can try to catch the other ones, e.g. simply looping over
###
export LANG=C
cd gcc/tes
: c
Assignee: unassigned at gcc dot gnu.org
Reporter: gs...@t-online.de
Target Milestone: ---
Seems to be an older issue (with -std=c++17) :
$ cat z1.cc
void f ()
{
enum e { a };
using e::a;
}
$ g++-9-20190224 -c z1.cc
z1.cc: In function 'void f()':
z1.cc:4:12
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67542
G. Steinmetz changed:
What|Removed |Added
CC||gs...@t-online.de
--- Comment #9 from G
Component: c++
Assignee: unassigned at gcc dot gnu.org
Reporter: gs...@t-online.de
Target Milestone: ---
Affects versions down to gcc-5, no ICE seen with 4.9 or older :
$ cat z1.cc
struct A {
template
static const int a = 0;
};
struct B {
template
static int foo
: UNCONFIRMED
Severity: normal
Priority: P3
Component: c
Assignee: unassigned at gcc dot gnu.org
Reporter: gs...@t-online.de
Target Milestone: ---
Affects versions down to at least gcc-4.1, at -O[gs123] :
(which means: compiles at -O0)
$ cat z1.c
double
Priority: P3
Component: c
Assignee: unassigned at gcc dot gnu.org
Reporter: gs...@t-online.de
Target Milestone: ---
A variation of pr89520 (closely related, but possibly valid) :
$ cat z1.c
double ceil ();
double floor ();
long aceil () { return ceil (1); }
long afloor
Severity: normal
Priority: P3
Component: c++
Assignee: unassigned at gcc dot gnu.org
Reporter: gs...@t-online.de
Target Milestone: ---
Changed between 20190113 (error) and 20190120 (ICE) :
$ cat z1.cc
template
void foo (F f)
{
f (1);
}
template
v
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67542
--- Comment #11 from G. Steinmetz ---
Well, the ICEs are gone for all posted test cases above.
Assuming that different shapes are not supported as an extension
(aka feature), as such they are not standard-conforming.
F2018 7.5.10 item 2 says
"
Priority: P3
Component: c
Assignee: unassigned at gcc dot gnu.org
Reporter: gs...@t-online.de
Target Milestone: ---
Changed between 20180708 and 20180722,
with option -Wall or -Warray-bounds :
$ cat z1.c
void *f (void *c)
{
return c;
}
void g ()
{
int n = 1;
char
Priority: P3
Component: c
Assignee: unassigned at gcc dot gnu.org
Reporter: gs...@t-online.de
Target Milestone: ---
Follow-up of pr89520 and pr89521 :
$ cat z1.c
long long llrint ();
long f ()
{
return llrint(1);
}
$ cat z2.c
long long llrint (x);
void f
Priority: P3
Component: tree-optimization
Assignee: unassigned at gcc dot gnu.org
Reporter: gs...@t-online.de
Target Milestone: ---
Started with gcc-8 in combination with option -Ofast :
$ cat z1.f90
subroutine s (x)
real :: x
call sub (x)
end
subroutine sub (x
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89664
G. Steinmetz changed:
What|Removed |Added
Keywords||ice-on-valid-code
Target|
Priority: P3
Component: c
Assignee: unassigned at gcc dot gnu.org
Reporter: gs...@t-online.de
Target Milestone: ---
Started with gcc-8, compiles with gcc-7 and older :
$ cat z1.c
__attribute__((target_clones ("default", "avx")))
int f ()
{
Product: gcc
Version: 9.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: c
Assignee: unassigned at gcc dot gnu.org
Reporter: gs...@t-online.de
Target Milestone: ---
Changed between 20181104 and 2018 :
Priority: P3
Component: c
Assignee: unassigned at gcc dot gnu.org
Reporter: gs...@t-online.de
Target Milestone: ---
Started with gcc-9 (before 20180429), at -O2+ :
$ cat z1.c
typedef __SIZE_TYPE__ size_t;
extern char* strlen (const char*);
extern char* strnlen (const
Priority: P3
Component: c
Assignee: unassigned at gcc dot gnu.org
Reporter: gs...@t-online.de
Target Milestone: ---
Started with gcc-6, compiles with gcc-5 :
$ cat z1.c
int f ()
{
L1: L2:;
static int i = (long) && L1 - (long) && L2
++
Assignee: unassigned at gcc dot gnu.org
Reporter: gs...@t-online.de
Target Milestone: ---
Affects versions down to gcc-5 (gcc-5 with -std=c++14).
(afaict gcc-4.9 -std=c++14, clang7, icc19 accepts it).
Compiles without "const".
$ cat z1.cc
enum e { a };
struct s
Priority: P3
Component: c++
Assignee: unassigned at gcc dot gnu.org
Reporter: gs...@t-online.de
Target Milestone: ---
Affects versions gcc-7 and higher at -O2+ :
$ cat z1.cc
int a, b;
void *f;
void g (int c)
{
b = ((int (*)[c][a]) f)[0][0][0];
}
void h (int d
Priority: P3
Component: c
Assignee: unassigned at gcc dot gnu.org
Reporter: gs...@t-online.de
Target Milestone: ---
Changed between 20180610 and 20180624 :
$ cat z1.c
typedef __SIZE_TYPE__ size_t;
extern size_t strnlen ();
size_t foo ()
{
return strnlen
Priority: P3
Component: c
Assignee: unassigned at gcc dot gnu.org
Reporter: gs...@t-online.de
Target Milestone: ---
Affects versions down to at least gcc-4.1 :
$ cat z1.c
enum bool a ();
unsigned a () {}
$ gcc-9-20190331 -c z1.c
z1.c: In function 'a'
Priority: P3
Component: c
Assignee: unassigned at gcc dot gnu.org
Reporter: gs...@t-online.de
Target Milestone: ---
Doubled line affects versions 7 up to trunk.
gcc-6 rejects it with an error.
clang7 and icc19 accepts it without any warning/error.
$ cat z1.c
typedef
Component: c
Assignee: unassigned at gcc dot gnu.org
Reporter: gs...@t-online.de
Target Milestone: ---
Changed between 20190210 and 20190217, at -O[s123].
(gcc-8 needs -Wall, and changed behavior before 20180525)
$ cat z1.c
char *strncpy();
void foo (char *a)
{
strncpy (a, a
Priority: P3
Component: c
Assignee: unassigned at gcc dot gnu.org
Reporter: gs...@t-online.de
Target Milestone: ---
Gives an ICE down to gcc-4.6, gcc-4.5 (and others) accept it :
$ cat z1.c
void buf ()
{
__builtin_setjmp (buf);
__builtin_longjmp (buf, 1);
}
$ gcc
Priority: P3
Component: c
Assignee: unassigned at gcc dot gnu.org
Reporter: gs...@t-online.de
Target Milestone: ---
Affects gcc-7 upwards at -O[s123], gcc-6 compiles it :
$ cat z1.c
void foo ()
{
void *g[] = {&&a, &&b};
for (unsigned c
Priority: P3
Component: c
Assignee: unassigned at gcc dot gnu.org
Reporter: gs...@t-online.de
Target Milestone: ---
Started with gcc-8 (and values N < 0) :
$ cat z1.c
__attribute__((patchable_function_entry(-1)))
void f () {}
$ gcc-9-20190331 -c z1.c
during
Priority: P3
Component: c++
Assignee: unassigned at gcc dot gnu.org
Reporter: gs...@t-online.de
Target Milestone: ---
Changed between 20190217 and 20190224 :
$ cat z1.cc
void f ()
{
int a = 0;
for (;;)
for (;a=+({break;1;});)
{}
}
$ g++-9-20190217 -c
: normal
Priority: P3
Component: c
Assignee: unassigned at gcc dot gnu.org
Reporter: gs...@t-online.de
Target Milestone: ---
Started with gcc-8 (before 20180525) :
$ cat z1.c
__attribute__((target_clones ("default", "default")))
void f (
Assignee: unassigned at gcc dot gnu.org
Reporter: gs...@t-online.de
Target Milestone: ---
Started with gcc-8 (before 20180525) :
$ cat z1.c
#define a(...) int b /##__VA_OPT__(c);
a()
$ gcc-9-20190331 -c z1.c
z1.c:2:1: internal compiler error: unspellable token PADDING
Component: c
Assignee: unassigned at gcc dot gnu.org
Reporter: gs...@t-online.de
Target Milestone: ---
Started with gcc-8 (before 20180525) :
$ cat z1.c
struct S {
long a[0] __attribute__ ((aligned (32)));
};
void foo ()
{
struct S b;
f (8.0L, b);
}
$ gcc-9-20190331 -c z1.c
: UNCONFIRMED
Severity: normal
Priority: P3
Component: c++
Assignee: unassigned at gcc dot gnu.org
Reporter: gs...@t-online.de
Target Milestone: ---
Changed between 20190113 and 20190120 :
$ cat z1.cc
constexpr int a();
template constexpr void *b
Priority: P3
Component: c
Assignee: unassigned at gcc dot gnu.org
Reporter: gs...@t-online.de
Target Milestone: ---
This is a follow-up of pr89945 :
$ cat z1.c
void
foo ()
{
void *g[] = {&&a, &&b};
for (unsigned c = 0x1F;; c >>= 1)
Priority: P3
Component: c++
Assignee: unassigned at gcc dot gnu.org
Reporter: gs...@t-online.de
Target Milestone: ---
This changed between 20190127 and 20190203 :
$ cat z1.cc
struct S { S (void ()); }
foo ([] (auto ...) {});
$ g++-9-20190127 -c z1.cc
$
$ g++-10
++
Assignee: unassigned at gcc dot gnu.org
Reporter: gs...@t-online.de
Target Milestone: ---
Affects versions down to at least gcc-4.5 :
$ cat z1.cc
template
void f ()
{
struct S { struct T typedef a; };
struct S::a b;
}
void g ()
{
f ();
}
$ g++-10-20190519 -c z1
Assignee: ibuclaw at gdcproject dot org
Reporter: gs...@t-online.de
Target Milestone: ---
Some variations with negative length :
$ cat z1.d
int[0][-1] a;
$ cat z2.d
int[-1][0] a;
$ cat z3.d
int[-1][-1] a;
$ gdc-10-20190519 -c z1.d
d21: out of memory allocating
Assignee: ibuclaw at gdcproject dot org
Reporter: gs...@t-online.de
Target Milestone: ---
Another variation with negative length :
$ cat z1.d
void[] f = cast(void[-1]) "a";
$ gdc-10-20190519 -c z1.d
d21: internal compiler error: Segmentation fault
0xb6ed9f cr
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=50974
--- Comment #6 from G. Steinmetz ---
*** Bug 88099 has been marked as a duplicate of this bug. ***
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88099
G. Steinmetz changed:
What|Removed |Added
Status|WAITING |RESOLVED
Resolution|---
Priority: P3
Component: fortran
Assignee: unassigned at gcc dot gnu.org
Reporter: gs...@t-online.de
Target Milestone: ---
Changed between 20180923 and 20180930 :
$ cat z1.f90
program p
character(:), allocatable :: z(:)
z = [character(2):: 'ab&
: d
Assignee: ibuclaw at gdcproject dot org
Reporter: gs...@t-online.de
Target Milestone: ---
Outcome of some test runs :
$ cat z1.d
int f (int a)
{
return ++(a += 1.0);
}
$ gdc-10-20190519 -c z1.d
gimplification failed:
(int) _7
unit-size
align:32
gdcproject dot org
Reporter: gs...@t-online.de
Target Milestone: ---
$ cat z1.d
struct S { char[0] x; }
const a = S('a');
const char c = a.x;
$ gdc-10-20190519 -c z1.d
z1.d:3:16: error: Internal Compiler Error: null field x
3 | const char c = a.x;
|^
Component: d
Assignee: ibuclaw at gdcproject dot org
Reporter: gs...@t-online.de
Target Milestone: ---
$ cat z1.d
auto a(int b) {}
auto a(int b = a) {}
$ gdc-10-20190519 -c z1.d
d21: internal compiler error: Segmentation fault
0xb6ed9f crash_signal
../../gcc/toplev.c:326
Assignee: ibuclaw at gdcproject dot org
Reporter: gs...@t-online.de
Target Milestone: ---
$ cat z1.d
void f (__vector(int[8]) n)
{ foreach (i; 0..n) n; }
$ gdc-10-20190519 -c z1.d
d21: internal compiler error: in sizemask, at d/dmd/mtype.c:2542
0x6f68a5 Type::sizemask
: gcc
Version: 10.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: c
Assignee: unassigned at gcc dot gnu.org
Reporter: gs...@t-online.de
Target Milestone: ---
Started with gcc-8, compiles with gcc-7 :
$ cat z1.c
: 10.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: c
Assignee: unassigned at gcc dot gnu.org
Reporter: gs...@t-online.de
Target Milestone: ---
Affects versions down to at least gcc-5 :
(release versions need -Ofast
Assignee: ibuclaw at gdcproject dot org
Reporter: gs...@t-online.de
Target Milestone: ---
With snapshot from 20190526 :
$ cat z1.d
class c
{
static f ()
{
return 0;
}
}
void g ()
{
if (0 & [0] & c.f()) {}
}
$ gdc-10-20190526 -c z1.d
z1.d: In function &
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90650
G. Steinmetz changed:
What|Removed |Added
Keywords||ice-on-invalid-code
Target|
Priority: P3
Component: d
Assignee: ibuclaw at gdcproject dot org
Reporter: gs...@t-online.de
Target Milestone: ---
$ cat z1.d
struct object {}
void f (...) {}
int g (object a);
$ gdc-10-20190526 -c z1.d
d21: internal compiler error: Segmentation fault
0xb7057f
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90658
G. Steinmetz changed:
What|Removed |Added
Keywords||ice-on-invalid-code
Target|
Assignee: unassigned at gcc dot gnu.org
Reporter: gs...@t-online.de
Target Milestone: ---
Affects versions down to gcc-5 :
$ cat z1.c
void f ();
void g () __attribute__ ((constructor(f)));
$ cat z2.c
void f ();
void g () __attribute__ ((destructor(f)));
$ gcc-10
Priority: P3
Component: c++
Assignee: unassigned at gcc dot gnu.org
Reporter: gs...@t-online.de
Target Milestone: ---
Changed between 20190224 and 20190303 :
$ cat z1.cc
template
void foo (int n)
{
T a[n];
[=]{a;};
}
void bar ()
{
foo ;
}
$ g++-10-20190526 -c
401 - 500 of 746 matches
Mail list logo