[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

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

[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++/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++/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 #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 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++/86243] unknown attributes causing hard error

2018-06-20 Thread h2+bugs at fsfe dot org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86243 --- Comment #2 from Hannes Hauswedell --- (In reply to Jonathan Wakely from comment #1) > (In reply to Hannes Hauswedell from comment #0) > > Note that I am not even setting -Wall or -Wextra. > > As documented, -Wattributes is enabled by default

[Bug c++/86240] [9 Regression] ice: unexpected expression absu_expr

2018-06-20 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86240 Marek Polacek changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[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 #3 from Jakub Jelinek --- WIP patch to warn also during inlining, with the intent to handle e.g. int *p = 0; declared_and_defined(p); for both C/C++. Unfortunately if it is inlined during early inlining, we still don't warn, beca

[Bug c++/86240] [9 Regression] ice: unexpected expression absu_expr

2018-06-20 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86240 --- Comment #4 from Marek Polacek --- Author: mpolacek Date: Wed Jun 20 15:46:02 2018 New Revision: 261809 URL: https://gcc.gnu.org/viewcvs?rev=261809&root=gcc&view=rev Log: PR c++/86240 * constexpr.c (cxx_eval_constant_expressio

[Bug tree-optimization/86244] misleading use of "may be too large" in -Walloca-larger-than and -Wvla-larger-than warnings involving ranges

2018-06-20 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86244 Martin Sebor changed: What|Removed |Added Keywords||diagnostic Severity|normal

[Bug tree-optimization/86244] New: misleading use of "may be too large" in -Walloca-larger-than and -Wvla-larger-than warnings involving ranges

2018-06-20 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86244 Bug ID: 86244 Summary: misleading use of "may be too large" in -Walloca-larger-than and -Wvla-larger-than warnings involving ranges Product: gcc Version: 8.0

[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 --- Comment #3 from Tom de Vries --- Created attachment 44305 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=44305&action=edit Tentative patch

[Bug c++/86243] unknown attributes causing hard error

2018-06-20 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86243 --- Comment #1 from Jonathan Wakely --- (In reply to Hannes Hauswedell from comment #0) > Note that I am not even setting -Wall or -Wextra. As documented, -Wattributes is enabled by default and you need to use -Wno-attributes to disable it.

[Bug c++/86243] New: unknown attributes causing hard error

2018-06-20 Thread h2+bugs at fsfe dot org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86243 Bug ID: 86243 Summary: unknown attributes causing hard error Product: gcc Version: 7.3.1 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++

[Bug tree-optimization/86097] [8 Regression] ICE: verify_gimple failed (error: mismatching comparison operand types)

2018-06-20 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86097 --- Comment #10 from Jakub Jelinek --- Sure, that is why this is an 8/9 regression. Checking needs to be enabled to reproduce on the 8.x branch.

[Bug tree-optimization/86097] [8 Regression] ICE: verify_gimple failed (error: mismatching comparison operand types)

2018-06-20 Thread asolokha at gmx dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86097 Arseny Solokha changed: What|Removed |Added Summary|[8/9 Regression] ICE: |[8 Regression] ICE: |

[Bug tree-optimization/86097] [8/9 Regression] ICE: verify_gimple failed (error: mismatching comparison operand types)

2018-06-20 Thread vries at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86097 --- Comment #8 from Tom de Vries --- (In reply to Jakub Jelinek from comment #1) > This first started to ICE in r254867, with: That commit is part of gcc-8-branch, and was committed to trunk before the gcc-8-branch branch point, so that probably

[Bug debug/86194] [8/9 Regression] ICE: SIGSEGV in avoid_constant_pool_reference (simplify-rtx.c:215) with -O -g -mavx512bw

2018-06-20 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86194 --- Comment #4 from Jakub Jelinek --- Author: jakub Date: Wed Jun 20 14:57:55 2018 New Revision: 261808 URL: https://gcc.gnu.org/viewcvs?rev=261808&root=gcc&view=rev Log: PR debug/86194 * var-tracking.c (use_narrower_mode_test):

[Bug tree-optimization/86231] [6/7 Regression] vrp_meet causes wrong-code

2018-06-20 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86231 Jakub Jelinek changed: What|Removed |Added Target Milestone|8.2 |6.5 Summary|[8/9 Regression]

[Bug debug/86194] [8/9 Regression] ICE: SIGSEGV in avoid_constant_pool_reference (simplify-rtx.c:215) with -O -g -mavx512bw

2018-06-20 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86194 --- Comment #3 from Jakub Jelinek --- Author: jakub Date: Wed Jun 20 14:51:04 2018 New Revision: 261807 URL: https://gcc.gnu.org/viewcvs?rev=261807&root=gcc&view=rev Log: PR debug/86194 * var-tracking.c (use_narrower_mode_test):

[Bug tree-optimization/86231] [8/9 Regression] vrp_meet causes wrong-code

2018-06-20 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86231 --- Comment #3 from Jakub Jelinek --- Author: jakub Date: Wed Jun 20 14:50:09 2018 New Revision: 261806 URL: https://gcc.gnu.org/viewcvs?rev=261806&root=gcc&view=rev Log: PR tree-optimization/86231 * tree-vrp.c (union_ranges): Fo

[Bug tree-optimization/86231] [8/9 Regression] vrp_meet causes wrong-code

2018-06-20 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86231 --- Comment #2 from Jakub Jelinek --- Author: jakub Date: Wed Jun 20 14:47:28 2018 New Revision: 261805 URL: https://gcc.gnu.org/viewcvs?rev=261805&root=gcc&view=rev Log: PR tree-optimization/86231 * tree-vrp.c (union_ranges): Fo

[Bug tree-optimization/86097] [8/9 Regression] ICE: verify_gimple failed (error: mismatching comparison operand types)

2018-06-20 Thread vries at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86097 --- Comment #7 from Tom de Vries --- Author: vries Date: Wed Jun 20 14:44:45 2018 New Revision: 261804 URL: https://gcc.gnu.org/viewcvs?rev=261804&root=gcc&view=rev Log: Generate correctly typed compare in canonicalize_loop_ivs 2018-06-20 Tom

[Bug tree-optimization/86097] [8/9 Regression] ICE: verify_gimple failed (error: mismatching comparison operand types)

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

[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 #8 from Nathan Sidwell --- Author: nathan Date: Wed Jun 20 14:34:06 2018 New Revision: 261802 URL: https://gcc.gnu.org/viewcvs?rev=261802&root=gcc&view=rev Log: [PR c++/85634] Fix tsubst ICE https://gcc.gnu.org/ml/gcc-patches/2018-0

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

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

[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 #7 from Nathan Sidwell --- Fixed trunk r261802

[Bug fortran/86242] New: [F03] ICE for derived type with allocatable class component

2018-06-20 Thread c...@mnet-mail.de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86242 Bug ID: 86242 Summary: [F03] ICE for derived type with allocatable class component Product: gcc Version: 8.0.1 Status: UNCONFIRMED Severity: normal Pr

[Bug tree-optimization/86203] duplicate non-constant call to strlen() not folded

2018-06-20 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86203 Martin Sebor changed: What|Removed |Added See Also||https://gcc.gnu.org/bugzill

[Bug tree-optimization/86241] New: duplicate strlen-like snprintf calls not folded

2018-06-20 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86241 Bug ID: 86241 Summary: duplicate strlen-like snprintf calls not folded Product: gcc Version: 8.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: tre

[Bug c++/86240] [9 Regression] ice: unexpected expression absu_expr

2018-06-20 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86240 Marek Polacek changed: What|Removed |Added Status|NEW |ASSIGNED Assignee|unassigned a

[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 Keywords||accepts-invalid Summary|a v

[Bug c++/86240] [9 Regression] ice: unexpected expression absu_expr

2018-06-20 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86240 Marek Polacek changed: What|Removed |Added Target Milestone|--- |9.0 Summary|ice: unexpected e

[Bug c++/86238] a vtable layout bug

2018-06-20 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86238 --- Comment #1 from Jonathan Wakely --- Clang's errors have absolutely nothing to do with a vtable bug (that was a completely different bug that was demonstrated by the same code).

[Bug c++/86240] ice: unexpected expression absu_expr

2018-06-20 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86240 Marek Polacek changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug c++/86233] explicit specialization of function template accepted with weaker exception specification

2018-06-20 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86233 Jonathan Wakely changed: What|Removed |Added Summary|A tricky code sample|explicit specialization of

[Bug c++/86240] ice: unexpected expression absu_expr

2018-06-20 Thread dcb314 at hotmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86240 David Binderman changed: What|Removed |Added CC||jason at gcc dot gnu.org --- Comment #

[Bug c++/86233] A tricky code sample

2018-06-20 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86233 Jonathan Wakely changed: What|Removed |Added Keywords||accepts-invalid Status|UNC

[Bug c++/86240] New: ice: unexpected expression absu_expr

2018-06-20 Thread dcb314 at hotmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86240 Bug ID: 86240 Summary: ice: unexpected expression absu_expr Product: gcc Version: 8.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++

[Bug c++/86218] [9 Regression] ICE in compare_ics, at cp/call.c:9769

2018-06-20 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86218 --- Comment #3 from Marek Polacek --- Which I guess is Bug 78244.

[Bug c++/65969] typename allowed in using declaration of non-types names

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

[Bug c++/86230] missing exception specification

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

[Bug middle-end/83623] [8 Regression] ICE: in convert_move, at expr.c:248 with -march=knl and 16bit vector bswap/rotate

2018-06-20 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83623 Richard Biener changed: What|Removed |Added Status|REOPENED|RESOLVED Resolution|---

[Bug c++/86233] A tricky code sample

2018-06-20 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86233 --- Comment #1 from Jonathan Wakely --- *** Bug 86230 has been marked as a duplicate of this bug. ***

[Bug c++/65969] typename allowed in using declaration of non-types names

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

[Bug c++/86235] g++ accept an erroneous code sample

2018-06-20 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86235 Jonathan Wakely changed: What|Removed |Added Keywords||accepts-invalid Status|UNC

[Bug c++/86230] missing exception specification

2018-06-20 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86230 --- Comment #1 from Jonathan Wakely --- Isn't this the same as PR 86233 ?

[Bug c++/57891] No diagnostic of narrowing conversion in non-type template argument

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

[Bug c++/78244] Narrowing conversion is accepted in a function template, but it should be rejected

2018-06-20 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78244 Jonathan Wakely changed: What|Removed |Added Last reconfirmed|2016-11-08 00:00:00 |2018-6-20 See Also|

[Bug c++/86237] Narrowing from int to bool is not allowed in a non type template argument

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

  1   2   >