[Bug libstdc++/86245] New: _GLIBCXX_LONG_DOUBLE_COMPAT GLIBCXX_3.4.21 issues

2018-06-20 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86245 Bug ID: 86245 Summary: _GLIBCXX_LONG_DOUBLE_COMPAT GLIBCXX_3.4.21 issues Product: gcc Version: 8.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: l

[Bug c++/86210] [6/7/8/9 Regression] Missing -Wnonnull warning for function defined in the same TU

2018-06-20 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86210 --- Comment #4 from Jakub Jelinek --- Author: jakub Date: Wed Jun 20 16:07:21 2018 New Revision: 261811 URL: https://gcc.gnu.org/viewcvs?rev=261811&root=gcc&view=rev Log: PR c++/86210 * c-common.c (check_nonnull_arg): Use fold_fo

[Bug c++/86210] [6/7/8/9 Regression] Missing -Wnonnull warning for function defined in the same TU

2018-06-20 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86210 --- Comment #5 from Jakub Jelinek --- Author: jakub Date: Wed Jun 20 16:08:14 2018 New Revision: 261812 URL: https://gcc.gnu.org/viewcvs?rev=261812&root=gcc&view=rev Log: PR c++/86210 * c-common.c (check_nonnull_arg): Use fold_fo

[Bug c++/86210] [6/7/8/9 Regression] Missing -Wnonnull warning for function defined in the same TU

2018-06-20 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86210 --- Comment #6 from Jakub Jelinek --- Regression fixed for 8.2+ so far by the above changes, for the enhancement see above comment.

[Bug c++/86225] Missing error message

2018-06-20 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86225 --- Comment #1 from Jonathan Wakely --- This is a dup of an existing bug.

[Bug c++/85634] [8/9 Regression] ICE in tsubst_copy, at cp/pt.c:15483

2018-06-20 Thread nathan at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85634 Nathan Sidwell changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug c++/85634] [8/9 Regression] ICE in tsubst_copy, at cp/pt.c:15483

2018-06-20 Thread nathan at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85634 --- Comment #10 from Nathan Sidwell --- Author: nathan Date: Wed Jun 20 16:54:44 2018 New Revision: 261814 URL: https://gcc.gnu.org/viewcvs?rev=261814&root=gcc&view=rev Log: [PR c++/85634] Fix tsubst ICE https://gcc.gnu.org/ml/gcc-patches/2018-

[Bug c++/85634] [8/9 Regression] ICE in tsubst_copy, at cp/pt.c:15483

2018-06-20 Thread nathan at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85634 Nathan Sidwell changed: What|Removed |Added Status|RESOLVED|ASSIGNED Resolution|FIXED

[Bug c++/53109] e.E::~E() should compile without error in c++ 2011

2018-06-20 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=53109 Jonathan Wakely changed: What|Removed |Added Keywords||rejects-valid Status|UNCON

[Bug c++/38087] g++ accepts invalid destructor call

2018-06-20 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=38087 Jonathan Wakely changed: What|Removed |Added CC||zhonghao at pku dot org.cn --- Comment

[Bug c++/86225] Missing error message

2018-06-20 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86225 Jonathan Wakely changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug c++/86226] A bug seems to be not fully fixed

2018-06-20 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86226 Jonathan Wakely changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug target/85918] Conversions to/from [unsigned] long long are not vectorized for AVX512DQ target

2018-06-20 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85918 Jakub Jelinek changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug tree-optimization/53947] [meta-bug] vectorizer missed-optimizations

2018-06-20 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=53947 Bug 53947 depends on bug 85918, which changed state. Bug 85918 Summary: Conversions to/from [unsigned] long long are not vectorized for AVX512DQ target https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85918 What|Removed

[Bug c++/85634] [8/9 Regression] ICE in tsubst_copy, at cp/pt.c:15483

2018-06-20 Thread nathan at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85634 Nathan Sidwell changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug c++/85634] [8/9 Regression] ICE in tsubst_copy, at cp/pt.c:15483

2018-06-20 Thread nathan at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85634 --- Comment #13 from Nathan Sidwell --- Author: nathan Date: Wed Jun 20 19:22:53 2018 New Revision: 261817 URL: https://gcc.gnu.org/viewcvs?rev=261817&root=gcc&view=rev Log: [PR c++/85634] Fix tsubst ICE https://gcc.gnu.org/ml/gcc-patches/2018-

[Bug libstdc++/70966] new_delete_resource() has deinit lifetime issues.

2018-06-20 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70966 --- Comment #1 from Jonathan Wakely --- Author: redi Date: Wed Jun 20 19:34:53 2018 New Revision: 261818 URL: https://gcc.gnu.org/viewcvs?rev=261818&root=gcc&view=rev Log: PR libstdc++/70966 make pmr::new_delete_resource() immortal Construct th

[Bug libstdc++/70966] new_delete_resource() has deinit lifetime issues.

2018-06-20 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70966 Jonathan Wakely changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug c++/86246] New: Template dispatching error inside a template function

2018-06-20 Thread tqchen at cs dot washington.edu
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86246 Bug ID: 86246 Summary: Template dispatching error inside a template function Product: gcc Version: 8.0.1 Status: UNCONFIRMED Severity: normal Priority: P3 Compon

[Bug tree-optimization/86247] New: warning on alloca within a loop overly restrictive for constant loops

2018-06-20 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86247 Bug ID: 86247 Summary: warning on alloca within a loop overly restrictive for constant loops Product: gcc Version: 8.0 Status: UNCONFIRMED Severity: normal

[Bug c/86093] [8/9 Regression] volatile ignored on pointer in C

2018-06-20 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86093 --- Comment #5 from Jakub Jelinek --- Author: jakub Date: Wed Jun 20 20:40:33 2018 New Revision: 261820 URL: https://gcc.gnu.org/viewcvs?rev=261820&root=gcc&view=rev Log: Backported from mainline 2018-06-15 Jakub Jelinek

[Bug rtl-optimization/86108] [8 Regression] crash during unwinding with -O2

2018-06-20 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86108 --- Comment #11 from Jakub Jelinek --- Author: jakub Date: Wed Jun 20 20:41:12 2018 New Revision: 261821 URL: https://gcc.gnu.org/viewcvs?rev=261821&root=gcc&view=rev Log: Backported from mainline 2018-06-16 Jakub Jelinek

[Bug c++/86184] Conditional expression with omitted operand cannot use rvalue of type convertible to bool

2018-06-20 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86184 Marek Polacek changed: What|Removed |Added CC||mpolacek at gcc dot gnu.org --- Comment

[Bug c++/86246] [8/9 Regression] Template dispatching error inside a template function

2018-06-20 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86246 Jonathan Wakely changed: What|Removed |Added Status|UNCONFIRMED |NEW Known to work|

[Bug fortran/86248] New: LEN_TRIM in specification expression causes link failure

2018-06-20 Thread longb at cray dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86248 Bug ID: 86248 Summary: LEN_TRIM in specification expression causes link failure Product: gcc Version: 8.1.0 Status: UNCONFIRMED Severity: normal Prior

[Bug fortran/86248] LEN_TRIM in specification expression causes link failure

2018-06-20 Thread longb at cray dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86248 --- Comment #1 from Bill Long --- Possibly related to 44265.

[Bug libgcc/86213] -fsplit-stack runtime may clobber SSE input param reg

2018-06-20 Thread ian at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86213 --- Comment #1 from ian at gcc dot gnu.org --- Author: ian Date: Wed Jun 20 21:11:23 2018 New Revision: 261823 URL: https://gcc.gnu.org/viewcvs?rev=261823&root=gcc&view=rev Log: libgcc/: PR libgcc/86213 * generic-morestack.c (all

[Bug tree-optimization/85859] [6/7/8/9 Regression] wrong code with -fno-isolate-erroneous-paths-dereference

2018-06-20 Thread vries at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85859 Tom de Vries changed: What|Removed |Added Keywords||patch --- Comment #4 from Tom de Vries -

[Bug c++/57005] alias template's pseudo-destructor is rejected

2018-06-20 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=57005 Jonathan Wakely changed: What|Removed |Added Keywords||rejects-valid Last reconfirmed|2013-

[Bug c++/38087] g++ accepts invalid destructor call

2018-06-20 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=38087 Jonathan Wakely changed: What|Removed |Added CC||su at cs dot ucdavis.edu --- Comment #

[Bug c++/71765] incorrectly accepts invalid C++ code that invokes base class dtor

2018-06-20 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71765 Jonathan Wakely changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug libgcc/86213] -fsplit-stack runtime may clobber SSE input param reg

2018-06-20 Thread ian at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86213 --- Comment #2 from ian at gcc dot gnu.org --- Author: ian Date: Wed Jun 20 21:57:44 2018 New Revision: 261826 URL: https://gcc.gnu.org/viewcvs?rev=261826&root=gcc&view=rev Log: libgcc/: PR libgcc/86213 * generic-morestack.c (all

[Bug c++/48665] type of const member function

2018-06-20 Thread dblaikie at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=48665 --- Comment #18 from David Blaikie --- Thanks - looks like this got hashed out on the C++ reflector in favor of this being invalid. The Clang bug has been re-opened to work on the fix there. Thanks! Sorry for the noise.

[Bug libgcc/86213] -fsplit-stack runtime may clobber SSE input param reg

2018-06-20 Thread ian at airs dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86213 Ian Lance Taylor changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug c++/48665] type of const member function

2018-06-20 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=48665 --- Comment #19 from Jonathan Wakely --- No problem, now that Richard raised it on the core reflector we should see the implementation divergence fixed, which is a Good Thing.

[Bug c++/86238] No diagnostic for virtual base class with inaccessible destructor

2018-06-20 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86238 Jonathan Wakely changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug c++/86238] No diagnostic for virtual base class with inaccessible destructor

2018-06-20 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86238 --- Comment #3 from Jonathan Wakely --- Simplified further: struct B { ~B() {} }; struct C : private virtual B {}; struct D : C {} d;

[Bug c++/86249] New: declaration conflicts with target of using declaration already in scope

2018-06-20 Thread zhonghao at pku dot org.cn
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86249 Bug ID: 86249 Summary: declaration conflicts with target of using declaration already in scope Product: gcc Version: unknown Status: UNCONFIRMED Severity: norma

[Bug c++/86250] New: addition of default argument on redeclaration makes this constructor a default constructor

2018-06-20 Thread zhonghao at pku dot org.cn
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86250 Bug ID: 86250 Summary: addition of default argument on redeclaration makes this constructor a default constructor Product: gcc Version: unknown Status: UNCONFIRMED

[Bug c++/86251] New: legal or illegal code?

2018-06-20 Thread zhonghao at pku dot org.cn
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86251 Bug ID: 86251 Summary: legal or illegal code? Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ Assignee:

[Bug c++/86252] New: Abstract class in function return type

2018-06-20 Thread zhonghao at pku dot org.cn
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86252 Bug ID: 86252 Summary: Abstract class in function return type Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++

[Bug c++/86253] New: N3639 array of runtime bound

2018-06-20 Thread zhonghao at pku dot org.cn
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86253 Bug ID: 86253 Summary: N3639 array of runtime bound Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ Assi

[Bug c++/86254] New: g++ rejects legal code?

2018-06-20 Thread zhonghao at pku dot org.cn
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86254 Bug ID: 86254 Summary: g++ rejects legal code? Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ Assignee:

[Bug c++/86255] New: addition of default argument on redeclaration makes this constructor a default constructor

2018-06-20 Thread zhonghao at pku dot org.cn
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86255 Bug ID: 86255 Summary: addition of default argument on redeclaration makes this constructor a default constructor Product: gcc Version: unknown Status: UNCONFIRMED

[Bug c++/86256] New: Lambda will not add ref count for class intelligent pointer member when capture 'this' or & as argument

2018-06-20 Thread kangchuanbo at 126 dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86256 Bug ID: 86256 Summary: Lambda will not add ref count for class intelligent pointer member when capture 'this' or & as argument Product: gcc Version: 5.4.0 Status: UNCONFI

[Bug debug/86257] New: Program compiled with fPIC crashes while stepping over thread-local variable GDB

2018-06-20 Thread jlangan at progress dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86257 Bug ID: 86257 Summary: Program compiled with fPIC crashes while stepping over thread-local variable GDB Product: gcc Version: 4.4.7 Status: UNCONFIRMED Severity

[Bug debug/86258] New: Program compiled with fPIC crashes while stepping over thread-local variable GDB

2018-06-20 Thread jlangan at progress dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86258 Bug ID: 86258 Summary: Program compiled with fPIC crashes while stepping over thread-local variable GDB Product: gcc Version: 4.4.7 Status: UNCONFIRMED Severity

[Bug other/86198] Libbacktrace does not properly work with ".note.gnu.build-id" section

2018-06-20 Thread chefmax at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86198 --- Comment #4 from chefmax at gcc dot gnu.org --- Author: chefmax Date: Thu Jun 21 05:42:53 2018 New Revision: 261832 URL: https://gcc.gnu.org/viewcvs?rev=261832&root=gcc&view=rev Log: libbacktrace/ 2018-06-21 Denis Khalikov PR other/

[Bug tree-optimization/86259] New: min(4, strlen(s)) optimized to strlen(s) with -flto

2018-06-20 Thread gcc at thecybershadow dot net
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86259 Bug ID: 86259 Summary: min(4, strlen(s)) optimized to strlen(s) with -flto Product: gcc Version: 8.1.1 Status: UNCONFIRMED Keywords: lto, wrong-code Severity: normal

[Bug tree-optimization/86259] min(4, strlen(s)) optimized to strlen(s) with -flto

2018-06-20 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86259 --- Comment #1 from Andrew Pinski --- This code is undefined. Try -fno-strict-aliasing . But that might not even cause the undefined code to be resolved to bring defined as you are accessing outside the bounds of an array.

[Bug tree-optimization/86259] min(4, strlen(s)) optimized to strlen(s) with -flto

2018-06-20 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86259 --- Comment #2 from Andrew Pinski --- Note gcc thinks strlen(s) is less than or equal to 3 as s is really T.s which is an array of 4 in size and there for the last element has to be a null char.

[Bug fortran/83118] [7/8/9 Regression] Bad intrinsic assignment of class(*) array component of derived type

2018-06-20 Thread pault at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83118 --- Comment #7 from Paul Thomas --- Created attachment 44306 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=44306&action=edit Patch for comment #6.

[Bug tree-optimization/86259] min(4, strlen(s)) optimized to strlen(s) with -flto

2018-06-20 Thread gcc at thecybershadow dot net
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86259 --- Comment #3 from Vladimir Panteleev --- (In reply to Andrew Pinski from comment #1) > This code is undefined. What's the problem? Might be just a bad reduction. Original code is Xorg: https://cgit.freedesktop.org/xorg/xserver/tree/xkb/XKBGAl

[Bug tree-optimization/86259] min(4, strlen(s)) optimized to strlen(s) with -flto

2018-06-20 Thread gcc at thecybershadow dot net
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86259 --- Comment #4 from Vladimir Panteleev --- (In reply to Andrew Pinski from comment #2) > Note gcc thinks strlen(s) is less than or equal to 3 as s is really T.s > which is an array of 4 in size and there for the last element has to be a > null ch

[Bug c++/71484] Class with implicit public constructor triggers `-Wctor-dtor-privacy`

2018-06-20 Thread okannen at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71484 Olivier Kannengieser changed: What|Removed |Added CC||okannen at gmail dot com --- Comm

<    1   2