[Bug ipa/86389] execute FAILs with -fipa-pta

2018-07-16 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86389 --- Comment #5 from Richard Biener --- Author: rguenth Date: Mon Jul 16 07:29:31 2018 New Revision: 262677 URL: https://gcc.gnu.org/viewcvs?rev=262677&root=gcc&view=rev Log: 2018-07-16 Richard Biener PR ipa/86389 * gcc.dg/tor

[Bug tree-optimization/86530] New: Vectorization failure for a simple loop

2018-07-16 Thread jiangning.liu at amperecomputing dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86530 Bug ID: 86530 Summary: Vectorization failure for a simple loop Product: gcc Version: 9.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: tree-optimi

[Bug c++/86208] [6/7/8/9 Regression] improper handling of an extern declared inline function

2018-07-16 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86208 --- Comment #5 from Jakub Jelinek --- Author: jakub Date: Mon Jul 16 07:43:43 2018 New Revision: 262678 URL: https://gcc.gnu.org/viewcvs?rev=262678&root=gcc&view=rev Log: PR c++/3698 PR c++/86208 * cp-gimplify.c (cp_gener

[Bug c++/3698] improper handling of an extern declared inline function

2018-07-16 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3698 --- Comment #2 from Jakub Jelinek --- Author: jakub Date: Mon Jul 16 07:43:43 2018 New Revision: 262678 URL: https://gcc.gnu.org/viewcvs?rev=262678&root=gcc&view=rev Log: PR c++/3698 PR c++/86208 * cp-gimplify.c (cp_generi

[Bug c++/3698] improper handling of an extern declared inline function

2018-07-16 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3698 --- Comment #3 from Jakub Jelinek --- Author: jakub Date: Mon Jul 16 07:44:48 2018 New Revision: 262679 URL: https://gcc.gnu.org/viewcvs?rev=262679&root=gcc&view=rev Log: PR c++/3698 PR c++/86208 * cp-gimplify.c (cp_generi

[Bug c++/86208] [6/7/8/9 Regression] improper handling of an extern declared inline function

2018-07-16 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86208 --- Comment #6 from Jakub Jelinek --- Author: jakub Date: Mon Jul 16 07:44:48 2018 New Revision: 262679 URL: https://gcc.gnu.org/viewcvs?rev=262679&root=gcc&view=rev Log: PR c++/3698 PR c++/86208 * cp-gimplify.c (cp_gener

[Bug tree-optimization/86530] Vectorization failure for a simple loop

2018-07-16 Thread jiangning.liu at amperecomputing dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86530 --- Comment #1 from Jiangning Liu --- Created attachment 44396 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=44396&action=edit vectorization failure Attached is -O3 result for aarch64, in which no vectorization code generated at all.

[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-16 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86517 --- Comment #4 from Martin Liška --- Created attachment 44397 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=44397&action=edit Full reproducer As mentioned in my first commit, -shared was only used in order to reduce the test-case. I'm att

[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-16 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86517 Martin Liška changed: What|Removed |Added Status|RESOLVED|REOPENED Last reconfirmed|

[Bug tree-optimization/86530] Vectorization failure for a simple loop

2018-07-16 Thread ktkachov at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86530 ktkachov at gcc dot gnu.org changed: What|Removed |Added Keywords||missed-optimization

[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-16 Thread hubicka at ucw dot cz
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86517 --- Comment #6 from Jan Hubicka --- The problem is logic in lto-wrapper (which is mine) /* Merge PIC options: -fPIC + -fpic = -fpic

[Bug testsuite/86519] [9 Regression] New test case gcc.dg/strcmpopt_6.c fails with its introduction in r262636

2018-07-16 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86519 Richard Biener changed: What|Removed |Added Target Milestone|--- |9.0 Summary|New test case

[Bug bootstrap/86518] Strengthen bootstrap comparison by not enabling warnings at stage3

2018-07-16 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86518 Richard Biener changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

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

2018-07-16 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86521 Richard Biener changed: What|Removed |Added Keywords||rejects-valid Target Milestone|---

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

2018-07-16 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86523 Richard Biener changed: What|Removed |Added CC||rguenth at gcc dot gnu.org Target Mil

[Bug rtl-optimization/86525] [missed-optimization] extraneous instruction emitted in switch converted to look-uptable load

2018-07-16 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86525 Richard Biener changed: What|Removed |Added Keywords||missed-optimization Target|

[Bug libstdc++/86524] [8/9 Regression] std::less with pointer arguments not usable in static_assert in constexpr function

2018-07-16 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86524 Richard Biener changed: What|Removed |Added Keywords||rejects-valid Component|c++

[Bug tree-optimization/86526] [9 Regression] ICE in builtin_memcpy_read_str, at builtins.c:3017

2018-07-16 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86526 Richard Biener changed: What|Removed |Added Target Milestone|--- |9.0 Summary|ICE in

[Bug ipa/86529] [9 Regression] ICE in malloc_candidate_p, at ipa-pure-const.c:962

2018-07-16 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86529 Richard Biener changed: What|Removed |Added Target Milestone|--- |9.0

[Bug middle-end/86528] [9 Regression] strlen of constant string malfunction -- had to back out fix for PR middle-end/77357

2018-07-16 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86528 Richard Biener changed: What|Removed |Added Status|UNCONFIRMED |WAITING Last reconfirmed|

[Bug tree-optimization/80641] missed optimization with with std::vector resize in loop

2018-07-16 Thread ramana at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80641 --- Comment #12 from Ramana Radhakrishnan --- (In reply to Martin Sebor from comment #11) > *** Bug 86516 has been marked as a duplicate of this bug. *** (In reply to Paul Gotch from comment #10) > I'm afraid the changes made to libstdc++ have o

[Bug target/86487] [7/8/9 Regression] insn does not satisfy its constraints on arm big-endian

2018-07-16 Thread avieira at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86487 avieira at gcc dot gnu.org changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug tree-optimization/80641] missed optimization with with std::vector resize in loop

2018-07-16 Thread ramana at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80641 Ramana Radhakrishnan changed: What|Removed |Added Known to work||6.4.1, 8.1.0 Known to fail|

[Bug tree-optimization/86514] [8/9 regression] wrong manipulation of 2-dimensional packed array at -O

2018-07-16 Thread ebotcazou at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86514 --- Comment #4 from Eric Botcazou --- Author: ebotcazou Date: Mon Jul 16 08:59:09 2018 New Revision: 262684 URL: https://gcc.gnu.org/viewcvs?rev=262684&root=gcc&view=rev Log: PR tree-optimization/86514 * tree-ssa-reassoc.c (init_

[Bug tree-optimization/86514] [8/9 regression] wrong manipulation of 2-dimensional packed array at -O

2018-07-16 Thread ebotcazou at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86514 --- Comment #5 from Eric Botcazou --- Author: ebotcazou Date: Mon Jul 16 09:02:03 2018 New Revision: 262685 URL: https://gcc.gnu.org/viewcvs?rev=262685&root=gcc&view=rev Log: PR tree-optimization/86514 * tree-ssa-reassoc.c (init_

[Bug fortran/86417] [9 Regression] FAIL: libgomp.fortran/alloc-comp-3.f90 -O0 (test for excess errors)

2018-07-16 Thread janus at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86417 --- Comment #13 from janus at gcc dot gnu.org --- (In reply to Fritz Reese from comment #12) > If we set the component's locus when it is loaded from a module, the > following patch fixes the issue and retains sane location information for > the c

[Bug debug/86531] New: [9 regression] gcc.dg/guality/pr37726.c fail

2018-07-16 Thread andrey.y.guskov at intel dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86531 Bug ID: 86531 Summary: [9 regression] gcc.dg/guality/pr37726.c fail Product: gcc Version: 9.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: debug

[Bug tree-optimization/86514] [8/9 regression] wrong manipulation of 2-dimensional packed array at -O

2018-07-16 Thread ebotcazou at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86514 Eric Botcazou changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug c++/86208] [6/7 Regression] improper handling of an extern declared inline function

2018-07-16 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86208 Jakub Jelinek changed: What|Removed |Added Status|NEW |ASSIGNED Assignee|unassigned a

[Bug middle-end/86528] [9 Regression] strlen of constant string malfunction -- had to back out fix for PR middle-end/77357

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

[Bug debug/86455] var-tracking mishandles pre_dec

2018-07-16 Thread vries at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86455 --- Comment #5 from Tom de Vries --- Author: vries Date: Mon Jul 16 09:18:51 2018 New Revision: 262687 URL: https://gcc.gnu.org/viewcvs?rev=262687&root=gcc&view=rev Log: [debug] Fix pre_dec handling in vartrack When compiling test-case gcc.targ

[Bug tree-optimization/80641] missed optimization with with std::vector resize in loop

2018-07-16 Thread ramana at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80641 Ramana Radhakrishnan changed: What|Removed |Added Known to fail||7.3.1 --- Comment #14 from Ramana

[Bug debug/86455] var-tracking mishandles pre_dec

2018-07-16 Thread vries at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86455 Tom de Vries changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug middle-end/86528] [9 Regression] strlen of constant string malfunction -- had to back out fix for PR middle-end/77357

2018-07-16 Thread bernd.edlinger at hotmail dot de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86528 --- Comment #4 from Bernd Edlinger --- actually array seems to be a VAR_DECL here... p array->base.code $38 = VAR_DECL

[Bug tree-optimization/86526] [9 Regression] ICE in builtin_memcpy_read_str, at builtins.c:3017

2018-07-16 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86526 Jakub Jelinek changed: What|Removed |Added CC||jakub at gcc dot gnu.org --- Comment #1

[Bug fortran/79886] [6 Regression] ICE in pp_format, at pretty-print.c:681

2018-07-16 Thread juergen.reuter at desy dot de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79886 Jürgen Reuter changed: What|Removed |Added CC||juergen.reuter at desy dot de --- Commen

[Bug tree-optimization/86526] [9 Regression] ICE in builtin_memcpy_read_str, at builtins.c:3017

2018-07-16 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86526 Jakub Jelinek changed: What|Removed |Added Status|NEW |ASSIGNED Assignee|unassigned a

[Bug debug/86531] [9 regression] gcc.dg/guality/pr37726.c fail

2018-07-16 Thread ebotcazou at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86531 Eric Botcazou changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug tree-optimization/86526] [9 Regression] ICE in builtin_memcpy_read_str, at builtins.c:3017

2018-07-16 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86526 --- Comment #3 from Jakub Jelinek --- As the patch contains a lot of formatting fixes (Qing, please watch out formatting of your patches more carefully, there should be no whitespace at the end of lines, tabs should be used rather than 8 spaces,

[Bug middle-end/86471] GCC/libstdc++ outputs inferior code for std::fill and std::fill_n vs std::memset on c-style arrays

2018-07-16 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86471 --- Comment #11 from Jonathan Wakely --- __is_pointer_helper and __is_integral_helper are not available in C++98 and are not supposed to be used directly anyway, they're just implementation details for is_pointer and is_integral.

[Bug middle-end/86471] GCC/libstdc++ outputs inferior code for std::fill and std::fill_n vs std::memset on c-style arrays

2018-07-16 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86471 --- Comment #12 from Jonathan Wakely --- Also you're doing a reinterpret_cast from an arbitrary iterator type, which is not necessarily a pointer, or even a random access iterator. Since you don't have a copyright assignment in place please leav

[Bug middle-end/86528] [9 Regression] strlen of constant string malfunction -- had to back out fix for PR middle-end/77357

2018-07-16 Thread bernd.edlinger at hotmail dot de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86528 --- Comment #5 from Bernd Edlinger --- slightly modified test case blows off at -O0 $ cat t.c void __attribute__((noinline, noclone)) test(char *data, __SIZE_TYPE__ len) { static char const appended[] = "/./"; char *buf = __builtin_alloc

[Bug target/85624] ICE when initializing array that is 128-byte aligned

2018-07-16 Thread gjl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85624 --- Comment #1 from Georg-Johann Lay --- Shouldn't this use the library routine because setmemhi expander FAILs when operands[1] is not a const_int? It is (reg:QI 48) which is not a const_int.

[Bug fortran/79886] [6 Regression] ICE in pp_format, at pretty-print.c:681

2018-07-16 Thread tkoenig at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79886 Thomas Koenig changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

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

2018-07-16 Thread csaba_22 at yahoo dot co.uk
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86513 --- Comment #2 from Csaba Ráduly --- I don't get this. ostringstream isn't even supposed to have a default constructor, only the openmode, string and openmode, and the move constructor (if I'm reading [ostringstream.cons] in N4659 right).

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

2018-07-16 Thread csaba_22 at yahoo dot co.uk
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86513 --- Comment #3 from Csaba Ráduly --- I don't get this. ostringstream isn't even supposed to have a default constructor, only the openmode, string and openmode, and the move constructor (if I'm reading [ostringstream.cons] in N4659 right). In the

[Bug tree-optimization/85935] [8 Regression] [graphite] ICE in extract_affine, at graphite-sese-to-poly.c:287

2018-07-16 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85935 Richard Biener changed: What|Removed |Added Status|ASSIGNED|RESOLVED Known to work|

[Bug tree-optimization/85935] [8 Regression] [graphite] ICE in extract_affine, at graphite-sese-to-poly.c:287

2018-07-16 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85935 --- Comment #5 from Richard Biener --- Author: rguenth Date: Mon Jul 16 11:01:48 2018 New Revision: 262690 URL: https://gcc.gnu.org/viewcvs?rev=262690&root=gcc&view=rev Log: 2018-07-16 Richard Biener Backport from mainline 20

[Bug tree-optimization/86076] [7/8 Regression] ICE: verify_gimple failed (error: location references block not in block tree)

2018-07-16 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86076 --- Comment #8 from Richard Biener --- Author: rguenth Date: Mon Jul 16 11:01:48 2018 New Revision: 262690 URL: https://gcc.gnu.org/viewcvs?rev=262690&root=gcc&view=rev Log: 2018-07-16 Richard Biener Backport from mainline 20

[Bug middle-end/85974] [8 Regression] Failure to optimize difference of two pointers into a compile time constant

2018-07-16 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85974 --- Comment #7 from Richard Biener --- Author: rguenth Date: Mon Jul 16 11:01:48 2018 New Revision: 262690 URL: https://gcc.gnu.org/viewcvs?rev=262690&root=gcc&view=rev Log: 2018-07-16 Richard Biener Backport from mainline 20

[Bug middle-end/85974] [8 Regression] Failure to optimize difference of two pointers into a compile time constant

2018-07-16 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85974 Richard Biener changed: What|Removed |Added Status|ASSIGNED|RESOLVED Known to work|

[Bug tree-optimization/59859] [meta-bug] GRAPHITE issues

2018-07-16 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=59859 Bug 59859 depends on bug 85935, which changed state. Bug 85935 Summary: [8 Regression] [graphite] ICE in extract_affine, at graphite-sese-to-poly.c:287 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85935 What|Removed

[Bug tree-optimization/86153] [8/9 regression] test case g++.dg/pr83239.C fails starting with r261585

2018-07-16 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86153 Richard Biener changed: What|Removed |Added Keywords||missed-optimization Priority|

[Bug tree-optimization/86532] New: [9 Regression] Wrong code due to a wrong strlen folding starting with r262522

2018-07-16 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86532 Bug ID: 86532 Summary: [9 Regression] Wrong code due to a wrong strlen folding starting with r262522 Product: gcc Version: 9.0 Status: UNCONFIRMED Keywords: wro

[Bug tree-optimization/86532] [9 Regression] Wrong code due to a wrong strlen folding starting with r262522

2018-07-16 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86532 Richard Biener changed: What|Removed |Added Priority|P3 |P1 Status|UNCONFIRMED

[Bug debug/86452] [8 Regression] ICE in force_decl_die, at dwarf2out.c:25922 with -g1 and -flto

2018-07-16 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86452 Richard Biener changed: What|Removed |Added Status|ASSIGNED|RESOLVED Known to work|

[Bug debug/86452] [8 Regression] ICE in force_decl_die, at dwarf2out.c:25922 with -g1 and -flto

2018-07-16 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86452 --- Comment #9 from Richard Biener --- Author: rguenth Date: Mon Jul 16 11:57:10 2018 New Revision: 262691 URL: https://gcc.gnu.org/viewcvs?rev=262691&root=gcc&view=rev Log: 2018-07-19 Richard Biener Backport from mainline 20

[Bug debug/86457] [8 Regression] ICE in add_dwarf_attr, at dwarf2out.c:4405 since r251448

2018-07-16 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86457 --- Comment #4 from Richard Biener --- Author: rguenth Date: Mon Jul 16 11:57:10 2018 New Revision: 262691 URL: https://gcc.gnu.org/viewcvs?rev=262691&root=gcc&view=rev Log: 2018-07-19 Richard Biener Backport from mainline 20

[Bug c/86453] [8 Regression] error: type variant differs by TYPE_PACKED in free_lang_data since r255469

2018-07-16 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86453 Richard Biener changed: What|Removed |Added Status|ASSIGNED|RESOLVED Known to work|

[Bug c/86453] [8 Regression] error: type variant differs by TYPE_PACKED in free_lang_data since r255469

2018-07-16 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86453 --- Comment #14 from Richard Biener --- Author: rguenth Date: Mon Jul 16 11:57:10 2018 New Revision: 262691 URL: https://gcc.gnu.org/viewcvs?rev=262691&root=gcc&view=rev Log: 2018-07-19 Richard Biener Backport from mainline 2

[Bug debug/86457] [8 Regression] ICE in add_dwarf_attr, at dwarf2out.c:4405 since r251448

2018-07-16 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86457 Richard Biener changed: What|Removed |Added Status|ASSIGNED|RESOLVED Known to work|

[Bug target/86040] [avr]: RAMPZ is not always cleared after loading __flashN data

2018-07-16 Thread gjl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86040 Georg-Johann Lay changed: What|Removed |Added Keywords||wrong-code Status|UNCONFI

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

2018-07-16 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86523 Richard Biener changed: What|Removed |Added Status|UNCONFIRMED |ASSIGNED Last reconfirmed|

[Bug libstdc++/86524] [8/9 Regression] std::less with pointer arguments not usable in static_assert in constexpr function

2018-07-16 Thread david at doublewise dot net
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86524 David Stone changed: What|Removed |Added CC||david at doublewise dot net --- Comment #1

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

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

[Bug debug/86456] [8/9 Regression] Segfault in switch_to_section at gcc/varasm.c:7353 since r259317

2018-07-16 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86456 --- Comment #2 from Richard Biener --- OK, so we populate debug_line_str_hash via dwarf2out_early_finish LTO debug output #0 output_line_string (form=DW_FORM_line_strp, str=0x7fffeb19 "/abuild/rguenther/obj-sccvn-g/gcc", entry_kin

[Bug debug/86456] [8/9 Regression] Segfault in switch_to_section at gcc/varasm.c:7353 since r259317

2018-07-16 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86456 Richard Biener changed: What|Removed |Added Status|NEW |ASSIGNED Assignee|unassigned

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

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

[Bug ipa/86529] [9 Regression] ICE in malloc_candidate_p, at ipa-pure-const.c:962

2018-07-16 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86529 --- Comment #1 from Martin Liška --- Author: marxin Date: Mon Jul 16 13:33:23 2018 New Revision: 262695 URL: https://gcc.gnu.org/viewcvs?rev=262695&root=gcc&view=rev Log: Revert one more symbol_summary::get to ::get_create (PR ipa/86529). 2018-

[Bug ipa/86529] [9 Regression] ICE in malloc_candidate_p, at ipa-pure-const.c:962

2018-07-16 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86529 Martin Liška changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug rtl-optimization/85805] Improper code generation for 64 bit comparisons on avr-gcc

2018-07-16 Thread gjl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85805 Georg-Johann Lay changed: What|Removed |Added Status|WAITING |NEW Component|target

[Bug debug/86456] [8/9 Regression] Segfault in switch_to_section at gcc/varasm.c:7353 since r259317

2018-07-16 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86456 --- Comment #4 from Martin Liška --- (In reply to Richard Biener from comment #3) > Created attachment 44399 [details] > patch > > The attached fixes the ICE. Martin, this was likely reduced from sth else? > I guess nobody uses -gdwarf-5 ...

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

2018-07-16 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86523 --- Comment #4 from Richard Biener --- Author: rguenth Date: Mon Jul 16 13:57:32 2018 New Revision: 262696 URL: https://gcc.gnu.org/viewcvs?rev=262696&root=gcc&view=rev Log: 2018-07-16 Richard Biener PR lto/86523 * dwarf2out.

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

2018-07-16 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86523 Richard Biener changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug ipa/86436] IPA-ICF: miissed optimization at class template member functions

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

[Bug debug/86456] [8/9 Regression] Segfault in switch_to_section at gcc/varasm.c:7353 since r259317

2018-07-16 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86456 Richard Biener changed: What|Removed |Added Keywords||wrong-debug --- Comment #5 from Richard

[Bug bootstrap/86518] Strengthen bootstrap comparison by not enabling warnings at stage3

2018-07-16 Thread egallager at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86518 Eric Gallager changed: What|Removed |Added CC||egallager at gcc dot gnu.org --- Comment

[Bug bootstrap/86518] Strengthen bootstrap comparison by not enabling warnings at stage3

2018-07-16 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86518 --- Comment #3 from Jonathan Wakely --- I wouldn't be surprised if the build fails with -Wnarrowing (but maybe that should be fixed anyway, so we can build with non-GNU compilers that default to C++11 or later).

[Bug bootstrap/86518] Strengthen bootstrap comparison by not enabling warnings at stage3

2018-07-16 Thread amonakov at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86518 --- Comment #4 from Alexander Monakov --- Yep, that's correct: -Wno-narrowing is necessary for build to succeed at all.

[Bug tree-optimization/86532] [9 Regression] Wrong code due to a wrong strlen folding starting with r262522

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

[Bug c++/86533] New: [9.0 regression] Compile error on valid code: error: no matching function for call to 'std::allocator::allocator(const _Tp_alloc_type&)' { return _Map_alloc_type(_

2018-07-16 Thread juergen.reuter at desy dot de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86533 Bug ID: 86533 Summary: [9.0 regression] Compile error on valid code: error: no matching function for call to 'std::allocator::allocator(const _Tp_alloc_type&)'

[Bug bootstrap/86534] New: Linking gcc with gold fails, when libisl is under /usr/local/lib

2018-07-16 Thread dilyan.palauzov at aegee dot org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86534 Bug ID: 86534 Summary: Linking gcc with gold fails, when libisl is under /usr/local/lib Product: gcc Version: 7.3.1 Status: UNCONFIRMED Severity: normal

[Bug go/86535] New: FreeBSD/PowerPC64 - Building Go Frontend support for gcc 7.3.0 fails

2018-07-16 Thread clhamilto at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86535 Bug ID: 86535 Summary: FreeBSD/PowerPC64 - Building Go Frontend support for gcc 7.3.0 fails Product: gcc Version: 7.3.0 Status: UNCONFIRMED Severity: normal

[Bug tree-optimization/86532] [9 Regression] Wrong code due to a wrong strlen folding starting with r262522

2018-07-16 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86532 Martin Sebor changed: What|Removed |Added Status|NEW |ASSIGNED Assignee|unassigned at

[Bug gcov-profile/86536] New: Function "returned NAN %" for a simple program which forks

2018-07-16 Thread mcastelluccio at mozilla dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86536 Bug ID: 86536 Summary: Function "returned NAN %" for a simple program which forks Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal P

[Bug middle-end/86511] [9 Regression] Traps are generated for non-trapping compares

2018-07-16 Thread uros at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86511 --- Comment #5 from uros at gcc dot gnu.org --- Author: uros Date: Mon Jul 16 15:11:57 2018 New Revision: 262736 URL: https://gcc.gnu.org/viewcvs?rev=262736&root=gcc&view=rev Log: PR target/86511 * expmed.c (emit_store_flag): Do n

[Bug libstdc++/86537] New: std::less specialization for std::shared_ptr

2018-07-16 Thread d at ilvokhin dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86537 Bug ID: 86537 Summary: std::less specialization for std::shared_ptr Product: gcc Version: 4.8.5 Status: UNCONFIRMED Severity: normal Priority: P3 Component: libs

[Bug tree-optimization/86526] [9 Regression] ICE in builtin_memcpy_read_str, at builtins.c:3017

2018-07-16 Thread qing.zhao at oracle dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86526 --- Comment #4 from Qing Zhao --- > On Jul 16, 2018, at 5:01 AM, jakub at gcc dot gnu.org > wrote: > --- Comment #3 from Jakub Jelinek --- > As the patch contains a lot of formatting fixes (Qing, please watch out > formatting of your patches m

[Bug testsuite/86519] [9 Regression] New test case gcc.dg/strcmpopt_6.c fails with its introduction in r262636

2018-07-16 Thread seurer at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86519 --- Comment #2 from seurer at gcc dot gnu.org --- What system are you testing on? I've seen the same failure on power 8 and power 9 LE systems and power 7 and power 8 BE systems.

[Bug c++/86533] [9.0 regression] Compile error on valid code: error: no matching function for call to 'std::allocator::allocator(const _Tp_alloc_type&)' { return _Map_alloc_type(_M_get

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

[Bug tree-optimization/86520] AArch64: Two 8-bit accesses coalesced into a single 16-bit access

2018-07-16 Thread swarren at nvidia dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86520 Stephen Warren changed: What|Removed |Added Resolution|INVALID |FIXED --- Comment #4 from Stephen Warre

[Bug go/86535] FreeBSD/PowerPC64 - Building Go Frontend support for gcc 7.3.0 fails

2018-07-16 Thread ian at airs dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86535 --- Comment #1 from Ian Lance Taylor --- Can you attach a copy of the generated file gen-sysinfo.go? What does the definition of, say, cmsghdr look like in (or some header file included by that one)?

[Bug libstdc++/86537] std::less specialization for std::shared_ptr

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

[Bug c++/86533] [9.0 regression] Compile error on valid code: error: no matching function for call to 'std::allocator::allocator(const _Tp_alloc_type&)' { return _Map_alloc_type(_M_get

2018-07-16 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86533 --- Comment #2 from Jonathan Wakely --- My best guess is that you've messed up your GCC installation, because _GLIBCXX20_CONSTEXPR should be defined in like so: #ifndef _GLIBCXX20_CONSTEXPR # if __cplusplus > 201703L # define _GLIBCXX20_CONSTE

[Bug middle-end/86505] [6/7/8/9 Regression] __builtin_va_arg_pack_len() computes the number of arguments wrongly

2018-07-16 Thread rpirrera at aitek dot it
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86505 --- Comment #2 from rpirrera at aitek dot it --- Any news on the fix?

[Bug target/86538] New: GCC should define a macro to specify if LSE is enabled or not

2018-07-16 Thread sje at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86538 Bug ID: 86538 Summary: GCC should define a macro to specify if LSE is enabled or not Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal

[Bug libstdc++/86537] std::less specialization for std::shared_ptr

2018-07-16 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86537 Jonathan Wakely changed: What|Removed |Added Status|NEW |ASSIGNED Assignee|unassigned

[Bug libstdc++/86537] std::less specialization for std::shared_ptr

2018-07-16 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86537 --- Comment #3 from Jonathan Wakely --- The changes from lwg 1262 were implemented by r171293 but we never got rid of the partial specialization of std::less.

[Bug testsuite/86519] [9 Regression] New test case gcc.dg/strcmpopt_6.c fails with its introduction in r262636

2018-07-16 Thread qing.zhao at oracle dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86519 --- Comment #3 from Qing Zhao --- > --- Comment #2 from seurer at gcc dot gnu.org --- > What system are you testing on? I've seen the same failure on power 8 and > power 9 LE systems and power 7 and power 8 BE systems. I am using the GCC farm m

[Bug c++/86533] [9.0 regression] Compile error on valid code: error: no matching function for call to 'std::allocator::allocator(const _Tp_alloc_type&)' { return _Map_alloc_type(_M_get

2018-07-16 Thread juergen.reuter at desy dot de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86533 --- Comment #3 from Jürgen Reuter --- (In reply to Jonathan Wakely from comment #2) > My best guess is that you've messed up your GCC installation, because > _GLIBCXX20_CONSTEXPR should be defined in like so: > > #ifndef _GLIBCXX20_CONSTEXPR >

  1   2   >