[Bug target/64971] [5/6 Regression] gcc.c-torture/compile/pr37433.c ICEs with -mabi=ilp32

2016-03-22 Thread law at redhat dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64971 Jeffrey A. Law changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|2015-02-09 00:00

[Bug tree-optimization/42046] missed optimization (a?b|1:b&~1) where b is a load from memory

2016-03-22 Thread glisse at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=42046 --- Comment #3 from Marc Glisse --- (a?b|1:b&~1) could also be turned into (b&~1)+(a!=0) or (b|1)-(a==0) (or with ^ instead of +-, or | instead of +, etc) but it is quite possible that none of those are a win.

[Bug target/66358] [5/6 Regression] [SH] ICE: in extract_constrain_insn, at recog.c:2232

2016-03-22 Thread olegendo at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66358 --- Comment #20 from Oleg Endo --- (In reply to David Binderman from comment #19) > (In reply to David Binderman from comment #17) > > I had a go at cross compiling Linux kernel for sh, and got something similar > > with gcc 5.1.1 dated 20150618

[Bug tree-optimization/42046] missed optimization (a?b|1:b&~1) where b is a load from memory

2016-03-22 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=42046 Andrew Pinski changed: What|Removed |Added Summary|missed optimization |missed optimization |

[Bug ipa/70366] [6 Regression] chromium fails to build with LTO due to segfault in ipa-inline-transform.c:inline_call

2016-03-22 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70366 Andrew Pinski changed: What|Removed |Added Keywords||ice-on-valid-code Target Milestone|---

[Bug ipa/70366] New: chromium fails to build with LTO due to segfault in ipa-inline-transform.c:inline_call

2016-03-22 Thread prathamesh3492 at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70366 Bug ID: 70366 Summary: chromium fails to build with LTO due to segfault in ipa-inline-transform.c:inline_call Product: gcc Version: 6.0 Status: UNCONFIRMED Seve

[Bug libgomp/69414] [OpenACC] "!$acc update self" does not provide expected result

2016-03-22 Thread dc-fukuoka at sgi dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69414 --- Comment #2 from Daichi Fukuoka --- Hi, I confirmed that the patch had been applied into gomp-4_0-branch. Thank you very much for fixing the issue. Regards, Daichi Fukuoka

[Bug c++/70344] [6 Regression] ICE on valid code at -O1 and above on x86_64-linux-gnu in adjust_temp_type, at cp/constexpr.c:1078

2016-03-22 Thread ppalka at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70344 --- Comment #3 from Patrick Palka --- Problem ultimately seems to be that we're calling cp_fold_function on fn() before we call cp_genericize on it which is responsible for fixing up fn()'s parameter 'v' which is passed by invisible reference. T

[Bug c++/70344] [6 Regression] ICE on valid code at -O1 and above on x86_64-linux-gnu in adjust_temp_type, at cp/constexpr.c:1078

2016-03-22 Thread ppalka at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70344 Patrick Palka changed: What|Removed |Added CC||ppalka at gcc dot gnu.org --- Comment #2

[Bug libstdc++/70360] --enable-vtable-verify

2016-03-22 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70360 --- Comment #4 from Jonathan Wakely --- (In reply to psturm from comment #3) > I understand the test suite cannot contemplate every single combination of > configure options. However, I would suggest that certain combinations might > be more comm

[Bug libstdc++/70360] --enable-vtable-verify

2016-03-22 Thread psturm at computervoice dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70360 --- Comment #3 from psturm at computervoice dot com --- Created attachment 38064 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=38064&action=edit -default-pie -enable-vtv I understand the test suite cannot contemplate every single combinati

[Bug middle-end/70319] [6 Regression] FAIL: gcc.dg/sso/q2.c -O1 -fno-inline execution test

2016-03-22 Thread danglin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70319 --- Comment #7 from John David Anglin --- Comment #1 was incorrect about the problem starting in r233398. It was my bswap pattern addition in r233414 that introduced the problem. On the other hand, I looked at the bswapdi operation in gdb and i

[Bug c++/70353] [5/6 regression] ICE on __PRETTY_FUNCTION__ in a constexpr function

2016-03-22 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70353 --- Comment #7 from Martin Sebor --- I haven't had time to debug it beyond observing in the debugger that remap_decls() defined in tree-inline.c calls add_local_decl() with the first argument of null. The argument is cfun (function*). Both __fu

[Bug target/69846] empty struct value fails to pass properly

2016-03-22 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69846 --- Comment #2 from Jonathan Wakely --- In C++11 dummy is a POD, and passing non-PODs through varargs is conditionally-supported anyway (and G++ supports it).

[Bug target/64971] [5/6 Regression] gcc.c-torture/compile/pr37433.c ICEs with -mabi=ilp32

2016-03-22 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64971 Andrew Pinski changed: What|Removed |Added Target Milestone|--- |6.0 Summary|[5 Regression]

[Bug target/64971] [5 Regression] gcc.c-torture/compile/pr37433.c ICEs with -mabi=ilp32

2016-03-22 Thread pinskia at gcc dot gnu.org
te.^M Please include the complete backtrace with any bug report.^M See <http://gcc.gnu.org/bugs.html> for instructions.^M compiler exited with status 1 apinski@arm64:~/src/ilp32/gcc/objdir-ilp32/gcc$ ./xgcc --version xgcc (GCC) 6.0.0 20160322 (experimental) Copyright (C) 2016 Free Software Fou

[Bug rtl-optimization/67396] [4.9/5/6 regression] Performance regression compiling variadic function with many arguments in RTL DSE

2016-03-22 Thread ebotcazou at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67396 Eric Botcazou changed: What|Removed |Added Status|ASSIGNED|NEW Assignee|ebotcazou at gcc

[Bug middle-end/70319] [6 Regression] FAIL: gcc.dg/sso/q2.c -O1 -fno-inline execution test

2016-03-22 Thread ebotcazou at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70319 Eric Botcazou changed: What|Removed |Added Status|WAITING |ASSIGNED Assignee|unassigned a

[Bug target/66358] [5/6 Regression] [SH] ICE: in extract_constrain_insn, at recog.c:2232

2016-03-22 Thread dcb314 at hotmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66358 --- Comment #19 from David Binderman --- (In reply to David Binderman from comment #17) > I had a go at cross compiling Linux kernel for sh, and got something similar > with gcc 5.1.1 dated 20150618 With recent gcc trunk on x86_64, I get $ ~/gc

[Bug target/70232] [6 regression] excessive stack usage with -O2

2016-03-22 Thread law at redhat dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70232 Jeffrey A. Law changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug target/70232] [6 regression] excessive stack usage with -O2

2016-03-22 Thread law at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70232 --- Comment #17 from Jeffrey A. Law --- Author: law Date: Tue Mar 22 21:32:34 2016 New Revision: 234409 URL: https://gcc.gnu.org/viewcvs?rev=234409&root=gcc&view=rev Log: PR target/70232 tree-ssa-threadbackward.c (fsm_fin

[Bug libgcc/70363] PowerPC __float128 to long double doesn't link if built with an assember without ISA 3.0 support

2016-03-22 Thread meissner at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70363 --- Comment #2 from Michael Meissner --- Author: meissner Date: Tue Mar 22 21:05:43 2016 New Revision: 234408 URL: https://gcc.gnu.org/viewcvs?rev=234408&root=gcc&view=rev Log: 2016-03-22 Michael Meissner PR libgcc/70363 * co

[Bug c++/68469] warn_unused_result attribute ignored for templates return templates

2016-03-22 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68469 --- Comment #1 from Andrew Pinski --- I suspect it is really a dup of bug 66177.

[Bug c++/66177] warn_unused_result doesn't work for non-PODs

2016-03-22 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66177 Andrew Pinski changed: What|Removed |Added CC||jpetri at izotope dot com --- Comment #2

[Bug c++/70365] warn_unused_result doesn't warn when the result is a class with a destructor

2016-03-22 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70365 Andrew Pinski changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug c++/70365] New: warn_unused_result doesn't warn when the result is a class with a destructor

2016-03-22 Thread jpetri at izotope dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70365 Bug ID: 70365 Summary: warn_unused_result doesn't warn when the result is a class with a destructor Product: gcc Version: 5.2.1 Status: UNCONFIRMED Severity: no

[Bug c++/70332] [5/6 Regression] ICE on x86_64-linux-gnu in tsubst_copy, at cp/pt.c:13887

2016-03-22 Thread ppalka at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70332 Patrick Palka changed: What|Removed |Added Status|NEW |ASSIGNED CC|

[Bug c++/70353] [5/6 regression] ICE on __PRETTY_FUNCTION__ in a constexpr function

2016-03-22 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70353 Martin Sebor changed: What|Removed |Added Summary|static_assert + assert +|[5/6 regression] ICE on

[Bug c++/70353] static_assert + assert + c++14 crashes GCC

2016-03-22 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70353 Martin Sebor changed: What|Removed |Added CC||msebor at gcc dot gnu.org Blo

[Bug libgcc/70363] PowerPC __float128 to long double doesn't link if built with an assember without ISA 3.0 support

2016-03-22 Thread meissner at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70363 --- Comment #1 from Michael Meissner --- Created attachment 38063 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=38063&action=edit Proposed patch to fix the problem

[Bug testsuite/70364] New: gcc.target/i386/cleanup-[12].c don't align stack properly

2016-03-22 Thread hjl.tools at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70364 Bug ID: 70364 Summary: gcc.target/i386/cleanup-[12].c don't align stack properly Product: gcc Version: 6.0 Status: UNCONFIRMED Severity: normal Priori

[Bug c++/70353] static_assert + assert + c++14 crashes GCC

2016-03-22 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70353 --- Comment #4 from Marek Polacek --- But we want to avoid the #include .

[Bug libgcc/70363] PowerPC __float128 to long double doesn't link if built with an assember without ISA 3.0 support

2016-03-22 Thread meissner at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70363 Michael Meissner changed: What|Removed |Added Status|UNCONFIRMED |ASSIGNED Last reconfirmed|

[Bug c++/70353] static_assert + assert + c++14 crashes GCC

2016-03-22 Thread mrlika at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70353 --- Comment #3 from Andriy Lysnevych --- static_assert is not required. This code also crashes: #include constexpr int ce(int r) { assert(r == 3); return r; } const auto c = ce(3); Problem is in assert called from constexpr function.

[Bug libgcc/70363] New: PowerPC __float128 to long double doesn't link if built with an assember without ISA 3.0 support

2016-03-22 Thread meissner at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70363 Bug ID: 70363 Summary: PowerPC __float128 to long double doesn't link if built with an assember without ISA 3.0 support Product: gcc Version: 6.0 Status: UNCONFIRMED

[Bug target/70355] [5/6 Regression] ICE: in simplify_subreg_concatn, at lower-subreg.c:617 with -funroll-loops -mavx512f

2016-03-22 Thread rth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70355 Richard Henderson changed: What|Removed |Added Status|NEW |ASSIGNED CC|

[Bug target/70302] [6 Regression] crash on valid code at -O2 and -O3 in 32-bit mode on x86_64-linux-gnu (in convert_op, at config/i386/i386.c:3414)

2016-03-22 Thread law at redhat dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70302 Jeffrey A. Law changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug target/70302] [6 Regression] crash on valid code at -O2 and -O3 in 32-bit mode on x86_64-linux-gnu (in convert_op, at config/i386/i386.c:3414)

2016-03-22 Thread law at redhat dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70302 Jeffrey A. Law changed: What|Removed |Added CC||law at redhat dot com --- Comment #4 fr

[Bug target/70302] [6 Regression] crash on valid code at -O2 and -O3 in 32-bit mode on x86_64-linux-gnu (in convert_op, at config/i386/i386.c:3414)

2016-03-22 Thread law at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70302 --- Comment #3 from Jeffrey A. Law --- Author: law Date: Tue Mar 22 19:00:14 2016 New Revision: 234406 URL: https://gcc.gnu.org/viewcvs?rev=234406&root=gcc&view=rev Log: 2016-03-22 Ilya Enkovich PR target/70302 * config/i386/

[Bug target/70232] [6 regression] excessive stack usage with -O2

2016-03-22 Thread law at redhat dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70232 --- Comment #16 from Jeffrey A. Law --- So for thread paths noted in c#15 we have the following pieces of data 1. 69 statements to copy 2. 7 blocks to copy 3. Threads through latch, but does not create an irreducible loop 4. Eliminates a simp

[Bug target/70355] [5/6 Regression] ICE: in simplify_subreg_concatn, at lower-subreg.c:617 with -funroll-loops -mavx512f

2016-03-22 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70355 Jakub Jelinek changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug middle-end/70319] [6 Regression] FAIL: gcc.dg/sso/q2.c -O1 -fno-inline execution test

2016-03-22 Thread dave.anglin at bell dot net
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70319 --- Comment #4 from dave.anglin at bell dot net --- On 2016-03-21 4:45 PM, ebotcazou at gcc dot gnu.org wrote: > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70319 > > --- Comment #2 from Eric Botcazou --- > Unfortunately I can reproduce neither

[Bug middle-end/70319] [6 Regression] FAIL: gcc.dg/sso/q2.c -O1 -fno-inline execution test

2016-03-22 Thread dave.anglin at bell dot net
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70319 --- Comment #5 from dave.anglin at bell dot net --- Created attachment 38061 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=38061&action=edit q2.c.290r.final

[Bug target/70362] New: Segmentation fault compiling scalar-by-value-4_x.c for ARM arch < 4

2016-03-22 Thread jmargetts at ocz dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70362 Bug ID: 70362 Summary: Segmentation fault compiling scalar-by-value-4_x.c for ARM arch < 4 Product: gcc Version: 4.9.0 Status: UNCONFIRMED Severity: normal

[Bug target/70356] gcc.target/i386/avx-vextractf128-256-5.c FAILs

2016-03-22 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70356 --- Comment #2 from Jakub Jelinek --- Seems this test is the only one in gcc.target/i386 that has dg-require-effective-target above dg-do. Can you please try: --- gcc/testsuite/gcc.target/i386/avx-vextractf128-256-5.c 2016-01-28 22:02:17.029

[Bug target/70356] gcc.target/i386/avx-vextractf128-256-5.c FAILs

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

[Bug libstdc++/68210] nothrow operator fails to call default new

2016-03-22 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68210 --- Comment #2 from Jonathan Wakely --- The dup PR 65290 pointed out the requirements were changed by http://cplusplus.github.io/LWG/lwg-defects.html#206 -- we still implement the C++03 rules. We should fix this. However, the C++11 requirement m

[Bug libstdc++/68210] nothrow operator fails to call default new

2016-03-22 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68210 Jonathan Wakely changed: What|Removed |Added CC||kariya_mitsuru at hotmail dot com ---

[Bug libstdc++/65290] [C++11] operator new(std::size_t, const std::nothrow_t&) should call operator new(std::size_t)

2016-03-22 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65290 Jonathan Wakely changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug middle-end/69845] [4.9/5/6 Regression] Expression getting incorrectly optimized after being rewritten by compiler

2016-03-22 Thread rth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69845 --- Comment #7 from Richard Henderson --- Proposed patch https://gcc.gnu.org/ml/gcc-patches/2016-03/msg01255.html

[Bug c++/70361] Obviously false code in if not detected

2016-03-22 Thread ppalka at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70361 Patrick Palka changed: What|Removed |Added CC||ppalka at gcc dot gnu.org --- Comment #2

[Bug target/70232] [6 regression] excessive stack usage with -O2

2016-03-22 Thread law at redhat dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70232 --- Comment #15 from Jeffrey A. Law --- So this is definitely related to the FSM threader not being able to share a single jump threading path. Here's an example: j.c.110t.dom2: Registering FSM jump thread: (23, 25) incoming edge; (25, 28) (

[Bug c/69993] Misleading wording for -Wmisleading-indentation

2016-03-22 Thread dmalcolm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69993 David Malcolm changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug c++/70323] [6 regression] missing error on integer overflow in constexpr function result converted to bool

2016-03-22 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70323 --- Comment #7 from Jakub Jelinek --- (In reply to Martin Sebor from comment #6) > I see the problem: It's -Wall that suppresses the error. Yeah, seems with -Wall ctx->quiet is true (probably desirable, for some kind of warning we don't want to

[Bug c++/70323] [6 regression] missing error on integer overflow in constexpr function result converted to bool

2016-03-22 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70323 --- Comment #6 from Martin Sebor --- I see the problem: It's -Wall that suppresses the error.

[Bug libstdc++/57498] rethrow_exception causes segfault when another exception is active and catch present

2016-03-22 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=57498 Jonathan Wakely changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Component|c++

[Bug libstdc++/60612] Throwing exception, catching and rethrowing (std::exception_ptr) in destructor leads to segfault

2016-03-22 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=60612 Jonathan Wakely changed: What|Removed |Added CC||f.heckenb...@fh-soft.de --- Comment #9

[Bug rtl-optimization/68749] FAIL: gcc.dg/ifcvt-4.c scan-rtl-dump ce1 "2 true changes made"

2016-03-22 Thread jgreenhalgh at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68749 --- Comment #4 from James Greenhalgh --- Hi, sorry I missed this. I need to write a better filter for bugs I'm CCed on, I'll work on that. I'm hitting the limits of what I can guess from the Sparc machine files. I don't understand why we get an

[Bug c++/57498] rethrow_exception causes segfault when another exception is active and catch present

2016-03-22 Thread curlypaul924 at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=57498 Paul Brannan changed: What|Removed |Added CC||curlypaul924 at gmail dot com --- Comment

[Bug c++/70323] [6 regression] missing error on integer overflow in constexpr function result converted to bool

2016-03-22 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70323 --- Comment #5 from Martin Sebor --- (In reply to Jakub Jelinek from comment #3) > Created attachment 38054 [details] Hmm. Something else must be going on. I've applied your patch on powerpc64le but it hasn't changed anything.

[Bug tree-optimization/70354] [6 Regression] Wrong code with -O3 -march=broadwell and -march=skylake-avx512.

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

[Bug c++/70323] [6 regression] missing error on integer overflow in constexpr function result converted to bool

2016-03-22 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70323 --- Comment #4 from Martin Sebor --- That's odd. I do have local changes in my tree but I verified it on three other machines. I've retested with today's pristine top of trunk on powerpc64le, still with no errors.

[Bug target/70359] [6 Regression] Code size increase for ARM compared to gcc-5.3.0

2016-03-22 Thread law at redhat dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70359 Jeffrey A. Law changed: What|Removed |Added CC||law at redhat dot com --- Comment #3 fr

[Bug c++/70361] Obviously false code in if not detected

2016-03-22 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70361 --- Comment #1 from Andrew Pinski --- -Wunreachable-code does nothing now and has not for a few years now. Support for it was removed as it provided too many false positives.

[Bug c++/70361] New: Obviously false code in if not detected

2016-03-22 Thread dcb314 at hotmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70361 Bug ID: 70361 Summary: Obviously false code in if not detected Product: gcc Version: 6.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++

[Bug target/70359] [6 Regression] Code size increase for ARM compared to gcc-5.3.0

2016-03-22 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70359 --- Comment #2 from Andrew Pinski --- (In reply to Richard Biener from comment #1) > My #1 bet would be FSM threading. I doubt it as if I read the asm differences correctly, GCC 6 just no longer does store with post increment and that causes reg

[Bug libstdc++/70360] --enable-vtable-verify

2016-03-22 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70360 --- Comment #2 from Jonathan Wakely --- ... and the testsuite doesn't know how to test the ABI for every configuration that alters the ABI.

[Bug libstdc++/70360] --enable-vtable-verify

2016-03-22 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70360 --- Comment #1 from Jonathan Wakely --- That's unsurprising, I'm pretty sure the vtable verification changes the ABI.

[Bug libstdc++/70360] New: --enable-vtable-verify

2016-03-22 Thread psturm at computervoice dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70360 Bug ID: 70360 Summary: --enable-vtable-verify Product: gcc Version: 6.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: libstdc++ Assignee

[Bug target/70321] [6 Regression] STV generates less optimized code

2016-03-22 Thread hjl.tools at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70321 --- Comment #8 from H.J. Lu --- (In reply to Ilya Enkovich from comment #7) > (In reply to Jakub Jelinek from comment #6) > > Why couldn't STV just "vectorize" AND and NOT patterns and let the combiner > > combine that in the vectorized code? >

[Bug c++/70343] internal compiler error: in tsubst_copy, wrong code with lambda in template fn

2016-03-22 Thread tower120 at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70343 --- Comment #2 from tower120 --- The workaround for all versions is use lambda that doesn't CAPTURE this, e.g. http://coliru.stacked-crooked.com/a/e223ddb156d817c1 struct Empty{}; template struct Data{ int properties_parcel4[10]; Em

[Bug tree-optimization/70251] Wrong code with -O3 -march=skylake-avx512.

2016-03-22 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70251 --- Comment #13 from Richard Biener --- Author: rguenth Date: Tue Mar 22 14:38:42 2016 New Revision: 234405 URL: https://gcc.gnu.org/viewcvs?rev=234405&root=gcc&view=rev Log: 2016-03-22 Richard Biener PR middle-end/70251 * ge

[Bug c/69993] Misleading wording for -Wmisleading-indentation

2016-03-22 Thread dmalcolm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69993 --- Comment #5 from David Malcolm --- Author: dmalcolm Date: Tue Mar 22 14:20:49 2016 New Revision: 234403 URL: https://gcc.gnu.org/viewcvs?rev=234403&root=gcc&view=rev Log: PR c/69993: improvements to wording of -Wmisleading-indentation gcc/c-

[Bug target/70359] [6 Regression] Code size increase for ARM compared to gcc-5.3.0

2016-03-22 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70359 Richard Biener changed: What|Removed |Added Keywords||missed-optimization CC|

[Bug ipa/70348] [6 Regression][openacc] ICE in visit_ref_for_mod_analysis, at ipa-prop.c

2016-03-22 Thread jamborm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70348 --- Comment #2 from Martin Jambor --- The problem is that there is a PARM_DECL in the IL of the function which is not listed among DECL_ARGUMENTS of the function: The function we are in is: (gdb) call debug_generic_expr(cfun->decl) foo._omp_fn.

[Bug target/70354] [6 Regression] Wrong code with -O3 -march=broadwell and -march=skylake-avx512.

2016-03-22 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70354 Marek Polacek changed: What|Removed |Added CC||mpolacek at gcc dot gnu.org --- Comment

[Bug target/70321] [6 Regression] STV generates less optimized code

2016-03-22 Thread ienkovich at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70321 --- Comment #7 from Ilya Enkovich --- (In reply to Jakub Jelinek from comment #6) > Why couldn't STV just "vectorize" AND and NOT patterns and let the combiner > combine that in the vectorized code? I think the only thing we miss for that is cor

[Bug c++/70340] Invalid constexpr template function causes internal compiler error (memory exhaustion)

2016-03-22 Thread gccBugs at haatschii dot de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70340 --- Comment #3 from gccBugs at haatschii dot de --- (In reply to Richard Biener from comment #2) Not sure whether I understood you correctly, but I don't think that this is purely a problem with the complexity/recursion depth. For example the sam

[Bug target/70354] [6 Regression] Wrong code with -O3 -march=broadwell and -march=skylake-avx512.

2016-03-22 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70354 --- Comment #9 from Jakub Jelinek --- Simpler testcase: unsigned long long a[64], b[64]; __attribute__((noinline, noclone)) void foo (void) { int i; for (i = 0; i < 64; i++) a[i] <<= (b[i] - 0x12ULL); } int main () { int i;

[Bug rtl-optimization/68749] FAIL: gcc.dg/ifcvt-4.c scan-rtl-dump ce1 "2 true changes made"

2016-03-22 Thread ro at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68749 --- Comment #3 from Rainer Orth --- James, could you please have a look? AFAICS, none of the issues mentioned in PR testsuite/68232 apply to the sparcv9 case: sparc/sparc.h (BRANCH_COST) is > 0. Thanks. Rainer

[Bug target/70359] New: Code size increase for ARM compared to gcc-5.3.0

2016-03-22 Thread fredrik.hederstie...@securitas-direct.com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70359 Bug ID: 70359 Summary: Code size increase for ARM compared to gcc-5.3.0 Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal Priority: P3 Component

[Bug libfortran/69788] FAIL: gfortran.dg/derived_constructor_comps_6.f90 -O0 execution test

2016-03-22 Thread ro at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69788 Rainer Orth changed: What|Removed |Added Target|hppa2.0w-hp-hpux11.11, |hppa2.0w-hp-hpux11.11, |

[Bug target/70162] [RX] const_int printing causes wrong code on 32 bit host

2016-03-22 Thread olegendo at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70162 --- Comment #11 from Oleg Endo --- (In reply to Nick Clifton from comment #10) Thanks for the clarification, Nick.

[Bug target/70321] [6 Regression] STV generates less optimized code

2016-03-22 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70321 --- Comment #6 from Jakub Jelinek --- (In reply to Ilya Enkovich from comment #5) > (In reply to Jakub Jelinek from comment #4) > > For stage1, I wonder if it can't move earlier, say before the combiner. If > > it could, then we could split the

[Bug target/70354] [6 Regression] Wrong code with -O3 -march=broadwell and -march=skylake-avx512.

2016-03-22 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70354 --- Comment #8 from Jakub Jelinek --- About the shifting of negative value, wonder if it isn't actually UBSAN bug, Marek, does C really say that -1 << 0 is invalid, or just -1 << 1? But, it is trivial to change the testcase so that it is not que

[Bug target/70321] [6 Regression] STV generates less optimized code

2016-03-22 Thread ienkovich at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70321 Ilya Enkovich changed: What|Removed |Added CC||ienkovich at gcc dot gnu.org --- Comment

[Bug libstdc++/70358] Several 26_numerics/random/binomial_distribution/operators etc. tests FAIL

2016-03-22 Thread ro at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70358 Rainer Orth changed: What|Removed |Added Target Milestone|--- |5.4

[Bug libstdc++/70358] New: Several 26_numerics/random/binomial_distribution/operators etc. tests FAIL

2016-03-22 Thread ro at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70358 Bug ID: 70358 Summary: Several 26_numerics/random/binomial_distribution/operators etc. tests FAIL Product: gcc Version: 5.4.0 Status: UNCONFIRMED

[Bug target/70354] [6 Regression] Wrong code with -O3 -march=broadwell and -march=skylake-avx512.

2016-03-22 Thread ienkovich at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70354 Ilya Enkovich changed: What|Removed |Added CC||ienkovich at gcc dot gnu.org --- Comment

[Bug target/70333] [5/6 Regression] Test miscompiled with -O0.

2016-03-22 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70333 --- Comment #8 from Richard Biener --- Author: rguenth Date: Tue Mar 22 13:23:00 2016 New Revision: 234401 URL: https://gcc.gnu.org/viewcvs?rev=234401&root=gcc&view=rev Log: 2016-03-22 Richard Biener PR middle-end/70333 * fol

[Bug target/70333] [5 Regression] Test miscompiled with -O0.

2016-03-22 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70333 Richard Biener changed: What|Removed |Added Known to work||6.0 Summary|[5/6 Regression]

[Bug target/70354] [6 Regression] Wrong code with -O3 -march=broadwell and -march=skylake-avx512.

2016-03-22 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70354 Jakub Jelinek changed: What|Removed |Added CC||jakub at gcc dot gnu.org --- Comment #6

[Bug tree-optimization/70357] New: [openacc][gomp4] ICE on reduction (+:sum) private (sum)

2016-03-22 Thread vries at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70357 Bug ID: 70357 Summary: [openacc][gomp4] ICE on reduction (+:sum) private (sum) Product: gcc Version: 6.0 Status: UNCONFIRMED Severity: normal Priority

[Bug c++/70353] static_assert + assert + c++14 crashes GCC

2016-03-22 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70353 Marek Polacek changed: What|Removed |Added Target Milestone|--- |5.4 --- Comment #2 from Marek Polacek -

[Bug target/70356] New: gcc.target/i386/avx-vextractf128-256-5.c FAILs

2016-03-22 Thread ro at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70356 Bug ID: 70356 Summary: gcc.target/i386/avx-vextractf128-256-5.c FAILs Product: gcc Version: 5.4.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: ta

[Bug c++/70353] static_assert + assert + c++14 crashes GCC

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

[Bug target/70321] [6 Regression] STV generates less optimized code

2016-03-22 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70321 Jakub Jelinek changed: What|Removed |Added CC||jakub at gcc dot gnu.org --- Comment #4

[Bug target/70354] [6 Regression] Wrong code with -O3 -march=broadwell and -march=skylake-avx512.

2016-03-22 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70354 Richard Biener changed: What|Removed |Added Status|ASSIGNED|NEW Assignee|rguenth at gcc d

[Bug target/70290] -mavx512vl breaks parsing of C++ vector condition

2016-03-22 Thread ienkovich at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70290 --- Comment #4 from Ilya Enkovich --- Author: ienkovich Date: Tue Mar 22 12:31:12 2016 New Revision: 234399 URL: https://gcc.gnu.org/viewcvs?rev=234399&root=gcc&view=rev Log: gcc/cp/ PR target/70290 * call.c (build_conditional_e

[Bug target/70290] -mavx512vl breaks parsing of C++ vector condition

2016-03-22 Thread ienkovich at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70290 Ilya Enkovich changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

  1   2   >