[Bug target/86944] New: ICE in vectorizable_store, at tree-vect-stmts.c:6878 on aarch64

2018-08-14 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86944 Bug ID: 86944 Summary: ICE in vectorizable_store, at tree-vect-stmts.c:6878 on aarch64 Product: gcc Version: 9.0 Status: UNCONFIRMED Keywords: ice-on-valid-code

[Bug target/86944] ICE in vectorizable_store, at tree-vect-stmts.c:6878 on aarch64

2018-08-14 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86944 Martin Liška changed: What|Removed |Added Last reconfirmed||2018-8-14 CC|

[Bug c++/86943] [8/9 Regression] Wrong code when converting stateless generic lambda to function pointer

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

[Bug fortran/86945] New: BUG with optimisation of select case statement in gfortran v8.x

2018-08-14 Thread daniel.price at monash dot edu
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86945 Bug ID: 86945 Summary: BUG with optimisation of select case statement in gfortran v8.x Product: gcc Version: 8.2.0 Status: UNCONFIRMED Severity: normal

[Bug c++/86921] do not remove input in bash

2018-08-14 Thread yamirenk at ya dot ru
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86921 Yakov changed: What|Removed |Added Status|WAITING |RESOLVED Resolution|---

[Bug c++/86921] do not remove input in bash

2018-08-14 Thread yamirenk at ya dot ru
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86921 Yakov changed: What|Removed |Added Status|RESOLVED|WAITING Resolution|INVALID

[Bug c++/86946] New: ice: canonical types differ for identical types

2018-08-14 Thread dcb314 at hotmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86946 Bug ID: 86946 Summary: ice: canonical types differ for identical types Product: gcc Version: 8.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++

[Bug c++/86921] do not remove input in bash

2018-08-14 Thread yamirenk at ya dot ru
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86921 --- Comment #4 from Yakov --- (In reply to Jonathan Wakely from comment #2) > If you're saying that data read from the terminal by std::cin cannot be > "un-read" by typing backspace, that's correct. That is not a GCC bug, it's > just how the OS w

[Bug c++/86921] do not remove input in bash

2018-08-14 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86921 --- Comment #5 from Jonathan Wakely --- (In reply to Yakov from comment #4) > I am sorry. I think, I did mistake in my question. I did not press Enter. You said "when the second line begins. symbols, entered in first line" If that doesn't mean

[Bug c/86947] New: Erroneous code generated with O2 and O3 for PPC

2018-08-14 Thread vinay.kumar at blackfigtech dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86947 Bug ID: 86947 Summary: Erroneous code generated with O2 and O3 for PPC Product: gcc Version: 8.1.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c

[Bug c++/86942] A trailing-return-type is allowed when the return type is not 'auto' for using declarations

2018-08-14 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86942 Jonathan Wakely changed: What|Removed |Added Keywords||accepts-invalid Status|UNC

[Bug c++/86921] do not remove input in bash

2018-08-14 Thread yamirenk at ya dot ru
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86921 --- Comment #6 from Yakov --- (In reply to Jonathan Wakely from comment #5) > (In reply to Yakov from comment #4) > > I am sorry. I think, I did mistake in my question. I did not press Enter. > > You said "when the second line begins. symbols, e

[Bug c++/86921] do not remove input in bash

2018-08-14 Thread sch...@linux-m68k.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86921 Andreas Schwab changed: What|Removed |Added Status|WAITING |RESOLVED Resolution|---

[Bug c++/86921] do not remove input in bash

2018-08-14 Thread yamirenk at ya dot ru
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86921 --- Comment #8 from Yakov --- (In reply to Andreas Schwab from comment #7) > This has nothing to do with gcc, it is a property of the terminal emulation. ok. all my terminals have this problem)= thanks for help

[Bug libstdc++/70472] is_copy_constructible>>::value is true

2018-08-14 Thread simonrbrand at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70472 Simon Brand changed: What|Removed |Added CC||simonrbrand at gmail dot com --- Comment #

[Bug c++/86871] [8/9 Regression] ICE: gimple check: expected gimple_assign(error_mark), have gimple_call(trunc_mod_expr) in gimple_assign_lhs, at gimple.h:2462

2018-08-14 Thread rsandifo at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86871 --- Comment #9 from rsandifo at gcc dot gnu.org --- Author: rsandifo Date: Tue Aug 14 09:24:45 2018 New Revision: 263528 URL: https://gcc.gnu.org/viewcvs?rev=263528&root=gcc&view=rev Log: Fix invalid assumption in vect_transform_stmt (PR 86871)

[Bug c++/86871] [8/9 Regression] ICE: gimple check: expected gimple_assign(error_mark), have gimple_call(trunc_mod_expr) in gimple_assign_lhs, at gimple.h:2462

2018-08-14 Thread rsandifo at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86871 rsandifo at gcc dot gnu.org changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolutio

[Bug tree-optimization/86944] ICE in vectorizable_store, at tree-vect-stmts.c:6878 on aarch64

2018-08-14 Thread ktkachov at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86944 ktkachov at gcc dot gnu.org changed: What|Removed |Added Status|UNCONFIRMED |NEW CC|

[Bug hsa/86948] New: Internal compiler error compiling brig.dg/test/gimple/mulhi.hsail

2018-08-14 Thread jamborm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86948 Bug ID: 86948 Summary: Internal compiler error compiling brig.dg/test/gimple/mulhi.hsail Product: gcc Version: 9.0 Status: UNCONFIRMED Severity: normal

[Bug libstdc++/86846] [9 Regression] ld: (Warning) Unsatisfied symbol "__atomic_exchange_8" in libstdc++.sl

2018-08-14 Thread dave.anglin at bell dot net
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86846 --- Comment #8 from dave.anglin at bell dot net --- On 2018-08-11 8:04 PM, redi at gcc dot gnu.org wrote: > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86846 > > --- Comment #5 from Jonathan Wakely --- > This should do it: The testsuite isn't qu

[Bug libstdc++/86846] [9 Regression] ld: (Warning) Unsatisfied symbol "__atomic_exchange_8" in libstdc++.sl

2018-08-14 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86846 --- Comment #9 from Jonathan Wakely --- OK, thanks. The second patch might not be needed for hppa64-hp-hpux11.11 but would be for targets without pointer-width atomics and without PTHREAD_MUTEX_INITIALIZER, so I'll commit that version.

[Bug c++/86949] New: gcc generate an error because delete operator is private when it isn't needed

2018-08-14 Thread tyker at outlook dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86949 Bug ID: 86949 Summary: gcc generate an error because delete operator is private when it isn't needed Product: gcc Version: 9.0 Status: UNCONFIRMED Severity: nor

[Bug c++/86949] gcc generate an error because delete operator is private when it isn't needed

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

[Bug libstdc++/85343] Overload __throw_ios_failure to allow passing errno

2018-08-14 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85343 --- Comment #2 from Jonathan Wakely --- Author: redi Date: Tue Aug 14 12:09:57 2018 New Revision: 263535 URL: https://gcc.gnu.org/viewcvs?rev=263535&root=gcc&view=rev Log: PR libstdc++/85343 overload __throw_ios_failure to take errno [ios::fail

[Bug libstdc++/85343] Overload __throw_ios_failure to allow passing errno

2018-08-14 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85343 Jonathan Wakely changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug hsa/86948] Internal compiler error compiling brig.dg/test/gimple/mulhi.hsail

2018-08-14 Thread jamborm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86948 Martin Jambor changed: What|Removed |Added CC||amonakov at gcc dot gnu.org --- Comment

[Bug c++/86946] ice: canonical types differ for identical types

2018-08-14 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86946 Marek Polacek changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug libstdc++/86846] [9 Regression] ld: (Warning) Unsatisfied symbol "__atomic_exchange_8" in libstdc++.sl

2018-08-14 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86846 Jonathan Wakely changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug libstdc++/86846] [9 Regression] ld: (Warning) Unsatisfied symbol "__atomic_exchange_8" in libstdc++.sl

2018-08-14 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86846 --- Comment #10 from Jonathan Wakely --- Author: redi Date: Tue Aug 14 13:13:37 2018 New Revision: 263536 URL: https://gcc.gnu.org/viewcvs?rev=263536&root=gcc&view=rev Log: PR libstdc++/86846 Alternative to pointer-width atomics Define a class

[Bug c++/86950] internal compiler error: unexpected expression ‘void()’ of kind cast_expr

2018-08-14 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86950 Marek Polacek changed: What|Removed |Added Status|UNCONFIRMED |ASSIGNED Last reconfirmed|

[Bug c++/86950] New: internal compiler error: unexpected expression ‘void()’ of kind cast_expr

2018-08-14 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86950 Bug ID: 86950 Summary: internal compiler error: unexpected expression ‘void()’ of kind cast_expr Product: gcc Version: 9.0 Status: UNCONFIRMED Severity: normal

[Bug c++/86950] internal compiler error: unexpected expression ‘void()’ of kind cast_expr

2018-08-14 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86950 --- Comment #1 from Marek Polacek --- Fixed testcase: template auto f(T) -> decltype(void(), 1) { return 1; } int main () { f(0); }

[Bug hsa/86948] Internal compiler error compiling brig.dg/test/gimple/mulhi.hsail

2018-08-14 Thread amonakov at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86948 --- Comment #2 from Alexander Monakov --- Thanks for the heads-up. At present, BRIG frontend cannot rely on MULT_HIGHPART, as the pattern is optional and, as this bug shows, generic expansion is not implemented. BRIG frontend is already somewhat

[Bug c++/86950] internal compiler error: unexpected expression ‘void()’ of kind cast_expr

2018-08-14 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86950 Marek Polacek changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug c++/86623] constexpr evaluation fails to give an error for modifying a const object

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

[Bug libstdc++/79323] FAIL: 20_util/duration/literals/range.cc (test for excess errors)

2018-08-14 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79323 Jonathan Wakely changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug libstdc++/79433] __has_include() is true but #include gives #error when -std=old

2018-08-14 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79433 Jonathan Wakely changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug target/86599] Problems building libgfortran from 7.2.0 on HP-UX 11.31/PA

2018-08-14 Thread bugzilla-gcc at thewrittenword dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86599 --- Comment #20 from The Written Word --- Created attachment 44536 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=44536&action=edit stdlib.h long_double patch for HP-UX 11.31/PA Tested against 7.3.0 and 8.2.0.

[Bug target/84908] retpoline weirdness: 7.3.0-1 and 4.8.5-16: with -fPIC: R_X86_64_PC32 against undefined symbol `__x86_indirect_thunk_rax'

2018-08-14 Thread luto at kernel dot org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84908 Andy Lutomirski changed: What|Removed |Added CC||luto at kernel dot org --- Comment #9

[Bug target/86951] New: arm speculation barrier incompatible with ARMv6 or earlier

2018-08-14 Thread rearnsha at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86951 Bug ID: 86951 Summary: arm speculation barrier incompatible with ARMv6 or earlier Product: gcc Version: 9.0 Status: UNCONFIRMED Keywords: assemble-failure

[Bug target/86951] arm speculation barrier incompatible with ARMv6 or earlier

2018-08-14 Thread rearnsha at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86951 Richard Earnshaw changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug libstdc++/86590] Codegen is poor when passing std::string by value with _GLIBCXX_EXTERN_TEMPLATE undefined

2018-08-14 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86590 Jonathan Wakely changed: What|Removed |Added Target Milestone|--- |9.0

[Bug hsa/86948] Internal compiler error compiling brig.dg/test/gimple/mulhi.hsail

2018-08-14 Thread amonakov at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86948 --- Comment #3 from Alexander Monakov --- Created attachment 44537 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=44537&action=edit expose mult-highpart via GIMPLE FE Attaching a patch that allows creating MULT_HIGHPART_EXPR via GIMPLE FE,

[Bug tree-optimization/86724] Compilation error with new isl 0.20 (missing includes)

2018-08-14 Thread doko at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86724 --- Comment #8 from Matthias Klose --- Author: doko Date: Tue Aug 14 15:15:39 2018 New Revision: 263539 URL: https://gcc.gnu.org/viewcvs?rev=263539&root=gcc&view=rev Log: 2018-08-14 Matthias Klose Backport from mainline 2018-

[Bug target/86952] New: Avoid jump table for switch statement with -mindirect-branch=thunk

2018-08-14 Thread hjl.tools at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86952 Bug ID: 86952 Summary: Avoid jump table for switch statement with -mindirect-branch=thunk Product: gcc Version: 9.0 Status: UNCONFIRMED Severity: normal

[Bug target/84908] retpoline weirdness: 7.3.0-1 and 4.8.5-16: with -fPIC: R_X86_64_PC32 against undefined symbol `__x86_indirect_thunk_rax'

2018-08-14 Thread hjl.tools at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84908 --- Comment #10 from H.J. Lu --- (In reply to Andy Lutomirski from comment #9) > I haven't fully dug into this, but I do one one immediate question: why is > GCC generating a jump table for a five-entry switch statement if retpolines > are on? T

[Bug target/84908] retpoline weirdness: 7.3.0-1 and 4.8.5-16: with -fPIC: R_X86_64_PC32 against undefined symbol `__x86_indirect_thunk_rax'

2018-08-14 Thread jason.vas.dias at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84908 --- Comment #11 from Jason Vas Dias --- In reply to Comment #9 : Thanks Andy - I think it is because when the retpoline flags are enabled , the 'static inline' function calls in vclock_gettime.c have default function attributes which differ from

[Bug c++/86678] constexpr evaluation incorrectly diagnoses unevaluated call to non-constexpr function

2018-08-14 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86678 Jonathan Wakely changed: What|Removed |Added Last reconfirmed|2018-07-26 00:00:00 |2018-8-14 --- Comment #4 from Jonathan

[Bug c++/86953] New: compiler crashes with constexpr operator== and specific struct (cxx_eval_bit_field_ref, at cp/constexpr.c:2704)

2018-08-14 Thread remi.ducceschi at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86953 Bug ID: 86953 Summary: compiler crashes with constexpr operator== and specific struct (cxx_eval_bit_field_ref, at cp/constexpr.c:2704) Product: gcc Version: 9.0

[Bug c++/86953] compiler crashes with constexpr operator== and specific struct (cxx_eval_bit_field_ref, at cp/constexpr.c:2704)

2018-08-14 Thread remi.ducceschi at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86953 --- Comment #1 from Rémi DUCCESCHI --- Created attachment 44539 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=44539&action=edit Small test case

[Bug c++/86953] [6/7/8/9 Regression] compiler crashes with constexpr operator== and specific struct (cxx_eval_bit_field_ref, at cp/constexpr.c:2704)

2018-08-14 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86953 Marek Polacek changed: What|Removed |Added Keywords||ice-on-valid-code Status|UNC

[Bug libstdc++/86954] New: redundant nothrow in call of ::operator delete

2018-08-14 Thread frankhb1989 at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86954 Bug ID: 86954 Summary: redundant nothrow in call of ::operator delete Product: gcc Version: 8.1.1 Status: UNCONFIRMED Severity: normal Priority: P3 Component: li

[Bug libstdc++/86590] Codegen is poor when passing std::string by value with _GLIBCXX_EXTERN_TEMPLATE undefined

2018-08-14 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86590 --- Comment #28 from Jonathan Wakely --- Created attachment 44540 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=44540&action=edit Use __builtin_is_constant_evaluated() I tried to replace the __builtin_constant_p and __constant_string cond

[Bug libstdc++/86590] Codegen is poor when passing std::string by value with _GLIBCXX_EXTERN_TEMPLATE undefined

2018-08-14 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86590 --- Comment #29 from Jonathan Wakely --- The seemingly-redundant 'else' keywords in the patch are needed because of PR 86678.

[Bug hsa/86948] Internal compiler error compiling brig.dg/test/gimple/mulhi.hsail

2018-08-14 Thread amonakov at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86948 --- Comment #4 from Alexander Monakov --- Created attachment 44541 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=44541&action=edit generic expansion for mult-highpart This patch implements fallback via widening multiply; works for the gim

[Bug tree-optimization/86955] New: strlen of a known string in member array plus offset not folded

2018-08-14 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86955 Bug ID: 86955 Summary: strlen of a known string in member array plus offset not folded Product: gcc Version: 9.0 Status: UNCONFIRMED Severity: normal

[Bug tree-optimization/86955] strlen of a known string in member array plus offset not folded

2018-08-14 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86955 Martin Sebor changed: What|Removed |Added Keywords||missed-optimization Blocks|

[Bug target/86731] [8/9 Regression] Miscompiles vec_sl at -O3 with -fwrapv on ppc64el

2018-08-14 Thread willschm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86731 Will Schmidt changed: What|Removed |Added Status|UNCONFIRMED |ASSIGNED Last reconfirmed|

[Bug c++/86953] [6/7/8/9 Regression] compiler crashes with constexpr operator== and specific struct (cxx_eval_bit_field_ref, at cp/constexpr.c:2704)

2018-08-14 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86953 --- Comment #3 from Marek Polacek --- struct B { double x; bool isfreex; bool isfreey; constexpr bool operator==(const B& other) const noexcept { return (x == other.x) && (isfreex == other.isfreex) && (isfreey == other.isfreey);

[Bug c++/86953] [6/7/8/9 Regression] compiler crashes with constexpr operator== and specific struct (cxx_eval_bit_field_ref, at cp/constexpr.c:2704)

2018-08-14 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86953 --- Comment #4 from Marek Polacek --- Started with r230365 -- Merge C++ delayed folding branch..

[Bug c++/78244] Narrowing conversion is accepted in a function template, but it should be rejected

2018-08-14 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78244 --- Comment #3 from Marek Polacek --- Enhanced testcase (so that I don't lose it): template auto f1(T) -> decltype(int{2.0}, void()) { } template auto f2(T) -> decltype(int{2.0}) { return 1; } template auto f3(T) -> decltype(void(), int{2.0

[Bug tree-optimization/86914] [8/9 Regression] -O2 generates wrong code with strlen() of pointers within one-element arrays of structures

2018-08-14 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86914 Martin Sebor changed: What|Removed |Added Keywords||patch --- Comment #4 from Martin Sebor -

[Bug c++/86956] New: Use of an alias template unexpectedly breaks compilation

2018-08-14 Thread v.reshetnikov at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86956 Bug ID: 86956 Summary: Use of an alias template unexpectedly breaks compilation Product: gcc Version: 9.0 Status: UNCONFIRMED Severity: normal Priorit

[Bug fortran/86116] [6/7/8/9 Regression] Ambiguous generic interface not recognised

2018-08-14 Thread janus at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86116 --- Comment #4 from janus at gcc dot gnu.org --- Author: janus Date: Tue Aug 14 19:09:33 2018 New Revision: 263540 URL: https://gcc.gnu.org/viewcvs?rev=263540&root=gcc&view=rev Log: 2018-08-14 Janus Weil PR fortran/86116 * int

[Bug middle-end/86957] New: gcc should warn about missing profiles for a compilation unit or a new function with -fprofile-use

2018-08-14 Thread ibhagatgnu at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86957 Bug ID: 86957 Summary: gcc should warn about missing profiles for a compilation unit or a new function with -fprofile-use Product: gcc Version: 9.0 Status: UNCONFIRMED

[Bug tree-optimization/86650] -Warray-bounds missing inlining context

2018-08-14 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86650 --- Comment #4 from Martin Sebor --- Author: msebor Date: Tue Aug 14 19:11:20 2018 New Revision: 263541 URL: https://gcc.gnu.org/viewcvs?rev=263541&root=gcc&view=rev Log: PR tree-optimization/86650 - -Warray-bounds missing inlining context gcc/

[Bug tree-optimization/86650] -Warray-bounds missing inlining context

2018-08-14 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86650 --- Comment #5 from Martin Sebor --- Another small enhancement committed in r263541. The inlining context is not yet included so leaving this open until it's done.

[Bug c++/78244] Narrowing conversion is accepted in a function template, but it should be rejected

2018-08-14 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78244 --- Comment #4 from Marek Polacek --- Another simple test: template decltype(int{1.1}) v;

[Bug c++/78244] Narrowing conversion is accepted in a function template, but it should be rejected

2018-08-14 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78244 --- Comment #5 from Marek Polacek --- And with class templates: template struct S { static const int i{1.1}; };

[Bug c++/86958] New: ICE in finish_member_declaration when an alias template is used

2018-08-14 Thread v.reshetnikov at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86958 Bug ID: 86958 Summary: ICE in finish_member_declaration when an alias template is used Product: gcc Version: 9.0 Status: UNCONFIRMED Severity: normal

[Bug c++/65043] Expected narrowing conversion during list initialization of bool from double

2018-08-14 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65043 --- Comment #2 from Marek Polacek --- Simplified: struct X { X(bool) { } }; int main() { X x{1.2}; }

[Bug c++/86958] ICE in finish_member_declaration when an alias template is used

2018-08-14 Thread v.reshetnikov at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86958 --- Comment #1 from Vladimir Reshetnikov --- Sorry, there is a missing closing parenthesis in my code. The last line should look like this: static_assert(Outer::Alias::value == sizeof(bool)); // error

[Bug c++/86958] ICE in finish_member_declaration when an alias template is used

2018-08-14 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86958 Marek Polacek changed: What|Removed |Added CC||mpolacek at gcc dot gnu.org --- Comment

[Bug c++/86958] ICE in finish_member_declaration when an alias template is used

2018-08-14 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86958 --- Comment #3 from Marek Polacek --- note: expected a constant of type ‘bool’, got ‘bool’ Though this is clearly bogus.

[Bug c++/86959] New: Use of a variadic alias template unexpectedly breaks compilation

2018-08-14 Thread v.reshetnikov at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86959 Bug ID: 86959 Summary: Use of a variadic alias template unexpectedly breaks compilation Product: gcc Version: 9.0 Status: UNCONFIRMED Severity: normal

[Bug libstdc++/86954] redundant nothrow in call of ::operator delete

2018-08-14 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86954 --- Comment #1 from Jonathan Wakely --- Arguably this was good defensive programming for C++03. The program could have replaced operator new(size_t) and operator delete(void*) but not replaced operator new(size_t, const nothrow_t&) and operator d

[Bug libstdc++/86954] redundant nothrow in call of ::operator delete

2018-08-14 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86954 --- Comment #2 from Jonathan Wakely --- Author: redi Date: Tue Aug 14 20:19:20 2018 New Revision: 263542 URL: https://gcc.gnu.org/viewcvs?rev=263542&root=gcc&view=rev Log: PR libstdc++/86954 use non-placement operator delete As explained in the

[Bug libstdc++/86954] redundant nothrow in call of ::operator delete

2018-08-14 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86954 Jonathan Wakely changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug target/84908] retpoline weirdness: 7.3.0-1 and 4.8.5-16: with -fPIC: R_X86_64_PC32 against undefined symbol `__x86_indirect_thunk_rax'

2018-08-14 Thread jason.vas.dias at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84908 --- Comment #12 from Jason Vas Dias --- RE: Comment #11 : > notrace int _RETPOLINE_FUNC_ATTR_ > __vdso_clock_gettime(clockid_t clock, struct timespec *ts) should of course be notrace _RETPOLINE_FUNC_ATTR_ int __vdso_clock_gettime(cloc

[Bug c++/86918] internal compiler error: unexpected expression 'v' of kind template_parm_index

2018-08-14 Thread v.reshetnikov at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86918 --- Comment #4 from Vladimir Reshetnikov --- I could not find a wording in the Standard that disallows this kind of specialization (although certainly I might have overlooked it). A similar code where the template parameter list is changed in a s

[Bug c++/65043] Expected narrowing conversion during list initialization of bool from double

2018-08-14 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65043 --- Comment #3 from Marek Polacek --- Testing a patch now.

[Bug c++/86960] New: [Regression] internal compiler error: in coerce_template_parms

2018-08-14 Thread v.reshetnikov at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86960 Bug ID: 86960 Summary: [Regression] internal compiler error: in coerce_template_parms Product: gcc Version: 8.2.0 Status: UNCONFIRMED Severity: normal

[Bug c++/86958] ICE in finish_member_declaration when an alias template is used

2018-08-14 Thread v.reshetnikov at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86958 --- Comment #4 from Vladimir Reshetnikov --- Apparently, I somehow pasted a wrong code into this bug report. If you wish, you can close this one, and I will file proper one(s).

[Bug target/84908] retpoline weirdness: 7.3.0-1 and 4.8.5-16: with -fPIC: R_X86_64_PC32 against undefined symbol `__x86_indirect_thunk_rax'

2018-08-14 Thread luto at kernel dot org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84908 --- Comment #13 from Andy Lutomirski --- I find this whole discussion very confusing. The problem has nothing to do with relocations AFAICT. The problem is that gcc is (as requested) generating retpolines, and it's set up to do it by calling __

[Bug c++/86960] [Regression] internal compiler error: in coerce_template_parms

2018-08-14 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86960 Marek Polacek changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug c++/86958] ICE in finish_member_declaration when an alias template is used

2018-08-14 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86958 Marek Polacek changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug fortran/86945] BUG with optimisation of select case statement in gfortran v8.x

2018-08-14 Thread anlauf at gmx dot de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86945 Harald Anlauf changed: What|Removed |Added CC||anlauf at gmx dot de --- Comment #1 from

[Bug fortran/86945] BUG with optimisation of select case statement in gfortran v8.x

2018-08-14 Thread anlauf at gmx dot de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86945 --- Comment #2 from Harald Anlauf --- Changing the line: case(:-1) to case(-HUGE(0):-1) makes the bug disappear; changing it to case(-HUGE(0)-1:-1) makes it reappear.

[Bug c++/86961] New: ICE in finish_member_declaration when an alias template is used

2018-08-14 Thread v.reshetnikov at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86961 Bug ID: 86961 Summary: ICE in finish_member_declaration when an alias template is used Product: gcc Version: 9.0 Status: UNCONFIRMED Severity: normal

[Bug c++/86958] ICE in finish_member_declaration when an alias template is used

2018-08-14 Thread v.reshetnikov at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86958 Vladimir Reshetnikov changed: What|Removed |Added Status|RESOLVED|CLOSED --- Comment #6 from Vladim

[Bug c++/86915] Segmentation fault for an array of auto in template parameter

2018-08-14 Thread v.reshetnikov at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86915 Vladimir Reshetnikov changed: What|Removed |Added Status|RESOLVED|VERIFIED --- Comment #4 from Vlad

[Bug c++/86728] [7/8/9 Regression] unexpected error: conversion from ', ...)>' to non-scalar type 'std::function' requested

2018-08-14 Thread v.reshetnikov at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86728 Vladimir Reshetnikov changed: What|Removed |Added Status|RESOLVED|VERIFIED --- Comment #7 from Vlad

[Bug c++/84839] [6/7 Regression] ICE (Segmentation fault) when `decltype` is used with parameter pack

2018-08-14 Thread v.reshetnikov at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84839 Vladimir Reshetnikov changed: What|Removed |Added Status|RESOLVED|VERIFIED --- Comment #5 from Vlad

[Bug c++/84798] [6/7 Regression] ICE (Segmentation fault) if `auto` appears in a template argument

2018-08-14 Thread v.reshetnikov at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84798 Vladimir Reshetnikov changed: What|Removed |Added Status|RESOLVED|VERIFIED --- Comment #11 from Vla

[Bug c++/84840] [6/7/8 Regression] ICE (in poplevel_class) for `auto` in alias declaration

2018-08-14 Thread v.reshetnikov at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84840 Vladimir Reshetnikov changed: What|Removed |Added Status|RESOLVED|VERIFIED --- Comment #3 from Vlad

[Bug fortran/86945] BUG with optimisation of select case statement in gfortran v8.x

2018-08-14 Thread anlauf at gmx dot de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86945 --- Comment #3 from Harald Anlauf --- Self contained alternative testcase: program test implicit none integer, volatile :: id,ierr id = 1 print*,'id=',id call foo1 () print*,'ierr1, OK = ',ierr, ierr == 0 call foo2 () print*,'ier

[Bug bootstrap/86872] [9 Regression] LTO bootstrap failed with profiledbootstrap

2018-08-14 Thread hjl.tools at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86872 --- Comment #4 from H.J. Lu --- line-map.c has linemap_assert (reason != LC_ENTER_MACRO); line_map_ordinary *map = linemap_check_ordinary (new_linemap (set, start_location)); map->reason = reason; We get here with reason != LC_ENTER_MA

[Bug c/28848] argument mismatch for late-prototyped function should be warning, not error

2018-08-14 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=28848 Martin Sebor changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED CC|

[Bug other/29842] [meta-bug] outstanding patches / issues from STMicroelectronics

2018-08-14 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=29842 Bug 29842 depends on bug 28848, which changed state. Bug 28848 Summary: argument mismatch for late-prototyped function should be warning, not error https://gcc.gnu.org/bugzilla/show_bug.cgi?id=28848 What|Removed

[Bug target/86731] [8/9 Regression] Miscompiles vec_sl at -O3 with -fwrapv on ppc64el

2018-08-14 Thread willschm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86731 --- Comment #1 from Will Schmidt --- Created attachment 44542 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=44542&action=edit preliminary patch to resolve the problem preliminary/rfc patch.

  1   2   >