[Bug tree-optimization/78821] GCC7: Copying whole 32 bits structure field by field not optimised into copying whole 32 bits at once

2017-11-20 Thread ubizjak at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78821 --- Comment #31 from Uroš Bizjak --- (In reply to Jakub Jelinek from comment #28) > Ok, let's go with your patch then. Committed as r254967: Author: uros Date: Mon Nov 20 19:52:14 2017 New Revision: 254967 URL:

[Bug tree-optimization/78821] GCC7: Copying whole 32 bits structure field by field not optimised into copying whole 32 bits at once

2017-11-20 Thread ubizjak at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78821 --- Comment #32 from Uroš Bizjak --- (In reply to rguent...@suse.de from comment #20) > Index: gcc/tree-ssa-sccvn.c > === > --- gcc/tree-ssa-sccvn.c(revision 254945) > +++

[Bug tree-optimization/83075] [8 Regression] Invalid strncpy optimization

2017-11-20 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83075 Martin Sebor changed: What|Removed |Added Keywords||patch --- Comment #2 from Martin Sebor

[Bug target/68690] PowerPC64: TOC save in PHP core loop results in load hit store

2017-11-20 Thread segher at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68690 Segher Boessenkool changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug go/83071] gccgo: ICE in set_type

2017-11-20 Thread ian at airs dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83071 --- Comment #1 from Ian Lance Taylor --- This is of course a compiler bug, but it's a crash on invalid code. You can't write `input++` when `input` is a string type. In Go the `++` operator only applies to integer types. When I fix the

[Bug fortran/53796] I/O INQUIRE of RECL: If not specified in OPEN, the default value should be returned (sequential access)

2017-11-20 Thread jb at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=53796 Janne Blomqvist changed: What|Removed |Added URL||https://gcc.gnu.org/ml/gcc-

[Bug target/81356] __builtin_strcpy is not good for copying an empty string on aarch64

2017-11-20 Thread sje at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81356 --- Comment #8 from Steve Ellcey --- Author: sje Date: Tue Nov 21 00:18:14 2017 New Revision: 254977 URL: https://gcc.gnu.org/viewcvs?rev=254977=gcc=rev Log: 2017-11-20 Steve Ellcey PR target/81356 *

[Bug bootstrap/81315] powerpc64 vs building lang/gcc7-devel (on FreeBSD head): xgcc gets segmentation fault

2017-11-20 Thread segher at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81315 --- Comment #5 from Segher Boessenkool --- This was BE, on a compiler that defaults to power4 ("970 without altivec"). I.e. the default for powerpc64-linux.

[Bug fortran/83057] OPEN(3f) without a filename and without STATUS='SCRATCH' does not produce a warning as being an extension on unassigned files

2017-11-20 Thread urbanjost at comcast dot net
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83057 --- Comment #2 from urbanjost at comcast dot net --- A long-standing convention when referencing procedures anprd commands, especially on Unix platforms is to suffix them with (category[group]) to distinguish them from English words and to

[Bug rtl-optimization/66552] Missed optimization when shift amount is result of signed modulus

2017-11-20 Thread segher at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66552 --- Comment #4 from Segher Boessenkool --- Trunk does (both -m32 and -m64) srawi 9,4,5 addze 9,9 slwi 9,9,5 subf 4,9,4 srw 3,3,4 and rlwinm 4,4,0,27,31 srw 3,3,4 so the original problem

[Bug libfortran/78549] [8 Regression] Very slow formatted internal file output

2017-11-20 Thread jvdelisle at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78549 --- Comment #25 from Jerry DeLisle --- Author: jvdelisle Date: Tue Nov 21 02:17:11 2017 New Revision: 254982 URL: https://gcc.gnu.org/viewcvs?rev=254982=gcc=rev Log: 2017-11-20 Jerry DeLisle PR

[Bug tree-optimization/67530] Failure to eliminate dead code produced by vector lowering

2017-11-20 Thread segher at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67530 Segher Boessenkool changed: What|Removed |Added CC||segher at gcc dot gnu.org ---

[Bug c++/72786] Odd spelling suggestion with later defined macro: Suggestion is identical to unknown identifier

2017-11-20 Thread dmalcolm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=72786 --- Comment #5 from David Malcolm --- Author: dmalcolm Date: Tue Nov 21 00:40:53 2017 New Revision: 254978 URL: https://gcc.gnu.org/viewcvs?rev=254978=gcc=rev Log: C++: provide macro used-before-defined hint (PR c++/72786) This patch uses the

[Bug c/83011] -Wformat-truncation=2 difficult to avoid for non-constant bounds

2017-11-20 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83011 Martin Sebor changed: What|Removed |Added Status|WAITING |NEW

[Bug preprocessor/81794] "would be stringified in traditional C" warning should be controlled by -Wtraditional

2017-11-20 Thread dmalcolm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81794 David Malcolm changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug preprocessor/81794] "would be stringified in traditional C" warning should be controlled by -Wtraditional

2017-11-20 Thread dmalcolm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81794 --- Comment #5 from David Malcolm --- Author: dmalcolm Date: Tue Nov 21 00:57:29 2017 New Revision: 254981 URL: https://gcc.gnu.org/viewcvs?rev=254981=gcc=rev Log: Use -Wtraditional for "would be stringified in traditional C" (PR

[Bug ada/83027] Hang when attaching a SIGINT handler

2017-11-20 Thread porton at narod dot ru
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83027 --- Comment #17 from Victor Porton --- Created attachment 42666 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=42666=edit Minimal example reprising the bug I've created the minimal example reprising the bug. The bug is actually awful:

[Bug c/81404] suggested hints for standard C macros should avoid GCC predefined macros

2017-11-20 Thread dmalcolm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81404 David Malcolm changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug c++/80567] bogus fixit hint for undeclared memset: else

2017-11-20 Thread dmalcolm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80567 --- Comment #3 from David Malcolm --- Author: dmalcolm Date: Tue Nov 21 00:50:39 2017 New Revision: 254980 URL: https://gcc.gnu.org/viewcvs?rev=254980=gcc=rev Log: C/C++: more stdlib header hints (PR c/81404) This patch extends the C

[Bug c/81404] suggested hints for standard C macros should avoid GCC predefined macros

2017-11-20 Thread dmalcolm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81404 --- Comment #6 from David Malcolm --- Author: dmalcolm Date: Tue Nov 21 00:50:39 2017 New Revision: 254980 URL: https://gcc.gnu.org/viewcvs?rev=254980=gcc=rev Log: C/C++: more stdlib header hints (PR c/81404) This patch extends the C

[Bug tree-optimization/83080] ICE at -Os and above with -Wall on C++ code: Segmentation fault

2017-11-20 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83080 Martin Sebor changed: What|Removed |Added Keywords||ice-on-valid-code

[Bug c++/83060] ICE on valid C++ code: in ignore_overflows, at cp/cvt.c:583

2017-11-20 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83060 Martin Sebor changed: What|Removed |Added CC||msebor at gcc dot gnu.org --- Comment #5

[Bug bootstrap/81315] powerpc64 vs building lang/gcc7-devel (on FreeBSD head): xgcc gets segmentation fault

2017-11-20 Thread markmigm at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81315 --- Comment #6 from Mark Millard --- (In reply to Segher Boessenkool from comment #5) > This was BE, on a compiler that defaults to power4 ("970 without altivec"). > I.e. the default for powerpc64-linux. Good to know. Thanks. I've no clue what

[Bug go/83071] gccgo: ICE in set_type

2017-11-20 Thread ian at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83071 --- Comment #3 from ian at gcc dot gnu.org --- Author: ian Date: Tue Nov 21 06:14:32 2017 New Revision: 254983 URL: https://gcc.gnu.org/viewcvs?rev=254983=gcc=rev Log: compiler: report error for ++/-- applied to a non-numeric type This

[Bug target/83084] New: [7/8 Regression] -fcompare-debug failure on ppc64le

2017-11-20 Thread trippels at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83084 Bug ID: 83084 Summary: [7/8 Regression] -fcompare-debug failure on ppc64le Product: gcc Version: 8.0 Status: UNCONFIRMED Severity: normal Priority: P3

[Bug ada/83027] program hangs when Ada.Text_IO is with'ed both in executable and shared library

2017-11-20 Thread ebotcazou at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83027 Eric Botcazou changed: What|Removed |Added Keywords|wrong-code | Status|WAITING

[Bug target/81325] -fcompare-debug failure on ppc64le

2017-11-20 Thread trippels at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81325 Markus Trippelsdorf changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug go/83071] gccgo: ICE in set_type

2017-11-20 Thread ian at airs dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83071 Ian Lance Taylor changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug debug/82933] [8 Regression] valgrind error in set_cur_line_info_table with -g

2017-11-20 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82933 --- Comment #4 from Jakub Jelinek --- Author: jakub Date: Tue Nov 21 07:50:15 2017 New Revision: 254987 URL: https://gcc.gnu.org/viewcvs?rev=254987=gcc=rev Log: PR debug/82933 * run-rtl-passes.c: Include debug.h.

[Bug target/82981] [7 Regression] unnecessary __multi3 call for mips64r6 linux kernel

2017-11-20 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82981 --- Comment #15 from Jakub Jelinek --- Author: jakub Date: Tue Nov 21 07:49:14 2017 New Revision: 254986 URL: https://gcc.gnu.org/viewcvs?rev=254986=gcc=rev Log: PR target/82981 * internal-fn.c (expand_mul_overflow): Use

[Bug tree-optimization/83080] New: ICE at -Os and above with -Wall on C++ code: Segmentation fault

2017-11-20 Thread su at cs dot ucdavis.edu
/software/tmp/gcc/gcc-trunk/libexec/gcc/x86_64-pc-linux-gnu/8.0.0/lto-wrapper Target: x86_64-pc-linux-gnu Configured with: ../gcc-source-trunk/configure --enable-languages=c,c++,lto --prefix=/home/su/software/tmp/gcc/gcc-trunk --disable-bootstrap Thread model: posix gcc version 8.0.0 20171120

[Bug bootstrap/83015] [8 regression] bootstrap comparison failure on ia64

2017-11-20 Thread itsimbal at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83015 --- Comment #7 from itsimbal at gcc dot gnu.org --- Author: itsimbal Date: Mon Nov 20 12:30:25 2017 New Revision: 254951 URL: https://gcc.gnu.org/viewcvs?rev=254951=gcc=rev Log: PR bootstrap/83015 * config/cr16/unwind-cr16.c

[Bug tree-optimization/78821] GCC7: Copying whole 32 bits structure field by field not optimised into copying whole 32 bits at once

2017-11-20 Thread ubizjak at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78821 --- Comment #22 from Uroš Bizjak --- (In reply to Jakub Jelinek from comment #21) > Created attachment 42660 [details] > gcc8-pr78821-i386.patch > > Untested patch for the -mmovbe movbew loads/stores. Note, is there any > particular reason why

[Bug tree-optimization/78821] GCC7: Copying whole 32 bits structure field by field not optimised into copying whole 32 bits at once

2017-11-20 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78821 --- Comment #23 from Jakub Jelinek --- (In reply to Uroš Bizjak from comment #22) > (In reply to Jakub Jelinek from comment #21) > > Created attachment 42660 [details] > > gcc8-pr78821-i386.patch > > > > Untested patch for the -mmovbe movbew

[Bug testsuite/82951] gcc.c-torture/execute/20040409-1.c undefined behavior

2017-11-20 Thread glisse at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82951 --- Comment #4 from Marc Glisse --- Author: glisse Date: Mon Nov 20 13:26:39 2017 New Revision: 254954 URL: https://gcc.gnu.org/viewcvs?rev=254954=gcc=rev Log: VRP: x+1 and -x cannot be INT_MIN 2017-11-20 Marc Glisse

[Bug middle-end/83069] New: [8 Regression] internal compiler error: in from_gcov_type, at profile-count.h:676

2017-11-20 Thread hjl.tools at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83069 Bug ID: 83069 Summary: [8 Regression] internal compiler error: in from_gcov_type, at profile-count.h:676 Product: gcc Version: 8.0 Status: UNCONFIRMED

[Bug tree-optimization/78821] GCC7: Copying whole 32 bits structure field by field not optimised into copying whole 32 bits at once

2017-11-20 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78821 --- Comment #26 from Jakub Jelinek --- Comment on attachment 42661 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=42661 Add bswaphi2 pattern [(set (match_operand:HI 0 "register_operand") Is that so that you don't have to bother with

[Bug testsuite/82951] gcc.c-torture/execute/20040409-1.c undefined behavior

2017-11-20 Thread glisse at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82951 Marc Glisse changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug tree-optimization/78821] GCC7: Copying whole 32 bits structure field by field not optimised into copying whole 32 bits at once

2017-11-20 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78821 --- Comment #21 from Jakub Jelinek --- Created attachment 42660 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=42660=edit gcc8-pr78821-i386.patch Untested patch for the -mmovbe movbew loads/stores. Note, is there any particular reason

[Bug middle-end/24222] [meta-bug] The gimplifier shouldn't emit warnings or errors

2017-11-20 Thread egallager at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=24222 Bug 24222 depends on bug 26748, which changed state. Bug 26748 Summary: gimplify_expr_stmt in cp-gimplifer.c does warnings https://gcc.gnu.org/bugzilla/show_bug.cgi?id=26748 What|Removed |Added

[Bug c++/26748] gimplify_expr_stmt in cp-gimplifer.c does warnings

2017-11-20 Thread egallager at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=26748 Eric Gallager changed: What|Removed |Added Status|WAITING |RESOLVED Resolution|---

[Bug c++/47256] "--sysroot" option is not passed to COLLECT_GCC_OPTIONS

2017-11-20 Thread egallager at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=47256 Eric Gallager changed: What|Removed |Added Status|WAITING |RESOLVED Resolution|---

[Bug c++/50445] Rejects use of constant expression using a pointer non-type template parameter

2017-11-20 Thread egallager at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=50445 Eric Gallager changed: What|Removed |Added Keywords||diagnostic Status|WAITING

[Bug c++/82781] [6/7/8 Regression] Vector extension operators return wrong result in constexpr

2017-11-20 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82781 --- Comment #4 from Jakub Jelinek --- Author: jakub Date: Mon Nov 20 12:57:50 2017 New Revision: 254952 URL: https://gcc.gnu.org/viewcvs?rev=254952=gcc=rev Log: PR c++/82781 * constexpr.c

[Bug tree-optimization/78821] GCC7: Copying whole 32 bits structure field by field not optimised into copying whole 32 bits at once

2017-11-20 Thread ubizjak at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78821 --- Comment #24 from Uroš Bizjak --- Created attachment 42661 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=42661=edit Add bswaphi2 pattern What do you think about going through bswaphi2 pattern, as in the attached patch. Using of xcgh

[Bug tree-optimization/78821] GCC7: Copying whole 32 bits structure field by field not optimised into copying whole 32 bits at once

2017-11-20 Thread ubizjak at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78821 --- Comment #25 from Uroš Bizjak --- (In reply to Jakub Jelinek from comment #23) > I believe enabled attribute can't depend on > optimize_function_for_size_p (cfun). Indeed. Maybe preferred_for_size can come handy here (and in bswaphi_lowpart

[Bug libfortran/83070] New: -Wsign-compare warning in eoshift0

2017-11-20 Thread jb at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83070 Bug ID: 83070 Summary: -Wsign-compare warning in eoshift0 Product: gcc Version: unknown Status: UNCONFIRMED Severity: enhancement Priority: P3 Component:

[Bug c++/83046] ICE in nvptx offloading, C++ compilation of libgomp.oacc-c-c++-common/gang-static-2.c

2017-11-20 Thread tschwinge at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83046 --- Comment #4 from Thomas Schwinge --- (In reply to Martin Liška from comment #3) > (In reply to Thomas Schwinge from comment #0) > > ... starting with r254437 "Instrument function exit with > > __builtin_unreachable in C++". > > Obviously,

[Bug c++/83050] Please provide shortcircuit attribute for || and && operators

2017-11-20 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83050 Jonathan Wakely changed: What|Removed |Added Severity|normal |enhancement

[Bug c++/83049] Allow overloading of ?: conditional operator

2017-11-20 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83049 --- Comment #2 from Jonathan Wakely --- In general GCC tries to avoid adding language extensions until they have at least been proposed for addition to the standard, not the other way around.

[Bug lto/83061] -Wmaybe-uninitialized warnings in gcc/lto/lto-object.c

2017-11-20 Thread trippels at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83061 Markus Trippelsdorf changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug tree-optimization/78821] GCC7: Copying whole 32 bits structure field by field not optimised into copying whole 32 bits at once

2017-11-20 Thread ubizjak at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78821 --- Comment #17 from Uroš Bizjak --- Hm, even with the latest patch, the testcase from comment #5: typedef __SIZE_TYPE__ size_t; void baz (char *buf, unsigned int data) { buf[0] = data; buf[1] = data >> 8; buf[2] = ~data >> 8; buf[3]

[Bug bootstrap/83015] [8 regression] bootstrap comparison failure on ia64

2017-11-20 Thread igor.v.tsimbalist at intel dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83015 --- Comment #5 from igor.v.tsimbalist at intel dot com --- Created attachment 42658 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=42658=edit patch

[Bug c++/83046] ICE in nvptx offloading, C++ compilation of libgomp.oacc-c-c++-common/gang-static-2.c

2017-11-20 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83046 --- Comment #3 from Martin Liška --- (In reply to Thomas Schwinge from comment #0) > ... starting with r254437 "Instrument function exit with > __builtin_unreachable in C++". > > Program received signal SIGSEGV, Segmentation fault. >

[Bug tree-optimization/78821] GCC7: Copying whole 32 bits structure field by field not optimised into copying whole 32 bits at once

2017-11-20 Thread ubizjak at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78821 --- Comment #18 from Uroš Bizjak --- Maybe related to bswap optimization is also: typedef __SIZE_TYPE__ size_t; void baz (char *buf, unsigned int data) { buf[0] = data >> 8; buf[1] = data; } which currently generates (-O2 -march=haswell)

[Bug bootstrap/83015] [8 regression] bootstrap comparison failure on ia64

2017-11-20 Thread igor.v.tsimbalist at intel dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83015 --- Comment #6 from igor.v.tsimbalist at intel dot com --- Andreas has sent this issue as a reply to my commit. I proposed a fix and asked for approval. Here is my reply https://gcc.gnu.org/ml/gcc-patches/2017-11/msg01647.html I have attached

[Bug tree-optimization/83055] [8 Regression] ICE in operator>, at profile-count.h:834

2017-11-20 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83055 Richard Biener changed: What|Removed |Added Target Milestone|--- |8.0

[Bug ipa/83065] [8 Regression] SPEC CPU2017 523/623 compfail (ICE)

2017-11-20 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83065 Richard Biener changed: What|Removed |Added Target Milestone|--- |8.0

[Bug preprocessor/83063] [8 Regression] ICE on an invalid preprocessor snippet

2017-11-20 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83063 Richard Biener changed: What|Removed |Added Target Milestone|--- |8.0

[Bug libstdc++/83066] [8 regression] 26_numerics/gcd/gcd_neg.cc fails since r254736

2017-11-20 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83066 Richard Biener changed: What|Removed |Added Target Milestone|--- |8.0

[Bug fortran/65381] [6/7/8 Regression] ICE during array result, assignment

2017-11-20 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65381 Richard Biener changed: What|Removed |Added Target Milestone|--- |6.5

[Bug debug/81155] [8 Regression] Debug make check regressions in GCC 8.0

2017-11-20 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81155 Richard Biener changed: What|Removed |Added Target Milestone|--- |8.0 Summary|Debug make

[Bug c++/83059] ICE on invalid C++ code: in tree_to_uhwi, at tree.c:6633

2017-11-20 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83059 --- Comment #2 from Jakub Jelinek --- Created attachment 42659 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=42659=edit gcc8-pr83059.patch Untested fix.

[Bug tree-optimization/81165] [8 Regression] Regression in GCC-8.0.0's optimizer

2017-11-20 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81165 Richard Biener changed: What|Removed |Added Target Milestone|--- |8.0 Summary|Regression in

[Bug fortran/82969] [6/7/8 Regression] ICE in gfc_class_vptr_get, at fortran/trans-expr.c:211

2017-11-20 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82969 Richard Biener changed: What|Removed |Added Target Milestone|--- |6.5

[Bug tree-optimization/78821] GCC7: Copying whole 32 bits structure field by field not optimised into copying whole 32 bits at once

2017-11-20 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78821 --- Comment #19 from Jakub Jelinek --- (In reply to Uroš Bizjak from comment #17) > Hm, even with the latest patch, the testcase from comment #5: > still compiles to: > > movl%esi, %eax > movw%si, (%rdi) > notl

[Bug target/83067] wrong code on arm-linux-gnueabi

2017-11-20 Thread yangyibiao at nju dot edu.cn
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83067 --- Comment #1 from Yibiao Yang --- Note that this issue was found by Yibiao Yang and shqking.

[Bug target/83067] New: wrong code on arm-linux-gnueabi

2017-11-20 Thread yangyibiao at nju dot edu.cn
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83067 Bug ID: 83067 Summary: wrong code on arm-linux-gnueabi Product: gcc Version: 5.4.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: target

[Bug c/82963] -Waddress too trigger happy

2017-11-20 Thread arnd at linaro dot org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82963 Arnd Bergmann changed: What|Removed |Added CC||mpolacek at gcc dot gnu.org --- Comment

[Bug go/83071] New: gccgo: ICE in set_type

2017-11-20 Thread pmatos at gcc dot gnu.org
lease include the complete backtrace with any bug report. See <https://gcc.gnu.org/bugs/> for instructions. Fails wth both gccgo 7.2.1 (distributed with Fedora) and $ go version go version go1.9 gccgo (GCC) 8.0.0 20171120 (experimental) linux/amd64 which I just built locally.

[Bug other/83048] wrap multi-statement macros in do {} while (0)

2017-11-20 Thread vries at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83048 --- Comment #2 from Tom de Vries --- I wonder if we could use a macro like this: ... #define SAFE_MACRO_STMT(stmt) \ do { \ if (1) \

[Bug tree-optimization/83072] New: Late VRP optimization

2017-11-20 Thread glisse at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83072 Bug ID: 83072 Summary: Late VRP optimization Product: gcc Version: 8.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: tree-optimization

[Bug tree-optimization/83007] [8 Regression] -Wstringop-overflow false positive

2017-11-20 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83007 --- Comment #2 from Martin Liška --- Thank you Martin for the explanation, I'll fix the code.

[Bug tree-optimization/78821] GCC7: Copying whole 32 bits structure field by field not optimised into copying whole 32 bits at once

2017-11-20 Thread ubizjak at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78821 --- Comment #29 from Uroš Bizjak --- (In reply to Uroš Bizjak from comment #24) > Using of xcgh in place of bswap is suggested by Intel ... For reference: http://www.felixcloutier.com/x86/BSWAP.html

[Bug c++/83060] ICE on valid C++ code: in ignore_overflows, at cp/cvt.c:583

2017-11-20 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83060 Jakub Jelinek changed: What|Removed |Added CC||jason at gcc dot gnu.org,

[Bug gcov-profile/83030] [8 regression] ICE in create_pseudo_cfg, at dwarf2cfi.c:2840

2017-11-20 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83030 Martin Liška changed: What|Removed |Added Status|UNCONFIRMED |WAITING Last reconfirmed|

[Bug target/82960] spu_machine_dependent_reorg does not handle jump_table_data insn

2017-11-20 Thread vries at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82960 --- Comment #4 from Tom de Vries --- (In reply to Ulrich Weigand from comment #3) > I'll have a look. Thanks :) > I still need to get my SPU build environment back up and > running, the build currently fails due to unrelated issues. > > I

[Bug c++/83058] [6/7/8 Regression] ICE on C++ code with negative array index: in warn_placement_new_too_small, at cp/init.c:2666

2017-11-20 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83058 Jakub Jelinek changed: What|Removed |Added CC||jakub at gcc dot gnu.org,

[Bug middle-end/82878] [7/8 Regression] ICE in assign_temp, at function.c:968 when using optimization

2017-11-20 Thread nathan at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82878 --- Comment #5 from Nathan Sidwell --- Author: nathan Date: Mon Nov 20 14:39:00 2017 New Revision: 254958 URL: https://gcc.gnu.org/viewcvs?rev=254958=gcc=rev Log: [PR c++/82878] pass-by-invisiref in lambda

[Bug c++/78495] [7 regression][new inheriting ctors] invisible-ref parm has address taken

2017-11-20 Thread nathan at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78495 --- Comment #5 from Nathan Sidwell --- Author: nathan Date: Mon Nov 20 14:39:00 2017 New Revision: 254958 URL: https://gcc.gnu.org/viewcvs?rev=254958=gcc=rev Log: [PR c++/82878] pass-by-invisiref in lambda

[Bug target/82615] [8 Regression] SPEC CPU2006 453.povray ~10% performance deviation with r248863

2017-11-20 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82615 --- Comment #4 from Martin Liška --- Yes, it fixed on Haswell, we're even slightly faster than before the problematic revision. Tomorrow I'll measure Zen as well.

[Bug tree-optimization/78821] GCC7: Copying whole 32 bits structure field by field not optimised into copying whole 32 bits at once

2017-11-20 Thread ubizjak at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78821 --- Comment #27 from Uroš Bizjak --- (In reply to Jakub Jelinek from comment #26) > Comment on attachment 42661 [details] > Add bswaphi2 pattern > > [(set (match_operand:HI 0 "register_operand") > > Is that so that you don't have to bother

[Bug tree-optimization/78821] GCC7: Copying whole 32 bits structure field by field not optimised into copying whole 32 bits at once

2017-11-20 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78821 --- Comment #28 from Jakub Jelinek --- Ok, let's go with your patch then.

[Bug ipa/83051] [8 Regression] ICE on valid code at -O3: in edge_badness, at ipa-inline.c:1024

2017-11-20 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83051 Martin Liška changed: What|Removed |Added Keywords||ice-on-valid-code

[Bug c++/83046] ICE in nvptx offloading, C++ compilation of libgomp.oacc-c-c++-common/gang-static-2.c

2017-11-20 Thread marxin at gcc dot gnu.org
gure --enable-languages=c,c++,fortran --disable-multilib --prefix=/home/marxin/bin/gcc --disable-bootstrap --enable-offload-targets=nvptx-none=/no/where Thread model: posix gcc version 8.0.0 20171120 (experimental) (GCC)

[Bug target/83067] wrong code on arm-linux-gnueabi

2017-11-20 Thread ktkachov at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83067 ktkachov at gcc dot gnu.org changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED

[Bug target/82960] spu_machine_dependent_reorg does not handle jump_table_data insn

2017-11-20 Thread uweigand at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82960 --- Comment #3 from Ulrich Weigand --- I'll have a look. I still need to get my SPU build environment back up and running, the build currently fails due to unrelated issues. I remember looking at this a few years back:

[Bug c++/83060] ICE on valid C++ code: in ignore_overflows, at cp/cvt.c:583

2017-11-20 Thread nathan at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83060 --- Comment #4 from Nathan Sidwell --- I recall discussion years back that concluded the int *p = [-1]; case was well formed (there being no access specifier between the two fields). Of course the validity of the argument may have changed

[Bug libstdc++/48101] obscure error message with std::set

2017-11-20 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=48101 --- Comment #4 from Jonathan Wakely --- Which causes the code to be accepted. I'd rather do: template class allocator; // undefined so there's an error.

[Bug ipa/80899] [6/7/8 Regression] Devirtualization causes incorrect code generation with placement new in some cases

2017-11-20 Thread hubicka at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80899 Jan Hubicka changed: What|Removed |Added Status|SUSPENDED |ASSIGNED --- Comment #3 from Jan Hubicka

[Bug gcov-profile/83030] [8 regression] ICE in create_pseudo_cfg, at dwarf2cfi.c:2840

2017-11-20 Thread ro at CeBiTec dot Uni-Bielefeld.DE
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83030 --- Comment #2 from ro at CeBiTec dot Uni-Bielefeld.DE --- > --- Comment #1 from Martin Liška --- > Thanks for the report. Unfortunately one needs native compiler for that. Do we > have a working machine in GCC Compile Farm? Not yet: I do have

[Bug target/82682] [8 Regression] FAIL: gcc.target/i386/pr50038.c scan-assembler-times movzbl 2 (found 3 times) since r253958

2017-11-20 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82682 --- Comment #3 from Jakub Jelinek --- Yes. r253955 to r253958 diff is: --- pr50038.s.2539552017-11-20 09:52:43.0 -0500 +++ pr50038.s.2539582017-11-20 09:52:48.0 -0500 @@ -1,53 +1,55 @@ .file "pr50038.c"

[Bug c++/83046] ICE in nvptx offloading, C++ compilation of libgomp.oacc-c-c++-common/gang-static-2.c

2017-11-20 Thread tschwinge at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83046 --- Comment #6 from Thomas Schwinge --- (In reply to Martin Liška from comment #5) > Thanks for instructions, but apparently does not work for me: > > make check-target-libgomp > === libgomp Summary === > > # of untested

[Bug tree-optimization/83072] Late VRP optimization

2017-11-20 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83072 Richard Biener changed: What|Removed |Added Keywords||missed-optimization

[Bug target/83068] Suboptimal code generated with -m32 using MMX reg

2017-11-20 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83068 Richard Biener changed: What|Removed |Added CC||hjl.tools at gmail dot com --- Comment

[Bug middle-end/83069] [8 Regression] internal compiler error: in from_gcov_type, at profile-count.h:676

2017-11-20 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83069 Richard Biener changed: What|Removed |Added Target Milestone|--- |8.0

[Bug target/82981] [7 Regression] unnecessary __multi3 call for mips64r6 linux kernel

2017-11-20 Thread clyon at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82981 Christophe Lyon changed: What|Removed |Added CC||clyon at gcc dot gnu.org --- Comment

[Bug debug/82718] Bad DWARF5 .debug_loclists generation

2017-11-20 Thread mark at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82718 --- Comment #6 from Mark Wielaard --- Building elfutils with -g -O2 -gdwarf-5 still fails without this patch with current gcc trunk (just in a different file libdwfl/realloc.c instead of elf_begin.c as reported originally). Using the proposed

[Bug tree-optimization/83073] New: Range for VR_VARYING | [1, 1]

2017-11-20 Thread glisse at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83073 Bug ID: 83073 Summary: Range for VR_VARYING | [1, 1] Product: gcc Version: 8.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: tree-optimization

[Bug c/83056] GCC suggests the use of previously reported undeclared identifiers when reporting new undeclared identifiers

2017-11-20 Thread dmalcolm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83056 David Malcolm changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

<    1   2   3   >