[Bug c++/64767] Could GCC warn when a pointer is compared against '\0'?

2017-01-04 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64767 --- Comment #9 from Marek Polacek --- Author: mpolacek Date: Wed Jan 4 21:47:04 2017 New Revision: 244076 URL: https://gcc.gnu.org/viewcvs?rev=244076&root=gcc&view=rev Log: PR c++/64767 * c.opt (Wpointer-compare): New option.

[Bug c++/64767] Could GCC warn when a pointer is compared against '\0'?

2017-01-04 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64767 Marek Polacek changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug libstdc++/78991] std::sort and std::unique can not use std::function with clang++ -std=c++14

2017-01-04 Thread daiw at gmx dot net
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78991 --- Comment #2 from Tobias --- Thanks. The evidence you collected shows quite clear, that it probably is a problem with clang. So I now posted it here: https://llvm.org/bugs/show_bug.cgi?id=31537

[Bug libstdc++/78991] std::sort and std::unique can not use std::function with clang++ -std=c++14

2017-01-04 Thread daiw at gmx dot net
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78991 Tobias changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug middle-end/78994] New: -Ofast makes aarch64 C++ benchmark slower

2017-01-04 Thread tulipawn at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78994 Bug ID: 78994 Summary: -Ofast makes aarch64 C++ benchmark slower Product: gcc Version: 5.4.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: middle-

[Bug target/78994] -Ofast makes aarch64 C++ benchmark slower

2017-01-04 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78994 Andrew Pinski changed: What|Removed |Added URL|https://github.com/supercur | |io/dsp-bench-cpp

[Bug target/78994] -Ofast makes aarch64 C++ benchmark slower for A53

2017-01-04 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78994 Andrew Pinski changed: What|Removed |Added Summary|-Ofast makes aarch64 C++|-Ofast makes aarch64 C++

[Bug c++/60685] exception not caught by enclosing catch

2017-01-04 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=60685 Jonathan Wakely changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug rtl-optimization/78812] [5/6/7 Regression] Wrong code generation due to hoisting memory load across function call

2017-01-04 Thread law at redhat dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78812 Jeffrey A. Law changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |law at redhat dot com --- Commen

[Bug c/78989] Missing -Waddress warning

2017-01-04 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78989 --- Comment #5 from Andrew Pinski --- Isn't there a dup somewhere? I Know this was filed before.

[Bug c/78989] Missing -Waddress warning

2017-01-04 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78989 Andrew Pinski changed: What|Removed |Added Depends on||77513 --- Comment #6 from Andrew Pinski

[Bug rtl-optimization/78812] [5/6/7 Regression] Wrong code generation due to hoisting memory load across function call

2017-01-04 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78812 --- Comment #11 from Jakub Jelinek --- (In reply to Jeffrey A. Law from comment #10) > Since that's not a MEM_P, the expression isn't removed from antic/transp > which makes it subject to hoisting across the abnormal edge. > > This could be easi

[Bug rtl-optimization/78812] [5/6/7 Regression] Wrong code generation due to hoisting memory load across function call

2017-01-04 Thread law at redhat dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78812 --- Comment #12 from Jeffrey A. Law --- I'm mostly concerned about other places where we assume that a memory reference is supposed to show up at the toplevel of a source/dest. For example, it looks like we don't properly handle the case where w

[Bug target/78994] -Ofast makes aarch64 C++ benchmark slower for A53

2017-01-04 Thread tulipawn at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78994 --- Comment #3 from PeteVine --- Hey, that works for me too! (62565 vs 70758 in favour of -Ofast). Usefully strange :)

[Bug rtl-optimization/78812] [5/6/7 Regression] Wrong code generation due to hoisting memory load across function call

2017-01-04 Thread law at redhat dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78812 --- Comment #13 from Jeffrey A. Law --- So I see a case in postreload-gcse.c where we might mis-handle when the destination is a ZERO_EXTRACT or STRICT_LOW_PART. Neither happen often which is probably why we've never noticed.

[Bug middle-end/78993] False positive from -Wmaybe-uninitialized

2017-01-04 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78993 Martin Sebor changed: What|Removed |Added Keywords||diagnostic Status|UNCONFIRMED

[Bug middle-end/78993] False positive from -Wmaybe-uninitialized

2017-01-04 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78993 Martin Sebor changed: What|Removed |Added Known to fail||4.1.0, 5.3.0, 6.2.0, 7.0 --- Comment #3 f

[Bug middle-end/78993] False positive from -Wmaybe-uninitialized

2017-01-04 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78993 --- Comment #4 from Andrew Pinski --- # i_5 = PHI # j_27 = PHI # prephitmp_7 = PHI <0(3), prephitmp_17(4)> _14 = i_5 > 9; _18 = prephitmp_7 | _14; if (_18 != 0) goto ; [44.99%] else goto ; [55.01%] Most likely conditiona

[Bug other/32415] libgcc_s not found in library search path with --enable-version-specific-runtime-libs

2017-01-04 Thread bruno at clisp dot org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=32415 bruno at clisp dot org changed: What|Removed |Added CC||bruno at clisp dot org --- Comme

[Bug target/70568] [5/6/7 regression] PowerPC64: union of floating and fixed doesn't use POWER8 GPR/VSR moves

2017-01-04 Thread meissner at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70568 --- Comment #8 from Michael Meissner --- Author: meissner Date: Thu Jan 5 00:43:53 2017 New Revision: 244084 URL: https://gcc.gnu.org/viewcvs?rev=244084&root=gcc&view=rev Log: [gcc] 2017-01-04 Michael Meissner PR target/71977

[Bug target/71977] powerpc64: Use VSR when operating on float and integer

2017-01-04 Thread meissner at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71977 --- Comment #4 from Michael Meissner --- Author: meissner Date: Thu Jan 5 00:43:53 2017 New Revision: 244084 URL: https://gcc.gnu.org/viewcvs?rev=244084&root=gcc&view=rev Log: [gcc] 2017-01-04 Michael Meissner PR target/71977

[Bug target/78823] Poor code on PowerPC when moving SFmode values between GPRs and vector registers

2017-01-04 Thread meissner at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78823 --- Comment #3 from Michael Meissner --- Author: meissner Date: Thu Jan 5 00:43:53 2017 New Revision: 244084 URL: https://gcc.gnu.org/viewcvs?rev=244084&root=gcc&view=rev Log: [gcc] 2017-01-04 Michael Meissner PR target/71977

[Bug c++/78995] New: A strange copy error caused by O3 optimization

2017-01-04 Thread zhangfei1 at cffex dot com.cn
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78995 Bug ID: 78995 Summary: A strange copy error caused by O3 optimization Product: gcc Version: 4.8.5 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c+

[Bug libstdc++/78996] New: uses macro as name

2017-01-04 Thread webrown.cpp at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78996 Bug ID: 78996 Summary: uses macro as name Product: gcc Version: 7.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: libstdc++ Assignee: u

[Bug libstdc++/78996] uses macro as name

2017-01-04 Thread webrown.cpp at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78996 --- Comment #1 from W E Brown --- Created attachment 40465 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=40465&action=edit Preprocessed source

[Bug tree-optimization/78997] New: ICE on valid code at -O3 on x86_64-linux-gnu: verify_gimple failed

2017-01-04 Thread su at cs dot ucdavis.edu
: posix gcc version 7.0.0 20170104 (experimental) [trunk revision 244072] (GCC) $ $ gcc-trunk -O2 small.c $ gcc-6.2 -O3 small.c $ $ gcc-trunk -O3 small.c small.c: In function ‘foo’: small.c:7:6: error: the first argument of a VEC_COND_EXPR must be of a boolean vector type of the same number of elements

[Bug tree-optimization/78997] [7.0 regression] ICE on valid code at -O3 on x86_64-linux-gnu: verify_gimple failed

2017-01-04 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78997 Martin Sebor changed: What|Removed |Added Keywords||ice-on-valid-code Status|UNCO

[Bug c++/78988] Wrong location of a binary expression for -Waddress

2017-01-04 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78988 Martin Sebor changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug c++/78948] [C++17] constexpr if instantiating too eagerly

2017-01-04 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78948 Martin Sebor changed: What|Removed |Added Keywords||rejects-valid Status|UNCONFIR

[Bug c++/64767] Could GCC warn when a pointer is compared against '\0'?

2017-01-04 Thread egall at gwmail dot gwu.edu
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64767 --- Comment #11 from Eric Gallager --- Thank you for adding this!

[Bug c/78987] Wrong location of a binary expression for -Waddress

2017-01-04 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78987 Martin Sebor changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug libstdc++/78996] uses macro as name

2017-01-04 Thread timshen at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78996 --- Comment #2 from Tim Shen --- Author: timshen Date: Thu Jan 5 03:18:17 2017 New Revision: 244092 URL: https://gcc.gnu.org/viewcvs?rev=244092&root=gcc&view=rev Log: 2017-01-05 Tim Shen PR libstdc++/78996 * include/std/vari

[Bug libstdc++/78996] uses macro as name

2017-01-04 Thread timshen at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78996 Tim Shen changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED CC|

[Bug middle-end/78998] New: missing -Wnonnull for an unconditional call to strlen with a null argument

2017-01-04 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78998 Bug ID: 78998 Summary: missing -Wnonnull for an unconditional call to strlen with a null argument Product: gcc Version: 7.0 Status: UNCONFIRMED Severity: normal

[Bug middle-end/78998] missing -Wnonnull for an unconditional call to strlen with a null argument

2017-01-04 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78998 Martin Sebor changed: What|Removed |Added Keywords||diagnostic See Also|

[Bug c/16351] NULL dereference warnings

2017-01-04 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=16351 Martin Sebor changed: What|Removed |Added CC||msebor at gcc dot gnu.org --- Comment #46

[Bug middle-end/78914] missing -Wnonnull for a trivial null pointer dereference

2017-01-04 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78914 Martin Sebor changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug c++/78999] New: problem with gcc on cygwin??? cygwin 2.6.1 with gcc 5.4.0

2017-01-04 Thread bplummer at hotmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78999 Bug ID: 78999 Summary: problem with gcc on cygwin??? cygwin 2.6.1 with gcc 5.4.0 Product: gcc Version: 5.4.0 Status: UNCONFIRMED Severity: normal Pri

[Bug debug/79000] New: ICE: in gen_member_die, at dwarf2out.c:23995

2017-01-04 Thread trippels at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79000 Bug ID: 79000 Summary: ICE: in gen_member_die, at dwarf2out.c:23995 Product: gcc Version: 7.0 Status: UNCONFIRMED Keywords: lto Severity: normal Priority: P3

[Bug rtl-optimization/78812] [5/6/7 Regression] Wrong code generation due to hoisting memory load across function call

2017-01-04 Thread law at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78812 --- Comment #14 from Jeffrey A. Law --- Author: law Date: Thu Jan 5 07:38:48 2017 New Revision: 244093 URL: https://gcc.gnu.org/viewcvs?rev=244093&root=gcc&view=rev Log: PR tree-optimizatin/78812 * rtl.h (contains_mem_rtx_p): Pr

[Bug middle-end/78995] A strange copy error caused by O3 optimization

2017-01-04 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78995 Andrew Pinski changed: What|Removed |Added Status|UNCONFIRMED |WAITING Last reconfirmed|

<    1   2