[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++/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 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 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 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++/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 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 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/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 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 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 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 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/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/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 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/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 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 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] 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 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 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 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 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 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++/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++/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++/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++/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++/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 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 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 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/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 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 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 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 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/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 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 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 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 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 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 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 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 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 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 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 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 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/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

<    1   2