[Bug target/77468] [7 Regression] C-ray regression on Aarch64

2016-09-05 Thread jgreenhalgh at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77468 James Greenhalgh changed: What|Removed |Added CC||jgreenhalgh at gcc dot gnu.org ---

[Bug target/77476] [7 Regression] [AVX-512] illegal kmovb instruction on KNL

2016-09-05 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77476 Jakub Jelinek changed: What|Removed |Added Attachment #39556|0 |1 is obsolete|

[Bug c++/77482] New: Segfault when compiling ill-formed constexpr code

2016-09-05 Thread petschy at gmail dot com
kes the program ill-formed since the return type will be deduced to void, but the caller expects a value returned. Instead of an error message, 7.0 segfaults and 6.2.1 gets confused. g++-7.0.0 -O3 -Wall -Wextra -g 20160905-constexpr-segfault.cpp ‘ In function ‘auto foo()’: Segmentation fa

[Bug objc/77481] New: @finally not executed if exception not caught or rethrown

2016-09-05 Thread vries at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77481 Bug ID: 77481 Summary: @finally not executed if exception not caught or rethrown Product: gcc Version: 7.0 Status: UNCONFIRMED Severity: normal

[Bug c/77423] -Wlogical-not-parentheses false positive for bitwise expression with _Bool operands

2016-09-05 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77423 --- Comment #2 from Marek Polacek --- Author: mpolacek Date: Mon Sep 5 12:17:09 2016 New Revision: 239988 URL: https://gcc.gnu.org/viewcvs?rev=239988=gcc=rev Log: PR c/77423 * doc/invoke.texi: Update -Wlogical-not-parentheses

[Bug tree-optimization/66946] Spurious uninitialized warning

2016-09-05 Thread wdijkstr at arm dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66946 Wilco changed: What|Removed |Added Status|WAITING |RESOLVED Resolution|---

[Bug middle-end/77475] unnecessary or misleading context in reporting command line problems

2016-09-05 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77475 --- Comment #2 from Jakub Jelinek --- Created attachment 39565 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=39565=edit gcc7-pr77475.patch Given the number of targets that use targetm.target_options.override hook and the amount of

[Bug rtl-optimization/77425] Pointer test follows dereference in sched-int.h

2016-09-05 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77425 --- Comment #4 from Jakub Jelinek --- Author: jakub Date: Mon Sep 5 08:49:41 2016 New Revision: 239986 URL: https://gcc.gnu.org/viewcvs?rev=239986=gcc=rev Log: PR rtl-optimization/77425 * ipa-devirt.c (get_odr_type): Set

[Bug c++/77467] Segmentation fault with switch statement in constexpr function

2016-09-05 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77467 Jakub Jelinek changed: What|Removed |Added Status|NEW |ASSIGNED Assignee|unassigned

[Bug libfortran/77393] [7 Regression] Revision r237735 changed the behavior of F0.0

2016-09-05 Thread ro at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77393 Rainer Orth changed: What|Removed |Added CC||ro at gcc dot gnu.org --- Comment #10

[Bug c/77487] New: gcc reports "file shorter than expected" for regular files on stdin when the offset of fd 0 isn't 0

2016-09-05 Thread pskocik at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77487 Bug ID: 77487 Summary: gcc reports "file shorter than expected" for regular files on stdin when the offset of fd 0 isn't 0 Product: gcc Version: unknown Status:

[Bug c/77487] gcc reports "file shorter than expected" for regular files on stdin when the offset of fd 0 isn't 0

2016-09-05 Thread pskocik at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77487 pskocik at gmail dot com changed: What|Removed |Added CC||pskocik at gmail dot com ---

[Bug c++/77482] [6/7 Regression] Segfault when compiling ill-formed constexpr code

2016-09-05 Thread trippels at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77482 Markus Trippelsdorf changed: What|Removed |Added CC||jason at gcc dot gnu.org ---

[Bug libgcc/77470] libssp may have bad includes

2016-09-05 Thread coypu at sdf dot org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77470 --- Comment #1 from coypu --- Created attachment 39560 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=39560=edit Correct includes for libssp This gets me a bit further, but I still have trouble using it. For netbsd we have in stdio.h:

[Bug libgcc/77470] libssp may have bad includes

2016-09-05 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77470 Jakub Jelinek changed: What|Removed |Added CC||jakub at gcc dot gnu.org --- Comment #2

[Bug target/77483] New: [6/7 regression] gcc.target/i386/mask-unpack.c etc. FAIL

2016-09-05 Thread ro at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77483 Bug ID: 77483 Summary: [6/7 regression] gcc.target/i386/mask-unpack.c etc. FAIL Product: gcc Version: 7.0 Status: UNCONFIRMED Severity: normal

[Bug target/77483] [6/7 regression] gcc.target/i386/mask-unpack.c etc. FAIL

2016-09-05 Thread ro at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77483 Rainer Orth changed: What|Removed |Added Target Milestone|--- |6.4

[Bug middle-end/77484] New: Static branch predictor causes ~6-8% regression of SPEC2000 GAP

2016-09-05 Thread wdijkstr at arm dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77484 Bug ID: 77484 Summary: Static branch predictor causes ~6-8% regression of SPEC2000 GAP Product: gcc Version: 6.0 Status: UNCONFIRMED Severity: normal

[Bug c/77486] ubsan detects runtime error: left shift of negative value -3 at real_hash in real.c:2890

2016-09-05 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77486 Marek Polacek changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug target/77478] Incorrect code generated with -O3, m32, -msse2 and -ffast-math

2016-09-05 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77478 Jakub Jelinek changed: What|Removed |Added CC||jakub at gcc dot gnu.org --- Comment #1

[Bug objc/77481] @finally not executed if exception not caught or rethrown

2016-09-05 Thread vries at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77481 --- Comment #1 from Tom de Vries --- note btw, if I wrap the try/catch/finallys in a catchall, the finallys are executed.

[Bug c++/77482] [6/7 Regression] Segfault when compiling ill-formed constexpr code

2016-09-05 Thread trippels at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77482 Markus Trippelsdorf changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug target/71776] relocation truncated to fit: R_ARM_THM_JUMP11 against symbol `__gnu_h2f_internal'

2016-09-05 Thread malithyapa at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71776 --- Comment #8 from malithyapa at gmail dot com --- I managed to work around this by building gcc with --with-mode=arm Configured with: ../gcc-4.9.4/configure --enable-languages=c,c++ --with-mode=arm --with-float=hard --build=arm-linux-gnueabihf

[Bug target/77468] [7 Regression] C-ray regression on Aarch64

2016-09-05 Thread tulipawn at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77468 --- Comment #6 from PeteVine --- Yes, Gcc 6 seems to be affected too. The flags used were explicitly shown on the phoronix graph (cortex-a53), but generic codegen might possibly suffer as well, similar to my discovery in:

[Bug c/77423] -Wlogical-not-parentheses false positive for bitwise expression with _Bool operands

2016-09-05 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77423 Marek Polacek changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug c/77486] New: ubsan detects runtime error: left shift of negative value -3 at real_hash in real.c:2890

2016-09-05 Thread zeccav at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77486 Bug ID: 77486 Summary: ubsan detects runtime error: left shift of negative value -3 at real_hash in real.c:2890 Product: gcc Version: 7.0 Status: UNCONFIRMED

[Bug c++/77456] Suboptimal code when returning a string generated with a constexpr fn at compile time

2016-09-05 Thread petschy at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77456 --- Comment #8 from petschy at gmail dot com --- I created two other bugs (bug 77482 for the segfault and bug 77485 for the DSE issue). As I noted in the latter, I'm a bit confused about the store merging, and what change Kyrill's patch will

[Bug c/77480] New: netbsd specfile will not link against libc when building -shared

2016-09-05 Thread coypu at sdf dot org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77480 Bug ID: 77480 Summary: netbsd specfile will not link against libc when building -shared Product: gcc Version: 5.4.0 Status: UNCONFIRMED Severity: normal

[Bug other/77421] Bugs found in GCC with the help of PVS-Studio

2016-09-05 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77421 --- Comment #14 from Jakub Jelinek --- Author: jakub Date: Mon Sep 5 08:50:29 2016 New Revision: 239987 URL: https://gcc.gnu.org/viewcvs?rev=239987=gcc=rev Log: PR other/77421 * gensupport.c (alter_output_for_subst_insn):

[Bug web/50642] onlinedocs formated text too small to read

2016-09-05 Thread jg at jguk dot org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=50642 --- Comment #21 from Jon Grant --- Hi Gerald Thank you for replying. Ok, good its ok on GCC side. Thank you for checking on your machine. Well done for sorting this! Regards, Jonny

[Bug lto/77472] __attribute__((flatten)) when used with -flto can lead to extreme number of inlined functions

2016-09-05 Thread hubicka at ucw dot cz
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77472 --- Comment #10 from Jan Hubicka --- > So apart from the known algorithmic issue in key updating (which Honza > promises > to fix since a few years ...) this is a "doctor it hurts when I do this" > kind-of-issue. Hmm, I actually have patchset

[Bug c++/77485] New: Missed dead store elimination when returning constexpr generated data

2016-09-05 Thread petschy at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77485 Bug ID: 77485 Summary: Missed dead store elimination when returning constexpr generated data Product: gcc Version: 7.0 Status: UNCONFIRMED Severity: normal

[Bug c++/77482] [6/7 Regression] Segfault when compiling ill-formed constexpr code

2016-09-05 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77482 Jakub Jelinek changed: What|Removed |Added Status|NEW |ASSIGNED Assignee|unassigned

[Bug c++/77482] [6/7 Regression] Segfault when compiling ill-formed constexpr code

2016-09-05 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77482 Jakub Jelinek changed: What|Removed |Added Target Milestone|--- |6.3

[Bug middle-end/77475] unnecessary or misleading context in reporting command line problems

2016-09-05 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77475 --- Comment #3 from Jakub Jelinek --- Author: jakub Date: Mon Sep 5 18:14:25 2016 New Revision: 239994 URL: https://gcc.gnu.org/viewcvs?rev=239994=gcc=rev Log: PR middle-end/77475 * toplev.c (process_options): Temporarily set

[Bug target/77452] [7 Regression] ICE: in plus_constant, at explow.c:87 with -fno-split-wide-types -mavx512f --param=max-combine-insns=2

2016-09-05 Thread uros at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77452 --- Comment #3 from uros at gcc dot gnu.org --- Author: uros Date: Mon Sep 5 14:44:19 2016 New Revision: 239989 URL: https://gcc.gnu.org/viewcvs?rev=239989=gcc=rev Log: PR rtl-optimization/77452 * explow.c (plus_constant) :

[Bug target/77483] [6/7 regression] gcc.target/i386/mask-unpack.c etc. FAIL

2016-09-05 Thread ro at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77483 Rainer Orth changed: What|Removed |Added CC||ebotcazou at gcc dot gnu.org --- Comment

[Bug target/77478] Incorrect code generated with -O3, m32, -msse2 and -ffast-math

2016-09-05 Thread amonakov at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77478 --- Comment #4 from Alexander Monakov --- Slightly reduced testcase that demonstrates the issue regardless of stack-protector; -O3 -ffast-math is enough on x86-64 (plus -msse2 on i386). Oddly, the #if0 block makes a difference. static const

[Bug sanitizer/77396] address sanitizer crashes if all static global variables are optimized

2016-09-05 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77396 --- Comment #3 from Jakub Jelinek --- Author: jakub Date: Mon Sep 5 19:43:57 2016 New Revision: 239998 URL: https://gcc.gnu.org/viewcvs?rev=239998=gcc=rev Log: PR sanitizer/77396 * asan/asan_globals.cc: Cherry-pick upstream

[Bug target/77476] [7 Regression] [AVX-512] illegal kmovb instruction on KNL

2016-09-05 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77476 --- Comment #5 from Jakub Jelinek --- Author: jakub Date: Mon Sep 5 19:45:21 2016 New Revision: 24 URL: https://gcc.gnu.org/viewcvs?rev=24=gcc=rev Log: PR target/77476 * config/i386/i386.md (isa): Add x64_avx512bw.

[Bug c++/77493] [6 Regression] -fcrossjumping (-O2) on ppc64le causes segfaults (jump to 0x0) (first bad r230091)

2016-09-05 Thread david.abdurachmanov at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77493 --- Comment #3 from David Abdurachmanov --- Created attachment 39571 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=39571=edit generated assembly with the first bad commit + pragma no-crossjumping

[Bug c++/77493] [6 Regression] -fcrossjumping (-O2) on ppc64le causes segfaults (jump to 0x0) (first bad r230091)

2016-09-05 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77493 --- Comment #4 from Andrew Pinski --- Have you tried to see if there is any undefined code here? Like say -fsantizied=undefined ?

[Bug target/77493] [6 Regression] -fcrossjumping (-O2) on ppc64le causes segfaults (jump to 0x0) (first bad r230091)

2016-09-05 Thread david.abdurachmanov at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77493 --- Comment #5 from David Abdurachmanov --- I tried running valgrind on both x86_64 and ppc64le. It was running for 2 days and didn't report any invalid reads / writes to the memory. My first guess was that we are corrupting memory. I added -g

[Bug target/77493] [6 Regression] -fcrossjumping (-O2) on ppc64le causes segfaults (jump to 0x0) (first bad r230091)

2016-09-05 Thread david.abdurachmanov at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77493 --- Comment #7 from David Abdurachmanov --- I did try -fno-devirtualize and -fno-delete-null-pointer-checks without success, but will re-try again now.

[Bug c++/77489] Invalid mangling of static local variables

2016-09-05 Thread trippels at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77489 --- Comment #4 from Markus Trippelsdorf --- Yeah, keeping the old behavior in the demangler would go against the raison d'etre of the ABI change. David's example _ZZ1gvEN1Y1fEZ1gvE1X_11C would then never demangle correctly. BTW there is another

[Bug target/77493] [6 Regression] -fcrossjumping (-O2) on ppc64le causes segfaults (jump to 0x0) (first bad r230091)

2016-09-05 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77493 --- Comment #6 from Andrew Pinski --- Try a few more options then: -fno-delete-null-pointer-checks -fwrapv -fno-devirtualize

[Bug fortran/69514] ICE with nested array constructor

2016-09-05 Thread kargl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69514 kargl at gcc dot gnu.org changed: What|Removed |Added CC||kargl at gcc dot gnu.org ---

[Bug c++/77493] New: [6 Regression] -fcrossjumping (-O2) on ppc64le causes segfaults (jump to 0x0) (first bad r230091)

2016-09-05 Thread david.abdurachmanov at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77493 Bug ID: 77493 Summary: [6 Regression] -fcrossjumping (-O2) on ppc64le causes segfaults (jump to 0x0) (first bad r230091) Product: gcc Version: 6.2.0 Status: UNCONFIRMED

[Bug c++/77493] [6 Regression] -fcrossjumping (-O2) on ppc64le causes segfaults (jump to 0x0) (first bad r230091)

2016-09-05 Thread david.abdurachmanov at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77493 --- Comment #1 from David Abdurachmanov --- Created attachment 39569 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=39569=edit generated assembly with last good commit

[Bug target/77483] [6/7 regression] gcc.target/i386/mask-unpack.c etc. FAIL

2016-09-05 Thread ebotcazou at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77483 Eric Botcazou changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug c++/77493] [6 Regression] -fcrossjumping (-O2) on ppc64le causes segfaults (jump to 0x0) (first bad r230091)

2016-09-05 Thread david.abdurachmanov at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77493 --- Comment #2 from David Abdurachmanov --- Created attachment 39570 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=39570=edit generated assembly with the first bad commit

[Bug target/77478] Incorrect code generated with -O3, m32, -msse2 and -ffast-math

2016-09-05 Thread amonakov at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77478 Alexander Monakov changed: What|Removed |Added CC||amonakov at gcc dot gnu.org ---

[Bug preprocessor/77488] Proposal for __FILENAME_ONLY__

2016-09-05 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77488 Jakub Jelinek changed: What|Removed |Added CC||jakub at gcc dot gnu.org --- Comment #1

[Bug c/77491] Suboptimal code produced with unnecessary moving of values on/off stack

2016-09-05 Thread bernds at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77491 Bernd Schmidt changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED CC|

[Bug preprocessor/77488] New: Proposal for __FILENAME_ONLY__

2016-09-05 Thread rdiezmail-gcc at yahoo dot de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77488 Bug ID: 77488 Summary: Proposal for __FILENAME_ONLY__ Product: gcc Version: unknown Status: UNCONFIRMED Severity: enhancement Priority: P3 Component:

[Bug c++/77489] New: Invalid mangling of static local variables

2016-09-05 Thread Tom.Aernoudt at synopsys dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77489 Bug ID: 77489 Summary: Invalid mangling of static local variables Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++

[Bug c/77487] gcc reports "file shorter than expected" for regular files on stdin when the offset of fd 0 isn't 0

2016-09-05 Thread manu at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77487 Manuel López-Ibáñez changed: What|Removed |Added CC||manu at gcc dot gnu.org ---

[Bug c++/77489] Invalid mangling of static local variables

2016-09-05 Thread trippels at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77489 Markus Trippelsdorf changed: What|Removed |Added Keywords||wrong-code

[Bug c++/77489] Invalid mangling of static local variables

2016-09-05 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77489 --- Comment #3 from Jakub Jelinek --- Seems the ABI changed in 2009 here, Jan 30 2009 version only has the _ part there, while Feb 25 2010 already has the current wording. I found:

[Bug c++/77489] Invalid mangling of static local variables

2016-09-05 Thread trippels at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77489 --- Comment #2 from Markus Trippelsdorf --- Untested patch: diff --git a/gcc/cp/mangle.c b/gcc/cp/mangle.c index bd23260c0883..322f52944f41 100644 --- a/gcc/cp/mangle.c +++ b/gcc/cp/mangle.c @@ -1896,7 +1896,8 @@

[Bug c/77490] New: bit-not (~) on boolean should be warned about

2016-09-05 Thread bernd.edlinger at hotmail dot de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77490 Bug ID: 77490 Summary: bit-not (~) on boolean should be warned about Product: gcc Version: 7.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c

[Bug libfortran/77393] [7 Regression] Revision r237735 changed the behavior of F0.0

2016-09-05 Thread jvdelisle at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77393 --- Comment #11 from Jerry DeLisle --- (In reply to Rainer Orth from comment #10) > The test FAILs on Solaris (both sparc and x86, both 32 and 64-bit): > > FAIL: gfortran.dg/fmt_f0_2.f90 -O0 execution test > FAIL: gfortran.dg/fmt_f0_2.f90

[Bug c/77491] New: Suboptimal code produced with unnecessary moving of values on/off stack

2016-09-05 Thread dhowells at redhat dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77491 Bug ID: 77491 Summary: Suboptimal code produced with unnecessary moving of values on/off stack Product: gcc Version: 6.1.1 Status: UNCONFIRMED Severity: normal

[Bug target/77478] Incorrect code generated with -O3, m32, -msse2 and -ffast-math

2016-09-05 Thread amonakov at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77478 --- Comment #3 from Alexander Monakov --- On further investigation, lack of peeling might be intentional, the vectorizer could be deliberately using unaligned access. Previously I missed that the body of the vectorized loop is completely

[Bug c/77494] New: -mcpu=cortex-a53 does not allow use of crc extensions

2016-09-05 Thread buzz at exotica dot org.uk
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77494 Bug ID: 77494 Summary: -mcpu=cortex-a53 does not allow use of crc extensions Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal Priority: P3

[Bug target/77494] -mcpu=cortex-a53 does not allow use of crc extensions

2016-09-05 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77494 Andrew Pinski changed: What|Removed |Added Target||arm-linux-gnueabihf

[Bug fortran/77391] gfortran allows CHARACTER(LEN=:),PARAMETER:: STRING='constant' buts does not report it as an extension

2016-09-05 Thread urbanjost at comcast dot net
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77391 --- Comment #8 from urbanjost at comcast dot net --- Thanks. The asterick in this case and when used to initialize allocatable character variables does not fit my old rule of thumb that "an asterick means the variable is allocated and has a fixed

[Bug target/77267] MPX does not work in a presence of "-Wl,-as-needed" option (Ubuntu default)

2016-09-05 Thread ienkovich at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77267 Ilya Enkovich changed: What|Removed |Added CC||ienkovich at gcc dot gnu.org ---

[Bug target/77480] netbsd specfile will not link against libc when building -shared (+patch)

2016-09-05 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77480 --- Comment #1 from Andrew Pinski --- Patches should be sent to gcc-patches@.

[Bug target/77493] [6 Regression] -fcrossjumping (-O2) on ppc64le causes segfaults (jump to 0x0) (first bad r230091)

2016-09-05 Thread david.abdurachmanov at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77493 --- Comment #8 from David Abdurachmanov --- Can confirm that '-fno-delete-null-pointer-checks -fwrapv -fno-devirtualize' don't change the outcode, fails the same.

[Bug libstdc++/77495] New: optional assignment from {} acts weirdly

2016-09-05 Thread eric at efcs dot ca
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77495 Bug ID: 77495 Summary: optional assignment from {} acts weirdly Product: gcc Version: 7.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: libstdc++

[Bug tree-optimization/61110] Simplify value_replacement in phiopt

2016-09-05 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61110 Andrew Pinski changed: What|Removed |Added Keywords||missed-optimization

[Bug c++/77373] __attribute__((vector_size(N))) fails on AIX

2016-09-05 Thread jason at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77373 Bug 77373 depends on bug 68703, which changed state. Bug 68703 Summary: __attribute__((vector_size(N))) template member confusion https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68703 What|Removed |Added

[Bug c++/68703] __attribute__((vector_size(N))) template member confusion

2016-09-05 Thread jason at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68703 Jason Merrill changed: What|Removed |Added Status|RESOLVED|NEW Resolution|FIXED

[Bug c++/77492] New: std regex icase doesn't seem to work correctly.

2016-09-05 Thread flashmozzg at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77492 Bug ID: 77492 Summary: std regex icase doesn't seem to work correctly. Product: gcc Version: 5.1.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component:

[Bug tree-optimization/77479] New: [7 Regression] Compile time hog w/ -O2 (-Os)

2016-09-05 Thread asolokha at gmx dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77479 Bug ID: 77479 Summary: [7 Regression] Compile time hog w/ -O2 (-Os) Product: gcc Version: 7.0 Status: UNCONFIRMED Keywords: compile-time-hog Severity: normal

[Bug tree-optimization/72866] Compile time hog w/ -O3 (-Ofast)

2016-09-05 Thread asolokha at gmx dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=72866 --- Comment #9 from Arseny Solokha --- (In reply to Andrew Pinski from comment #8) > Yes this looks like a different issue. I've filed PR77479, then. Is it safe to close PR72866 now?

[Bug target/77476] [7 Regression] [AVX-512] illegal kmovb instruction on KNL

2016-09-05 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77476 Jakub Jelinek changed: What|Removed |Added Status|NEW |ASSIGNED Assignee|unassigned

[Bug c++/77456] Suboptimal code when returning a string generated with a constexpr fn at compile time

2016-09-05 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77456 Richard Biener changed: What|Removed |Added Keywords||missed-optimization --- Comment #6

[Bug middle-end/77468] [7 Regression] C-ray regression on Aarch64

2016-09-05 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77468 Richard Biener changed: What|Removed |Added Keywords||missed-optimization Known to

[Bug c++/77456] Suboptimal code when returning a string generated with a constexpr fn at compile time

2016-09-05 Thread ktkachov at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77456 ktkachov at gcc dot gnu.org changed: What|Removed |Added CC||ktkachov at gcc dot gnu.org

[Bug gcov-profile/77466] [7 regression] FAIL: g++.dg/gcov/gcov-dump-1.C -std=gnu++11 (test for excess errors)

2016-09-05 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77466 Richard Biener changed: What|Removed |Added Target||powepc-linux Target Milestone|---

[Bug tree-optimization/77479] [7 Regression] Compile time hog w/ -O2 (-Os)

2016-09-05 Thread trippels at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77479 Markus Trippelsdorf changed: What|Removed |Added Keywords||memory-hog

[Bug target/77468] [7 Regression] C-ray regression on Aarch64

2016-09-05 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77468 Andrew Pinski changed: What|Removed |Added Component|middle-end |target --- Comment #3 from Andrew

[Bug tree-optimization/77479] [7 Regression] Compile time hog w/ -O2 (-Os)

2016-09-05 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77479 Richard Biener changed: What|Removed |Added Keywords|memory-hog | Status|NEW

[Bug lto/77472] __attribute__((flatten)) when used with -flto can lead to extreme number of inlined functions

2016-09-05 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77472 --- Comment #8 from Richard Biener --- So apart from the known algorithmic issue in key updating (which Honza promises to fix since a few years ...) this is a "doctor it hurts when I do this" kind-of-issue.

[Bug target/77468] [7 Regression] C-ray regression on Aarch64

2016-09-05 Thread ramana at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77468 Ramana Radhakrishnan changed: What|Removed |Added CC||ramana at gcc dot gnu.org ---

[Bug lto/77472] __attribute__((flatten)) when used with -flto can lead to extreme number of inlined functions

2016-09-05 Thread trippels at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77472 Markus Trippelsdorf changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug target/70341] [5/6/7 Regression] cost model for addresses is incorrect, slsr is using reg + reg + CST for arm

2016-09-05 Thread fredrik.hederstie...@securitas-direct.com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70341 --- Comment #10 from Fredrik Hederstierna --- Can it be related to some missing code hoisting in eg. combiner or gcse? I found this old PR 11832 on similar issue, can it be related, or have a common

[Bug tree-optimization/72866] Compile time hog w/ -O3 (-Ofast)

2016-09-05 Thread asolokha at gmx dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=72866 --- Comment #7 from Arseny Solokha --- I have another snippet that works w/ 7.0.0-alpha20160731 snapshot, but still takes indefinite time to compile even by 7.0.0-alpha20160904, i.e. after the fix. Should I file another PR for it? void vr (int

[Bug tree-optimization/72866] Compile time hog w/ -O3 (-Ofast)

2016-09-05 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=72866 --- Comment #8 from Andrew Pinski --- (In reply to Arseny Solokha from comment #7) > I have another snippet that works w/ 7.0.0-alpha20160731 snapshot, but still > takes indefinite time to compile even by 7.0.0-alpha20160904, i.e. after the >

[Bug c++/77477] error recovery for explicit qualification

2016-09-05 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77477 --- Comment #4 from Andrew Pinski --- part makes this code invalid. Basically you are not specializing a template but just declaring one.

[Bug target/77476] [7 Regression] [AVX-512] illegal kmovb instruction on KNL

2016-09-05 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77476 Andrew Pinski changed: What|Removed |Added Keywords||wrong-code Target Milestone|---

[Bug target/77476] [7 Regression] [AVX-512] illegal kmovb instruction on KNL

2016-09-05 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77476 --- Comment #1 from Andrew Pinski --- Most likely: r239672 | uros | 2016-08-22 12:13:45 -0700 (Mon, 22 Aug 2016) | 6 lines * config/i386/i386.md

[Bug target/77476] [7 Regression] [AVX-512] illegal kmovb instruction on KNL

2016-09-05 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77476 Andrew Pinski changed: What|Removed |Added Target||x8 Status|UNCONFIRMED

[Bug target/70341] [5/6/7 Regression] cost model for addresses is incorrect, slsr is using reg + reg + CST for arm

2016-09-05 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70341 --- Comment #9 from Andrew Pinski --- (In reply to Fredrik Hederstierna from comment #8) > Could it be something in tree-ssa-forwprop pass? > > This pass is executed 4 times in -Os, and starting with GCC-4.9 it seems > like statements that