[Bug target/83090] ICE on lm32-rtems building newlib libm (in require, at machmode.h:282)

2018-01-16 Thread sebastian.hu...@embedded-brains.de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83090 --- Comment #2 from Sebastian Huber --- I was able to build GCC ab053afeec0450e64568a7a0d50d0e9a5ece2787 (20180116).

[Bug c++/83912] New: [constexpr] struct with a pointer to one of its members, returned by a function, is not a constant expression

2018-01-16 Thread giu.campana at gmail dot com
gnu Configured with: ../gcc_dev/configure --prefix=/home/abc/gcc_dev_bin --disable-multilib Thread model: posix gcc version 8.0.1 20180116 (experimental) (GCC)

[Bug translation/80188] calls.c: reason argument to maybe_complain_about_tail_call must be marked for translation

2018-01-16 Thread egallager at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80188 --- Comment #4 from Eric Gallager --- (In reply to nik from comment #3) > Created attachment 42372 [details] > Proposed Fix Send to the GCC-Patches List Link to the mailing list archives showing where/when this was sent to gcc-patches?

[Bug libstdc++/77704] Data race on std::ctype

2018-01-16 Thread boris at kolpackov dot net
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77704 --- Comment #5 from Boris Kolpackov --- For anyone interested, here is the workaround we came up with: // A data race happens in the libstdc++ (as of GCC 7.2) implementation of the // ctype::narrow() function (bug #77704). The issue is easily tr

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

2018-01-16 Thread roland at rschulz dot eu
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83875 --- Comment #3 from Roland Schulz --- Instead of adding (/modifying) the goal could also be achieved by allowing to call a target+constexpr function from a target_clone function. Currently this gives: "error: call to non-constexpr function" (exam

[Bug testsuite/83883] FAIL: gcc.dg/tree-ssa/ssa-dse-26.c scan-tree-dump-times dse1 "Deleted dead store" 2 (found 4 times)

2018-01-16 Thread law at redhat dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83883 Jeffrey A. Law changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug c++/83911] New: ICE with target attribute on constructor in gimplify_expr at gimplify.c:11321

2018-01-16 Thread roland at rschulz dot eu
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83911 Bug ID: 83911 Summary: ICE with target attribute on constructor in gimplify_expr at gimplify.c:11321 Product: gcc Version: 7.2.0 Status: UNCONFIRMED Severity: n

[Bug testsuite/83883] FAIL: gcc.dg/tree-ssa/ssa-dse-26.c scan-tree-dump-times dse1 "Deleted dead store" 2 (found 4 times)

2018-01-16 Thread danglin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83883 --- Comment #6 from John David Anglin --- (In reply to Richard Biener from comment #1) > Again possibly callee-copy handling exposes more dead stores. Is there a > dg-effective target for that "feature"? Because of these issues, I just changed

[Bug testsuite/83883] FAIL: gcc.dg/tree-ssa/ssa-dse-26.c scan-tree-dump-times dse1 "Deleted dead store" 2 (found 4 times)

2018-01-16 Thread danglin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83883 --- Comment #5 from John David Anglin --- Created attachment 43158 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=43158&action=edit .s file

[Bug testsuite/83883] FAIL: gcc.dg/tree-ssa/ssa-dse-26.c scan-tree-dump-times dse1 "Deleted dead store" 2 (found 4 times)

2018-01-16 Thread danglin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83883 --- Comment #4 from John David Anglin --- Created attachment 43157 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=43157&action=edit Tree dump

[Bug testsuite/83883] FAIL: gcc.dg/tree-ssa/ssa-dse-26.c scan-tree-dump-times dse1 "Deleted dead store" 2 (found 4 times)

2018-01-16 Thread danglin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83883 --- Comment #3 from John David Anglin --- Created attachment 43156 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=43156&action=edit Tree dump

[Bug testsuite/83909] Make doesn't report TCL errors in summary

2018-01-16 Thread lkrupp at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83909 --- Comment #2 from lkrupp at gcc dot gnu.org --- (In reply to Andrew Pinski from comment #1) > Note most folks run make check with -k also it won't even make a difference > there either. The patch seems to do the same thing for me when I run mak

[Bug target/83910] Add --enable-cet-property

2018-01-16 Thread hjl.tools at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83910 --- Comment #1 from H.J. Lu --- We only need CET property in libgcc and libstdc++.

[Bug target/83910] New: Add --enable-cet-property

2018-01-16 Thread hjl.tools at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83910 Bug ID: 83910 Summary: Add --enable-cet-property Product: gcc Version: 8.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: target Assignee

[Bug c++/83714] [8 Regression] ICE in build_address, at cp/typeck.c:5733

2018-01-16 Thread jason at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83714 Jason Merrill changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug c++/83714] [8 Regression] ICE in build_address, at cp/typeck.c:5733

2018-01-16 Thread jason at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83714 --- Comment #4 from Jason Merrill --- Author: jason Date: Tue Jan 16 23:05:39 2018 New Revision: 256765 URL: https://gcc.gnu.org/viewcvs?rev=256765&root=gcc&view=rev Log: PR c++/83714 - ICE checking return in template. * typeck.

[Bug testsuite/83909] Make doesn't report TCL errors in summary

2018-01-16 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83909 --- Comment #1 from Andrew Pinski --- Note most folks run make check with -k also it won't even make a difference there either.

[Bug testsuite/83909] New: Make doesn't report TCL errors in summary

2018-01-16 Thread lkrupp at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83909 Bug ID: 83909 Summary: Make doesn't report TCL errors in summary Product: gcc Version: 8.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: testsuite

[Bug c++/83714] [8 Regression] ICE in build_address, at cp/typeck.c:5733

2018-01-16 Thread jason at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83714 Jason Merrill changed: What|Removed |Added Status|NEW |ASSIGNED Assignee|unassigned a

[Bug fortran/83864] ICE in gfc_apply_init, at fortran/expr.c:4271

2018-01-16 Thread anlauf at gmx dot de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83864 Harald Anlauf changed: What|Removed |Added CC||anlauf at gmx dot de --- Comment #3 from

[Bug target/83822] trunk/gcc/config/rs6000/rs6000-string.c:970]: (style) Redundant condition

2018-01-16 Thread egallager at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83822 Eric Gallager changed: What|Removed |Added CC||egallager at gcc dot gnu.org --- Comment

[Bug rtl-optimization/80481] Unoptimal additional copy instructions

2018-01-16 Thread vmakarov at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80481 --- Comment #7 from Vladimir Makarov --- Author: vmakarov Date: Tue Jan 16 21:42:13 2018 New Revision: 256761 URL: https://gcc.gnu.org/viewcvs?rev=256761&root=gcc&view=rev Log: 2018-01-16 Vladimir Makarov PR rtl-optimization/80481

[Bug target/82240] i386.md & -Wlogical-op in build

2018-01-16 Thread egallager at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82240 Eric Gallager changed: What|Removed |Added CC||egallager at gcc dot gnu.org --- Comment

[Bug target/83863] i386.md:16739:36: warning: logical ‘or’ of collectively exhaustive tests is always true [-Wlogical-op]

2018-01-16 Thread egallager at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83863 Eric Gallager changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED CC|

[Bug target/82240] i386.md & -Wlogical-op in build

2018-01-16 Thread egallager at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82240 --- Comment #10 from Eric Gallager --- *** Bug 83863 has been marked as a duplicate of this bug. ***

[Bug c++/83908] New: -fvisibility=hidden not setting the visibility of the resolver/ifunc created for attribute target

2018-01-16 Thread rafael.espindola at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83908 Bug ID: 83908 Summary: -fvisibility=hidden not setting the visibility of the resolver/ifunc created for attribute target Product: gcc Version: unknown Status: UNCONFIRMED

[Bug fortran/71203] ICE in add_init_expr_to_sym, at fortran/decl.c:1512 and :1564

2018-01-16 Thread anlauf at gmx dot de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71203 --- Comment #7 from Harald Anlauf --- Attempting to "fix" the negative length issue with Index: gcc/fortran/expr.c === --- gcc/fortran/expr.c (revision 256671) +++ gcc/fortran/expr

[Bug debug/83758] ICE building gccgo on powerpc64le --with-cpu=power8

2018-01-16 Thread acsawdey at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83758 acsawdey at gcc dot gnu.org changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug fortran/71203] ICE in add_init_expr_to_sym, at fortran/decl.c:1512 and :1564

2018-01-16 Thread anlauf at gmx dot de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71203 --- Comment #6 from Harald Anlauf --- For the case 3a, setting a breakpoint at expr.c:1684, I get: (gdb) l 1679 length = end - start + 1; 1680 1681 chr = (*newp)->value.character.string = gfc_get_wide_string (length + 1); 1682 (*n

[Bug fortran/71203] ICE in add_init_expr_to_sym, at fortran/decl.c:1512 and :1564

2018-01-16 Thread anlauf at gmx dot de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71203 Harald Anlauf changed: What|Removed |Added CC||anlauf at gmx dot de --- Comment #5 from

[Bug testsuite/77734] FAIL: gcc.dg/plugin/must-tail-call-1.c -fplugin=./must_tail_call_plugin.so (test for excess errors)

2018-01-16 Thread ebotcazou at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77734 --- Comment #6 from Eric Botcazou --- Author: ebotcazou Date: Tue Jan 16 20:48:43 2018 New Revision: 256757 URL: https://gcc.gnu.org/viewcvs?rev=256757&root=gcc&view=rev Log: PR testsuite/77734 * gcc.dg/plugin/must-tail-call-1.c:

[Bug testsuite/77734] FAIL: gcc.dg/plugin/must-tail-call-1.c -fplugin=./must_tail_call_plugin.so (test for excess errors)

2018-01-16 Thread ebotcazou at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77734 --- Comment #5 from Eric Botcazou --- Author: ebotcazou Date: Tue Jan 16 20:48:05 2018 New Revision: 256756 URL: https://gcc.gnu.org/viewcvs?rev=256756&root=gcc&view=rev Log: PR testsuite/77734 * gcc.dg/plugin/must-tail-call-1.c:

[Bug target/80846] auto-vectorized AVX2 horizontal sum should narrow to 128b right away, to be more efficient for Ryzen and Intel

2018-01-16 Thread peter at cordes dot ca
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80846 --- Comment #28 from Peter Cordes --- (In reply to Richard Biener from comment #27) > Note that this is deliberately left as-is because the target advertises > (cheap) support for horizontal reduction. The vectorizer simply generates > a single

[Bug bootstrap/83839] [8 Regression] bootstrap fails in gcc/config/i386/i386.c on darwin

2018-01-16 Thread egallager at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83839 Eric Gallager changed: What|Removed |Added CC||andrewm.roberts at sky dot com --- Comme

[Bug bootstrap/83903] gcc 8.0.0 20180114 fails to bootstrap on Darwin x86_64, undeclared ASM_OUTPUT_DEF

2018-01-16 Thread egallager at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83903 Eric Gallager changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED CC|

[Bug debug/83758] ICE building gccgo on powerpc64le --with-cpu=power8

2018-01-16 Thread segher at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83758 Segher Boessenkool changed: What|Removed |Added CC||segher at gcc dot gnu.org

[Bug tree-optimization/83698] bogus offset in -Wrestrict messages for strcat of unknown strings

2018-01-16 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83698 Martin Sebor changed: What|Removed |Added Keywords||patch Status|NEW

[Bug target/82666] [7/8 regression]: sum += (x>128 ? x : 0) puts the cmov on the critical path (at -O2)

2018-01-16 Thread aldyh at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82666 Aldy Hernandez changed: What|Removed |Added CC||aldyh at gcc dot gnu.org --- Comment #3

[Bug tree-optimization/83907] missing strlen optimization for non-zero memset followed by a nul byte store

2018-01-16 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83907 Martin Sebor changed: What|Removed |Added Keywords||missed-optimization Blocks|

[Bug tree-optimization/83907] New: missing strlen optimization for non-zero memset followed by a nul byte store

2018-01-16 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83907 Bug ID: 83907 Summary: missing strlen optimization for non-zero memset followed by a nul byte store Product: gcc Version: 8.0 Status: UNCONFIRMED Severity: norm

[Bug target/83789] __builtin_altivec_lvx fails for powerpc for altivec-4.c

2018-01-16 Thread segher at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83789 --- Comment #3 from Segher Boessenkool --- Does not reproduce with powerpc64-linux-gcc -m32 (not on trunk and not on current 7).

[Bug libstdc++/83906] New: [8 Regression] Random FAIL: libstdc++-prettyprinters/80276.cc whatis p4

2018-01-16 Thread hjl.tools at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83906 Bug ID: 83906 Summary: [8 Regression] Random FAIL: libstdc++-prettyprinters/80276.cc whatis p4 Product: gcc Version: 8.0 Status: UNCONFIRMED Severity: normal

[Bug target/83862] powerpc: ICE in signbit testcase

2018-01-16 Thread meissner at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83862 Michael Meissner changed: What|Removed |Added Status|UNCONFIRMED |ASSIGNED Last reconfirmed|

[Bug target/83905] New: ix86_expand_epilogue modifies the copy of cfun->machine->frame

2018-01-16 Thread hjl.tools at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83905 Bug ID: 83905 Summary: ix86_expand_epilogue modifies the copy of cfun->machine->frame Product: gcc Version: 8.0 Status: UNCONFIRMED Severity: normal P

[Bug testsuite/83904] New: gfortran.dg allocatable_function_1 failures

2018-01-16 Thread wilson at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83904 Bug ID: 83904 Summary: gfortran.dg allocatable_function_1 failures Product: gcc Version: 7.2.1 Status: UNCONFIRMED Severity: normal Priority: P3 Component: tests

[Bug c++/83902] ice in decompose, at wide-int.h:932

2018-01-16 Thread dcb314 at hotmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83902 --- Comment #1 from David Binderman --- Reduced C++ code is extern "C" void *memset(void *, int, unsigned long); template class b { void c() { memset(4, 0, 4 * a * sizeof(float)); } };

[Bug bootstrap/83903] New: gcc 8.0.0 20180114 fails to bootstrap on Darwin x86_64, undeclared ASM_OUTPUT_DEF

2018-01-16 Thread andrewm.roberts at sky dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83903 Bug ID: 83903 Summary: gcc 8.0.0 20180114 fails to bootstrap on Darwin x86_64, undeclared ASM_OUTPUT_DEF Product: gcc Version: 8.0 Status: UNCONFIRMED Severity:

[Bug c++/83902] New: ice in decompose, at wide-int.h:932

2018-01-16 Thread dcb314 at hotmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83902 Bug ID: 83902 Summary: ice in decompose, at wide-int.h:932 Product: gcc Version: 8.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ A

[Bug tree-optimization/83896] [8 Regression] ice in get_string_len on a call to strlen with non-constant length

2018-01-16 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83896 Martin Sebor changed: What|Removed |Added Keywords||patch --- Comment #4 from Martin Sebor -

[Bug tree-optimization/83896] [8 Regression] ice in get_string_len on a call to strlen with non-constant length

2018-01-16 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83896 Martin Sebor changed: What|Removed |Added Summary|[8 Regression] ice in |[8 Regression] ice in |

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

2018-01-16 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 Priority|P3 |P4 Status|UNCONFIR

[Bug target/49678] scan for mov fails in gcc.target/arm/pr42575.c

2018-01-16 Thread ktkachov at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=49678 ktkachov at gcc dot gnu.org changed: What|Removed |Added CC||ktkachov at gcc dot gnu.org

[Bug target/58424] [ARM]gcc.target/arm/pr42575.c failed on arm

2018-01-16 Thread ktkachov at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=58424 ktkachov at gcc dot gnu.org changed: What|Removed |Added Status|NEW |RESOLVED CC

[Bug target/49678] scan for mov fails in gcc.target/arm/pr42575.c

2018-01-16 Thread ktkachov at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=49678 ktkachov at gcc dot gnu.org changed: What|Removed |Added CC||amker.cheng at gmail dot com

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

2018-01-16 Thread roland at rschulz dot eu
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83875 --- Comment #2 from Roland Schulz --- The main problem is that it already gets resolved in the preprocessor stage. Thus if you have: __attribute__((target_clones("avx","default"))) void foo(){ #if __AVX__ ... #endif } , it doesn

[Bug fortran/83901] New: [8 Regresion] ICE in fold_convert_loc, at fold-const.c:2402

2018-01-16 Thread gs...@t-online.de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83901 Bug ID: 83901 Summary: [8 Regresion] ICE in fold_convert_loc, at fold-const.c:2402 Product: gcc Version: 8.0 Status: UNCONFIRMED Severity: normal Prio

[Bug tree-optimization/83899] missing strlen optimization for constant string plus offset

2018-01-16 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83899 Martin Sebor changed: What|Removed |Added Blocks||83819 Severity|normal

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

2018-01-16 Thread gs...@t-online.de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83900 --- Comment #1 from G. Steinmetz --- Working variants : $ cat z2.f90 program p integer, parameter :: a(3,2) = 1 real :: b(2,3) = 2 print *, matmul(a, b) end $ cat z3.f90 program p integer :: a(3,2) = 1 real :: b(2,3) = 2 p

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

2018-01-16 Thread gs...@t-online.de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83900 Bug ID: 83900 Summary: [8 Regression] ICE in gfc_simplify_matmul, at fortran/simplify.c:4593 Product: gcc Version: 8.0 Status: UNCONFIRMED Severity: normal

[Bug tree-optimization/83899] New: missing strlen optimization for constant string plus offset

2018-01-16 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83899 Bug ID: 83899 Summary: missing strlen optimization for constant string plus offset Product: gcc Version: 8.0 Status: UNCONFIRMED Severity: normal Prio

[Bug fortran/83898] New: ICE in gfc_conv_expr_descriptor, at fortran/trans-array.c:7181

2018-01-16 Thread gs...@t-online.de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83898 Bug ID: 83898 Summary: ICE in gfc_conv_expr_descriptor, at fortran/trans-array.c:7181 Product: gcc Version: 8.0 Status: UNCONFIRMED Severity: normal P

[Bug fortran/83898] ICE in gfc_conv_expr_descriptor, at fortran/trans-array.c:7181

2018-01-16 Thread gs...@t-online.de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83898 --- Comment #1 from G. Steinmetz --- While this and other variants work : $ cat z2.f90 program p associate (x => [1]) print *, x end associate end $ gfortran-8-20180114 z2.f90 -static-libgfortran $ a.out 1 $

[Bug tree-optimization/83510] [8 Regression] Recent changes for -Warray-bounds trigger false positive

2018-01-16 Thread dmalcolm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83510 David Malcolm changed: What|Removed |Added Status|NEW |ASSIGNED Assignee|unassigned a

[Bug fortran/83874] [6/7/8 Regression] ICE initializing character array from derived type

2018-01-16 Thread gs...@t-online.de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83874 G. Steinmetz changed: What|Removed |Added CC||gs...@t-online.de --- Comment #2 from G.

[Bug fortran/71203] ICE in add_init_expr_to_sym, at fortran/decl.c:1512 and :1564

2018-01-16 Thread gs...@t-online.de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71203 G. Steinmetz changed: What|Removed |Added CC||gs...@t-online.de --- Comment #4 from G.

[Bug c++/83287] [8 Regression] ice in tsubst_copy, at cp/pt.c:14884

2018-01-16 Thread dcb314 at hotmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83287 David Binderman changed: What|Removed |Added Status|RESOLVED|REOPENED Resolution|FIXED

[Bug c/51628] __attribute__((packed)) is unsafe in some cases

2018-01-16 Thread sven.koehler at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=51628 --- Comment #41 from Sven --- (In reply to Alexey Salmin from comment #39) > .. when the packed attribute is preserved in the pointer. What do you mean by that? GCC documentation explicitly forbids to use the packed attribute for anything but st

[Bug target/43871] -mcpu=power4 -mtune=cell emits power7/cell-only opcodes

2018-01-16 Thread segher at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=43871 Segher Boessenkool changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug testsuite/83883] FAIL: gcc.dg/tree-ssa/ssa-dse-26.c scan-tree-dump-times dse1 "Deleted dead store" 2 (found 4 times)

2018-01-16 Thread law at redhat dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83883 Jeffrey A. Law changed: What|Removed |Added CC||law at redhat dot com --- Comment #2 fr

[Bug rtl-optimization/83424] [6/7 Regression] wrong code with -O -fno-tree-ccp -fno-tree-coalesce-vars

2018-01-16 Thread segher at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83424 Segher Boessenkool changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug tree-optimization/83896] [8 Regression] ice in tree_to_shwi, at tree.c:6847

2018-01-16 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83896 Martin Sebor changed: What|Removed |Added Status|NEW |ASSIGNED Assignee|unassigned at

[Bug c++/83897] [8 Regression] Useless __builtin_unreachable () emitted by the C++ FE

2018-01-16 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83897 Jakub Jelinek changed: What|Removed |Added Status|UNCONFIRMED |ASSIGNED Last reconfirmed|

[Bug tree-optimization/83896] [8 Regression] ice in tree_to_shwi, at tree.c:6847

2018-01-16 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83896 Martin Sebor changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug c++/83897] [8 Regression] Useless __builtin_unreachable () emitted by the C++ FE

2018-01-16 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83897 Jakub Jelinek changed: What|Removed |Added Version|7.2.1 |8.0 Target Milestone|---

[Bug c++/83897] New: [8 Regression] Useless __builtin_unreachable () emitted by the C++ FE

2018-01-16 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83897 Bug ID: 83897 Summary: [8 Regression] Useless __builtin_unreachable () emitted by the C++ FE Product: gcc Version: 7.2.1 Status: UNCONFIRMED Severity: normal

[Bug middle-end/82694] [8 regression] Linux kernel miscompiled since r250765

2018-01-16 Thread trippels at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82694 Markus Trippelsdorf changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug c++/79937] [6/7/8 Regression] ICE in replace_placeholders_r

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

[Bug c++/83739] [8 Regression] error: range-based 'for' expression of type 'auto' has incomplete type

2018-01-16 Thread nathan at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83739 Nathan Sidwell changed: What|Removed |Added Status|NEW |ASSIGNED CC|

[Bug rtl-optimization/79405] [8 Regression] Infinite loop in fwprop

2018-01-16 Thread law at redhat dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79405 Jeffrey A. Law changed: What|Removed |Added Target Milestone|8.0 |9.0

[Bug rtl-optimization/83424] [6/7 Regression] wrong code with -O -fno-tree-ccp -fno-tree-coalesce-vars

2018-01-16 Thread segher at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83424 --- Comment #6 from Segher Boessenkool --- Author: segher Date: Tue Jan 16 16:30:43 2018 New Revision: 256752 URL: https://gcc.gnu.org/viewcvs?rev=256752&root=gcc&view=rev Log: rtlanal: dead_or_set_regno_p should handle CLOBBER (PR83424) In PR8

[Bug tree-optimization/78972] [6/7/8 Regression] poor x86 simd instruction scheduling

2018-01-16 Thread maxim.yegorushkin at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78972 --- Comment #14 from Maxim Egorushkin --- (In reply to Jeffrey A. Law from comment #13) > Folks where unhappy with various aspects of that patch. Bernd left Red Hat > shortly thereafter and the patch hasn't been updated since his departure. I h

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

2018-01-16 Thread olegendo at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83816 --- Comment #14 from Oleg Endo --- (In reply to rguent...@suse.de from comment #11) > > Smells odd indeed. Can you try building with > --enable-valgrind-annotations and run valgrind on the thing? My theory > would still be a wild write somewh

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

2018-01-16 Thread olegendo at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83816 --- Comment #13 from Oleg Endo --- (In reply to Oleg Endo from comment #12) > I was able to reduce it somewhat. However, I'd be surprised if it does not > reproduce the error on some other system. I meant: I'd be surprised if it does reproduce

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

2018-01-16 Thread olegendo at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83816 --- Comment #12 from Oleg Endo --- Created attachment 43152 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=43152&action=edit preprocessed c++ source I was able to reduce it somewhat. However, I'd be surprised if it does not reproduce the

[Bug rtl-optimization/83424] [6/7 Regression] wrong code with -O -fno-tree-ccp -fno-tree-coalesce-vars

2018-01-16 Thread segher at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83424 --- Comment #5 from Segher Boessenkool --- Author: segher Date: Tue Jan 16 16:20:10 2018 New Revision: 256750 URL: https://gcc.gnu.org/viewcvs?rev=256750&root=gcc&view=rev Log: rtlanal: dead_or_set_regno_p should handle CLOBBER (PR83424) In PR8

[Bug middle-end/83758] ICE building gccgo on powerpc64le --with-cpu=power8

2018-01-16 Thread boger at us dot ibm.com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83758 boger at us dot ibm.com changed: What|Removed |Added CC||boger at us dot ibm.com --- Com

[Bug tree-optimization/78972] [6/7/8 Regression] poor x86 simd instruction scheduling

2018-01-16 Thread law at redhat dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78972 --- Comment #13 from Jeffrey A. Law --- Folks where unhappy with various aspects of that patch. Bernd left Red Hat shortly thereafter and the patch hasn't been updated since his departure.

[Bug c/61240] [6/7/8 Regression] Incorrect warning "integer overflow in expression" on pointer-pointer subtraction

2018-01-16 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61240 --- Comment #16 from Jakub Jelinek --- It is a regression, so it isn't too late yet.

[Bug c/61240] [6/7/8 Regression] Incorrect warning "integer overflow in expression" on pointer-pointer subtraction

2018-01-16 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61240 --- Comment #15 from Marek Polacek --- I've been meaning to address this PR (for too long, apparently), but it seems it's too late for GCC 8 now. If you want, you can take it. If not, hopefully I'll get to it for GCC 9.

[Bug tree-optimization/78972] [6/7/8 Regression] poor x86 simd instruction scheduling

2018-01-16 Thread maxim.yegorushkin at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78972 Maxim Egorushkin changed: What|Removed |Added CC||maxim.yegorushkin at gmail dot com -

[Bug c/61240] [6/7/8 Regression] Incorrect warning "integer overflow in expression" on pointer-pointer subtraction

2018-01-16 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61240 --- Comment #14 from Jakub Jelinek --- Marek, are you still on the hook to remove this premature optimization from the FE and let it be folded in c_fully_fold or later?

[Bug tree-optimization/83896] [8 Regression] ice in tree_to_shwi, at tree.c:6847

2018-01-16 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83896 Andrew Pinski changed: What|Removed |Added Keywords||ice-on-valid-code Component|c

[Bug libstdc++/83834] [6/7 Regression] FAIL: libstdc++-abi/abi_check

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

[Bug c/51628] __attribute__((packed)) is unsafe in some cases

2018-01-16 Thread hjl.tools at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=51628 --- Comment #40 from H.J. Lu --- (In reply to Alexey Salmin from comment #39) > Thank you, this patch works for me. > > Gives a warning in the attached test case, but still allows to take an > addre of a packed struct members when the packed att

[Bug tree-optimization/83887] [8 Regression] [graphite] ICE in verify_dominators, at dominance.c:1184 (error: dominator of 3 should be 21, not 18)

2018-01-16 Thread law at redhat dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83887 Jeffrey A. Law changed: What|Removed |Added Priority|P3 |P4 CC|

[Bug c++/83895] [8 Regression] -Wparentheses warns about pointer-to-member typedefs

2018-01-16 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83895 Jakub Jelinek changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug libgomp/83590] [nvptx] openacc reduction C regressions

2018-01-16 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83590 --- Comment #6 from Jakub Jelinek --- Author: jakub Date: Tue Jan 16 15:18:24 2018 New Revision: 256748 URL: https://gcc.gnu.org/viewcvs?rev=256748&root=gcc&view=rev Log: PR libgomp/83590 * gimplify.c (gimplify_one_sizepos): For

[Bug tree-optimization/83857] [8 Regression] internal compiler error: in exact_div, at poly-int.h:2139

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

[Bug libstdc++/83860] [6/7/8 Regression] valarray replacement type breaks with auto and more than one operation

2018-01-16 Thread bruno.manga95 at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83860 --- Comment #2 from Bruno Manganelli --- Just to clarify, it still segfaults when using clang++ with libstdc++.

[Bug tree-optimization/83867] [8 Regression] ICE: Segmentation fault in nested_in_vect_loop_p

2018-01-16 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83867 Richard Biener changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

  1   2   >