[Bug target/88529] G++ clears the return register on x86_64 when returning an empty class

2019-06-18 Thread antoshkka at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88529 --- Comment #5 from Antony Polukhin --- (In reply to Jason Merrill from comment #1) > Created attachment 45899 [details] > Fix Is it enough to test only for `scan-assembler-not mov`? Probably a `scan-assembler-not xor` should be also added?

[Bug middle-end/90923] hash_map destroys elements without constructing them

2019-06-18 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90923 Martin Sebor changed: What|Removed |Added Keywords||patch Status|UNCONFIRMED

[Bug fortran/89103] Allow blank format items in format strings

2019-06-18 Thread jvdelisle at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89103 --- Comment #10 from Jerry DeLisle --- Author: jvdelisle Date: Wed Jun 19 03:02:21 2019 New Revision: 272467 URL: https://gcc.gnu.org/viewcvs?rev=272467&root=gcc&view=rev Log: 2019-06-19 Jim MacArthur Mark Eggleston PR

[Bug target/90912] Thread-local storage not working properly when compiling code with -fPIC and optimization on Solaris

2019-06-18 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90912 Andrew Pinski changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug middle-end/34678] Optimization generates incorrect code with -frounding-math option (#pragma STDC FENV_ACCESS not implemented)

2019-06-18 Thread glisse at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=34678 --- Comment #42 from Marc Glisse --- Created attachment 46502 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=46502&action=edit other hack Another approach. * lowering in an optimization pass is idiotic, it only works at -O2+, but it shows

[Bug plugins/90924] New: lto-plugin/lto-plugin.c heap memory corruption due to insufficient sanitization.

2019-06-18 Thread rkx1209dev at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90924 Bug ID: 90924 Summary: lto-plugin/lto-plugin.c heap memory corruption due to insufficient sanitization. Product: gcc Version: 9.1.0 Status: UNCONFIRMED Severity

[Bug target/90912] Thread-local storage not working properly when compiling code with -fPIC and optimization on Solaris

2019-06-18 Thread wpk at culm dot net
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90912 --- Comment #3 from Witold Krecicki --- It seems to be a bad interaction between GCC and Solaris linker, with GNU ld it works correctly on all optimization levels - gcc -v below. Unfortunately gcc shipped with Solaris is using Solaris linker. ``

[Bug fortran/90743] Fortran 'allocatable' in OpenACC/OpenMP target offloading regions

2019-06-18 Thread tschwinge at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90743 Thomas Schwinge changed: What|Removed |Added Status|WAITING |NEW --- Comment #6 from Thomas Schwing

[Bug target/90922] Bad prologue generated for call0 ABI functions

2019-06-18 Thread jcmvbkbc at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90922 jcmvbkbc at gcc dot gnu.org changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution

[Bug target/90922] Bad prologue generated for call0 ABI functions

2019-06-18 Thread jcmvbkbc at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90922 --- Comment #1 from jcmvbkbc at gcc dot gnu.org --- Author: jcmvbkbc Date: Tue Jun 18 22:19:12 2019 New Revision: 272455 URL: https://gcc.gnu.org/viewcvs?rev=272455&root=gcc&view=rev Log: xtensa: fix PR target/90922 Stack pointer adjustment code

[Bug fortran/85221] [openacc] ICE in install_var_field, at omp-low.c:657

2019-06-18 Thread tschwinge at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85221 --- Comment #2 from Thomas Schwinge --- Author: tschwinge Date: Tue Jun 18 22:15:43 2019 New Revision: 272453 URL: https://gcc.gnu.org/viewcvs?rev=272453&root=gcc&view=rev Log: [PR85221] Set 'omp declare target', 'omp declare target link' attrib

[Bug fortran/90921] Fortran OpenACC 'declare' directive's module handling causes duplicate data clauses

2019-06-18 Thread tschwinge at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90921 --- Comment #1 from Thomas Schwinge --- Author: tschwinge Date: Tue Jun 18 22:15:53 2019 New Revision: 272454 URL: https://gcc.gnu.org/viewcvs?rev=272454&root=gcc&view=rev Log: [PR90921] Fortran OpenACC 'declare' directive's module handling caus

[Bug middle-end/90859] [OMP] Mappings for VLA different depending on 'target { c && { ! lp64 } }'

2019-06-18 Thread tschwinge at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90859 --- Comment #1 from Thomas Schwinge --- Author: tschwinge Date: Tue Jun 18 22:15:16 2019 New Revision: 272452 URL: https://gcc.gnu.org/viewcvs?rev=272452&root=gcc&view=rev Log: [PR90859] Document status quo for "[OMP] Mappings for VLA different

[Bug fortran/90743] Fortran 'allocatable' in OpenACC/OpenMP target offloading regions

2019-06-18 Thread tschwinge at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90743 --- Comment #5 from Thomas Schwinge --- Author: tschwinge Date: Tue Jun 18 22:14:24 2019 New Revision: 272447 URL: https://gcc.gnu.org/viewcvs?rev=272447&root=gcc&view=rev Log: [PR90743] Fortran 'allocatable' with OpenACC data/OpenMP 'target' 'm

[Bug middle-end/90861] OpenACC 'declare' not cleaning up for VLAs

2019-06-18 Thread tschwinge at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90861 --- Comment #1 from Thomas Schwinge --- Author: tschwinge Date: Tue Jun 18 22:14:14 2019 New Revision: 272446 URL: https://gcc.gnu.org/viewcvs?rev=272446&root=gcc&view=rev Log: [PR90861] Document status quo for OpenACC 'declare' not cleaning up

[Bug middle-end/90868] Duplicate OpenACC 'declare' directives for `extern` variables

2019-06-18 Thread tschwinge at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90868 --- Comment #1 from Thomas Schwinge --- Author: tschwinge Date: Tue Jun 18 22:14:04 2019 New Revision: 272445 URL: https://gcc.gnu.org/viewcvs?rev=272445&root=gcc&view=rev Log: [PR90868] Document status quo for duplicate OpenACC 'declare' direct

[Bug middle-end/90862] OpenACC 'declare' ICE when nested inside another construct

2019-06-18 Thread tschwinge at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90862 --- Comment #1 from Thomas Schwinge --- Author: tschwinge Date: Tue Jun 18 22:13:54 2019 New Revision: 272444 URL: https://gcc.gnu.org/viewcvs?rev=272444&root=gcc&view=rev Log: [PR90862] OpenACC 'declare' ICE when nested inside another construct

[Bug middle-end/90923] hash_map destroys elements without constructing them

2019-06-18 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90923 Martin Sebor changed: What|Removed |Added Keywords||wrong-code See Also|

[Bug c++/84698] ICE when using noexcept(noexcept()) declaration on global friend function of template class

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

[Bug c++/84698] ICE when using noexcept(noexcept()) declaration on global friend function of template class

2019-06-18 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84698 --- Comment #3 from Marek Polacek --- Author: mpolacek Date: Tue Jun 18 21:50:51 2019 New Revision: 272443 URL: https://gcc.gnu.org/viewcvs?rev=272443&root=gcc&view=rev Log: PR c++/84698 * g++.dg/cpp0x/noexcept42.C: New test. Ad

[Bug middle-end/90923] New: hash_map destroys elements without constructing them

2019-06-18 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90923 Bug ID: 90923 Summary: hash_map destroys elements without constructing them Product: gcc Version: 9.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component

[Bug c++/84698] ICE when using noexcept(noexcept()) declaration on global friend function of template class

2019-06-18 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84698 Marek Polacek changed: What|Removed |Added Status|NEW |ASSIGNED CC|

[Bug c++/83689] Internal compiler error using is_trivially_default_constructible on array of nontrivially-destructible types

2019-06-18 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83689 Marek Polacek changed: What|Removed |Added Status|NEW |RESOLVED CC|

[Bug c++/67898] rejects-valid on overloaded function as non-type template argument of dependent type

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

[Bug fortran/87838] Segmentation fault with function pointer to contained function

2019-06-18 Thread kargl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87838 kargl at gcc dot gnu.org changed: What|Removed |Added Status|WAITING |RESOLVED CC|

[Bug c++/64329] Crash when returning reference from lambda with deduced type

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

[Bug target/90922] New: Bad prologue generated for call0 ABI functions

2019-06-18 Thread jcmvbkbc at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90922 Bug ID: 90922 Summary: Bad prologue generated for call0 ABI functions Product: gcc Version: 10.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: tar

[Bug c++/64235] Internal compiler error (Segmentation fault)

2019-06-18 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64235 Marek Polacek changed: What|Removed |Added Keywords|ice-on-invalid-code | CC|

[Bug c++/63578] ICE with may_alias and auto

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

[Bug c++/71548] Invalid declaration involving template template param causes crash

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

[Bug c++/71548] Invalid declaration involving template template param causes crash

2019-06-18 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71548 --- Comment #4 from Marek Polacek --- Author: mpolacek Date: Tue Jun 18 20:55:46 2019 New Revision: 272438 URL: https://gcc.gnu.org/viewcvs?rev=272438&root=gcc&view=rev Log: PR c++/71548 * g++.dg/cpp0x/variadic177.C: New test. A

[Bug middle-end/90862] OpenACC 'declare' ICE when nested inside another construct

2019-06-18 Thread tschwinge at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90862 Thomas Schwinge changed: What|Removed |Added Status|UNCONFIRMED |ASSIGNED Last reconfirmed|

[Bug c++/57527] [C++11] Nested variadic templates cause internal compiler error

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

[Bug fortran/90921] New: Fortran OpenACC 'declare' directive's module handling causes duplicate data clauses

2019-06-18 Thread tschwinge at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90921 Bug ID: 90921 Summary: Fortran OpenACC 'declare' directive's module handling causes duplicate data clauses Product: gcc Version: 10.0 Status: UNCONFIRMED Keywor

[Bug c++/86426] g++ ICE at on valid code in tree_operand_check, at tree.h:3615

2019-06-18 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86426 --- Comment #6 from Marek Polacek --- When fixing the bug, let's please make sure that the dups are fixed also.

[Bug fortran/85221] [openacc] ICE in install_var_field, at omp-low.c:657

2019-06-18 Thread tschwinge at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85221 Thomas Schwinge changed: What|Removed |Added Status|UNCONFIRMED |ASSIGNED Last reconfirmed|

[Bug middle-end/90577] [9/10 Regression] FAIL: gfortran.dg/lrshift_1.f90 with -O(2|3) and -flto

2019-06-18 Thread anlauf at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90577 anlauf at gcc dot gnu.org changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|-

[Bug c++/58836] [c++11] ICE with wrong usage of initializer list in non-type template argument

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

[Bug c++/86426] g++ ICE at on valid code in tree_operand_check, at tree.h:3615

2019-06-18 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86426 Marek Polacek changed: What|Removed |Added CC||vanyacpp at gmail dot com --- Comment #5

[Bug c++/61341] ICE for variadic templates: tsubst at cp/pt.c:11313, tree check: expected class ‘expression’, have ‘type’ (integer_type)

2019-06-18 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61341 Marek Polacek changed: What|Removed |Added Status|NEW |RESOLVED CC|

[Bug middle-end/90577] [9/10 Regression] FAIL: gfortran.dg/lrshift_1.f90 with -O(2|3) and -flto

2019-06-18 Thread anlauf at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90577 --- Comment #8 from anlauf at gcc dot gnu.org --- Author: anlauf Date: Tue Jun 18 20:21:47 2019 New Revision: 272437 URL: https://gcc.gnu.org/viewcvs?rev=272437&root=gcc&view=rev Log: 2019-06-18 Harald Anlauf Backport from mainline

[Bug fortran/90578] Wrong code with LSHIFT and optimization

2019-06-18 Thread anlauf at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90578 --- Comment #11 from anlauf at gcc dot gnu.org --- Author: anlauf Date: Tue Jun 18 20:21:47 2019 New Revision: 272437 URL: https://gcc.gnu.org/viewcvs?rev=272437&root=gcc&view=rev Log: 2019-06-18 Harald Anlauf Backport from mainline

[Bug c++/71548] Invalid declaration involving template template param causes crash

2019-06-18 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71548 Marek Polacek changed: What|Removed |Added Status|NEW |ASSIGNED CC|

[Bug c++/86426] g++ ICE at on valid code in tree_operand_check, at tree.h:3615

2019-06-18 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86426 Marek Polacek changed: What|Removed |Added CC||su at cs dot ucdavis.edu --- Comment #4

[Bug tree-optimization/90883] Generated code is worse if returned struct is unnamed

2019-06-18 Thread law at redhat dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90883 Jeffrey A. Law changed: What|Removed |Added CC||law at redhat dot com --- Comment #6 fr

[Bug c++/77554] ICE on valid C++11 code with variadic template function: tree check: expected class ‘expression’, have ‘type’ (integer_type) in tree_operand_check, at tree.h:3524

2019-06-18 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77554 Marek Polacek changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug target/90912] Thread-local storage not working properly when compiling code with -fPIC and optimization on Solaris

2019-06-18 Thread wpk at culm dot net
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90912 --- Comment #2 from Witold Krecicki --- I was able to reproduce it on fresh build of gcc 9.1.0: Using built-in specs. COLLECT_GCC=/usr/gcc/9/bin/gcc COLLECT_LTO_WRAPPER=/usr/gcc/9/lib/gcc/x86_64-pc-solaris2.11/9.1.0/lto-wrapper Target: x86_64-pc

[Bug c++/86426] g++ ICE at on valid code in tree_operand_check, at tree.h:3615

2019-06-18 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86426 Marek Polacek changed: What|Removed |Added CC||marxin at gcc dot gnu.org --- Comment #3

[Bug c++/79628] ICE on invalid code in tsubst, at cp/pt.c:13499

2019-06-18 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79628 Marek Polacek changed: What|Removed |Added Status|NEW |RESOLVED CC|

[Bug c++/80667] [c++1z] ice segfault on partial specialization with non-type template parameter

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

[Bug c++/84822] Partial specializing template internal compiler error

2019-06-18 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84822 --- Comment #3 from Marek Polacek --- Still ICEs.

[Bug libstdc++/90920] [9/10 Regression] ABI incompatibility in std::rotate

2019-06-18 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90920 Jonathan Wakely changed: What|Removed |Added Status|UNCONFIRMED |ASSIGNED Last reconfirmed|

[Bug libstdc++/90919] vector::iterator is constructible from a pointer

2019-06-18 Thread mclow.lists at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90919 Marshall Clow changed: What|Removed |Added CC||mclow.lists at gmail dot com --- Comment

[Bug c++/86478] Crashed on legal code

2019-06-18 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86478 Marek Polacek changed: What|Removed |Added Status|NEW |RESOLVED CC|

[Bug c++/86426] g++ ICE at on valid code in tree_operand_check, at tree.h:3615

2019-06-18 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86426 Marek Polacek changed: What|Removed |Added CC||zhonghao at pku dot org.cn --- Comment #

[Bug c++/89480] internal compiler error: in unify, at cp/pt.c:22160 with the template argument force conversion

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

[Bug c++/90170] [7/8/9/10 Regression] ICE in unify, at cp/pt.c:22209

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

[Bug libstdc++/90920] New: [9/10 Regression] ABI incompatibility in std::rotate

2019-06-18 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90920 Bug ID: 90920 Summary: [9/10 Regression] ABI incompatibility in std::rotate Product: gcc Version: 9.1.0 Status: UNCONFIRMED Keywords: ABI Severity: normal Prior

[Bug c++/65707] internal compiler error: in unify, at cp/pt.c:18577

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

[Bug libstdc++/90887] [10 Regression] r272186 causes -fcompare-debug failure

2019-06-18 Thread burnus at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90887 Tobias Burnus changed: What|Removed |Added Status|WAITING |RESOLVED Resolution|---

[Bug libstdc++/90919] New: vector::iterator is constructible from a pointer

2019-06-18 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90919 Bug ID: 90919 Summary: vector::iterator is constructible from a pointer Product: gcc Version: 10.0 Status: UNCONFIRMED Keywords: accepts-invalid Severity: normal

[Bug fortran/87907] ICE in resolve_contained_fntype, at fortran/resolve.c:587

2019-06-18 Thread kargl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87907 kargl at gcc dot gnu.org changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |kargl at gcc dot gnu.org

[Bug fortran/87907] ICE in resolve_contained_fntype, at fortran/resolve.c:587

2019-06-18 Thread sgk at troutmask dot apl.washington.edu
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87907 --- Comment #4 from Steve Kargl --- On Tue, Jun 18, 2019 at 06:20:06PM +, kargl at gcc dot gnu.org wrote: > This patch > > Index: gcc/fortran/resolve.c > === > --- gcc/fortran/

[Bug fortran/87907] ICE in resolve_contained_fntype, at fortran/resolve.c:587

2019-06-18 Thread kargl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87907 kargl at gcc dot gnu.org changed: What|Removed |Added CC||kargl at gcc dot gnu.org --- C

[Bug bootstrap/90918] New: -Wreturn-local-addr in __splitstack_find in libgcc/generic-morestack.c

2019-06-18 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90918 Bug ID: 90918 Summary: -Wreturn-local-addr in __splitstack_find in libgcc/generic-morestack.c Product: gcc Version: 9.0 Status: UNCONFIRMED Severity: normal

[Bug c++/90916] [10 Regression] ICE in retrieve_specialization, at cp/pt.c:1258

2019-06-18 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90916 Marek Polacek changed: What|Removed |Added CC||nathan at gcc dot gnu.org --- Comment #2

[Bug c++/90916] [10 Regression] ICE in retrieve_specialization, at cp/pt.c:1258

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

[Bug tree-optimization/90905] missing -Wreturn-local-addr returning a local std::string::c_str()

2019-06-18 Thread glisse at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90905 --- Comment #7 from Marc Glisse --- (In reply to Martin Sebor from comment #6) > With str being a local (non-reference) variable this should be diagnosed > because of the str.D.28972._M_local_buf(12): > > # _47 = PHI <_59(9), &str.D.28972._M_loc

[Bug debug/90901] Debug information broken when compiled with gdwarf-split

2019-06-18 Thread rajpal.gusain at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90901 --- Comment #3 from Rajpal Singh --- I did try with g++ 9.1.0 and I still see similar/same issue. % g++ --version g++ (GCC) 9.1.0 % readelf -w readelf: Error: Unknown macro opcode 52 seen readelf: Error: Unknown macro opcode 12 seen re

[Bug debug/90901] Debug information broken when compiled with gdwarf-split

2019-06-18 Thread rajpal.gusain at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90901 --- Comment #2 from Rajpal Singh --- (In reply to Richard Biener from comment #1) > You may want to check GCC 9.1 which received some fixes for -gsplit-dwarf > which is otherwise in a sorry and unmaintained state... Thanks Richard for your sugge

[Bug c++/90915] [9/10 Regression] ICE in has_attribute, at c-family/c-attribs.c:4221

2019-06-18 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90915 Martin Sebor changed: What|Removed |Added Keywords||error-recovery Status|UNCONFI

[Bug debug/90914] [10 Regression] ICE in schedule_generic_params_dies_gen, at dwarf2out.c:27153

2019-06-18 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90914 Andrew Pinski changed: What|Removed |Added Component|c++ |debug Target Milestone|---

[Bug tree-optimization/90917] Propagate constants into loads if dominated by str(n)cmp/memcmp

2019-06-18 Thread david.bolvansky at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90917 --- Comment #1 from Dávid Bolvanský --- char f(void) { char* s = ... ; if (strcmp(global_s, s) == 0) return global_s[0]; return '-'; } --> char f2(void) { char* s = ... ; if (strcmp(global_s, s) == 0) return s[0]; return '-'; }

[Bug tree-optimization/90905] missing -Wreturn-local-addr returning a local std::string::c_str()

2019-06-18 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90905 --- Comment #6 from Martin Sebor --- With str being a local (non-reference) variable this should be diagnosed because of the str.D.28972._M_local_buf(12): # _47 = PHI <_59(9), &str.D.28972._M_local_buf(12), _59(8)> str ={v} {CLOBBER}; return

[Bug tree-optimization/90917] New: Propagate constants into loads if dominated by str(n)cmp/memcmp

2019-06-18 Thread david.bolvansky at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90917 Bug ID: 90917 Summary: Propagate constants into loads if dominated by str(n)cmp/memcmp Product: gcc Version: 10.0 Status: UNCONFIRMED Severity: normal

[Bug inline-asm/90907] Binary crashes if both asm() and __thread are used in the same code

2019-06-18 Thread segher at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90907 Segher Boessenkool changed: What|Removed |Added CC||segher at gcc dot gnu.org --- Comme

[Bug c++/90916] New: [10 Regression] ICE in retrieve_specialization, at cp/pt.c:1258

2019-06-18 Thread gs...@t-online.de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90916 Bug ID: 90916 Summary: [10 Regression] ICE in retrieve_specialization, at cp/pt.c:1258 Product: gcc Version: 10.0 Status: UNCONFIRMED Severity: normal

[Bug c++/90915] New: [9/10 Regression] ICE in has_attribute, at c-family/c-attribs.c:4221

2019-06-18 Thread gs...@t-online.de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90915 Bug ID: 90915 Summary: [9/10 Regression] ICE in has_attribute, at c-family/c-attribs.c:4221 Product: gcc Version: 10.0 Status: UNCONFIRMED Severity: normal

[Bug c++/90659] [9/10 Regression] ICE in tree_to_uhwi, at tree.h:4352/7291

2019-06-18 Thread gs...@t-online.de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90659 --- Comment #4 from G. Steinmetz --- A modified variant : $ cat z2.cc template void foo (int n) { int a[n]; [a]{}; } void bar () { foo (2); }

[Bug c++/90914] New: [10 Regression] ICE in schedule_generic_params_dies_gen, at dwarf2out.c:27153

2019-06-18 Thread gs...@t-online.de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90914 Bug ID: 90914 Summary: [10 Regression] ICE in schedule_generic_params_dies_gen, at dwarf2out.c:27153 Product: gcc Version: 10.0 Status: UNCONFIRMED Severity: no

[Bug c/90841] ICE in get_atomic_generic_size, at c-family/c-common.c:6904

2019-06-18 Thread gs...@t-online.de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90841 --- Comment #1 from G. Steinmetz --- Other variants may also involve : __atomic_store_n __atomic_exchange __atomic_exchange_n __atomic_compare_exchange Compiles smoothly with fixed size : $ cat z3.c int a[2]; void f() { __atomic_l

[Bug c++/60223] [c++11] ICE with C++11-style default template parameter

2019-06-18 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=60223 Marek Polacek changed: What|Removed |Added Keywords||patch --- Comment #6 from Marek Polacek

[Bug tree-optimization/90905] missing -Wreturn-local-addr returning a local std::string::c_str()

2019-06-18 Thread glisse at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90905 --- Comment #5 from Marc Glisse --- struct A { char*p; char c[13]; }; void f(A&a,bool b){ a.p=b?a.c:(char*)__builtin_malloc(13); __builtin_memcpy(a.p, "hello world!", 12); a.p[12]=0; } gives if (b_4(D) != 0) goto ; [67.00%] else

[Bug c++/90909] [10 Regression] call devirtualized to pure virtual

2019-06-18 Thread paolo.carlini at oracle dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90909 --- Comment #2 from Paolo Carlini --- I think the below tweak of r271490 should be fine, it considers the bases only when the fn isn't pure virtual: Index: call.c === --- call.c

[Bug tree-optimization/90913] [10 Regression] ICE in maybe_gen_insn, at optabs.c:7341 since r272239

2019-06-18 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90913 --- Comment #4 from Richard Biener --- Somehow we end up with (gdb) p debug_tree (maskt) unit-size align:8 warn_if_not_align:0 symtab:0 alias-set -1 canonical-type 0x76c52b28 precision:1 min max > visited def_stmt

[Bug tree-optimization/90913] [10 Regression] ICE in maybe_gen_insn, at optabs.c:7341 since r272239

2019-06-18 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90913 --- Comment #3 from Richard Biener --- Reproduced with -Ofast -march=znver1 -mveclibabi=svml

[Bug tree-optimization/90913] [10 Regression] ICE in maybe_gen_insn, at optabs.c:7341 since r272239

2019-06-18 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90913 --- Comment #2 from Martin Liška --- Created attachment 46500 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=46500&action=edit optimized dump file

[Bug libstdc++/90887] [10 Regression] r272186 causes -fcompare-debug failure

2019-06-18 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90887 Jakub Jelinek changed: What|Removed |Added CC||jason at gcc dot gnu.org --- Comment #11

[Bug libstdc++/81797] gcc 7.1.0 fails to build on macOS 10.13 (High Sierra):

2019-06-18 Thread dam at cosinux dot org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81797 --- Comment #74 from Damien Merenne --- Oh yeah, I forgot to mention it is building with -j1

[Bug tree-optimization/90913] [10 Regression] ICE in maybe_gen_insn, at optabs.c:7341 since r272239

2019-06-18 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90913 --- Comment #1 from Martin Liška --- $ (gdb) bt #0 fancy_abort (file=0x18cc0d0 "/home/marxin/Programming/gcc/gcc/optabs.c", line=7341, function=0x18cc738 "maybe_gen_insn") at /home/marxin/Programming/gcc/gcc/diagnostic.c:1614 #1 0x00d16

[Bug libstdc++/90887] [10 Regression] r272186 causes -fcompare-debug failure

2019-06-18 Thread burnus at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90887 --- Comment #10 from Tobias Burnus --- (In reply to Tobias Burnus from comment #9) > cp_parser_jump_statement (for RID_RETURN) [...] The tree is already different for cp_parser_identifier (called via <- cp_parser_class_name <- cp_parser_type_nam

[Bug libstdc++/81797] gcc 7.1.0 fails to build on macOS 10.13 (High Sierra):

2019-06-18 Thread jens4303 at me dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81797 --- Comment #73 from Jens-S. Vöckler --- I agree with Damien Merenne: I recently tried to build gcc 8 on High Sierra on an APFS in various ways, and it failed every time. I used my old work-around of creating an HFS+ partition-in-a-file to build

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

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

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

2019-06-18 Thread h2+bugs at fsfe dot org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86521 --- Comment #12 from Hannes Hauswedell --- Is this resolved for GCC 8.4 now?

[Bug tree-optimization/90913] [10 Regress] ICE in maybe_gen_insn, at optabs.c:7341 since r272239

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

[Bug debug/90900] [8/9 Regression] ICE in copy_rtx, at rtl.c:376

2019-06-18 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90900 Richard Biener changed: What|Removed |Added Known to work||10.0 Summary|[8/9/10 Regress

[Bug tree-optimization/90913] New: [10 Regress] ICE in maybe_gen_insn, at optabs.c:7341 since r272239

2019-06-18 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90913 Bug ID: 90913 Summary: [10 Regress] ICE in maybe_gen_insn, at optabs.c:7341 since r272239 Product: gcc Version: 10.0 Status: UNCONFIRMED Keywords: ice-on-valid-

[Bug tree-optimization/90911] [10 Regression] 456.hmmer regression with r272239

2019-06-18 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90911 Richard Biener changed: What|Removed |Added CC||hubicka at gcc dot gnu.org --- Comment

[Bug libstdc++/81797] gcc 7.1.0 fails to build on macOS 10.13 (High Sierra):

2019-06-18 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81797 --- Comment #72 from Jonathan Wakely --- (In reply to Damien Merenne from comment #71) > enable-execute-stack.c:25:10: fatal error: sys/mman.h: No such file or > directory That's a completely different error. That header is not part of GCC.

[Bug libstdc++/81797] gcc 7.1.0 fails to build on macOS 10.13 (High Sierra):

2019-06-18 Thread dam at cosinux dot org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81797 Damien Merenne changed: What|Removed |Added CC||dam at cosinux dot org --- Comment #71

  1   2   >