[Bug target/91472] [8/9/10 Regression] gmp testsuite segfaults with gcc-8 and gcc-9, works fine with gcc-7

2019-08-19 Thread ebotcazou at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91472 --- Comment #6 from Eric Botcazou --- I'll have a look.

[Bug tree-optimization/91482] __builtin_assume_aligned should not break write combining

2019-08-19 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91482 Richard Biener changed: What|Removed |Added Keywords||missed-optimization

[Bug libstdc++/91488] [9/10 Regression] char_traits::length causes "inlining failed in call to always_inline" error with -fgnu-tm -O2 -std=c++17

2019-08-19 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91488 Richard Biener changed: What|Removed |Added Target Milestone|--- |9.4

[Bug target/91472] [8/9/10 Regression] gmp testsuite segfaults with gcc-8 and gcc-9, works fine with gcc-7

2019-08-19 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91472 Richard Biener changed: What|Removed |Added Keywords||wrong-code Target Milestone|---

[Bug c++/91476] [9/10 Regression] const reference variables sharing the same name in two anonymous namespaces cause a multiple definition error

2019-08-19 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91476 Richard Biener changed: What|Removed |Added Priority|P3 |P2 Status|UNCONFIRMED

[Bug c++/91477] error messages do not show column numbers for large source files

2019-08-19 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91477 --- Comment #1 from Richard Biener --- This is due to limitations in the encoding space for locations which causes us to drop column numbers at some point.

[Bug lto/91478] FAIL: gcc.dg/debug/pr41893-1.c -gdwarf-2 -g1 (test for excess errors)

2019-08-19 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91478 Richard Biener changed: What|Removed |Added Keywords||lto, needs-bisection

[Bug target/91481] POWER9 "DARN" RNG intrinsic produces repeated output

2019-08-19 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91481 Richard Biener changed: What|Removed |Added Keywords||wrong-code Target|

[Bug tree-optimization/91403] GCC fails with ICE.

2019-08-19 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91403 --- Comment #5 from Richard Biener --- Author: rguenth Date: Mon Aug 19 14:45:38 2019 New Revision: 274672 URL: https://gcc.gnu.org/viewcvs?rev=274672=gcc=rev Log: 2019-08-19 Richard Biener PR tree-optimization/91403 *

[Bug target/91386] [9 regression] open-iscsi iscsiadm miscompiled by LTO on aarch64

2019-08-19 Thread rearnsha at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91386 Richard Earnshaw changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug fortran/91426] Different colors for errors with multiple locations

2019-08-19 Thread dmalcolm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91426 --- Comment #4 from David Malcolm --- (In reply to Thomas Koenig from comment #2) > Having had occasion to look at a few hundred multi-line error messages > today, I have now changed my mind on what I would consider best :-) > > I now think

[Bug rtl-optimization/91154] [10 Regression] 456.hmmer regression on Haswell caused by r272922

2019-08-19 Thread hjl.tools at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91154 --- Comment #31 from H.J. Lu --- (In reply to Uroš Bizjak from comment #28) > (In reply to Richard Biener from comment #26) > > This is the powers of simplify_subreg I guess. We're lucky it doesn't do > > this to arbitrary arithmetic. > > > >

[Bug libstdc++/91486] future::wait_for and shared_timed_mutex::wait_for do not work properly with float duration

2019-08-19 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91486 Jonathan Wakely changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug c++/91484] Error message: std::is_constructible with incomplete types.

2019-08-19 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91484 Jonathan Wakely changed: What|Removed |Added Status|UNCONFIRMED |WAITING Last reconfirmed|

[Bug fortran/91426] Different colors for errors with multiple locations

2019-08-19 Thread dmalcolm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91426 --- Comment #3 from David Malcolm --- Created attachment 46732 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=46732=edit Prototype patch to colorize the (1) and (2) in the example given

[Bug middle-end/91490] New: [9/10 Regression] bogus argument missing terminating nul warning on strlen of a flexible array member

2019-08-19 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91490 Bug ID: 91490 Summary: [9/10 Regression] bogus argument missing terminating nul warning on strlen of a flexible array member Product: gcc Version: 9.0 Status:

[Bug libstdc++/91067] [9/10 Regression] Clang compiler can't link executable if std::filesystem::directory_iterator is encountered

2019-08-19 Thread ostash at ostash dot kiev.ua
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91067 --- Comment #17 from Viktor Ostashevskyi --- Ok, got following today with GCC 9.2 with "-O2 -fno-inline -flto=20": ld.bfd: /tmp/tests.oKru4z.ltrans32.ltrans.o: in function `std::__shared_ptr::operator=(std::__shared_ptr&&)':

[Bug tree-optimization/91491] New: [9 Regression] glib2.0 build not working when built with -O2 on x86_64-linux-gnu

2019-08-19 Thread doko at debian dot org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91491 Bug ID: 91491 Summary: [9 Regression] glib2.0 build not working when built with -O2 on x86_64-linux-gnu Product: gcc Version: 9.2.0 Status: UNCONFIRMED

[Bug target/91386] [9 regression] open-iscsi iscsiadm miscompiled by LTO on aarch64

2019-08-19 Thread rearnsha at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91386 --- Comment #23 from Richard Earnshaw --- Author: rearnsha Date: Mon Aug 19 16:11:30 2019 New Revision: 274675 URL: https://gcc.gnu.org/viewcvs?rev=274675=gcc=rev Log: [aarch64] PR target/91386 Use copy_rtx to avoid modifying original insns in

[Bug c++/79817] GCC does not recognize [[deprecated]] attribute for namespace

2019-08-19 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79817 Marek Polacek changed: What|Removed |Added CC||mpolacek at gcc dot gnu.org --- Comment

[Bug ada/91492] New: [10 regression] Ada documentation issue starting with r274637

2019-08-19 Thread seurer at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91492 Bug ID: 91492 Summary: [10 regression] Ada documentation issue starting with r274637 Product: gcc Version: 10.0 Status: UNCONFIRMED Severity: normal

[Bug ipa/89330] IPA inliner touches released cgraph_edges

2019-08-19 Thread jamborm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89330 Martin Jambor changed: What|Removed |Added Status|REOPENED|RESOLVED Resolution|---

[Bug tree-optimization/37242] missed FRE opportunity because of signedness of addition

2019-08-19 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=37242 --- Comment #26 from Richard Biener --- /* Match arithmetic done in a different type where we can easily substitute the result from some earlier sign-changed or widened operation. */ if (INTEGRAL_TYPE_P (type)

[Bug ada/91492] [10 regression] Ada documentation issue starting with r274637

2019-08-19 Thread hp at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91492 Hans-Peter Nilsson changed: What|Removed |Added CC||hp at gcc dot gnu.org --- Comment

[Bug c++/79817] GCC does not recognize [[deprecated]] attribute for namespace

2019-08-19 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79817 Marek Polacek changed: What|Removed |Added Status|NEW |ASSIGNED Assignee|unassigned

[Bug rtl-optimization/91347] [7/8/9/10 Regression] pointer_string in linux vsprintf.c is miscompiled when sibling calls are optimized

2019-08-19 Thread dave.anglin at bell dot net
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91347 --- Comment #18 from dave.anglin at bell dot net --- On 2019-08-19 4:36 a.m., ebotcazou at gcc dot gnu.org wrote: > Created attachment 46728 > --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=46728=edit > Execution test Works on hppa without

[Bug lto/91478] FAIL: gcc.dg/debug/pr41893-1.c -gdwarf-2 -g1 (test for excess errors)

2019-08-19 Thread dave.anglin at bell dot net
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91478 --- Comment #3 from dave.anglin at bell dot net --- On 2019-08-19 2:51 a.m., rguenth at gcc dot gnu.org wrote: > Is this a new failure, thus can it be bisected somehow? The failure was introduced in r273662:

[Bug middle-end/91433] Performance Regression when upgrading from 8.3.0 to 9.0

2019-08-19 Thread mc_george123 at hotmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91433 --- Comment #2 from George Fan --- The compiler option for botan is "-fstack-protector -m64 -pthread -lbotan-2 -ldl -lrt", which the compiler option for crafty is "-pthread -lstdc++ -fprofile-use -lm". While the sub-architecture is coffee lake.

[Bug libstdc++/91495] New: std::transform_reduce with unary op is implemented in the parallel case but not the basic case

2019-08-19 Thread a.boettcher at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91495 Bug ID: 91495 Summary: std::transform_reduce with unary op is implemented in the parallel case but not the basic case Product: gcc Version: 9.1.0 Status: UNCONFIRMED

[Bug driver/18206] -dynamic-linker option seems to be badly named and broken

2019-08-19 Thread egallager at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=18206 Eric Gallager changed: What|Removed |Added Component|target |driver --- Comment #4 from Eric

[Bug middle-end/89544] Argument marshalling incorrectly assumes stack slots are naturally aligned.

2019-08-19 Thread edlinger at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89544 --- Comment #8 from Bernd Edlinger --- Author: edlinger Date: Tue Aug 20 05:32:49 2019 New Revision: 274691 URL: https://gcc.gnu.org/viewcvs?rev=274691=gcc=rev Log: 2019-08-20 Bernd Edlinger PR middle-end/89544 * function.c

[Bug c/91494] New: Performance Regression when upgrading from 8.3.0 to 9.0

2019-08-19 Thread mc_george123 at hotmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91494 Bug ID: 91494 Summary: Performance Regression when upgrading from 8.3.0 to 9.0 Product: gcc Version: 9.0 Status: UNCONFIRMED Severity: normal

[Bug other/44210] Warning discoverability: generate parts of invoke.texi directly from .opt files to make it easier to find warning flag relationships

2019-08-19 Thread egallager at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=44210 Eric Gallager changed: What|Removed |Added Depends on||44209 Summary|Extended

[Bug c++/91493] New: g++ 9.2.1 crashes compiling clickhouse

2019-08-19 Thread rafaeldtinoco at ubuntu dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91493 Bug ID: 91493 Summary: g++ 9.2.1 crashes compiling clickhouse Product: gcc Version: 9.2.1 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++

[Bug rtl-optimization/91347] [7/8/9/10 Regression] pointer_string in linux vsprintf.c is miscompiled when sibling calls are optimized

2019-08-19 Thread ebotcazou at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91347 --- Comment #12 from Eric Botcazou --- > hppa-unknown-linux-gnu built successfully with change and there were no test > regressions: > https://gcc.gnu.org/ml/gcc-testresults/2019-08/msg01861.html > > Looks good to me. OK, thanks. Can you

[Bug ada/65696] ASAN reports global-buffer-overrun for local tagged types

2019-08-19 Thread pmderodat at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65696 --- Comment #3 from pmderodat at gcc dot gnu.org --- Author: pmderodat Date: Mon Aug 19 08:36:39 2019 New Revision: 274654 URL: https://gcc.gnu.org/viewcvs?rev=274654=gcc=rev Log: [Ada] Buffer reading overflow in dispatch table initialization

[Bug rtl-optimization/91347] [7/8/9/10 Regression] pointer_string in linux vsprintf.c is miscompiled when sibling calls are optimized

2019-08-19 Thread ebotcazou at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91347 --- Comment #13 from Eric Botcazou --- Created attachment 46728 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=46728=edit Execution test

[Bug tree-optimization/37242] missed FRE opportunity because of signedness of addition

2019-08-19 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=37242 Richard Biener changed: What|Removed |Added Status|NEW |ASSIGNED Assignee|unassigned

[Bug rtl-optimization/91347] [7/8/9/10 Regression] pointer_string in linux vsprintf.c is miscompiled when sibling calls are optimized

2019-08-19 Thread svens at stackframe dot org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91347 --- Comment #14 from Sven Schnelle --- I tested the patch with my (previously broken) kernel Build, and the issue seems to be fixed. Thanks!

[Bug tree-optimization/91403] GCC fails with ICE.

2019-08-19 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91403 --- Comment #4 from Richard Biener --- OK, so I have a patch to fix the recursion depth in SCEV analysis but then we hit the next one in SLSR, in my case because with -O0 there's no tailcall performed but even with -O2 we don't tailcall it. #8

[Bug rtl-optimization/91154] [10 Regression] 456.hmmer regression on Haswell caused by r272922

2019-08-19 Thread rguenther at suse dot de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91154 --- Comment #25 from rguenther at suse dot de --- On Sat, 17 Aug 2019, ubizjak at gmail dot com wrote: > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91154 > > --- Comment #24 from Uroš Bizjak --- > It looks that the patch introduced a

[Bug c/91489] New: misplaced stack pointer when __ms_hook_prologue__ attribute is used

2019-08-19 Thread gofmanp at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91489 Bug ID: 91489 Summary: misplaced stack pointer when __ms_hook_prologue__ attribute is used Product: gcc Version: 9.1.1 Status: UNCONFIRMED Severity: normal

[Bug rtl-optimization/91154] [10 Regression] 456.hmmer regression on Haswell caused by r272922

2019-08-19 Thread ubizjak at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91154 --- Comment #27 from Uroš Bizjak --- (In reply to rguent...@suse.de from comment #25) > On Sat, 17 Aug 2019, ubizjak at gmail dot com wrote: > > > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91154 > > > > --- Comment #24 from Uroš Bizjak ---

[Bug lto/91478] FAIL: gcc.dg/debug/pr41893-1.c -gdwarf-2 -g1 (test for excess errors)

2019-08-19 Thread dave.anglin at bell dot net
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91478 --- Comment #2 from dave.anglin at bell dot net --- On 2019-08-19 2:51 a.m., rguenth at gcc dot gnu.org wrote: > Is this a new failure, thus can it be bisected somehow? New.  I can say at this point that r273635 was okay.  There was a testsuite

[Bug rtl-optimization/91154] [10 Regression] 456.hmmer regression on Haswell caused by r272922

2019-08-19 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91154 --- Comment #30 from Richard Biener --- (In reply to Richard Biener from comment #29) > (In reply to Uroš Bizjak from comment #27) > > (In reply to rguent...@suse.de from comment #25) > > > and STV converting single-instruction 'chains': > > >

[Bug c++/91264] modifying const-qual object in constexpr context not detected

2019-08-19 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91264 --- Comment #5 from Marek Polacek --- Author: mpolacek Date: Mon Aug 19 13:59:13 2019 New Revision: 274671 URL: https://gcc.gnu.org/viewcvs?rev=274671=gcc=rev Log: PR c++/91264 - detect modifying const objects in constexpr. *

[Bug c++/91264] modifying const-qual object in constexpr context not detected

2019-08-19 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91264 Marek Polacek changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug rtl-optimization/91347] [7/8/9/10 Regression] pointer_string in linux vsprintf.c is miscompiled when sibling calls are optimized

2019-08-19 Thread ebotcazou at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91347 --- Comment #16 from Eric Botcazou --- > Yes.  It aborts with current gcc-9.2.1 and passes with patched gcc-10.  > -fno-inline is needed. Thanks. Let's drop the -fno-inline and put it in gcc.c-torture/execute.

[Bug rtl-optimization/91347] [7/8/9/10 Regression] pointer_string in linux vsprintf.c is miscompiled when sibling calls are optimized

2019-08-19 Thread ebotcazou at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91347 Eric Botcazou changed: What|Removed |Added Attachment #46728|0 |1 is obsolete|

[Bug rtl-optimization/91154] [10 Regression] 456.hmmer regression on Haswell caused by r272922

2019-08-19 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91154 --- Comment #26 from Richard Biener --- This is the powers of simplify_subreg I guess. We're lucky it doesn't do this to arbitrary arithmetic. So we need to really change all defs we introduce to vector modes instead of making our live easy

[Bug rtl-optimization/91347] [7/8/9/10 Regression] pointer_string in linux vsprintf.c is miscompiled when sibling calls are optimized

2019-08-19 Thread dave.anglin at bell dot net
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91347 --- Comment #15 from dave.anglin at bell dot net --- On 2019-08-19 4:35 a.m., ebotcazou at gcc dot gnu.org wrote: > OK, thanks. Can you check that the testcase to be attached is a valid > execution test for trunk when compiled with -O2

asking for __attribute__((aligned()) clarification

2019-08-19 Thread Markus Fröschle
All, this is my first post on these lists, so please bear with me. My question is about gcc's __attribute__((aligned()). Please consider the following code: #include typedef uint32_t uuint32_t __attribute__((aligned(1))); uint32_t getuuint32(uint8_t p[]) { return *(uuint32_t*)p; }

[Bug c++/85125] constant expression with const_cast UB does not emit error

2019-08-19 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85125 Marek Polacek changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug rtl-optimization/91154] [10 Regression] 456.hmmer regression on Haswell caused by r272922

2019-08-19 Thread ubizjak at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91154 --- Comment #28 from Uroš Bizjak --- (In reply to Richard Biener from comment #26) > This is the powers of simplify_subreg I guess. We're lucky it doesn't do > this to arbitrary arithmetic. > > So we need to really change all defs we introduce

[Bug rtl-optimization/91154] [10 Regression] 456.hmmer regression on Haswell caused by r272922

2019-08-19 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91154 --- Comment #29 from Richard Biener --- (In reply to Uroš Bizjak from comment #27) > (In reply to rguent...@suse.de from comment #25) > > and STV converting single-instruction 'chains': > > > > Collected chain #40... > > insns: 381 > >

[Bug libstdc++/91486] future::wait_for and shared_timed_mutex::wait_for do not work properly with float duration

2019-08-19 Thread john.salmon at deshaw dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91486 --- Comment #3 from John Salmon --- I grep'ed the latest devel source tree (git sha: afadff66) for occurrences of now\(\). The same bug appears several times in include/experimental/io_context and include/experimental/timer. The underlying