[Bug c/79788] New: ICE in expand_expr_real_2, at expr.c:9557

2017-03-01 Thread gerhard.steinmetz.fort...@t-online.de
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: warning: integer

[Bug c/79787] New: ICE in remove_unreachable_nodes, at ipa.c:469

2017-03-01 Thread gerhard.steinmetz.fort...@t-online.de
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

[Bug c++/79786] New: ICE tree check: expected class 'type', have 'declaration' (var_decl) in iamcu_alignment, at config/i386/i386.c:30263

2017-03-01 Thread gerhard.steinmetz.fort...@t-online.de
: 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 ./gcc/testsuite/g++.dg

[Bug c++/79785] New: ICE in gimplify_expr, at gimplify.c:11950

2017-03-01 Thread gerhard.steinmetz.fort...@t-online.de
++ 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

[Bug c/79758] New: ICE: tree check: expected class 'type', have 'exceptional' (error_mark) in store_parm_decls_oldstyle, at c/c-decl.c:8973

2017-02-28 Thread gerhard.steinmetz.fort...@t-online.de
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 GNU/Linux down

[Bug c/79757] New: ICE in declare_vars, at gimplify.c:634

2017-02-28 Thread gerhard.steinmetz.fort...@t-online.de
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

[Bug c/79756] New: ICE in execute_todo, at passes.c:2011

2017-02-28 Thread gerhard.steinmetz.fort...@t-online.de
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

[Bug c/79755] New: ICE: segfault in cgraph_node::get, at cgraph.h:1261

2017-02-28 Thread gerhard.steinmetz.fort...@t-online.de
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

[Bug c/79754] New: ICE in type_natural_mode, at config/i386/i386.c:8760

2017-02-28 Thread gerhard.steinmetz.fort...@t-online.de
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

[Bug c/79753] New: ICE in ix86_expand_builtin, at config/i386/i386.c:36869

2017-02-28 Thread gerhard.steinmetz.fort...@t-online.de
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

[Bug c/79733] ICE in int_mode_for_mode, at stor-layout.c:406

2017-02-28 Thread gerhard.steinmetz.fort...@t-online.de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79733 --- Comment #4 from Gerhard Steinmetz <gerhard.steinmetz.fort...@t-online.de> --- 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

[Bug target/79559] [5/6 Regression] ICE in ix86_print_operand, at config/i386/i386.c:18189

2017-02-27 Thread gerhard.steinmetz.fort...@t-online.de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79559 --- Comment #7 from Gerhard Steinmetz <gerhard.steinmetz.fort...@t-online.de> --- 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).

[Bug c/79733] New: ICE in int_mode_for_mode, at stor-layout.c:406

2017-02-27 Thread gerhard.steinmetz.fort...@t-online.de
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

[Bug c++/79734] New: ICE: verify_gimple failed

2017-02-27 Thread gerhard.steinmetz.fort...@t-online.de
: 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

[Bug c/79732] New: ICE in set_ssa_default_def, at tree-dfa.c:327

2017-02-27 Thread gerhard.steinmetz.fort...@t-online.de
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")))

[Bug c/79731] New: ICE: verify_gimple failed

2017-02-27 Thread gerhard.steinmetz.fort...@t-online.de
: 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

[Bug c/79730] New: ICE tree check: expected var_decl, have function_decl in finish_decl, at c/c-decl.c:5063

2017-02-27 Thread gerhard.steinmetz.fort...@t-online.de
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

[Bug target/79729] New: ICE in ix86_print_operand, at config/i386/i386.c:18231

2017-02-27 Thread gerhard.steinmetz.fort...@t-online.de
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

[Bug c/79636] New: ICE in assign_by_spills, at lra-assigns.c:1457

2017-02-20 Thread gerhard.steinmetz.fort...@t-online.de
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

[Bug c/79634] New: ICE in expand_builtin_with_bounds, at builtins.c:7490

2017-02-20 Thread gerhard.steinmetz.fort...@t-online.de
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

[Bug c/79633] New: ICE in gimple_call_arg, at gimple.h:3163

2017-02-20 Thread gerhard.steinmetz.fort...@t-online.de
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

[Bug c/79631] New: ICE tree check: expected integer_cst, have negate_expr in decompose, at tree.h:5255

2017-02-20 Thread gerhard.steinmetz.fort...@t-online.de
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

[Bug c/79630] New: ICE in make_decl_rtl, at varasm.c:1311

2017-02-20 Thread gerhard.steinmetz.fort...@t-online.de
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

[Bug c/79559] New: ICE in ix86_print_operand, at config/i386/i386.c:18189

2017-02-16 Thread gerhard.steinmetz.fort...@t-online.de
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

[Bug c/79558] New: ICE: Segfault in ubsan_type_descriptor, at ubsan.c:412

2017-02-16 Thread gerhard.steinmetz.fort...@t-online.de
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

[Bug c++/79557] New: ICE in ipa_modify_formal_parameters, at ipa-prop.c:3979

2017-02-16 Thread gerhard.steinmetz.fort...@t-online.de
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

[Bug c/79537] New: ICE in gimplify_expr, at gimplify.c:12009

2017-02-15 Thread gerhard.steinmetz.fort...@t-online.de
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: *& } $ gcc-7-20170212 -c z1.c z1.c: In function 'fn1': z1.c:3:6: inte

[Bug c/79536] New: ICE in fold_binary_loc, at fold-const.c:9060

2017-02-15 Thread gerhard.steinmetz.fort...@t-online.de
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

[Bug c++/79535] New: ICE in verify_ctor_sanity, at cp/constexpr.c:2636

2017-02-15 Thread gerhard.steinmetz.fort...@t-online.de
: 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

[Bug c/79516] New: ICE: unspellable token PRAGMA_EOL

2017-02-14 Thread gerhard.steinmetz.fort...@t-online.de
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

[Bug c/79515] New: ICE: tree check: expected class 'type', have 'exceptional' (error_mark) in do_warn_double_promotion, at c-family/c-warn.c:1867

2017-02-14 Thread gerhard.steinmetz.fort...@t-online.de
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-promotion (on x86_64

[Bug c/79514] New: ICE in curr_insn_transform, at lra-constraints.c:3773

2017-02-14 Thread gerhard.steinmetz.fort...@t-online.de
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

[Bug c++/79512] New: ICE: Segfault in gimple_build_call_1, at gimple.c:218

2017-02-14 Thread gerhard.steinmetz.fort...@t-online.de
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

[Bug target/79499] ICE in rtl_verify_bb_insns, at cfgrtl.c:2661

2017-02-14 Thread gerhard.steinmetz.fort...@t-online.de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79499 --- Comment #1 from Gerhard Steinmetz <gerhard.steinmetz.fort...@t-online.de> --- 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 pr7

[Bug c/79499] New: ICE in rtl_verify_bb_insns, at cfgrtl.c:2661

2017-02-13 Thread gerhard.steinmetz.fort...@t-online.de
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

[Bug c/79498] ICE in df_insn_delete, at df-scan.c:948

2017-02-13 Thread gerhard.steinmetz.fort...@t-online.de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79498 --- Comment #1 from Gerhard Steinmetz <gerhard.steinmetz.fort...@t-online.de> --- 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 functio

[Bug c/79498] New: ICE in df_insn_delete, at df-scan.c:948

2017-02-13 Thread gerhard.steinmetz.fort...@t-online.de
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

[Bug c/79497] New: ICE in extract_insn, at recog.c:2311

2017-02-13 Thread gerhard.steinmetz.fort...@t-online.de
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

[Bug c/79495] New: ICE in extract_constrain_insn, at recog.c:2213

2017-02-13 Thread gerhard.steinmetz.fort...@t-online.de
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

[Bug c/79494] New: ICE in maybe_record_trace_start, at dwarf2cfi.c:2330

2017-02-13 Thread gerhard.steinmetz.fort...@t-online.de
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__

[Bug c/79432] New: ICE: verify_ssa failed

2017-02-08 Thread gerhard.steinmetz.fort...@t-online.de
: 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

[Bug c/79431] New: ICE in get, at cgraph.h:397

2017-02-08 Thread gerhard.steinmetz.fort...@t-online.de
: 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-

[Bug c++/79429] New: ICE in add_stmt, at cp/semantics.c:385

2017-02-08 Thread gerhard.steinmetz.fort...@t-online.de
++ 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

[Bug c/79428] New: ICE in c_parser_consume_token, at c/c-parser.c:770

2017-02-08 Thread gerhard.steinmetz.fort...@t-online.de
: 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

[Bug middle-end/60085] ICE in get_frame_type on weird code

2017-02-08 Thread gerhard.steinmetz.fort...@t-online.de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=60085 --- Comment #4 from Gerhard Steinmetz <gerhard.steinmetz.fort...@t-online.de> --- 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:

[Bug middle-end/60085] ICE in get_frame_type on weird code

2017-02-08 Thread gerhard.steinmetz.fort...@t-online.de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=60085 Gerhard Steinmetz <gerhard.steinmetz.fort...@t-online.de> changed: What|Removed |Added

[Bug c/79413] New: ICE in make_ssa_name_fn, at tree-ssanames.c:265

2017-02-07 Thread gerhard.steinmetz.fort...@t-online.de
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

[Bug c/79412] New: ICE in fold_convert_loc, at fold-const.c:2239

2017-02-07 Thread gerhard.steinmetz.fort...@t-online.de
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

[Bug c/79411] New: ICE: SSA corruption (fail_abnormal_edge_coalesce)

2017-02-07 Thread gerhard.steinmetz.fort...@t-online.de
: 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

[Bug c/61342] Segfault when using default clause and VLA in OpenMP task

2017-02-07 Thread gerhard.steinmetz.fort...@t-online.de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61342 Gerhard Steinmetz <gerhard.steinmetz.fort...@t-online.de> changed: What|Removed |Added

[Bug c/43374] ICE with __builtin_isinf() and _Decimal argument

2017-02-07 Thread gerhard.steinmetz.fort...@t-online.de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=43374 Gerhard Steinmetz <gerhard.steinmetz.fort...@t-online.de> changed: What|Removed |Added

[Bug c/30552] gcc crashed when compiling an example

2017-02-07 Thread gerhard.steinmetz.fort...@t-online.de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=30552 --- Comment #2 from Gerhard Steinmetz <gerhard.steinmetz.fort...@t-online.de> --- 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} )]; }

[Bug c/30552] gcc crashed when compiling an example

2017-02-07 Thread gerhard.steinmetz.fort...@t-online.de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=30552 Gerhard Steinmetz <gerhard.steinmetz.fort...@t-online.de> changed: What|Removed |Added

[Bug fortran/78866] ICE in gimplify_adjust_omp_clauses_1, at gimplify.c:8721

2016-12-19 Thread gerhard.steinmetz.fort...@t-online.de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78866 --- Comment #1 from Gerhard Steinmetz <gerhard.steinmetz.fort...@t-online.de> --- 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

[Bug fortran/78866] New: ICE in gimplify_adjust_omp_clauses_1, at gimplify.c:8721

2016-12-19 Thread gerhard.steinmetz.fort...@t-online.de
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

[Bug fortran/78865] New: ICE in create_tmp_var, at gimple-expr.c:473

2016-12-19 Thread gerhard.steinmetz.fort...@t-online.de
: 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

[Bug fortran/78864] ICE in dtio_procs_present, at fortran/resolve.c:13819

2016-12-19 Thread gerhard.steinmetz.fort...@t-online.de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78864 --- Comment #1 from Gerhard Steinmetz <gerhard.steinmetz.fort...@t-online.de> --- Older versions give : $ gfortran-7-20160828 z1.f90 z1.f90:5:16: namelist /nml/ x 1 Error: NAMELIST object 'x' in namelist 'nml'

[Bug fortran/78864] New: ICE in dtio_procs_present, at fortran/resolve.c:13819

2016-12-19 Thread gerhard.steinmetz.fort...@t-online.de
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

[Bug fortran/78815] ICE: segfault with -fopenmp -fsanitize=address

2016-12-14 Thread gerhard.steinmetz.fort...@t-online.de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78815 --- Comment #1 from Gerhard Steinmetz <gerhard.steinmetz.fort...@t-online.de> --- This concerns several files from testsuite/gfortran.dg : goacc/default_none.f95 goacc/kernels-alias-4.f95 goacc/kernels-loop-2.f95 goacc/kernel

[Bug fortran/78815] New: ICE: segfault with -fopenmp -fsanitize=address

2016-12-14 Thread gerhard.steinmetz.fort...@t-online.de
: 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

[Bug fortran/78814] New: ICE in symbol_rank, at fortran/interface.c:1265

2016-12-14 Thread gerhard.steinmetz.fort...@t-online.de
: 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

[Bug fortran/78801] ICE in estimate_move_cost, at tree-inline.c:3845

2016-12-13 Thread gerhard.steinmetz.fort...@t-online.de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78801 --- Comment #1 from Gerhard Steinmetz <gerhard.steinmetz.fort...@t-online.de> --- 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 0x

[Bug fortran/78801] New: ICE in estimate_move_cost, at tree-inline.c:3845

2016-12-13 Thread gerhard.steinmetz.fort...@t-online.de
: 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

[Bug fortran/78800] New: ICE in compare_parameter, at fortran/interface.c:2246

2016-12-13 Thread gerhard.steinmetz.fort...@t-online.de
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

[Bug fortran/78781] New: ICE in gfc_deallocate_scalar_with_status, at fortran/trans.c:1588

2016-12-12 Thread gerhard.steinmetz.fort...@t-online.de
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

[Bug fortran/78780] New: ICE in conv_caf_send, at fortran/trans-intrinsic.c:1936

2016-12-12 Thread gerhard.steinmetz.fort...@t-online.de
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

[Bug fortran/68568] ICE with automatic character object and save, in combination with some options

2016-12-12 Thread gerhard.steinmetz.fort...@t-online.de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68568 --- Comment #7 from Gerhard Steinmetz <gerhard.steinmetz.fort...@t-online.de> --- 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_symbo

[Bug fortran/66544] [F03] ICE on function with procedure-pointer result in combination with implicit none

2016-12-08 Thread gerhard.steinmetz.fort...@t-online.de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66544 --- Comment #9 from Gerhard Steinmetz <gerhard.steinmetz.fort...@t-online.de> --- 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 com

[Bug fortran/78741] New: ICE in gfc_get_symbol_decl, at fortran/trans-decl.c:1534

2016-12-08 Thread gerhard.steinmetz.fort...@t-online.de
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

[Bug fortran/78739] New: ICE in gfc_get_symbol_decl, at fortran/trans-decl.c:1477

2016-12-08 Thread gerhard.steinmetz.fort...@t-online.de
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

[Bug fortran/68225] ICE with -Wrealloc-lhs-all on structure constructor with allocatable scalar component(s)

2016-12-08 Thread gerhard.steinmetz.fort...@t-online.de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68225 --- Comment #8 from Gerhard Steinmetz <gerhard.steinmetz.fort...@t-online.de> --- Addendum : $ cat zzp.f90 program p type t integer :: a character(:), allocatable :: c end type type(t) :: x x = t(a=1) ;

[Bug fortran/68241] [meta-bug] [F03] Deferred-length character

2016-12-08 Thread gerhard.steinmetz.fort...@t-online.de
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

[Bug fortran/68225] ICE with -Wrealloc-lhs-all on structure constructor with allocatable scalar component(s)

2016-12-08 Thread gerhard.steinmetz.fort...@t-online.de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68225 --- Comment #7 from Gerhard Steinmetz <gerhard.steinmetz.fort...@t-online.de> --- *** Bug 68439 has been marked as a duplicate of this bug. ***

[Bug fortran/68439] ICE in alloc_scalar_allocatable_for_subcomponent_assignment, at fortran/trans-expr.c:6711

2016-12-08 Thread gerhard.steinmetz.fort...@t-online.de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68439 Gerhard Steinmetz <gerhard.steinmetz.fort...@t-online.de> changed: What|Removed |Added Stat

[Bug fortran/69860] ICE on missing end apostrophe with character(kind=4)

2016-12-08 Thread gerhard.steinmetz.fort...@t-online.de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69860 --- Comment #15 from Gerhard Steinmetz <gerhard.steinmetz.fort...@t-online.de> --- Confirmed, this ICE is now completely gone on my environment.

[Bug fortran/78719] ICE in gfc_get_symbol_decl, at fortran/trans-decl.c:1438

2016-12-07 Thread gerhard.steinmetz.fort...@t-online.de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78719 --- Comment #2 from Gerhard Steinmetz <gerhard.steinmetz.fort...@t-online.de> --- Interestingly, following invalid variant with "type(t)" is silently accepted and gives same results as z0.f90 in comment 1. $ cat z2.f90 pro

[Bug fortran/78719] ICE in gfc_get_symbol_decl, at fortran/trans-decl.c:1438

2016-12-07 Thread gerhard.steinmetz.fort...@t-online.de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78719 --- Comment #1 from Gerhard Steinmetz <gerhard.steinmetz.fort...@t-online.de> --- Detected with type "real" instead of "class(t)" : $ cat z3.f90 program p type t integer :: n end type real :: g

[Bug fortran/68569] ICE with automatic character object and DATA

2016-12-07 Thread gerhard.steinmetz.fort...@t-online.de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68569 --- Comment #2 from Gerhard Steinmetz <gerhard.steinmetz.fort...@t-online.de> --- Update, backtrace : $ gfortran-7-20161204 -c z2a.f90 z2a.f90:4:12: data x /'a'/ 1 Warning: Initialization string at (1) was truncated

[Bug fortran/78719] New: ICE in gfc_get_symbol_decl, at fortran/trans-decl.c:1438

2016-12-07 Thread gerhard.steinmetz.fort...@t-online.de
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

[Bug fortran/78718] New: ICE in gfc_get_symbol_decl, at fortran/trans-decl.c:1427

2016-12-07 Thread gerhard.steinmetz.fort...@t-online.de
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

[Bug fortran/70149] [F08] Character pointer initialization causes ICE

2016-12-07 Thread gerhard.steinmetz.fort...@t-online.de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70149 Gerhard Steinmetz <gerhard.steinmetz.fort...@t-online.de> changed: What|Removed |Added

[Bug fortran/70864] internal compiler error: in gfc_get_symbol_decl, at fortran/trans-decl.c:1403

2016-12-06 Thread gerhard.steinmetz.fort...@t-online.de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70864 --- Comment #4 from Gerhard Steinmetz <gerhard.steinmetz.fort...@t-online.de> --- Related to pr68846 (technically slightly different). Backtrace identical to that of pr68846 comment 3 etc.

[Bug fortran/68846] Pointer function as LValue doesn't work when the assignment regards a dummy argument.

2016-12-06 Thread gerhard.steinmetz.fort...@t-online.de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68846 --- Comment #5 from Gerhard Steinmetz <gerhard.steinmetz.fort...@t-online.de> --- Related to pr70864 (technically slightly different). Backtrace identical to that of pr70864 comment 3.

[Bug fortran/68846] Pointer function as LValue doesn't work when the assignment regards a dummy argument.

2016-12-06 Thread gerhard.steinmetz.fort...@t-online.de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68846 --- Comment #4 from Gerhard Steinmetz <gerhard.steinmetz.fort...@t-online.de> --- Further modified and reduced to a skeleton, i.e. : $ cat z3.f90 module m68846 type t contains procedure, nopass :: f => f1 end type

[Bug fortran/68846] Pointer function as LValue doesn't work when the assignment regards a dummy argument.

2016-12-06 Thread gerhard.steinmetz.fort...@t-online.de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68846 --- Comment #3 from Gerhard Steinmetz <gerhard.steinmetz.fort...@t-online.de> --- Both variants reduced and simplified a bit : $ cat z1.f90 module m68846 type grid_t real, pointer :: p(:) => null() end type type subgrid_t

[Bug fortran/68846] Pointer function as LValue doesn't work when the assignment regards a dummy argument.

2016-12-06 Thread gerhard.steinmetz.fort...@t-online.de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68846 Gerhard Steinmetz <gerhard.steinmetz.fort...@t-online.de> changed: What|Removed |Added

[Bug fortran/72755] Internal compiler error: in gfc_get_symbol_decl, at fortran/trans-decl.c:1369

2016-12-06 Thread gerhard.steinmetz.fort...@t-online.de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=72755 --- Comment #10 from Gerhard Steinmetz <gerhard.steinmetz.fort...@t-online.de> --- Reduced source is nearly identical, backtrace completely identical to that of pr70864 comment 3.

[Bug fortran/70864] internal compiler error: in gfc_get_symbol_decl, at fortran/trans-decl.c:1403

2016-12-06 Thread gerhard.steinmetz.fort...@t-online.de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70864 Gerhard Steinmetz <gerhard.steinmetz.fort...@t-online.de> changed: What|Removed |Added

[Bug fortran/72755] Internal compiler error: in gfc_get_symbol_decl, at fortran/trans-decl.c:1369

2016-12-06 Thread gerhard.steinmetz.fort...@t-online.de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=72755 Gerhard Steinmetz <gerhard.steinmetz.fort...@t-online.de> changed: What|Removed |Added

[Bug fortran/78686] ICE in gfc_apply_init, at fortran/expr.c:4124

2016-12-05 Thread gerhard.steinmetz.fort...@t-online.de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78686 --- Comment #1 from Gerhard Steinmetz <gerhard.steinmetz.fort...@t-online.de> --- Whereas, for example with "real" : $ cat z2.f90 program p type t real :: c(1) = [t()] end type end $ gfortran-7-20161204 z2

[Bug fortran/68155] ICE on initializing character array in type (len_lhs <> len_rhs)

2016-12-05 Thread gerhard.steinmetz.fort...@t-online.de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68155 --- Comment #7 from Gerhard Steinmetz <gerhard.steinmetz.fort...@t-online.de> --- Sequence changed, still ok : $ cat zz3.f90 program p character(3) :: c1(2) = ['b', 'c'] // '' character(3) :: c2(2) = ['b', 'c'] // 'a' chara

[Bug fortran/78686] New: ICE in gfc_apply_init, at fortran/expr.c:4124

2016-12-05 Thread gerhard.steinmetz.fort...@t-online.de
: 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

[Bug fortran/65173] ICE while compiling wrong code

2016-12-05 Thread gerhard.steinmetz.fort...@t-online.de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65173 --- Comment #9 from Gerhard Steinmetz <gerhard.steinmetz.fort...@t-online.de> --- Another example, together with LANG=de_DE.UTF-8 : $ cat zz1.f90 program p type t character, allocatable :: z1(:), z1(:) end type end $ gfor

[Bug fortran/68155] ICE on initializing character array in type (len_lhs <> len_rhs)

2016-12-05 Thread gerhard.steinmetz.fort...@t-online.de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68155 Gerhard Steinmetz <gerhard.steinmetz.fort...@t-online.de> changed: What|Removed |Added Version

[Bug fortran/78570] ICE in free_expr0, at fortran/expr.c:494

2016-12-05 Thread gerhard.steinmetz.fort...@t-online.de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78570 Gerhard Steinmetz <gerhard.steinmetz.fort...@t-online.de> changed: What|Removed |Added Stat

[Bug fortran/68155] ICE on initializing character array in type (len_lhs <> len_rhs)

2016-12-05 Thread gerhard.steinmetz.fort...@t-online.de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68155 --- Comment #5 from Gerhard Steinmetz <gerhard.steinmetz.fort...@t-online.de> --- *** Bug 78570 has been marked as a duplicate of this bug. ***

[Bug fortran/68155] ICE on initializing character array in type (len_lhs <> len_rhs)

2016-12-05 Thread gerhard.steinmetz.fort...@t-online.de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68155 --- Comment #4 from Gerhard Steinmetz <gerhard.steinmetz.fort...@t-online.de> --- Update, new backtrace : $ gfortran-7-20161127 z1t.f90 z1t.f90:3:28: character(2) :: z(1) = '' // ['y'] 1 Warning: CHA

[Bug fortran/78619] New: ICE in copy_reference_ops_from_ref, at tree-ssa-sccvn.c:889

2016-11-30 Thread gerhard.steinmetz.fort...@t-online.de
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

[Bug fortran/78618] ICE in gfc_check_rank, at fortran/check.c:3670

2016-11-30 Thread gerhard.steinmetz.fort...@t-online.de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78618 --- Comment #1 from Gerhard Steinmetz <gerhard.steinmetz.fort...@t-online.de> --- 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: characte

[Bug fortran/78618] New: ICE in gfc_check_rank, at fortran/check.c:3670

2016-11-30 Thread gerhard.steinmetz.fort...@t-online.de
: 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   2   3   4   5   6   >