[Bug target/80870] [7 Regression] ICE building 7.1.0 sh-elf crosscompiler on macOS

2018-01-20 Thread olegendo at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80870 --- Comment #8 from Oleg Endo --- Author: olegendo Date: Sun Jan 21 05:13:20 2018 New Revision: 256928 URL: https://gcc.gnu.org/viewcvs?rev=256928=gcc=rev Log: Backport from mainline 2018-01-21 Oleg Endo

[Bug c++/83958] New: ICE: Segmentation fault (in find_decomp_class_base)

2018-01-20 Thread asolokha at gmx dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83958 Bug ID: 83958 Summary: ICE: Segmentation fault (in find_decomp_class_base) Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal Priority: P3

[Bug c++/83481] ICE in const-ref structured bindings.

2018-01-20 Thread asolokha at gmx dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83481 Arseny Solokha changed: What|Removed |Added CC||asolokha at gmx dot com --- Comment #2

[Bug target/80870] [7 Regression] ICE building 7.1.0 sh-elf crosscompiler on macOS

2018-01-20 Thread olegendo at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80870 Oleg Endo changed: What|Removed |Added CC||chrisj at rtems dot org --- Comment #6 from

[Bug target/80870] [7 Regression] ICE building 7.1.0 sh-elf crosscompiler on macOS

2018-01-20 Thread olegendo at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80870 Oleg Endo changed: What|Removed |Added CC||chrisj at rtems dot org --- Comment #6 from

[Bug other/82530] RTEMS 4.12 SH build failure on FreeBSD 11.1 (clang) with an error in sh_optimize_sett_clrt.cc

2018-01-20 Thread olegendo at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82530 Oleg Endo changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug tree-optimization/83957] ICE: Segmentation fault (in gimple_phi_arg)

2018-01-20 Thread asolokha at gmx dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83957 --- Comment #1 from Arseny Solokha --- Actually, the testcase can be reduced to just void k2 (int *ch, int fw) { if (fw < 0) while (fw < 1) { ch = ++fw; } }

[Bug tree-optimization/83957] New: ICE: Segmentation fault (in gimple_phi_arg)

2018-01-20 Thread asolokha at gmx dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83957 Bug ID: 83957 Summary: ICE: Segmentation fault (in gimple_phi_arg) Product: gcc Version: unknown Status: UNCONFIRMED Keywords: ice-on-valid-code Severity: normal

[Bug c++/83956] New: [8 regression] error: use of deleted function ‘{anonymous}::a::~a()’

2018-01-20 Thread skpgkp1 at gmail dot com
namespace { struct a { ~a() = delete; }; struct b { ~b() {} union { a c; }; }; } $ g++ --version g++ (GCC) 8.0.1 20180120 (experimental) Copyright (C) 2018 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even

[Bug debug/83917] [8 Regression] with -mcall-ms2sysv-xlogues, stepping into x86 tail-call restore stub gives bad backtrace

2018-01-20 Thread daniel.santos at pobox dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83917 --- Comment #3 from Daniel Santos --- (In reply to Richard Biener from comment #1) > Testcase would be nice. *sigh* Yes, I've seen that there are tests that run gdb through expect, I haven't learned how to use that yet. (In reply to Jakub

[Bug rtl-optimization/83952] [missed optimization] difference calculation for floats vs ints in a loop

2018-01-20 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83952 --- Comment #5 from Andrew Pinski --- (In reply to Marc Glisse from comment #4) > Andrew, the OP had already closed the first PR, and you closed the second as > duplicate of the first. Did you really mean to get to a situation where both > are

[Bug rtl-optimization/83952] [missed optimization] difference calculation for floats vs ints in a loop

2018-01-20 Thread glisse at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83952 --- Comment #4 from Marc Glisse --- Andrew, the OP had already closed the first PR, and you closed the second as duplicate of the first. Did you really mean to get to a situation where both are closed?

[Bug fortran/83900] [8 Regression] ICE in gfc_simplify_matmul, at fortran/simplify.c:4593

2018-01-20 Thread kargl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83900 --- Comment #14 from kargl at gcc dot gnu.org --- Author: kargl Date: Sat Jan 20 20:56:45 2018 New Revision: 256921 URL: https://gcc.gnu.org/viewcvs?rev=256921=gcc=rev Log: 2018-01-20 Steven G. Kargl PR

[Bug fortran/83900] [8 Regression] ICE in gfc_simplify_matmul, at fortran/simplify.c:4593

2018-01-20 Thread kargl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83900 --- Comment #13 from kargl at gcc dot gnu.org --- Author: kargl Date: Sat Jan 20 20:45:50 2018 New Revision: 256920 URL: https://gcc.gnu.org/viewcvs?rev=256920=gcc=rev Log: 2018-01-20 Steven G. Kargl PR

[Bug fortran/83900] [8 Regression] ICE in gfc_simplify_matmul, at fortran/simplify.c:4593

2018-01-20 Thread kargl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83900 --- Comment #12 from kargl at gcc dot gnu.org --- Author: kargl Date: Sat Jan 20 20:33:34 2018 New Revision: 256919 URL: https://gcc.gnu.org/viewcvs?rev=256919=gcc=rev Log: 2018-01-20 Steven G. Kargl PR

[Bug fortran/83900] [8 Regression] ICE in gfc_simplify_matmul, at fortran/simplify.c:4593

2018-01-20 Thread sgk at troutmask dot apl.washington.edu
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83900 --- Comment #11 from Steve Kargl --- On Sat, Jan 20, 2018 at 04:51:24PM +, sgk at troutmask dot apl.washington.edu wrote: > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83900 > > --- Comment #10 from Steve Kargl --- > On Sat, Jan 20, 2018

[Bug fortran/83900] [8 Regression] ICE in gfc_simplify_matmul, at fortran/simplify.c:4593

2018-01-20 Thread sgk at troutmask dot apl.washington.edu
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83900 --- Comment #10 from Steve Kargl --- On Sat, Jan 20, 2018 at 03:22:50PM +, dominiq at lps dot ens.fr wrote: > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83900 > > --- Comment #9 from Dominique d'Humieres --- > The original test in

[Bug c++/54278] [6 regression] __attribute__((noreturn)) called from destructor when another auto-scoped variable has a non-trivial dtor erroneously fails with "control reaches end of non-void functio

2018-01-20 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=54278 Jakub Jelinek changed: What|Removed |Added CC||jakub at gcc dot gnu.org --- Comment #3

[Bug c/83955] false positive implicit-fallthrough warning on switch enum

2018-01-20 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83955 --- Comment #1 from Andrew Pinski --- The warning is correct for c. The enum type is really an int in size and space. That is assigning 3 or 4 to it is still well defined code.

[Bug c/83955] New: false positive implicit-fallthrough warning on switch enum

2018-01-20 Thread rimvydas.jas at gmail dot com
Fly BSD for trunk gives: $ /opt/gcc/20180120/bin/gcc -v -Wall -Wextra -c enum_fall.c enum_fall.c: In function 'cu_fgets': enum_fall.c:19:3: warning: this statement may fall through [-Wimplicit-fallthrough=] switch (script->type) { ^~ enum_fall.c:25:2: note: here case ST_FILE: gcc v

[Bug fortran/83900] [8 Regression] ICE in gfc_simplify_matmul, at fortran/simplify.c:4593

2018-01-20 Thread dominiq at lps dot ens.fr
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83900 --- Comment #9 from Dominique d'Humieres --- The original test in comment 0 still fails at r256917 on darwin with pr83900.f90:4:0: print *, matmul(a, b) internal compiler error: in fold_convert_loc, at fold-const.c:2402 Should I reopen

[Bug lto/83954] New: LTO: Bogus -Wlto-type-mismatch warning for pointer to incomplete type

2018-01-20 Thread dobonachea at lbl dot gov
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83954 Bug ID: 83954 Summary: LTO: Bogus -Wlto-type-mismatch warning for pointer to incomplete type Product: gcc Version: 7.2.0 Status: UNCONFIRMED Keywords:

[Bug target/48097] gcc sometimes generates code that uses the buggy libgcc_s unwinder on darwin (originally exposed by Throw_2 failures in libjava testsuite under Xcode 4.0)

2018-01-20 Thread egallager at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=48097 Eric Gallager changed: What|Removed |Added Summary|new Throw_2 failures in |gcc sometimes generates

[Bug c++/54278] [6 regression] __attribute__((noreturn)) called from destructor when another auto-scoped variable has a non-trivial dtor erroneously fails with "control reaches end of non-void functio

2018-01-20 Thread egallager at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=54278 Eric Gallager changed: What|Removed |Added Known to work||8.0 Target Milestone|---

[Bug c++/83875] [feature request] target_clones compatible SIMD capability/length check

2018-01-20 Thread kretz at kde dot org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83875 --- Comment #9 from Matthias Kretz --- > inside multi-versioned (target_clones/target) function it depends on the > active target Yes., this part is easy. > inside a constexpr context (function/variable, your examples) or > always_inline

[Bug tree-optimization/83940] [8 Regression] ICE in vect_get_vec_def_for_stmt_copy, at tree-vect-stmts.c:1531

2018-01-20 Thread rsandifo at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83940 rsandifo at gcc dot gnu.org changed: What|Removed |Added Status|ASSIGNED|RESOLVED

[Bug target/80547] [6/7/8 Regression] nvptx back end ICE with OpenACC "reduction(OP:x)", "x = [...]"

2018-01-20 Thread vries at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80547 Tom de Vries changed: What|Removed |Added CC||vries at gcc dot gnu.org --- Comment #3

[Bug tree-optimization/83940] [8 Regression] ICE in vect_get_vec_def_for_stmt_copy, at tree-vect-stmts.c:1531

2018-01-20 Thread rsandifo at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83940 --- Comment #5 from rsandifo at gcc dot gnu.org --- Author: rsandifo Date: Sat Jan 20 13:43:22 2018 New Revision: 256918 URL: https://gcc.gnu.org/viewcvs?rev=256918=gcc=rev Log: Fix vect_def_type handling in x86 scatter support (PR 83940) As

[Bug rtl-optimization/83951] [missed optimization] difference calculation for floats vs ints in a loop

2018-01-20 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83951 --- Comment #3 from Andrew Pinski --- *** Bug 83952 has been marked as a duplicate of this bug. ***

[Bug rtl-optimization/83952] [missed optimization] difference calculation for floats vs ints in a loop

2018-01-20 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83952 Andrew Pinski changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug rtl-optimization/83952] [missed optimization] difference calculation for floats vs ints in a loop

2018-01-20 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83952 Andrew Pinski changed: What|Removed |Added Keywords||missed-optimization

[Bug c++/83949] internal compiler error: Segmentation fault (only with -g)

2018-01-20 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83949 Jakub Jelinek changed: What|Removed |Added CC||jakub at gcc dot gnu.org --- Comment #4

[Bug fortran/83953] Internal compiler error with -fcheck=bounds option on derived type components and forall construct

2018-01-20 Thread dominiq at lps dot ens.fr
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83953 Dominique d'Humieres changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug c++/83921] [7/8 Regression] GCC rejects constexpr initialization of empty aggregate.

2018-01-20 Thread eric at efcs dot ca
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83921 --- Comment #3 from Eric Fiselier --- The problem also reproduces when the empty type has an explicitly defaulted default constructor. Example: struct Foo { Foo() = default; }; constexpr void test() { Foo f; };

[Bug lto/83816] [6/7 Regression] lto1: internal compiler error: compressed stream: data error

2018-01-20 Thread olegendo at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83816 Oleg Endo changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug libgomp/83589] [nvptx] mode-transitions.c and private-variables.{c,f90} execution FAILs at GOMP_NVPTX_JIT=-O0

2018-01-20 Thread vries at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83589 --- Comment #7 from Tom de Vries --- (In reply to Jakub Jelinek from comment #6) > (In reply to Tom de Vries from comment #4) > > Using this rudimentary workaround, I got the failing tests of this PR > > passing again: > Shouldn't it be

[Bug fortran/83953] New: Internal compiler error with -fcheck=bounds option on derived type components and forall construct

2018-01-20 Thread norio.takemoto at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83953 Bug ID: 83953 Summary: Internal compiler error with -fcheck=bounds option on derived type components and forall construct Product: gcc Version: 7.2.0 Status: UNCONFIRMED

[Bug lto/83816] [6/7 Regression] lto1: internal compiler error: compressed stream: data error

2018-01-20 Thread olegendo at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83816 --- Comment #18 from Oleg Endo --- Created attachment 43196 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=43196=edit binary compressed data I have tapped lto_end_compression and dumped the compressed binary data into a separate file.

[Bug libgomp/83589] [nvptx] mode-transitions.c and private-variables.{c,f90} execution FAILs at GOMP_NVPTX_JIT=-O0

2018-01-20 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83589 --- Comment #6 from Jakub Jelinek --- (In reply to Tom de Vries from comment #4) > Using this rudimentary workaround, I got the failing tests of this PR > passing again: > ... > diff --git a/gcc/config/nvptx/nvptx.c b/gcc/config/nvptx/nvptx.c >

[Bug rtl-optimization/83952] [missed optimization] difference calculation for floats vs ints in a loop

2018-01-20 Thread eyalroz at technion dot ac.il
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83952 --- Comment #1 from Eyal Rozenberg --- Also seeing this with -O3 -fno-unroll-loops -fno-tree-loop-vectorize : https://godbolt.org/g/r2v7X8

[Bug rtl-optimization/83952] New: [missed optimization] difference calculation for floats vs ints in a loop

2018-01-20 Thread eyalroz at technion dot ac.il
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83952 Bug ID: 83952 Summary: [missed optimization] difference calculation for floats vs ints in a loop Product: gcc Version: 7.2.0 Status: UNCONFIRMED Severity:

[Bug rtl-optimization/83951] [missed optimization] difference calculation for floats vs ints in a loop

2018-01-20 Thread eyalroz at technion dot ac.il
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83951 Eyal Rozenberg changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug other/83951] [missed optimization] difference calculation for floats vs ints in a loop

2018-01-20 Thread eyalroz at technion dot ac.il
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83951 --- Comment #1 from Eyal Rozenberg --- Created attachment 43194 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=43194=edit Source producing the optimized (int) and unopmitized (float) object code

[Bug other/83951] New: [missed optimization] difference calculation for floats vs ints in a loop

2018-01-20 Thread eyalroz at technion dot ac.il
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83951 Bug ID: 83951 Summary: [missed optimization] difference calculation for floats vs ints in a loop Product: gcc Version: unknown Status: UNCONFIRMED Severity:

[Bug middle-end/83945] [7 Regression] internal compiler error: Segmentation fault with -O -fcode-hoisting

2018-01-20 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83945 Jakub Jelinek changed: What|Removed |Added Summary|[7/8 Regression] internal |[7 Regression] internal

[Bug middle-end/83945] [7/8 Regression] internal compiler error: Segmentation fault with -O -fcode-hoisting

2018-01-20 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83945 --- Comment #6 from Jakub Jelinek --- Author: jakub Date: Sat Jan 20 09:58:31 2018 New Revision: 256916 URL: https://gcc.gnu.org/viewcvs?rev=256916=gcc=rev Log: PR middle-end/83945 * tree-emutls.c: Include gimplify.h.

[Bug target/83930] [6/7 Regression] ICE: RTL check: expected code 'const_int', have 'mem' in simplify_binary_operation_1, at simplify-rtx.c:3302

2018-01-20 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83930 Jakub Jelinek changed: What|Removed |Added Summary|[6/7/8 Regression] ICE: RTL |[6/7 Regression] ICE: RTL

[Bug target/83930] [6/7/8 Regression] ICE: RTL check: expected code 'const_int', have 'mem' in simplify_binary_operation_1, at simplify-rtx.c:3302

2018-01-20 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83930 --- Comment #3 from Jakub Jelinek --- Author: jakub Date: Sat Jan 20 09:54:06 2018 New Revision: 256915 URL: https://gcc.gnu.org/viewcvs?rev=256915=gcc=rev Log: PR target/83930 * simplify-rtx.c (simplify_binary_operation_1) :

[Bug libgomp/83589] [nvptx] mode-transitions.c and private-variables.{c,f90} execution FAILs at GOMP_NVPTX_JIT=-O0

2018-01-20 Thread vries at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83589 --- Comment #5 from Tom de Vries --- Using the workaround, I get pretty good results: ... Running /home/vries/openacc/trunk/source-gcc/libgomp/testsuite/libgomp.c/c.exp ... FAIL: libgomp.c/target-32.c (test for excess errors) FAIL:

[Bug fortran/83900] [8 Regression] ICE in gfc_simplify_matmul, at fortran/simplify.c:4593

2018-01-20 Thread kargl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83900 kargl at gcc dot gnu.org changed: What|Removed |Added Status|NEW |RESOLVED

[Bug fortran/83900] [8 Regression] ICE in gfc_simplify_matmul, at fortran/simplify.c:4593

2018-01-20 Thread kargl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83900 --- Comment #7 from kargl at gcc dot gnu.org --- Author: kargl Date: Sat Jan 20 08:29:23 2018 New Revision: 256914 URL: https://gcc.gnu.org/viewcvs?rev=256914=gcc=rev Log: 2018-01-19 Steven G. Kargl PR

[Bug libgomp/83589] [nvptx] mode-transitions.c and private-variables.{c,f90} execution FAILs at GOMP_NVPTX_JIT=-O0

2018-01-20 Thread vries at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83589 --- Comment #4 from Tom de Vries --- Using this rudimentary workaround, I got the failing tests of this PR passing again: ... diff --git a/gcc/config/nvptx/nvptx.c b/gcc/config/nvptx/nvptx.c index afb0e4dd185..3ac28b3d903 100644 ---