[Bug c++/86524] New: std::less with pointer arguments not usable in static_assert in constexpr function

2018-07-14 Thread david at doublewise dot net
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86524 Bug ID: 86524 Summary: std::less with pointer arguments not usable in static_assert in constexpr function Product: gcc Version: 8.1.0 Status: UNCONFIRMED

[Bug tree-optimization/86274] [7/8 Regression] SEGFAULT when logging std::to_string(NAN)

2018-07-14 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86274 --- Comment #19 from Martin Sebor --- Author: msebor Date: Sat Jul 14 21:32:10 2018 New Revision: 262661 URL: https://gcc.gnu.org/viewcvs?rev=262661=gcc=rev Log: PR tree-optimization/86274 - SEGFAULT when logging std::to_string(NAN)

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

2018-07-14 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86259 --- Comment #30 from Martin Sebor --- (In reply to Bernd Edlinger from comment #28) > > Can someone explain why the example in comment #21 works when > pointer arithmentic instead of integer arithmetic is used? Because the optimization (making

[Bug c++/86480] [8/9 Regression] error: parameter packs not expanded with '...' in a recursive variadic lambda

2018-07-14 Thread jason at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86480 Jason Merrill changed: What|Removed |Added CC||jason at gcc dot gnu.org --- Comment #4

[Bug tree-optimization/86274] [7 Regression] SEGFAULT when logging std::to_string(NAN)

2018-07-14 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86274 Martin Sebor changed: What|Removed |Added Summary|[7/8 Regression] SEGFAULT |[7 Regression] SEGFAULT

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

2018-07-14 Thread rguenther at suse dot de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86259 --- Comment #25 from rguenther at suse dot de --- On July 14, 2018 2:26:06 AM GMT+02:00, "msebor at gcc dot gnu.org" wrote: >https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86259 > >--- Comment #24 from Martin Sebor --- >The code in example #21

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

2018-07-14 Thread bernd.edlinger at hotmail dot de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86259 Bernd Edlinger changed: What|Removed |Added CC||bernd.edlinger at hotmail dot de ---

[Bug lto/86517] relocation R_X86_64_32 against `.rodata.str1.1' can not be used when making a shared object with LTO

2018-07-14 Thread hubicka at ucw dot cz
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86517 --- Comment #2 from Jan Hubicka --- > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86517 > > H.J. Lu changed: > >What|Removed |Added >

[Bug lto/86490] lto1: fatal error: multiple prevailing defs

2018-07-14 Thread zenith432 at users dot sourceforge.net
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86490 --- Comment #14 from zenith432 at users dot sourceforge.net --- (In reply to H.J. Lu from comment #13) > > But the symbol in question won't be USED by lto1 at all. Ok. I didn't completely check the logic for resolutions in ld.bfd so didn't

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

2018-07-14 Thread bernd.edlinger at hotmail dot de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86259 --- Comment #28 from Bernd Edlinger --- (In reply to Davin McCall from comment #27) > Again, there was no pointer arithmetic (other than the line containing > 'strlen', but that particular case the pointer has the address of the union > object,

[Bug c++/86522] gcc-7.3.0 on x86-only fails to compile mariadb/mysql: error: unsupported size for integer register

2018-07-14 Thread valko at linux dot karinthy.hu
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86522 --- Comment #1 from valko at linux dot karinthy.hu --- Created attachment 44392 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=44392=edit gcc command line failing

[Bug c++/86522] New: gcc-7.3.0 on x86-only fails to compile mariadb/mysql: error: unsupported size for integer register

2018-07-14 Thread valko at linux dot karinthy.hu
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86522 Bug ID: 86522 Summary: gcc-7.3.0 on x86-only fails to compile mariadb/mysql: error: unsupported size for integer register Product: gcc Version: 7.3.0 Status: UNCONFIRMED

[Bug c++/86522] gcc-7.3.0 on x86-only fails to compile mariadb/mysql: error: unsupported size for integer register

2018-07-14 Thread valko at linux dot karinthy.hu
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86522 --- Comment #2 from valko at linux dot karinthy.hu --- Created attachment 44393 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=44393=edit gcc compilation output (including -v)

[Bug c++/86522] gcc-7.3.0 on x86-only fails to compile mariadb/mysql: error: unsupported size for integer register

2018-07-14 Thread valko at linux dot karinthy.hu
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86522 --- Comment #3 from valko at linux dot karinthy.hu --- Created attachment 44394 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=44394=edit sql_prepare.ii.gz

[Bug debug/86523] New: [9 Regression] ICE in gen_member_die, at dwarf2out.c:24933 starting from r262560

2018-07-14 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86523 Bug ID: 86523 Summary: [9 Regression] ICE in gen_member_die, at dwarf2out.c:24933 starting from r262560 Product: gcc Version: 9.0 Status: UNCONFIRMED Keywords:

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

2018-07-14 Thread davmac at davmac dot org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86259 --- Comment #27 from Davin McCall --- (In reply to Martin Sebor from comment #24) > The code in example #21 has the same bug: > [...] ... due to provenance, you are claiming, if I understand correctly. But I don't see anything in the current

[Bug lto/86517] relocation R_X86_64_32 against `.rodata.str1.1' can not be used when making a shared object with LTO

2018-07-14 Thread hjl.tools at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86517 --- Comment #3 from H.J. Lu --- (In reply to Jan Hubicka from comment #2) > I think the problem here is that you can compile PIE and PIC object into pie > binary He used gcc -pie -O2 -pthread -ldl -lxml2 1.o 2.o x.a -rdynamic -flto=9 -shared

[Bug libstdc++/86513] ostringstream default constructor missing from libstdc++

2018-07-14 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86513 Jonathan Wakely changed: What|Removed |Added Status|UNCONFIRMED |WAITING Last reconfirmed|

[Bug c++/86521] New: GCC 8 selects incorrect overload of ref-qualified conversion operator template

2018-07-14 Thread yannick.lepennec+gcc at live dot fr
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86521 Bug ID: 86521 Summary: GCC 8 selects incorrect overload of ref-qualified conversion operator template Product: gcc Version: 8.0 Status: UNCONFIRMED Severity:

[Bug c++/86515] std::initializer_list constructor is not a constant expression

2018-07-14 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86515 Jonathan Wakely changed: What|Removed |Added Keywords||rejects-valid

[Bug debug/86523] [9 Regression] ICE in gen_member_die, at dwarf2out.c:24933 starting from r262560

2018-07-14 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86523 --- Comment #1 from Martin Liška --- One more test-case with a bit different BT: $ cat ice.ii namespace { class a typedef b; class a {}; } // namespace class c { struct C { b d; }; C e() const; }; c::C c::e() const { C g; struct

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

2018-07-14 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86259 --- Comment #29 from Martin Sebor --- (In reply to rguent...@suse.de from comment #25) > > Istr the proposal suggests a -fno-provenance option. How would we handle > these cases with that? The proposal is still being discussed and it's not