[Bug target/88547] missed optimization for vector comparisons

2018-12-19 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88547 --- Comment #5 from Jakub Jelinek --- Author: jakub Date: Thu Dec 20 07:58:02 2018 New Revision: 267293 URL: https://gcc.gnu.org/viewcvs?rev=267293&root=gcc&view=rev Log: PR target/88547 * config/i386/i386.c (ix86_expand_sse_movc

[Bug target/85667] (x86_64) ms_abi rules aren't followed when returning short structs with float values

2018-12-19 Thread lokeshjanghel91 at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85667 --- Comment #5 from Lokesh Janghel --- >>I think we should check if type is aggregate before we return in eax and leave xmm0 for float and double. >>break; >>+ case 8: >>+ case 4: >>+ if (valtype != NULL_TREE && AGGREGA

[Bug driver/88262] gcc uses crt1.o in place of Scrt1.o when the main function is in a PIC shared lib

2018-12-19 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88262 --- Comment #18 from Andrew Pinski --- So looking into the gcc's header files, we have the following in gnu-user.h: "%{shared:; \ pg|p|profile:gcrt1.o%s; \ static:crt1.o%s; \ " PIE_SPEC ":Scrt1.o%s; \ :crt1.o%s} \ So every

[Bug inline-asm/88559] error: Stack Pointer register clobbered by '%rsp' in 'asm'

2018-12-19 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88559 --- Comment #1 from Andrew Pinski --- Inline-asm cannot clobber the stack pointer; espically when the operands for input are on the stack. GCC is correct in erroring out but it is not fully documented that way but it should be.

[Bug c++/87275] unsequenced writes not diagnosed in constant expression

2018-12-19 Thread yaghmour.shafik at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87275 --- Comment #3 from Shafik Yaghmour --- Note, I have filed similar bugs for clang: https://bugs.llvm.org/show_bug.cgi?id=38420 and MSVC: https://developercommunity.visualstudio.com/content/problem/304122/unsequenced-modifications-of-variable-with

[Bug inline-asm/88559] New: error: Stack Pointer register clobbered by '%rsp' in 'asm'

2018-12-19 Thread jamrial at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88559 Bug ID: 88559 Summary: error: Stack Pointer register clobbered by '%rsp' in 'asm' Product: gcc Version: 9.0 Status: UNCONFIRMED Severity: normal Prior

[Bug c++/43486] Preserve variable-use locations

2018-12-19 Thread egallager at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=43486 --- Comment #17 from Eric Gallager --- (In reply to David Malcolm from comment #16) > Should be greatly improved for C++ for gcc 9 by r267272. ...but not fixed?

[Bug driver/88262] gcc uses crt1.o in place of Scrt1.o when the main function is in a PIC shared lib

2018-12-19 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88262 --- Comment #17 from Andrew Pinski --- So the way i read it is crt1.o is still incorrect and not using the got for the addreas of main. Rather it is assuming it is inside the executable. Can you send a line to where the discussion of the glibc q

[Bug driver/88262] gcc uses crt1.o in place of Scrt1.o when the main function is in a PIC shared lib

2018-12-19 Thread stephen.kim at oracle dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88262 --- Comment #16 from Stephen Kim --- (In reply to Andrew Pinski from comment #15) > Let's start over. crt1.o in glibc should support calling main that is > located in the shared library. > If it does not then there is a bug there. > Sorry. I

[Bug target/83443] FAIL: gcc.dg/tree-ssa/builtin-sprintf-warn-18.c (test for warnings, line 119)

2018-12-19 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83443 --- Comment #4 from Martin Sebor --- I can't reproduce the failures with my cross-compilers. For instance, with an arm-none-linux-gnueabihf cross I get the expected output for a test case reduced from the one on line 120: $ cat u.c && /build/ar

[Bug c++/87504] inconsistent diagnostic style between C and C++ for binary operators

2018-12-19 Thread dmalcolm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87504 --- Comment #5 from David Malcolm --- (In reply to Rainer Orth from comment #4) > The patch broke Solaris/SPARC bootstrap: Sorry about that. Does the patch posted here: https://gcc.gnu.org/ml/gcc-patches/2018-12/msg01433.html help?

[Bug tree-optimization/88553] ICE: tree check: expected ssa_name, have var_decl in SSA_VAL, at tree-ssa-sccvn.c:461

2018-12-19 Thread asolokha at gmx dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88553 --- Comment #3 from Arseny Solokha --- (In reply to Richard Biener from comment #1) > GCC 7 with > > pr81768-2.c: In function ‘foo._omp_fn.1’: > pr81768-2.c:10:9: internal compiler error: in make_decl_rtl, at varasm.c:1310 One gets ICE in make_

[Bug c++/87750] [8/9 Regression] Failed compilation / parsing of template member call after 'using' declaration

2018-12-19 Thread aoliva at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87750 Alexandre Oliva changed: What|Removed |Added Status|ASSIGNED|NEW Assignee|aoliva at gcc d

[Bug c++/88196] [9 Regression] ICE on (invalid) C++ code when compiled with -std=c++2a: in convert_nontype_argument, at cp/pt.c:7137

2018-12-19 Thread aoliva at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88196 Alexandre Oliva changed: What|Removed |Added Assignee|aoliva at gcc dot gnu.org |unassigned at gcc dot gnu.org

[Bug target/85667] (x86_64) ms_abi rules aren't followed when returning short structs with float values

2018-12-19 Thread mateuszb at poczta dot onet.pl
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85667 mateuszb at poczta dot onet.pl changed: What|Removed |Added CC||mateuszb at poczta dot on

[Bug target/88558] New: Inline lrint, lrintf

2018-12-19 Thread jsm28 at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88558 Bug ID: 88558 Summary: Inline lrint, lrintf Product: gcc Version: 9.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: target Assignee: una

[Bug fortran/87992] ICE in resolve_fl_variable, at fortran/resolve.c:12314

2018-12-19 Thread kargl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87992 kargl at gcc dot gnu.org changed: What|Removed |Added Keywords|ice-on-invalid-code |ice-on-valid-code

[Bug fortran/87992] ICE in resolve_fl_variable, at fortran/resolve.c:12314

2018-12-19 Thread kargl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87992 --- Comment #4 from kargl at gcc dot gnu.org --- Author: kargl Date: Wed Dec 19 22:31:25 2018 New Revision: 267288 URL: https://gcc.gnu.org/viewcvs?rev=267288&root=gcc&view=rev Log: 2018-12-19 Steven G. Kargl PR fortran/87992

[Bug c++/88557] New: Lambda in template parameter list compiler segmentation fault (ICE)

2018-12-19 Thread vittorio.romeo at outlook dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88557 Bug ID: 88557 Summary: Lambda in template parameter list compiler segmentation fault (ICE) Product: gcc Version: 9.0 Status: UNCONFIRMED Severity: normal

[Bug c++/88555] [9 Regression] Pack expansion fails

2018-12-19 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88555 Jakub Jelinek changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug target/88556] New: Inline built-in sinh, cosh, tanh for -ffast-math

2018-12-19 Thread jsm28 at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88556 Bug ID: 88556 Summary: Inline built-in sinh, cosh, tanh for -ffast-math Product: gcc Version: 9.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: ta

[Bug fortran/87992] ICE in resolve_fl_variable, at fortran/resolve.c:12314

2018-12-19 Thread sgk at troutmask dot apl.washington.edu
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87992 --- Comment #3 from Steve Kargl --- On Wed, Dec 19, 2018 at 04:06:52PM +, gs...@t-online.de wrote: > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87992 > > --- Comment #2 from G. Steinmetz --- > > It should be valid code, just as legal as

[Bug c/88546] Copy attribute unusable for weakrefs

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

[Bug c++/88555] New: [9 Regression] Pack expansion fails

2018-12-19 Thread eric at efcs dot ca
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88555 Bug ID: 88555 Summary: [9 Regression] Pack expansion fails Product: gcc Version: 9.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ A

[Bug c++/87504] inconsistent diagnostic style between C and C++ for binary operators

2018-12-19 Thread ro at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87504 Rainer Orth changed: What|Removed |Added CC||ro at gcc dot gnu.org --- Comment #4 from

%[@gcc-bugs@gcc.gnu.org

2018-12-19 Thread qfemccza
gcc-bugs@gcc.gnu.org + 办理正规普通3%税票,点优惠,包真。 详电:王生 手机:136 6260 7748 业QQ:958811639 ++ 2:16 杆共贵默

[Bug lto/88550] A compiler error when use lto: internal compiler error: in add_symbol_to_partition_1, at lto/lto-partition.c:155

2018-12-19 Thread hubicka at ucw dot cz
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88550 --- Comment #2 from Jan Hubicka --- Dump file produced by the linker with -fdump-ipa-cgraph --save-temps (it may end up in /tmp) would help to at least have clue what kind of symbol caused the crash.

[Bug lto/88550] A compiler error when use lto: internal compiler error: in add_symbol_to_partition_1, at lto/lto-partition.c:155

2018-12-19 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88550 Richard Biener changed: What|Removed |Added Keywords||lto Status|UNCONFIRMED

[Bug tree-optimization/88553] ICE: tree check: expected ssa_name, have var_decl in SSA_VAL, at tree-ssa-sccvn.c:461

2018-12-19 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88553 Richard Biener changed: What|Removed |Added CC||jakub at gcc dot gnu.org,

[Bug c++/88554] [9 Regression] Segfault ICE when falling off the end of a reference-returning friend operator

2018-12-19 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88554 --- Comment #5 from Jonathan Wakely --- Oh that's definitely not right, because we don't want a fix-it for friend functions, where *this isn't valid. So this seems better: --- a/gcc/cp/decl.c +++ b/gcc/cp/decl.c @@ -16092,6 +16092,7 @@ finish_f

[Bug tree-optimization/88553] [9 Regression] ICE: tree check: expected ssa_name, have var_decl in SSA_VAL, at tree-ssa-sccvn.c:461

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

[Bug c++/88554] [9 Regression] Segfault ICE when falling off the end of a reference-returning friend operator

2018-12-19 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88554 --- Comment #4 from Jonathan Wakely --- This fixes the ICE but I don't know if it's right and haven't tested it any further: --- a/gcc/cp/decl.c +++ b/gcc/cp/decl.c @@ -16093,7 +16093,7 @@ finish_function (bool inline_p) tree valtype =

[Bug c++/88554] [9 Regression] Segfault ICE when falling off the end of a reference-returning friend operator

2018-12-19 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88554 --- Comment #3 from Jonathan Wakely --- (In reply to Jonathan Wakely from comment #1) > Started to ICE (rather than give a -Wreturn-type diagnostic) with r263298 > > Add fix-it hint for missing return statement in assignment operators (PR >

[Bug translation/80191] diagnostic placeholder "new initializer" must be marked for translation

2018-12-19 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80191 --- Comment #10 from Martin Sebor --- I think quoting/translating grammar terms is a general problem in the C++ front-end (perhaps to a lesser extent also in the rest of GCC as well). The inconsistencies it leads to can be seen in the translated

[Bug c++/88554] [9 Regression] Segfault ICE when falling off the end of a reference-returning friend operator

2018-12-19 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88554 --- Comment #2 from Jonathan Wakely --- (In reply to Arthur O'Dwyer from comment #0) > This is happening in trunk but not in GCC 8.2, so it must be a very recent > regression. You can't assume that, gcc-8-branch was branched from trunk in April.

[Bug c++/88554] [9 Regression] Segfault ICE when falling off the end of a reference-returning friend operator

2018-12-19 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88554 Jonathan Wakely changed: What|Removed |Added Keywords||ice-on-valid-code Status|U

[Bug c++/88554] New: Segfault ICE when falling off the end of a reference-returning friend operator

2018-12-19 Thread arthur.j.odwyer at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88554 Bug ID: 88554 Summary: Segfault ICE when falling off the end of a reference-returning friend operator Product: gcc Version: 9.0 Status: UNCONFIRMED Severity: no

[Bug rtl-optimization/87763] [9 Regression] aarch64 target testcases fail after r265398

2018-12-19 Thread samtebbs at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87763 samtebbs at gcc dot gnu.org changed: What|Removed |Added CC||samtebbs at gcc dot gnu.org

[Bug lto/58042] MinGW GCC produces problematic x64 executable with -O2 -static -flto -m64

2018-12-19 Thread test_avto22 at mail dot ru
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=58042 Michael K. changed: What|Removed |Added CC||test_avto22 at mail dot ru --- Comment #2 f

[Bug tree-optimization/88553] New: [9 Regression] ICE: tree check: expected ssa_name, have var_decl in SSA_VAL, at tree-ssa-sccvn.c:461

2018-12-19 Thread asolokha at gmx dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88553 Bug ID: 88553 Summary: [9 Regression] ICE: tree check: expected ssa_name, have var_decl in SSA_VAL, at tree-ssa-sccvn.c:461 Product: gcc Version: 9.0 Status: UNCONFIRMED

[Bug fortran/88552] ICE in gfc_typenode_for_spec, at fortran/trans-types.c:1120

2018-12-19 Thread dominiq at lps dot ens.fr
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88552 Dominique d'Humieres changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug target/88547] missed optimization for vector comparisons

2018-12-19 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88547 --- Comment #4 from Jakub Jelinek --- Created attachment 45264 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=45264&action=edit gcc9-pr88547-1.patch Untested patch to improve the avx512* sse_movcc.

[Bug fortran/88552] ICE in gfc_typenode_for_spec, at fortran/trans-types.c:1120

2018-12-19 Thread gs...@t-online.de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88552 --- Comment #1 from G. Steinmetz --- Detected : $ cat z2.f90 program p integer(len((c)) :: n end $ cat z5.f90 implicit none integer(len((c)) :: n end $ gfortran-9-20181216 -c z2.f90 -fimplicit-none z2.f90:2:14: 2 | integer(len((c)) ::

[Bug fortran/88552] New: ICE in gfc_typenode_for_spec, at fortran/trans-types.c:1120

2018-12-19 Thread gs...@t-online.de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88552 Bug ID: 88552 Summary: ICE in gfc_typenode_for_spec, at fortran/trans-types.c:1120 Product: gcc Version: 9.0 Status: UNCONFIRMED Severity: normal Prio

[Bug fortran/87992] ICE in resolve_fl_variable, at fortran/resolve.c:12314

2018-12-19 Thread gs...@t-online.de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87992 --- Comment #2 from G. Steinmetz --- It should be valid code, just as legal as $ cat z3.f90 subroutine s(x) class(*), allocatable :: x allocate (x, source='') end $ cat z4.f90 subroutine s(x) class(*), allocatable :: x allocate (

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

2018-12-19 Thread avieira at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86487 --- Comment #8 from avieira at gcc dot gnu.org --- Oliver, Your new example doesn't seem to be hitting the same issue as the first one. The first failure was being caused by paradoxical subregs, the second one doesn't have paradoxical subregs. I

[Bug c++/43064] improve location and text of diagnostics in constructor initializer lists

2018-12-19 Thread jg at jguk dot org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=43064 --- Comment #12 from Jonny Grant --- (In reply to David Malcolm from comment #11) > Should be fixed (for gcc 9) by r267272. Fantastic David!

[Bug c++/88375] Vague source location for bad initialization

2018-12-19 Thread dmalcolm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88375 David Malcolm changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug c++/87504] inconsistent diagnostic style between C and C++ for binary operators

2018-12-19 Thread dmalcolm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87504 --- Comment #3 from David Malcolm --- After r267273, g++ emits: test.cc:10:30: error: invalid operands of types ‘const char [6]’ and ‘const char’ to binary ‘operator&’ 10 | return __builtin_strnlen (a&a[v0], n); |

[Bug c++/43486] Preserve variable-use locations

2018-12-19 Thread dmalcolm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=43486 --- Comment #16 from David Malcolm --- Should be greatly improved for C++ for gcc 9 by r267272.

[Bug c++/43064] improve location and text of diagnostics in constructor initializer lists

2018-12-19 Thread dmalcolm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=43064 David Malcolm changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug c++/88375] Vague source location for bad initialization

2018-12-19 Thread dmalcolm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88375 --- Comment #2 from David Malcolm --- Author: dmalcolm Date: Wed Dec 19 15:22:27 2018 New Revision: 267276 URL: https://gcc.gnu.org/viewcvs?rev=267276&root=gcc&view=rev Log: C++: better locations for bogus initializations (PR c++/88375) PR c++/

[Bug c++/87504] inconsistent diagnostic style between C and C++ for binary operators

2018-12-19 Thread dmalcolm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87504 --- Comment #2 from David Malcolm --- Author: dmalcolm Date: Wed Dec 19 15:15:42 2018 New Revision: 267273 URL: https://gcc.gnu.org/viewcvs?rev=267273&root=gcc&view=rev Log: C++: improvements to binary operator diagnostics (PR c++/87504) The C

[Bug c++/43064] improve location and text of diagnostics in constructor initializer lists

2018-12-19 Thread dmalcolm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=43064 --- Comment #10 from David Malcolm --- Author: dmalcolm Date: Wed Dec 19 15:08:21 2018 New Revision: 267272 URL: https://gcc.gnu.org/viewcvs?rev=267272&root=gcc&view=rev Log: C++: more location wrapper nodes (PR c++/43064, PR c++/43486) This is

[Bug c++/43486] Preserve variable-use locations

2018-12-19 Thread dmalcolm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=43486 --- Comment #15 from David Malcolm --- Author: dmalcolm Date: Wed Dec 19 15:08:21 2018 New Revision: 267272 URL: https://gcc.gnu.org/viewcvs?rev=267272&root=gcc&view=rev Log: C++: more location wrapper nodes (PR c++/43064, PR c++/43486) This is

[Bug target/88547] missed optimization for vector comparisons

2018-12-19 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88547 --- Comment #3 from Jakub Jelinek --- For 64-byte vectors, we emit vpcmpgtb%zmm1, %zmm0, %k1 vpxor %xmm1, %xmm1, %xmm1 vpternlogd $0xFF, %zmm0, %zmm0, %zmm0 vmovdqu8%zmm1, %zmm0{%k1} for f1,

[Bug c++/87841] Member of class template hides template parameter of another member

2018-12-19 Thread o_kniemeyer at maxon dot net
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87841 --- Comment #5 from Ole Kniemeyer --- Thanks for asking the committee. I think the standard makes sense as it is, because otherwise there is no chance to name the template parameter (that's what I need in my specific situation where I found the b

[Bug fortran/88551] New: passing a portion of an array of a derived type that contains an allocatable component

2018-12-19 Thread hassani at unice dot fr
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88551 Bug ID: 88551 Summary: passing a portion of an array of a derived type that contains an allocatable component Product: gcc Version: 8.2.0 Status: UNCONFIRMED Se

[Bug target/65146] alignment of _Atomic structure member is not correct

2018-12-19 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65146 --- Comment #17 from Jonathan Wakely --- And the post has appeared now, which didn't happen last time.

[Bug target/65146] alignment of _Atomic structure member is not correct

2018-12-19 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65146 --- Comment #16 from Jonathan Wakely --- Submitted, subject "Alignment requirements for _Atomic should be stated"

[Bug target/87237] __atomic_load on 4-byte-sized, 1-byte-aligned struct is not atomic

2018-12-19 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87237 --- Comment #5 from Jonathan Wakely --- c.f. Bug 65146

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

2018-12-19 Thread avieira at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86487 --- Comment #7 from avieira at gcc dot gnu.org --- Hi, This one sort of fell through the cracks on me. With help from Vlad and Richard S. I managed to track the issue to uses_hard_regs_p and the way it handles paradoxical subregs (or fails to). I

[Bug target/65146] alignment of _Atomic structure member is not correct

2018-12-19 Thread hjl.tools at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65146 --- Comment #15 from H.J. Lu --- (In reply to Jonathan Wakely from comment #14) > I'm subscribed as abusenet at kayari dot org and I'm pretty sure that's the > address I used for both posts, because that's what the Google web UI does > automatica

[Bug target/65146] alignment of _Atomic structure member is not correct

2018-12-19 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65146 --- Comment #14 from Jonathan Wakely --- I'm subscribed as abusenet at kayari dot org and I'm pretty sure that's the address I used for both posts, because that's what the Google web UI does automatically.

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

2018-12-19 Thread segher at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88213 Segher Boessenkool changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug libstdc++/65675] make bootstrap fails when configured with --disable-hosted-libstdcxx

2018-12-19 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65675 --- Comment #6 from Jonathan Wakely --- The change in comment 5 was done in r222542

[Bug target/65146] alignment of _Atomic structure member is not correct

2018-12-19 Thread hjl.tools at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65146 --- Comment #13 from H.J. Lu --- (In reply to Jonathan Wakely from comment #12) > (In reply to Jonathan Wakely from comment #11) > > (In reply to Jonathan Wakely from comment #9) > > > Did this ever get taken to the ABI group? > > > > I've done

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

2018-12-19 Thread segher at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88213 --- Comment #8 from Segher Boessenkool --- Author: segher Date: Wed Dec 19 14:04:22 2018 New Revision: 267265 URL: https://gcc.gnu.org/viewcvs?rev=267265&root=gcc&view=rev Log: Backport from trunk 2018-12-19 Segher Boessenkool

[Bug c++/87841] Member of class template hides template parameter of another member

2018-12-19 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87841 --- Comment #4 from Jonathan Wakely --- I've asked the C++ committee to clarify whether the example is bogus or not.

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

2018-12-19 Thread segher at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88213 --- Comment #7 from Segher Boessenkool --- Author: segher Date: Wed Dec 19 14:02:52 2018 New Revision: 267264 URL: https://gcc.gnu.org/viewcvs?rev=267264&root=gcc&view=rev Log: Backport from trunk 2018-12-19 Segher Boessenkool

[Bug target/83443] FAIL: gcc.dg/tree-ssa/builtin-sprintf-warn-18.c (test for warnings, line 119)

2018-12-19 Thread samtebbs at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83443 samtebbs at gcc dot gnu.org changed: What|Removed |Added CC||samtebbs at gcc dot gnu.org

[Bug c++/87999] Constexpr eval. in static_assert makes string_view comparison non constexpr

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

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

2018-12-19 Thread segher at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88213 --- Comment #6 from Segher Boessenkool --- Author: segher Date: Wed Dec 19 13:54:08 2018 New Revision: 267263 URL: https://gcc.gnu.org/viewcvs?rev=267263&root=gcc&view=rev Log: Restrict a VSX extract to TARGET_POWERPC64 (PR88213) This pattern o

[Bug c++/80990] cv-qualifiers ignored in variable definition using class template argument deduction

2018-12-19 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80990 Jonathan Wakely changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug target/65146] alignment of _Atomic structure member is not correct

2018-12-19 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65146 --- Comment #12 from Jonathan Wakely --- (In reply to Jonathan Wakely from comment #11) > (In reply to Jonathan Wakely from comment #9) > > Did this ever get taken to the ABI group? > > I've done so now. I tried to start a discussion at the ia3

[Bug bootstrap/84257] Extremely slow compilation from gcc source code under macOS 10.13

2018-12-19 Thread iains at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84257 --- Comment #6 from Iain Sandoe --- (In reply to Iain Sandoe from comment #5) > 1) Speculation: that there are a lot of paths to search and they might > contain many files, so that if there's no caching of the results (perhaps > that was present

[Bug c/88544] ICE on ARM Cortex A7

2018-12-19 Thread ynezz at true dot cz
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88544 --- Comment #3 from Petr Štetiar --- Hi Richard, thanks a lot for your fast response! It's probably my first bug report to GCC so I'll probably need a little guidance to get you output which might help you. I can do or enable whatever is neede

[Bug c++/88550] New: A compiler error when use lto: internal compiler error: in add_symbol_to_partition_1, at lto/lto-partition.c:155

2018-12-19 Thread harrywong at live dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88550 Bug ID: 88550 Summary: A compiler error when use lto: internal compiler error: in add_symbol_to_partition_1, at lto/lto-partition.c:155 Product: gcc Version: 8.2.

[Bug c++/88196] [9 Regression] ICE on (invalid) C++ code when compiled with -std=c++2a: in convert_nontype_argument, at cp/pt.c:7137

2018-12-19 Thread aoliva at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88196 Alexandre Oliva changed: What|Removed |Added CC||aoliva at gcc dot gnu.org As

[Bug tree-optimization/88533] [9 Regression] Higher performance penalty of array-bounds checking for sparse-matrix vector multiply

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

[Bug c++/88146] ice in tsubst_copy, at cp/pt.c:16014

2018-12-19 Thread aoliva at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88146 Bug 88146 depends on bug 87814, which changed state. Bug 87814 Summary: [9 Regression] ICE in in tsubst_copy, at cp/pt.c:15962 with range-v3 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87814 What|Removed |Adde

[Bug c++/87814] [9 Regression] ICE in in tsubst_copy, at cp/pt.c:15962 with range-v3

2018-12-19 Thread aoliva at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87814 Alexandre Oliva changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug c++/88180] [7/8/9 Regression] ICE in vec

2018-12-19 Thread aoliva at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88180 Alexandre Oliva changed: What|Removed |Added CC||aoliva at gcc dot gnu.org --- Comment

[Bug target/88547] missed optimization for vector comparisons

2018-12-19 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88547 Jakub Jelinek changed: What|Removed |Added CC||jakub at gcc dot gnu.org --- Comment #2

[Bug tree-optimization/78394] False positives of maybe-uninitialized with -Og

2018-12-19 Thread glisse at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78394 --- Comment #14 from Marc Glisse --- (In reply to Jeffrey A. Law from comment #12) > Whether or not to fix as well as whether or not to warn at -O0 are a topic > of debate. I'm not sure I'm up for re-opening that can of worms right now. I think

[Bug tree-optimization/28364] poor optimization choices when iterating over a std::string (probably not c++-specific)

2018-12-19 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=28364 --- Comment #35 from Richard Biener --- Author: rguenth Date: Wed Dec 19 11:10:08 2018 New Revision: 267262 URL: https://gcc.gnu.org/viewcvs?rev=267262&root=gcc&view=rev Log: 2018-12-19 Richard Biener PR tree-optimization/88533

[Bug tree-optimization/88533] [9 Regression] Higher performance penalty of array-bounds checking for sparse-matrix vector multiply

2018-12-19 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88533 --- Comment #10 from Richard Biener --- Author: rguenth Date: Wed Dec 19 11:10:08 2018 New Revision: 267262 URL: https://gcc.gnu.org/viewcvs?rev=267262&root=gcc&view=rev Log: 2018-12-19 Richard Biener PR tree-optimization/88533

[Bug tree-optimization/85275] copyheader peels off almost the entire iteration

2018-12-19 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85275 --- Comment #5 from Richard Biener --- Author: rguenth Date: Wed Dec 19 11:10:08 2018 New Revision: 267262 URL: https://gcc.gnu.org/viewcvs?rev=267262&root=gcc&view=rev Log: 2018-12-19 Richard Biener PR tree-optimization/88533

[Bug fortran/87881] gfortran.dg/inquiry_type_ref_(1.f08|3.f90) fail on darwin

2018-12-19 Thread paul.richard.thomas at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87881 --- Comment #18 from paul.richard.thomas at gmail dot com --- Exactly On Wed, 19 Dec 2018 at 09:17, jakub at gcc dot gnu.org wrote: > > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87881 > > --- Comment #17 from Jakub Jelinek --- > The multipl

[Bug c++/88180] [7/8/9 Regression] ICE in vec

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

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

2018-12-19 Thread oliver.stannard at arm dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86487 Oliver Stannard changed: What|Removed |Added CC||oliver.stannard at arm dot com --- Com

[Bug tree-optimization/84362] [7/8/9 Regression] Auto-vectorization regression when accessing member variable through getter/accessor

2018-12-19 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84362 --- Comment #7 from Richard Biener --- Created attachment 45261 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=45261&action=edit patch I am testing I am testing the attached.

[Bug bootstrap/84257] Extremely slow compilation from gcc source code under macOS 10.13

2018-12-19 Thread iains at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84257 Iain Sandoe changed: What|Removed |Added CC||iains at gcc dot gnu.org --- Comment #5 fr

[Bug tree-optimization/88464] AVX-512 vectorization of masked scatter failing with "not suitable for scatter store"

2018-12-19 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88464 --- Comment #28 from Jakub Jelinek --- (In reply to Uroš Bizjak from comment #27) > (In reply to Jakub Jelinek from comment #25) > > Isn't ktestw and kortestw the same thing when both operands are the same > > mask register? > True, but kortestw

[Bug tree-optimization/88464] AVX-512 vectorization of masked scatter failing with "not suitable for scatter store"

2018-12-19 Thread ubizjak at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88464 --- Comment #27 from Uroš Bizjak --- (In reply to Jakub Jelinek from comment #25) > Isn't ktestw and kortestw the same thing when both operands are the same > mask register? True, but kortestw is available with AVX512F, where ktestw is not. (In

[Bug target/88535] sparcv9 gcc 7 causes comparison failure in sparc gcc 8 dwarf2out.o

2018-12-19 Thread ro at CeBiTec dot Uni-Bielefeld.DE
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88535 --- Comment #14 from ro at CeBiTec dot Uni-Bielefeld.DE --- > --- Comment #11 from john henning --- >> There are 3 different switches: --build, --host and --target. > > Hmm. I must be looking in the wrong place for documentation; are these > ex

[Bug target/88541] VPCLMULQDQ 256-bit inline function unavailable with optimization but without enabled AVX512VL support

2018-12-19 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88541 --- Comment #6 from Jakub Jelinek --- Because AVX was what is in i386-builtins.def already and as the testcase shows, it works with just -mavx. You can not just load/store those vectors, you can also do logical operations on them etc. (through t

[Bug target/88541] VPCLMULQDQ 256-bit inline function unavailable with optimization but without enabled AVX512VL support

2018-12-19 Thread jbeulich at novell dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88541 --- Comment #5 from jbeulich at novell dot com --- So why -mavx instead of -mavx2? I think the way it was done for GFNI and SSE2 it should also be done there, here and for VAES wrt AVX: Only SSE2 provides support for vectors of ints. Similarly onl

[Bug tree-optimization/88464] AVX-512 vectorization of masked scatter failing with "not suitable for scatter store"

2018-12-19 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88464 --- Comment #26 from Jakub Jelinek --- And the TARGET_AVX512F && looks incorrect, then we wouldn't be able to test or cmp without -mavx512f.

[Bug tree-optimization/88464] AVX-512 vectorization of masked scatter failing with "not suitable for scatter store"

2018-12-19 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88464 --- Comment #25 from Jakub Jelinek --- Isn't ktestw and kortestw the same thing when both operands are the same mask register?

  1   2   >