[Bug other/44209] [meta-bug] Some warnings are not linked to diagnostics options

2019-10-29 Thread egallager at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=44209 Bug 44209 depends on bug 92182, which changed state. Bug 92182 Summary: No way to silence ''A::TKind' is too small to hold all values of 'enum Kind'' https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92182 What|Removed

[Bug c++/92206] [10 Regression] ICE in strip_typedefs, at cp/tree.c:1682 since r277281

2019-10-29 Thread law at redhat dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92206 --- Comment #5 from Jeffrey A. Law --- Just to pile on here. It affects icecat as well.

[Bug sanitizer/92247] ‘__NR_open’ was not declared in this scope libsanitizer/sanitizer_common/sanitizer_linux compilation failed on ubuntu 18.04 WSL2

2019-10-29 Thread euloanty at live dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92247 --- Comment #5 from fdlbxtqi --- https://github.com/torvalds/linux/commit/a0673fdbcd42105261646cd4f3447455b5854a32 It looks like all these system calls are removed in unistd.h in Linux kernel. /* * All syscalls below here should go away

[Bug c++/92268] Constraint normalization substitutes parameter too early

2019-10-29 Thread andrew.n.sutton at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92268 Andrew Sutton changed: What|Removed |Added CC||andrew.n.sutton at gmail dot com --- Co

[Bug middle-end/92263] [10 Regression] ICE in commit_one_edge_insertion, at cfgrtl.c:2087 since r270758

2019-10-29 Thread wilson at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92263 --- Comment #3 from Jim Wilson --- I did a cross compiler build and check yesterday using up-to-date sources and did not see this failure. I've been testing regularly. I did my build on an x86_64 Ubuntu 16.04 machine with gcc-5.4 as the system

[Bug sanitizer/92247] ‘__NR_open’ was not declared in this scope libsanitizer/sanitizer_common/sanitizer_linux compilation failed on ubuntu 18.04 WSL2

2019-10-29 Thread euloanty at live dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92247 --- Comment #6 from fdlbxtqi --- I have examined the source code of the unistd.h in Microsoft WSL2. The same thing, these syscalls were removed as well. https://github.com/microsoft/WSL2-Linux-Kernel/blob/7fec2bd4a7fd7a952e3e5ea2202bef963aa4781d

[Bug sanitizer/92247] ‘__NR_open’ was not declared in this scope libsanitizer/sanitizer_common/sanitizer_linux compilation failed on ubuntu 18.04 WSL2

2019-10-29 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92247 Andrew Pinski changed: What|Removed |Added Target|x86_64-linux-gnu, windows |x86_64-linux-gnu |subs

[Bug sanitizer/92247] ‘__NR_open’ was not declared in this scope libsanitizer/sanitizer_common/sanitizer_linux compilation failed on ubuntu 18.04 WSL2

2019-10-29 Thread euloanty at live dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92247 --- Comment #8 from fdlbxtqi --- Line 211 #ifndef SANITIZER_USES_CANONICAL_LINUX_SYSCALLS # if defined(__aarch64__) && SANITIZER_LINUX # define SANITIZER_USES_CANONICAL_LINUX_SYSCALLS 1 # else # define SANITIZER_USES_CANONICAL_LINUX_SYSCALLS 0 #

[Bug preprocessor/82176] Feature request: replace __FILE__ with file's basename instead its full name

2019-10-29 Thread f.hollerer at gmx dot net
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82176 --- Comment #11 from f.hollerer at gmx dot net --- (In reply to jos...@codesourcery.com from comment #9) > On Tue, 29 Oct 2019, f.hollerer at gmx dot net wrote: > > > This would: > > > > - shorten the output of assert() > > - minimize the image

[Bug preprocessor/82176] Feature request: replace __FILE__ with file's basename instead its full name

2019-10-29 Thread f.hollerer at gmx dot net
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82176 --- Comment #12 from f.hollerer at gmx dot net --- (In reply to Gregory Fuchedzhy from comment #10) > (In reply to f.hollerer from comment #8) > > To my understanding assert() uses __FILE__ and __LINE__. I would like to > > have a command line opt

[Bug sanitizer/92247] ‘__NR_open’ was not declared in this scope libsanitizer/sanitizer_common/sanitizer_linux compilation failed on ubuntu 18.04 WSL2

2019-10-29 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92247 --- Comment #9 from Andrew Pinski --- Yes SANITIZER_USES_CANONICAL_LINUX_SYSCALLS should be defined as 1 by default. The comment in front of the define there is incorrect for newer kernels which force the legacy system calls not be to defined (t

[Bug target/87243] FSF GCC needs to do something special (like using xcrun) on darwin18 to find system headers in SDK

2019-10-29 Thread iains at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87243 --- Comment #13 from Iain Sandoe --- Author: iains Date: Tue Oct 29 19:52:20 2019 New Revision: 277582 URL: https://gcc.gnu.org/viewcvs?rev=277582&root=gcc&view=rev Log: [Darwin] Pick up SDKROOT as the sysroot fallback. For compatibility with x

[Bug middle-end/92263] [10 Regression] ICE in commit_one_edge_insertion, at cfgrtl.c:2087 since r270758

2019-10-29 Thread wilson at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92263 --- Comment #4 from Jim Wilson --- OK, I get it now. You are using non-standard optimization options with a testsuite testcase. I can reproduce when I use your compiler options. I will take a look.

[Bug c++/92270] New: Non-const ref treated as const-ref in the compiler.

2019-10-29 Thread jostaberry.jam at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92270 Bug ID: 92270 Summary: Non-const ref treated as const-ref in the compiler. Product: gcc Version: 7.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component:

[Bug target/59888] Darwin linker error "illegal text-relocation" with -shared

2019-10-29 Thread iains at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=59888 --- Comment #22 from Iain Sandoe --- Author: iains Date: Tue Oct 29 20:05:05 2019 New Revision: 277584 URL: https://gcc.gnu.org/viewcvs?rev=277584&root=gcc&view=rev Log: [Darwin] Amend section for constants with relocations. Darwin's linker doe

[Bug target/67183] Darwin stub vs. non_lazy pointer ordering incompatible with clang assembler.

2019-10-29 Thread iains at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67183 --- Comment #8 from Iain Sandoe --- Author: iains Date: Tue Oct 29 20:16:28 2019 New Revision: 277587 URL: https://gcc.gnu.org/viewcvs?rev=277587&root=gcc&view=rev Log: [Darwin, machopic] Fix for 67183 When we're using the LLVM-based assembler

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

2019-10-29 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91495 --- Comment #5 from Jonathan Wakely --- No (the parallel versions are in those branches either).

[Bug target/65342] [7/8 Regression] powerpc-darwin9 m64 code-gen error exposed by r210201

2019-10-29 Thread iains at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65342 --- Comment #34 from Iain Sandoe --- Author: iains Date: Tue Oct 29 20:20:23 2019 New Revision: 277590 URL: https://gcc.gnu.org/viewcvs?rev=277590&root=gcc&view=rev Log: [Darwin, PPC] Fix PR 65342. The current Darwin load/store lo_sum patterns

[Bug c++/91548] [10 Regression] Regression in constexpr evaluation of std::array

2019-10-29 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91548 --- Comment #10 from Marek Polacek --- Author: mpolacek Date: Tue Oct 29 20:34:43 2019 New Revision: 277591 URL: https://gcc.gnu.org/viewcvs?rev=277591&root=gcc&view=rev Log: PR c++/91548 - fix detecting modifying const objects for ARRAY

[Bug c++/91548] [10 Regression] Regression in constexpr evaluation of std::array

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

[Bug c++/92201] [9/10 Regression] ICE: ‘verify_gimple’ failed with -std=c++2a

2019-10-29 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92201 --- Comment #4 from Jakub Jelinek --- Author: jakub Date: Tue Oct 29 20:58:47 2019 New Revision: 277592 URL: https://gcc.gnu.org/viewcvs?rev=277592&root=gcc&view=rev Log: PR c++/92201 * cp-gimplify.c (cp_gimplify_expr): If gimpli

[Bug c++/90998] [9/10 Regression] ICE (segfalut) in gcc/cp/call.c compare_ics() with -std=c++17

2019-10-29 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90998 --- Comment #4 from Marek Polacek --- Author: mpolacek Date: Tue Oct 29 21:06:21 2019 New Revision: 277593 URL: https://gcc.gnu.org/viewcvs?rev=277593&root=gcc&view=rev Log: PR c++/90998 - ICE with copy elision in init by ctor and -Wconv

[Bug c++/90998] [9 Regression] ICE (segfault) in gcc/cp/call.c compare_ics() with -std=c++17

2019-10-29 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90998 Marek Polacek changed: What|Removed |Added Summary|[9/10 Regression] ICE |[9 Regression] ICE |(s

[Bug c++/92201] [9/10 Regression] ICE: ‘verify_gimple’ failed with -std=c++2a

2019-10-29 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92201 --- Comment #5 from Jakub Jelinek --- Author: jakub Date: Tue Oct 29 21:09:21 2019 New Revision: 277594 URL: https://gcc.gnu.org/viewcvs?rev=277594&root=gcc&view=rev Log: PR c++/92201 * cp-gimplify.c (cp_gimplify_expr): If gimpli

[Bug c++/92271] New: for consistency, __is_same_as should be named __is_same

2019-10-29 Thread richard-gccbugzilla at metafoo dot co.uk
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92271 Bug ID: 92271 Summary: for consistency, __is_same_as should be named __is_same Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal Prio

[Bug driver/47785] GCC with -flto does not pass -Wa/-Xassembler options to the assembler

2019-10-29 Thread hjl.tools at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=47785 --- Comment #16 from H.J. Lu --- (In reply to H.J. Lu from comment #15) > We need to also handle -Xassembler? Since -Wa, doesn't work with comma in > assembler options, like -mfoo=foo1,foo2, one needs to use > > -Xassembler -mfoo=foo1,foo2 > >

[Bug c++/92271] for consistency, __is_same_as should be named __is_same

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

[Bug c++/92270] Non-const ref treated as const-ref in the compiler.

2019-10-29 Thread jostaberry.jam at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92270 Yuki Wada changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug c++/92270] Non-const ref treated as const-ref in the compiler.

2019-10-29 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92270 Jonathan Wakely changed: What|Removed |Added Resolution|FIXED |INVALID

[Bug c++/92201] [9/10 Regression] ICE: ‘verify_gimple’ failed with -std=c++2a

2019-10-29 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92201 Jakub Jelinek changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug c++/92271] for consistency, __is_same_as should be named __is_same

2019-10-29 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92271 Marek Polacek changed: What|Removed |Added Status|NEW |ASSIGNED CC|

[Bug middle-end/92263] [10 Regression] ICE in commit_one_edge_insertion, at cfgrtl.c:2087 since r270758

2019-10-29 Thread wilson at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92263 --- Comment #5 from Jim Wilson --- The patch adds a RISC-V movcc pattern. This causes toplev.c to enable flag_tree_cselim. This optimization pass creates a complex long double conditional move via a phi node. complex long double cstore_31;

[Bug c++/92273] New: concepts check failed: std::vector iterator and std::string iterator are not contiguous iterator.

2019-10-29 Thread euloanty at live dot com
Derived) |^ cqwrteur@DESKTOP-7H7UHQ9:/mnt/d$ gcc --version gcc (cqwrteur) 10.0.0 20191029 (experimental) Copyright (C) 2019 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNES

[Bug c++/92272] New: concepts check failed: std::vector iterator and std::string iterator are not contiguous iterator.

2019-10-29 Thread euloanty at live dot com
Derived) |^ cqwrteur@DESKTOP-7H7UHQ9:/mnt/d$ gcc --version gcc (cqwrteur) 10.0.0 20191029 (experimental) Copyright (C) 2019 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNES

[Bug c++/92272] concepts check failed: std::vector iterator and std::string iterator are not contiguous iterator.

2019-10-29 Thread euloanty at live dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92272 --- Comment #1 from fdlbxtqi --- *** Bug 92273 has been marked as a duplicate of this bug. ***

[Bug c++/92273] concepts check failed: std::vector iterator and std::string iterator are not contiguous iterator.

2019-10-29 Thread euloanty at live dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92273 fdlbxtqi changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug c++/79419] [concepts] Explicit specialization of constrained member template: ICE in set_constraints

2019-10-29 Thread jason at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79419 Jason Merrill changed: What|Removed |Added CC||jason at gcc dot gnu.org --- Comment #2

[Bug target/82459] AVX512BW instruction costs: vpmovwb is 2 uops on Skylake and not always worth using vs. vpack + vpermq lane-crossing fixup

2019-10-29 Thread peter at cordes dot ca
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82459 Peter Cordes changed: What|Removed |Added See Also||https://gcc.gnu.org/bugzill

[Bug c++/92268] Constraint normalization substitutes parameter too early

2019-10-29 Thread jason at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92268 Jason Merrill changed: What|Removed |Added CC||jason at gcc dot gnu.org --- Comment #4

[Bug c/70257] #line incorrectly handled in error messages

2019-10-29 Thread egallager at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70257 --- Comment #3 from Eric Gallager --- (In reply to Manuel López-Ibáñez from comment #2) > I think this is a dup of bug 79106. > ...or possibly the other way around? Since that one is newer... > The caret line is printed by reopening the file a

[Bug other/92090] [10 regression] ICE in gcc.dg/atomic/c11-atomic-exec-5.c starting with r276469

2019-10-29 Thread luoxhu at cn dot ibm.com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92090 Xiong Hu XS Luo changed: What|Removed |Added CC||seurer at gcc dot gnu.org --- Comment

<    1   2