[Bug fortran/83975] New: [8 Regression] ICE in set_parm_default_def_partition, at tree-ssa-coalesce.c:1919

2018-01-22 Thread gs...@t-online.de
: 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)

[Bug fortran/83975] [8 Regression] ICE in set_parm_default_def_partition, at tree-ssa-coalesce.c:1919

2018-01-22 Thread gs...@t-online.de
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

[Bug fortran/83976] New: ICE in gfc_add_component_ref, at fortran/class.c:211

2018-01-22 Thread gs...@t-online.de
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

[Bug fortran/83976] ICE in gfc_add_component_ref, at fortran/class.c:211

2018-01-22 Thread gs...@t-online.de
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

[Bug fortran/83977] New: [8 Regression] ICE in simd_clone_clauses_extract, at omp-simd-clone.c:184

2018-01-22 Thread gs...@t-online.de
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

[Bug fortran/83976] ICE in gfc_add_component_ref, at fortran/class.c:211

2018-01-23 Thread gs...@t-online.de
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

[Bug fortran/59298] ICE when initialising PARAMETER array of derived-type (containing an array) using array constructor

2018-01-23 Thread gs...@t-online.de
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

[Bug fortran/83998] New: [8 Regression] ICE in gfc_conv_intrinsic_dot_product, at fortran/trans-intrinsic.c:4403

2018-01-23 Thread gs...@t-online.de
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

[Bug fortran/83999] New: [8 Regression] ICE in gfc_trans_assignment_1, at fortran/trans-expr.c:10233

2018-01-23 Thread gs...@t-online.de
: 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

[Bug fortran/83999] [8 Regression] ICE in gfc_trans_assignment_1, at fortran/trans-expr.c:10233

2018-01-23 Thread gs...@t-online.de
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(

[Bug fortran/84000] New: [8 Regression] ICE in replace_loop_annotate, at tree-cfg.c:352

2018-01-23 Thread gs...@t-online.de
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

[Bug fortran/83975] [8 Regression] ICE in set_parm_default_def_partition, at tree-ssa-coalesce.c:1919

2018-01-29 Thread gs...@t-online.de
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(*) ::

[Bug fortran/84115] New: [8 Regression] ICE: tree check: expected tree that contains 'decl minimal' structure, have 'indirect_ref' in add_decl_as_local, at fortran/trans-decl.c:256

2018-01-29 Thread gs...@t-online.de
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

[Bug fortran/84115] [8 Regression] ICE: tree check: expected tree that contains 'decl minimal' structure, have 'indirect_ref' in add_decl_as_local, at fortran/trans-decl.c:256

2018-01-29 Thread gs...@t-online.de
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

[Bug fortran/84116] New: [7/8 Regression] ICE in gfc_match_omp_clauses, at fortran/openmp.c:1354

2018-01-29 Thread gs...@t-online.de
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

[Bug fortran/84117] New: [8 Regression] ICE in gimplify_modify_expr, at gimplify.c:5798

2018-01-29 Thread gs...@t-online.de
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

[Bug fortran/84133] New: [8 Regression] ICE in gimplify_var_or_parm_decl, at gimplify.c:2706

2018-01-30 Thread gs...@t-online.de
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

[Bug fortran/84134] New: [8 Regression] ICE: Floating point exception

2018-01-30 Thread gs...@t-online.de
: 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

[Bug fortran/84135] New: [8 Regression] ICE in gfc_trans_array_cobounds, at fortran/trans-array.c:6033

2018-01-30 Thread gs...@t-online.de
: 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

[Bug fortran/84135] [8 Regression] ICE in gfc_trans_array_cobounds, at fortran/trans-array.c:6033

2018-01-30 Thread gs...@t-online.de
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

[Bug fortran/84217] New: [8 Regression] ICE: verify_gimple failed

2018-02-05 Thread gs...@t-online.de
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

[Bug fortran/84217] [8 Regression] ICE: verify_gimple failed

2018-02-05 Thread gs...@t-online.de
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.

[Bug fortran/84218] New: [8 Regression] ICE in free_expr0, at fortran/expr.c:451

2018-02-05 Thread gs...@t-online.de
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

[Bug fortran/84219] New: [8 Regression] ICE: Invalid expression in gfc_target_interpret_expr

2018-02-05 Thread gs...@t-online.de
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

[Bug fortran/84244] New: [7/8 Regression] ICE in recompute_tree_invariant_for_addr_expr, at tree.c:4535

2018-02-06 Thread gs...@t-online.de
: 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

[Bug fortran/84245] New: [7/8 Regression] ICE in delete_root, at fortran/bbt.c:150

2018-02-06 Thread gs...@t-online.de
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

[Bug fortran/84246] New: [7/8 Regression] ICE in conv_caf_send, at fortran/trans-intrinsic.c:1950

2018-02-06 Thread gs...@t-online.de
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

[Bug c/89288] New: [9 Regression] ICE in tree_code_size, at tree.c:865

2019-02-11 Thread gs...@t-online.de
: 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

[Bug c/89289] New: ICE in extract_insn, at recog.c:2310

2019-02-11 Thread gs...@t-online.de
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

[Bug c/89290] New: [8/9 Regression] ICE in change_address_1, at emit-rtl.c:2286

2019-02-11 Thread gs...@t-online.de
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

[Bug c/89313] New: [9 Regression] ICE in process_alt_operands, at lra-constraints.c:2962

2019-02-12 Thread gs...@t-online.de
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 ("

[Bug c/89314] New: ICE in wide_int_to_tree_1, at tree.c:1561

2019-02-12 Thread gs...@t-online.de
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:

[Bug c++/89316] New: ICE in gen_reg_rtx, at emit-rtl.c:1155

2019-02-12 Thread gs...@t-online.de
++ 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

[Bug c/89340] New: ICE in function_and_variable_visibility, at ipa-visibility.c:707

2019-02-13 Thread gs...@t-online.de
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

[Bug c/89341] New: ICE in get, at cgraph.h:1332

2019-02-13 Thread gs...@t-online.de
: 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

[Bug c/89342] New: ICE in maybe_default_option, at opts.c:347

2019-02-13 Thread gs...@t-online.de
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"))

[Bug c++/89390] New: [9 Regression] ICE in get_string, at spellcheck-tree.h:46

2019-02-18 Thread gs...@t-online.de
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()'

[Bug c++/89391] New: [9 Regression] ICE in build_target_expr_with_type, at cp/tree.c:795

2019-02-18 Thread gs...@t-online.de
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

[Bug c++/89392] New: [7/8/9 Regression] ICE in bitmap_bit_p, at bitmap.c:978

2019-02-18 Thread gs...@t-online.de
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

[Bug c++/89403] New: [7/8/9 Regression] ICE in maybe_clone_body, at cp/optimize.c:693

2019-02-19 Thread gs...@t-online.de
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

[Bug c++/89404] New: [7/8/9 Regression] ICE in build_value_init_noctor, at cp/init.c:467

2019-02-19 Thread gs...@t-online.de
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

[Bug c++/89405] New: [8/9 Regression] ICE in import_export_decl, at cp/decl2.c:2959

2019-02-19 Thread gs...@t-online.de
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*

[Bug c++/89420] New: [9 Regression] ICE: unexpected expression 'int()' of kind cast_expr

2019-02-20 Thread gs...@t-online.de
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: 

[Bug c++/89421] New: [9 Regression] ICE in retrieve_specialization, at cp/pt.c:1245

2019-02-20 Thread gs...@t-online.de
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

[Bug c++/89422] New: [8/9 Regression] ICE in field_byte_offset, at dwarf2out.c:19086

2019-02-20 Thread gs...@t-online.de
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; $

[Bug c/89439] New: [7/8/9 Regression] ICE in make_ssa_name_fn, at tree-ssanames.c:268

2019-02-21 Thread gs...@t-online.de
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

[Bug c/89440] New: [9 Regression] ICE in vect_create_epilog_for_reduction, at tree-vect-loop.c:5502

2019-02-21 Thread gs...@t-online.de
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

[Bug c/89498] New: [8/9 Regression] ICE in AT_loc_list, at dwarf2out.c:4871

2019-02-25 Thread gs...@t-online.de
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

[Bug c/89499] New: [7/8/9 Regression] ICE in expand_UNIQUE, at internal-fn.c:2605

2019-02-25 Thread gs...@t-online.de
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

[Bug c/89500] New: [9 Regression] ICE: tree check: expected integer_cst, have ssa_name in get_len, at tree.h:5653

2019-02-25 Thread gs...@t-online.de
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

[Bug debug/89498] [8/9 Regression] ICE in AT_loc_list, at dwarf2out.c:4871

2019-02-26 Thread gs...@t-online.de
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

[Bug c/89511] New: ICE in push_using_decl_1, at cp/name-lookup.c:3845

2019-02-26 Thread gs...@t-online.de
: 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

[Bug fortran/67542] ICE in gfc_emit_parameter_debug_info, at fortran/trans-decl.c:4947 and :4945

2019-02-26 Thread gs...@t-online.de
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

[Bug c++/89512] New: ICE in get_expr_operands, at tree-ssa-operands.c:882

2019-02-26 Thread gs...@t-online.de
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

[Bug c/89520] New: ICE tree check: accessed operand 4 of call_expr with 3 operands in convert_to_integer_1, at convert.c:668

2019-02-27 Thread gs...@t-online.de
: 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

[Bug c/89521] New: ICE in expand_builtin_int_roundingfn, at builtins.c:2697

2019-02-27 Thread gs...@t-online.de
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

[Bug c++/89522] New: [8/9 Regression] ICE: trying to capture 'f' in instantiation of generic lambda

2019-02-27 Thread gs...@t-online.de
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

[Bug fortran/67542] ICE in gfc_emit_parameter_debug_info, at fortran/trans-decl.c:4947 and :4945

2019-02-28 Thread gs...@t-online.de
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 "

[Bug c/89662] New: [9 Regression] ICE in contains_struct_check, at tree.h:3545

2019-03-11 Thread gs...@t-online.de
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

[Bug c/89663] New: ICE in expand_builtin_int_roundingfn_2, at builtins.c:2831

2019-03-11 Thread gs...@t-online.de
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

[Bug tree-optimization/89664] New: [8/9 Regression] ICE in free_bb, at tree-ssa-math-opts.c:522

2019-03-11 Thread gs...@t-online.de
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

[Bug tree-optimization/89664] [8/9 Regression] ICE in free_bb, at tree-ssa-math-opts.c:522

2019-03-11 Thread gs...@t-online.de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89664 G. Steinmetz changed: What|Removed |Added Keywords||ice-on-valid-code Target|

[Bug c/89684] New: [8/9 Regression] ICE in gsi_for_stmt, at gimple-iterator.c:613

2019-03-12 Thread gs...@t-online.de
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 () {

[Bug c/89685] New: [9 Regression] ICE: tree check: expected class 'type', have 'expression' (compound_expr) in diag_attr_exclusions, at attribs.c:396

2019-03-12 Thread gs...@t-online.de
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 :

[Bug c/89703] New: [9 Regression] ICE in compare_values_warnv, at tree-vrp.c:997

2019-03-13 Thread gs...@t-online.de
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

[Bug c/89704] New: [7/8/9 Regression] ICE in add_const_value_attribute, at dwarf2out.c:19685

2019-03-13 Thread gs...@t-online.de
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

[Bug c++/89705] New: ICE in convert_like_real, at cp/call.c:7334

2019-03-13 Thread gs...@t-online.de
++ 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

[Bug c++/89910] New: [7/8/9 Regression] ICE in make_ssa_name_fn, at tree-ssanames.c:271

2019-04-01 Thread gs...@t-online.de
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

[Bug c/89911] New: [9 Regression] ICE in get_attr_nonstring_decl, at calls.c:1502

2019-04-01 Thread gs...@t-online.de
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

[Bug c/89932] New: ICE in must_pass_in_stack_var_size_or_pad, at calls.c:5824

2019-04-02 Thread gs...@t-online.de
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'

[Bug c/89933] New: [7/8/9 Regression] ICE in merge_decls, at c/c-decl.c:2517

2019-04-02 Thread gs...@t-online.de
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

[Bug c/89934] New: [9 Regression] ICE in tree_fits_uhwi_p, at tree.c:7237

2019-04-02 Thread gs...@t-online.de
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

[Bug c/89944] New: [7/8/9 Regression] ICE in mark_jump_label_1, at jump.c:1152

2019-04-03 Thread gs...@t-online.de
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

[Bug c/89945] New: [7/8/9 Regression] ICE in gen_lowpart_general, at rtlhooks.c:63

2019-04-03 Thread gs...@t-online.de
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

[Bug c/89946] New: [8/9 Regression] ICE in assemble_start_function, at varasm.c:1871

2019-04-03 Thread gs...@t-online.de
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

[Bug c++/89948] New: [9 Regression] ICE in fold_convert_loc, at fold-const.c:2430

2019-04-03 Thread gs...@t-online.de
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

[Bug c/89970] New: [8/9 Regression] ICE in dispatch_function_versions, at config/i386/i386.c:32347

2019-04-04 Thread gs...@t-online.de
: 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 (

[Bug c/89971] New: [8/9 Regression] ICE: unspellable token PADDING

2019-04-04 Thread gs...@t-online.de
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

[Bug c/89972] New: [8/9 Regression] ICE in expand_call, at calls.c:4229

2019-04-04 Thread gs...@t-online.de
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

[Bug c++/89973] New: [9 Regression] ICE in check_address_or_pointer_of_packed_member, at c-family/c-warn.c:2769

2019-04-04 Thread gs...@t-online.de
: 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

[Bug c/90547] New: [8/9/10 Regression] ICE in gen_lowpart_general, at rtlhooks.c:63

2019-05-20 Thread gs...@t-online.de
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)

[Bug c++/90548] New: [9/10 Regression] ICE in tsubst_copy_and_build, at cp/pt.c:18877

2019-05-20 Thread gs...@t-online.de
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

[Bug c++/90550] New: ICE in determine_visibility, at cp/decl2.c:2567

2019-05-20 Thread gs...@t-online.de
++ 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

[Bug d/90559] New: Out of memory because of negative length

2019-05-21 Thread gs...@t-online.de
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

[Bug d/90560] New: ICE in visit, at d/dmd/dcast.c:1872

2019-05-21 Thread gs...@t-online.de
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

[Bug fortran/50974] ICE on invalid on function used as variable

2019-05-21 Thread gs...@t-online.de
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. ***

[Bug fortran/88099] ICE in maybe_legitimize_operand, at optabs.c:7170

2019-05-21 Thread gs...@t-online.de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88099 G. Steinmetz changed: What|Removed |Added Status|WAITING |RESOLVED Resolution|---

[Bug fortran/90561] New: [9/10 Regression] ICE in gimplify_var_or_parm_decl, at gimplify.c:2747

2019-05-21 Thread gs...@t-online.de
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&

[Bug d/90601] New: ICE: gimplification failed (gimplify.c at 13436)

2019-05-23 Thread gs...@t-online.de
: 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

[Bug d/90602] New: ICE: null field

2019-05-23 Thread gs...@t-online.de
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; |^

[Bug d/90603] New: ICE in functionParameters, at d/dmd/expression.c:1553

2019-05-23 Thread gs...@t-online.de
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

[Bug d/90604] New: ICE in sizemask, at d/dmd/mtype.c:2542

2019-05-23 Thread gs...@t-online.de
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

[Bug c/90648] New: [8/9/10 Regression] ICE tree check: accessed operand 4 of call_expr with 3 operands in generic_simplify_MULT_EXPR, at generic-match.c:27222

2019-05-27 Thread gs...@t-online.de
: 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

[Bug c/90649] New: ICE tree check: accessed operand 4 of call_expr with 3 operands in generic_simplify_EQ_EXPR, at generic-match.c:42857

2019-05-27 Thread gs...@t-online.de
: 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

[Bug d/90650] New: ICE in fold_convert_loc, at fold-const.c:2552

2019-05-27 Thread gs...@t-online.de
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 &

[Bug d/90650] ICE in fold_convert_loc, at fold-const.c:2552

2019-05-27 Thread gs...@t-online.de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90650 G. Steinmetz changed: What|Removed |Added Keywords||ice-on-invalid-code Target|

[Bug d/90651] New: ICE in FuncDeclaration::semantic3, at d/dmd/func.c:1524

2019-05-27 Thread gs...@t-online.de
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

[Bug c/90658] ICE in default_conversion, at c/c-typeck.c:2159

2019-05-28 Thread gs...@t-online.de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90658 G. Steinmetz changed: What|Removed |Added Keywords||ice-on-invalid-code Target|

[Bug c/90658] New: ICE in default_conversion, at c/c-typeck.c:2159

2019-05-28 Thread gs...@t-online.de
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

[Bug c++/90659] New: [9/10 Regression] ICE in tree_to_uhwi, at tree.h:4352/7291

2019-05-28 Thread gs...@t-online.de
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

<    1   2   3   4   5   6   7   8   >