[Bug sanitizer/89298] New: Address-Sanitizer false positive for global-buffer-overflow?

2019-02-12 Thread lee_shao at 126 dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89298 Bug ID: 89298 Summary: Address-Sanitizer false positive for global-buffer-overflow? Product: gcc Version: 8.1.0 Status: UNCONFIRMED Severity: normal P

[Bug lto/88147] [9 Regression] ICE in linemap_line_start, at libcpp/line-map.c:781 starting from r265875

2019-02-12 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88147 --- Comment #23 from Martin Liška --- > > The purpose of the check is impose a limit on the size of the jumps that > occur within the location_t representation, so that if there's a big jump in > line numbers, we start a linemap, where big is ">

[Bug lto/88147] [9 Regression] ICE in linemap_line_start, at libcpp/line-map.c:781 starting from r265875

2019-02-12 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88147 --- Comment #24 from Martin Liška --- (In reply to David Malcolm from comment #22) > Should be fixed by r268789. Nice, thanks for test and cooperation.

[Bug sanitizer/89298] Address-Sanitizer false positive for global-buffer-overflow?

2019-02-12 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89298 Martin Liška changed: What|Removed |Added Status|UNCONFIRMED |WAITING Last reconfirmed|

[Bug libbacktrace/81983] libbacktrace calls bsearch with NULL base

2019-02-12 Thread vries at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81983 Tom de Vries changed: What|Removed |Added Keywords||patch Status|WAITING

[Bug sanitizer/89298] Address-Sanitizer false positive for global-buffer-overflow?

2019-02-12 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89298 --- Comment #2 from Jakub Jelinek --- It is not clear how that can compile, because both unsigned int g_var =0; and extern unsigned int g_var =0; are g_var definitions, so if that is in multiple TUs, linker should fail to link that. In the other

[Bug fortran/87689] PowerPC64 ELFv2 function parameter passing violation

2019-02-12 Thread tkoenig at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87689 Thomas Koenig changed: What|Removed |Added CC||rguenth at gcc dot gnu.org --- Comment #

[Bug fortran/87689] PowerPC64 ELFv2 function parameter passing violation

2019-02-12 Thread rguenther at suse dot de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87689 --- Comment #14 from rguenther at suse dot de --- On February 12, 2019 9:40:46 AM GMT+01:00, "tkoenig at gcc dot gnu.org" wrote: >https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87689 > >Thomas Koenig changed: > > What|Removed

[Bug fortran/89286] Intrinsic sign and GNU Extension

2019-02-12 Thread mark.eggleston at codethink dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89286 MarkEggleston changed: What|Removed |Added Attachment #45657|0 |1 is obsolete|

[Bug c++/89299] New: __attribute__ cleanup does not accept template function

2019-02-12 Thread paradox_ptr at protonmail dot ch
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89299 Bug ID: 89299 Summary: __attribute__ cleanup does not accept template function Product: gcc Version: 8.2.0 Status: UNCONFIRMED Severity: normal Priori

[Bug fortran/89286] Intrinsic sign and GNU Extension

2019-02-12 Thread mark.eggleston at codethink dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89286 MarkEggleston changed: What|Removed |Added Attachment #45659|0 |1 is obsolete|

[Bug fortran/89286] Intrinsic sign and GNU Extension

2019-02-12 Thread mark.eggleston at codethink dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89286 --- Comment #8 from MarkEggleston --- (In reply to Dominique d'Humieres from comment #5) > Patch should go to the fort...@gcc.gnu.org and gcc-patc...@gcc.gnu.org > mailing lists for review. will do. > > From a quick look at the patch it does s

[Bug target/38959] Additional switches to disallow processor supplementary instructions

2019-02-12 Thread peter at cordes dot ca
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=38959 Peter Cordes changed: What|Removed |Added CC||peter at cordes dot ca --- Comment #3 fro

[Bug target/38959] Additional switches to disallow processor supplementary instructions

2019-02-12 Thread peter at cordes dot ca
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=38959 --- Comment #4 from Peter Cordes --- The __builtin_ia32_rdpmc being a pure function bug I mentioned in my previous comment is already reported and fixed (in gcc9 only): bug 87550 It was present since at least gcc 5.0 https://software.intel.com/e

[Bug tree-optimization/89253] [8/9 Regression] ICE in split_loop, at tree-ssa-loop-split.c:566

2019-02-12 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89253 --- Comment #2 from Richard Biener --- Author: rguenth Date: Tue Feb 12 09:29:39 2019 New Revision: 268790 URL: https://gcc.gnu.org/viewcvs?rev=268790&root=gcc&view=rev Log: 2019-02-12 Richard Biener PR tree-optimization/89253

[Bug sanitizer/89298] Address-Sanitizer false positive for global-buffer-overflow?

2019-02-12 Thread lee_shao at 126 dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89298 --- Comment #3 from Keerecles --- (In reply to Jakub Jelinek from comment #2) > It is not clear how that can compile, because both > unsigned int g_var =0; > and > extern unsigned int g_var =0; > are g_var definitions, so if that is in multiple T

[Bug target/89290] [8/9 Regression] ICE in change_address_1, at emit-rtl.c:2286

2019-02-12 Thread ubizjak at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89290 --- Comment #2 from Uroš Bizjak --- (In reply to Jakub Jelinek from comment #1) > then the ix86_rewrite_tls_address splitter rewrites this into: > (insn 12 6 10 2 (set (mem/c:TI (const:DI (unspec:DI [ > (symbol_ref:DI ("s"

[Bug bootstrap/67128] Makefile.in, libcc1 and --enable-shared

2019-02-12 Thread dilyan.palauzov at aegee dot org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67128 --- Comment #4 from Дилян Палаузов --- If an impossible combination is requested, then ./configure shall fail

[Bug c++/89300] New: C++ requires statement does not fail silently for const void *

2019-02-12 Thread svenja.mehringer at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89300 Bug ID: 89300 Summary: C++ requires statement does not fail silently for const void * Product: gcc Version: 8.2.1 Status: UNCONFIRMED Severity: normal

[Bug target/89290] [8/9 Regression] ICE in change_address_1, at emit-rtl.c:2286

2019-02-12 Thread ubizjak at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89290 --- Comment #3 from Uroš Bizjak --- This address should be valid: (const:DI (plus:DI (unspec:DI [ (symbol_ref:DI ("s") [flags 0x2a] ) ] UNSPEC_NTPOFF) (const_int 8 [0x8]))) and there is code that allows this

[Bug target/89290] [8/9 Regression] ICE in change_address_1, at emit-rtl.c:2286

2019-02-12 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89290 --- Comment #4 from Jakub Jelinek --- (In reply to Uroš Bizjak from comment #3) > This address should be valid: > > (const:DI (plus:DI (unspec:DI [ > (symbol_ref:DI ("s") [flags 0x2a] s>) > ] UNSPEC_NTPOFF) >

[Bug c++/89301] New: [concepts] requires clause on a template alias is ignored

2019-02-12 Thread antoshkka at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89301 Bug ID: 89301 Summary: [concepts] requires clause on a template alias is ignored Product: gcc Version: 9.0 Status: UNCONFIRMED Severity: normal Priori

[Bug target/89290] [8/9 Regression] ICE in change_address_1, at emit-rtl.c:2286

2019-02-12 Thread ubizjak at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89290 --- Comment #5 from Uroš Bizjak --- Created attachment 45664 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=45664&action=edit Untested patch Kind of a proposed patch that fixes the testcase. More or less shot in the dark, as this is not re

[Bug c++/89300] C++ requires statement does not fail silently for const void *

2019-02-12 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89300 Jonathan Wakely changed: What|Removed |Added Keywords||rejects-valid Status|UNCON

[Bug c++/89299] __attribute__ cleanup does not accept template function

2019-02-12 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89299 --- Comment #1 from Jonathan Wakely --- That attribute doesn't really make sense in C++, because you have destructors anyway, so I would think that making it work with C++ templates is very low priority.

[Bug hsa/89302] New: libgomp.c-c++-common/for-11.c fails when offloaded to HSA

2019-02-12 Thread jamborm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89302 Bug ID: 89302 Summary: libgomp.c-c++-common/for-11.c fails when offloaded to HSA Product: gcc Version: 9.0 Status: UNCONFIRMED Severity: normal Priori

[Bug c++/89299] __attribute__ cleanup does not accept template function

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

[Bug c++/89299] __attribute__ cleanup does not accept template function

2019-02-12 Thread paradox_ptr at protonmail dot ch
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89299 --- Comment #3 from paradox_ptr at protonmail dot ch --- > Well you didn't instantiate it. 'cu' is not a function, it's a template. Sure. There is not enough information for the compiler to deduce the type without <>. > IMHO it's completely unne

[Bug c++/89301] [concepts] requires clause on a template alias is ignored

2019-02-12 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89301 Jonathan Wakely changed: What|Removed |Added Keywords||accepts-invalid Status|UNC

[Bug c++/89303] New: memory leak with shared_ptr and enable_shared_from_this

2019-02-12 Thread adl at gnu dot org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89303 Bug ID: 89303 Summary: memory leak with shared_ptr and enable_shared_from_this Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal Prio

[Bug c++/89303] memory leak with shared_ptr and enable_shared_from_this

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

[Bug c++/89303] memory leak with shared_ptr and enable_shared_from_this

2019-02-12 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89303 Jonathan Wakely changed: What|Removed |Added Status|WAITING |NEW --- Comment #2 from Jonathan Wakel

[Bug libstdc++/89303] [8 Regression] memory leak with shared_ptr and enable_shared_from_this

2019-02-12 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89303 Jonathan Wakely changed: What|Removed |Added Status|NEW |ASSIGNED Component|c++

[Bug libstdc++/89303] [8 Regression] memory leak with shared_ptr and enable_shared_from_this

2019-02-12 Thread adl at gnu dot org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89303 --- Comment #3 from Alexandre Duret-Lutz --- Created attachment 45665 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=45665&action=edit preprocessed source Here is the preprocessed source.

[Bug c++/89304] New: Compiler runs indefinitely

2019-02-12 Thread fiesh at zefix dot tv
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89304 Bug ID: 89304 Summary: Compiler runs indefinitely Product: gcc Version: 8.2.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ Assignee

[Bug target/88777] [9 Regression] Out-of-range offsets building glibc test-tgmath2.c for hppa-linux-gnu

2019-02-12 Thread hubicka at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88777 --- Comment #7 from Jan Hubicka --- Author: hubicka Date: Tue Feb 12 11:25:11 2019 New Revision: 268791 URL: https://gcc.gnu.org/viewcvs?rev=268791&root=gcc&view=rev Log: PR lto/88777 * cgraphunit.c (analyze_functions): Clear RE

[Bug fortran/87689] PowerPC64 ELFv2 function parameter passing violation

2019-02-12 Thread amodra at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87689 --- Comment #15 from Alan Modra --- I've regression tested the patch on powerpc64le-linux, and of course verified that it fixes the testcase. I'm also fairly certain the patch intent is correct in the narrow sense of it correcting gfc_get_functi

[Bug c++/89285] [8/9 Regression] ICE after casting the this pointer in the constructor in C++17 mode

2019-02-12 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89285 --- Comment #10 from Jakub Jelinek --- Created attachment 45666 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=45666&action=edit gcc9-pr89285-wip.patch Non-working WIP. I've tried this, thinking that we don't really need to duplicate decl

[Bug c++/89304] Compiler runs indefinitely

2019-02-12 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89304 Jonathan Wakely changed: What|Removed |Added Keywords||compile-time-hog Status|UN

[Bug c++/89304] Compiler runs indefinitely

2019-02-12 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89304 --- Comment #2 from Jonathan Wakely --- This will work, because there's no conversion needed from tuple to tuple const, so the expected overload is more speclialized: const auto t = std::make_tuple(args...); f(t);

[Bug c++/89285] [8/9 Regression] ICE after casting the this pointer in the constructor in C++17 mode

2019-02-12 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89285 --- Comment #11 from Jakub Jelinek --- Created attachment 45667 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=45667&action=edit gcc9-pr89285-wip.patch Updated patch to address 1). For 2), I guess we need to handle e.g. CLEANUP_STMT, IF_S

[Bug c++/89304] Compiler runs indefinitely

2019-02-12 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89304 --- Comment #3 from Jonathan Wakely --- With -ftemplate-depth=50 it fails in about 5 seconds. -ftemplate-depth=100 takes 18s -ftemplate-depth=200 takes 1m27s So there's something quadratic in the nested tuple instantiations which means that reac

[Bug ipa/88818] Segfault with vtable-verify LTO optimization

2019-02-12 Thread dcb314 at hotmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88818 David Binderman changed: What|Removed |Added CC||dcb314 at hotmail dot com --- Comment

[Bug ipa/88818] Segfault with vtable-verify LTO optimization

2019-02-12 Thread dcb314 at hotmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88818 --- Comment #5 from David Binderman --- The attached code does something similar: $ ~/gcc/results/bin/gcc -c -O2 -flto -fvtable-verify=std -std=gnu++11 bug504.cc during GIMPLE pass: ealias bug504.cc: In function ‘_GLOBAL__sub_I.00099__ZSt27__rep

[Bug c++/89305] New: CWG DR 253 is not implemented

2019-02-12 Thread raphael.kubo.da.costa at intel dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89305 Bug ID: 89305 Summary: CWG DR 253 is not implemented Product: gcc Version: 8.2.1 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ Assig

[Bug fortran/88076] Shared Memory implementation for Coarrays

2019-02-12 Thread koenigni at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88076 --- Comment #9 from Nicolas Koenig --- Sorry for the late reply, there was a sad incidence with my laptop and ice cream :D (In reply to Damian Rouson from comment #8) > (In reply to Nicolas Koenig from comment #7) > > > I actually opted to use

[Bug fortran/88076] Shared Memory implementation for Coarrays

2019-02-12 Thread koenigni at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88076 Nicolas Koenig changed: What|Removed |Added Attachment #45535|0 |1 is obsolete|

[Bug target/38959] Additional switches to disallow processor supplementary instructions

2019-02-12 Thread amonakov at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=38959 Alexander Monakov changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED CC|

[Bug fortran/88076] Shared Memory implementation for Coarrays

2019-02-12 Thread koenigni at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88076 Nicolas Koenig changed: What|Removed |Added Attachment #45536|0 |1 is obsolete|

[Bug lto/88876] [9 regression] ICE in propagate_pure_const ipa-pure-const.c:1502

2019-02-12 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88876 --- Comment #3 from Martin Liška --- Author: marxin Date: Tue Feb 12 13:46:41 2019 New Revision: 268795 URL: https://gcc.gnu.org/viewcvs?rev=268795&root=gcc&view=rev Log: Revert a hunk from r261322 (PR lto/88876). 2019-02-12 Martin Liska

[Bug lto/88876] [9 regression] ICE in propagate_pure_const ipa-pure-const.c:1502

2019-02-12 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88876 Martin Liška changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug c++/89303] [8 Regression] memory leak with shared_ptr and enable_shared_from_this

2019-02-12 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89303 Jonathan Wakely changed: What|Removed |Added Status|ASSIGNED|NEW Assignee|redi at gcc dot

[Bug c++/89303] [8 Regression] memory leak with shared_ptr and enable_shared_from_this

2019-02-12 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89303 Jonathan Wakely changed: What|Removed |Added Keywords||wrong-code Component|libstdc+

[Bug libbacktrace/81983] libbacktrace calls bsearch with NULL base

2019-02-12 Thread vries at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81983 --- Comment #7 from Tom de Vries --- Author: vries Date: Tue Feb 12 14:00:59 2019 New Revision: 268796 URL: https://gcc.gnu.org/viewcvs?rev=268796&root=gcc&view=rev Log: [libbacktrace] Handle bsearch with NULL base in dwarf_lookup_pc The call t

[Bug libbacktrace/81983] libbacktrace calls bsearch with NULL base

2019-02-12 Thread vries at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81983 Tom de Vries changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug c++/89285] [8/9 Regression] ICE after casting the this pointer in the constructor in C++17 mode

2019-02-12 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89285 --- Comment #12 from Jakub Jelinek --- Created attachment 45671 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=45671&action=edit gcc9-pr89285-wip.patch Updated version that handles the above mentioned C++ stmt trees. That said, there are

[Bug rtl-optimization/89242] [7/8/9 Regression] ICE in verify_dominators, at dominance.c:1184 (error: dominator of 7 should be 5, not 2)

2019-02-12 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89242 --- Comment #2 from Martin Liška --- I've got a patch candidate for it, testing now..

[Bug ipa/89306] New: [8/9 regression] Hash based IPA summaries are too slow and consume up to 80% of IPA optimization time.

2019-02-12 Thread hubicka at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89306 Bug ID: 89306 Summary: [8/9 regression] Hash based IPA summaries are too slow and consume up to 80% of IPA optimization time. Product: gcc Version: 9.0 Status: UNCONFIRME

[Bug rtl-optimization/89303] [8 Regression] memory leak with shared_ptr and enable_shared_from_this

2019-02-12 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89303 Richard Biener changed: What|Removed |Added Component|c++ |rtl-optimization Version|unk

[Bug ipa/89306] [8/9 regression] Hash based IPA summaries are too slow and consume up to 80% of IPA optimization time.

2019-02-12 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89306 Martin Liška changed: What|Removed |Added Status|UNCONFIRMED |ASSIGNED Last reconfirmed|

[Bug c++/89297] ICE: unexpected expression 'id' of kind overload

2019-02-12 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89297 Marek Polacek changed: What|Removed |Added Status|UNCONFIRMED |ASSIGNED Last reconfirmed|

[Bug target/89233] [9 Regression] ICE in change_address_1, at emit-rtl.c:2286

2019-02-12 Thread iii at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89233 --- Comment #3 from iii at gcc dot gnu.org --- Author: iii Date: Tue Feb 12 14:51:39 2019 New Revision: 268798 URL: https://gcc.gnu.org/viewcvs?rev=268798&root=gcc&view=rev Log: S/390: Reject invalid Q/R/S/T addresses after LRA The following ins

[Bug rtl-optimization/89303] [8 Regression] memory leak with shared_ptr and enable_shared_from_this

2019-02-12 Thread adl at gnu dot org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89303 --- Comment #6 from Alexandre Duret-Lutz --- I mentioned in my first comment that I had also cases that threw bad_weak_ptr. I've been able to reproduce those as follows: % cat badwptr.cc #include class blob final: public std::enable_shared_fro

[Bug rtl-optimization/89303] [8 Regression] memory leak with shared_ptr and enable_shared_from_this

2019-02-12 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89303 --- Comment #7 from Jonathan Wakely --- Created attachment 45672 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=45672&action=edit Reduced testcase This (partially) reduced version fails with 8.2.1 or trunk when -O1 is used.

[Bug go/89277] [9 Regression] libgo memory hogs in libgo testsuite (at least on s390x-linux-gnu)

2019-02-12 Thread rdapp at linux dot ibm.com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89277 rdapp at linux dot ibm.com changed: What|Removed |Added CC||rdapp at linux dot ibm.com -

[Bug rtl-optimization/89303] [8 Regression] memory leak with shared_ptr and enable_shared_from_this

2019-02-12 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89303 --- Comment #8 from Jonathan Wakely --- (In reply to Richard Biener from comment #5) > GIMPLE at -O1 looks OK-ish - release on all paths: But release decrements the weak_count, and only calls _M_destroy() if the count reaches zero. The attachme

[Bug rtl-optimization/89303] [8 Regression] memory leak with shared_ptr and enable_shared_from_this

2019-02-12 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89303 --- Comment #9 from Jonathan Wakely --- (In reply to Jonathan Wakely from comment #8) > (In reply to Richard Biener from comment #5) > > GIMPLE at -O1 looks OK-ish - release on all paths: > > But release decrements the weak_count, and only calls

[Bug rtl-optimization/89303] [8 Regression] memory leak with shared_ptr and enable_shared_from_this

2019-02-12 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89303 --- Comment #10 from Jonathan Wakely --- (In reply to Jonathan Wakely from comment #8) > (In reply to Richard Biener from comment #5) > > GIMPLE at -O1 looks OK-ish - release on all paths: > > But release decrements the weak_count, and only call

[Bug c++/89305] CWG DR 253 is not implemented

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

[Bug c++/89285] [8/9 Regression] ICE after casting the this pointer in the constructor in C++17 mode

2019-02-12 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89285 Jakub Jelinek changed: What|Removed |Added Attachment #45666|0 |1 is obsolete|

[Bug gcov-profile/89307] New: -fprofile-generate binary may be too slow in multithreaded environment due to cache-line conflicts on counters

2019-02-12 Thread hubicka at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89307 Bug ID: 89307 Summary: -fprofile-generate binary may be too slow in multithreaded environment due to cache-line conflicts on counters Product: gcc Version: 9.0

[Bug c/88993] [9 Regression] GCC 9 -Wformat-overflow=2 should reflect real libc limits

2019-02-12 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88993 --- Comment #11 from Martin Sebor --- There is no reliable way. The limit may not be fixed, or can be different for different directives or format strings. A test case like the one in the Red Hat bug #441945 linked at comment #2 might tell you

[Bug sanitizer/89308] New: The sanitizers do no longer work on GCC 8 with newer kernels

2019-02-12 Thread segher at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89308 Bug ID: 89308 Summary: The sanitizers do no longer work on GCC 8 with newer kernels Product: gcc Version: 8.2.1 Status: UNCONFIRMED Severity: normal P

[Bug sanitizer/89308] The sanitizers do no longer work on GCC 8 with newer kernels

2019-02-12 Thread segher at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89308 Segher Boessenkool changed: What|Removed |Added Target||powerpc*-*-* Priority|P3

[Bug target/89290] [8/9 Regression] ICE in change_address_1, at emit-rtl.c:2286

2019-02-12 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89290 Jakub Jelinek changed: What|Removed |Added Status|NEW |ASSIGNED Assignee|unassigned a

[Bug c++/89299] __attribute__ cleanup does not accept template function

2019-02-12 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89299 Martin Sebor changed: What|Removed |Added CC||msebor at gcc dot gnu.org --- Comment #4

[Bug sanitizer/89308] [8 only] The sanitizers do no longer work on GCC 8 with newer kernels

2019-02-12 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89308 Andrew Pinski changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug c++/89309] New: bogus -Wattributes ‘copy’ attribute ignored on a declaration of a different kind than referenced symbol

2019-02-12 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89309 Bug ID: 89309 Summary: bogus -Wattributes ‘copy’ attribute ignored on a declaration of a different kind than referenced symbol Product: gcc Version: 9.0 Status: UNCONFIRM

[Bug c++/89309] bogus -Wattributes ‘copy’ attribute ignored on a declaration of a different kind than referenced symbol

2019-02-12 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89309 Martin Sebor changed: What|Removed |Added Keywords||diagnostic Status|UNCONFIRMED

[Bug sanitizer/89308] [8 only] The sanitizers do no longer work on GCC 8 with newer kernels

2019-02-12 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89308 --- Comment #1 from Jakub Jelinek --- So, which exact changes (e.g. upstream svn revisions) we are talking about here?

[Bug tree-optimization/89296] [7/8/9 Regression] tree copy-header masking uninitialized warning

2019-02-12 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89296 Martin Sebor changed: What|Removed |Added Status|UNCONFIRMED |NEW Known to work|

[Bug c/88993] [9 Regression] GCC 9 -Wformat-overflow=2 should reflect real libc limits

2019-02-12 Thread sirl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88993 Franz Sirl changed: What|Removed |Added CC||sirl at gcc dot gnu.org --- Comment #12 fro

[Bug middle-end/89230] Bogus uninited usage warning

2019-02-12 Thread lavr at ncbi dot nlm.nih.gov
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89230 --- Comment #5 from lavr at ncbi dot nlm.nih.gov --- Thank you Martin, for giving me the idea of where the problem might be stemming from! It does look like *printf() is not recognized by GCC as not modifying the local memory. But in your exampl

[Bug middle-end/89230] Bogus uninited usage warning

2019-02-12 Thread lavr at ncbi dot nlm.nih.gov
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89230 --- Comment #6 from lavr at ncbi dot nlm.nih.gov --- That said, any function call within the outer "if()" but before the inner "if()" would cause the warning, even if that call does not accept any pointers (and thus cannot alias with local "s").

[Bug c/63326] whether a #pragma is a statement depends on the type of pragma

2019-02-12 Thread dmalcolm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63326 David Malcolm changed: What|Removed |Added Status|REOPENED|ASSIGNED CC|

[Bug c/63326] whether a #pragma is a statement depends on the type of pragma

2019-02-12 Thread dmalcolm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63326 David Malcolm changed: What|Removed |Added Target Milestone|--- |10.0

[Bug tree-optimization/89283] [8/9 Regression] ICE: Segmentation fault (in stmt_could_throw_1_p)

2019-02-12 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89283 Martin Sebor changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug middle-end/89303] [8 Regression] memory leak with shared_ptr and enable_shared_from_this

2019-02-12 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89303 Richard Biener changed: What|Removed |Added Priority|P3 |P1 Component|rtl-optimization

[Bug rtl-optimization/89310] New: Poor code generation returning float field from a struct

2019-02-12 Thread bergner at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89310 Bug ID: 89310 Summary: Poor code generation returning float field from a struct Product: gcc Version: 9.0 Status: UNCONFIRMED Severity: normal Priorit

[Bug c++/89311] New: Brace initialization needlessly invokes destructor

2019-02-12 Thread raphael.kubo.da.costa at intel dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89311 Bug ID: 89311 Summary: Brace initialization needlessly invokes destructor Product: gcc Version: 8.2.1 Status: UNCONFIRMED Severity: normal Priority: P3 Component

[Bug rtl-optimization/89310] Poor code generation returning float field from a struct

2019-02-12 Thread bergner at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89310 --- Comment #1 from Peter Bergner --- Before combine, we have the following rtl: (insn # # # 2 (set (reg/v:DI 122 [ argD.2825 ]) (reg:DI 3 3 [ argD.2825 ])) "struct.i":8:1# {*movdi_internal64} (expr_list:REG_DEAD (reg:DI 3 3 [ argD.

[Bug c/89312] New: snprintf warning is unparsable and not confusing

2019-02-12 Thread martin at netbsd dot org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89312 Bug ID: 89312 Summary: snprintf warning is unparsable and not confusing Product: gcc Version: 7.4.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component:

[Bug c/89313] New: [9 Regression] ICE in process_alt_operands, at lra-constraints.c:2962

2019-02-12 Thread gs...@t-online.de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89313 Bug ID: 89313 Summary: [9 Regression] ICE in process_alt_operands, at lra-constraints.c:2962 Product: gcc Version: 9.0 Status: UNCONFIRMED Severity: normal

[Bug c/89314] New: ICE in wide_int_to_tree_1, at tree.c:1561

2019-02-12 Thread gs...@t-online.de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89314 Bug ID: 89314 Summary: ICE in wide_int_to_tree_1, at tree.c:1561 Product: gcc Version: 9.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c

[Bug c++/89315] New: Cannot convert to std::initializer_list - fails with gcc9 works with gcc8

2019-02-12 Thread larsbj at gullik dot net
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89315 Bug ID: 89315 Summary: Cannot convert to std::initializer_list - fails with gcc9 works with gcc8 Product: gcc Version: 9.0 Status: UNCONFIRMED Severity: normal

[Bug rtl-optimization/89310] Poor code generation returning float field from a struct

2019-02-12 Thread segher at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89310 Segher Boessenkool changed: What|Removed |Added Status|UNCONFIRMED |ASSIGNED Last reconfirmed|

[Bug c++/89316] New: ICE in gen_reg_rtx, at emit-rtl.c:1155

2019-02-12 Thread gs...@t-online.de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89316 Bug ID: 89316 Summary: ICE in gen_reg_rtx, at emit-rtl.c:1155 Product: gcc Version: 9.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++

[Bug c++/89317] New: Ineffective code from std::copy

2019-02-12 Thread bugzi...@poradnik-webmastera.com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89317 Bug ID: 89317 Summary: Ineffective code from std::copy Product: gcc Version: 9.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ Assig

[Bug tree-optimization/88713] Vectorized code slow vs. flang

2019-02-12 Thread elrodc at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88713 --- Comment #54 from Chris Elrod --- I commented elsewhere, but I built trunk a few days ago with H.J.Lu's patches (attached here) and Thomas Koenig's inlining patches. With these patches, g++ and all versions of the Fortran code produced excelle

[Bug c++/89316] ICE in gen_reg_rtx, at emit-rtl.c:1155

2019-02-12 Thread dmalcolm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89316 David Malcolm changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

  1   2   3   >