[Bug tree-optimization/86927] [8/9 Regression] Gcc miscompiles at -O3 on valid code

2018-08-13 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86927 Martin Liška changed: What|Removed |Added Status|UNCONFIRMED |NEW Known to work|

[Bug tree-optimization/86925] ice in get_predictor_value, at predict.c:2551

2018-08-13 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86925 Martin Liška changed: What|Removed |Added Component|c |tree-optimization Version|8.0

[Bug c++/86930] New: g++ incorrectly complains about incomplete type in structured binding

2018-08-13 Thread janniksilvanus at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86930 Bug ID: 86930 Summary: g++ incorrectly complains about incomplete type in structured binding Product: gcc Version: 8.1.1 Status: UNCONFIRMED Severity: normal

[Bug c++/86931] New: constexpr variable initialization: internal compiler error: in reshape_init_r, at cp/decl.c:6042

2018-08-13 Thread janniksilvanus at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86931 Bug ID: 86931 Summary: constexpr variable initialization: internal compiler error: in reshape_init_r, at cp/decl.c:6042 Product: gcc Version: 8.1.1 Status: UNCONFIRMED

[Bug c++/86930] g++ incorrectly complains about incomplete type in structured binding

2018-08-13 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86930 Jonathan Wakely changed: What|Removed |Added Keywords||diagnostic Status|UNCONFIR

[Bug c++/86922] Invoking templated PTMF on subclass gives false strict-aliasing warning

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

[Bug c++/86932] New: [8 Regression] Empty non-type template parameter pack not considered for SFINAE.

2018-08-13 Thread zennehoy at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86932 Bug ID: 86932 Summary: [8 Regression] Empty non-type template parameter pack not considered for SFINAE. Product: gcc Version: 8.2.0 Status: UNCONFIRMED Severity

[Bug middle-end/85164] poly-int.h:845:5: runtime error: signed integer overflow

2018-08-13 Thread dcb314 at hotmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85164 David Binderman changed: What|Removed |Added CC||rsandifo at gcc dot gnu.org --- Commen

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

2018-08-13 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86921 --- Comment #2 from Jonathan Wakely --- 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 works. In the default line-buffered mode,

[Bug c++/86932] [8 Regression] Empty non-type template parameter pack not considered for SFINAE.

2018-08-13 Thread zennehoy at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86932 --- Comment #1 from zennehoy --- Sorry, I included the problematic void non-type template parameter pack. The type of std::enable_if_t should be specified as something other than void, e.g., int: #include template, int>...> void f

[Bug tree-optimization/86889] s390x gcc build fails when configured with --disable-checking

2018-08-13 Thread iii at linux dot ibm.com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86889 Ilya Leoshkevich changed: What|Removed |Added CC||rguenth at gcc dot gnu.org --- Commen

[Bug c++/86932] [8/9 Regression] Empty non-type template parameter pack not considered for SFINAE.

2018-08-13 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86932 Jonathan Wakely changed: What|Removed |Added Status|UNCONFIRMED |NEW Known to work|

[Bug c++/86870] Declaration disambiguation is too greedy

2018-08-13 Thread blitzrakete at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86870 --- Comment #1 from Nicolas Lesser --- Oops, I missed to define a default constructor for `X`. This however, does not change the bug report and gcc still incorrectly parses the second statement as a declaration.

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

2018-08-13 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86846 --- Comment #7 from Jonathan Wakely --- Ah, that patch assumes this is defined: #ifdef __GTHREAD_MUTEX_INIT __native_type _M_mutex = __GTHREAD_MUTEX_INIT; constexpr __mutex_base() noexcept = default; i.e. PTHREAD_MUTEX_INITIALIZER.

[Bug tree-optimization/86927] [8/9 Regression] Gcc miscompiles at -O3 on valid code

2018-08-13 Thread amonakov at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86927 Alexander Monakov changed: What|Removed |Added CC||amonakov at gcc dot gnu.org --- Comm

[Bug c++/86933] New: GCC fails to recognize specialization of variadic non-type template parameter declared with `auto`

2018-08-13 Thread d25fe0be at outlook dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86933 Bug ID: 86933 Summary: GCC fails to recognize specialization of variadic non-type template parameter declared with `auto` Product: gcc Version: 8.2.0 Status: UNCONFIRMED

[Bug target/85590] [nvptx, libgomp, openacc] Use cuda runtime fns to determine launch configuration in nvptx plugin

2018-08-13 Thread vries at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85590 --- Comment #1 from Tom de Vries --- Author: vries Date: Mon Aug 13 12:04:24 2018 New Revision: 263505 URL: https://gcc.gnu.org/viewcvs?rev=263505&root=gcc&view=rev Log: [nvptx] Use CUDA driver API to select default runtime launch geometry The

[Bug c++/86933] GCC fails to recognize specialization of variadic non-type template parameter declared with `auto`

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

[Bug libstdc++/86934] New: Feature test macros in should respect _GLIBCXX_HOSTED

2018-08-13 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86934 Bug ID: 86934 Summary: Feature test macros in should respect _GLIBCXX_HOSTED Product: gcc Version: 9.0 Status: UNCONFIRMED Severity: normal Priority:

[Bug target/86771] [9 Regression] gfortran.dg/actual_array_constructor_1.f90 fails on arm after combine 2 insns to 2 insns patch

2018-08-13 Thread andrey.y.guskov at intel dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86771 Andrey Guskov changed: What|Removed |Added CC||andrey.y.guskov at intel dot com --- Co

[Bug libstdc++/45093] Different definitions of _Rb_tree::{erase,_M_destroy_node} between C++98 and C++0x

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

[Bug tree-optimization/86927] [8/9 Regression] Gcc miscompiles at -O3 on valid code

2018-08-13 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86927 --- Comment #3 from Martin Liška --- Then it ends in Richi's revision r249553. Sounds like culprit.

[Bug libstdc++/86934] Feature test macros in should respect _GLIBCXX_HOSTED

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

[Bug c++/86499] lambda-expressions with capture-default are allowed at namespace scope

2018-08-13 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86499 Marek Polacek changed: What|Removed |Added Status|NEW |ASSIGNED CC|

[Bug fortran/86935] New: Bad locus in ASSOCIATE statement

2018-08-13 Thread janus at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86935 Bug ID: 86935 Summary: Bad locus in ASSOCIATE statement Product: gcc Version: 9.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: fortran

[Bug fortran/86935] Bad locus in ASSOCIATE statement

2018-08-13 Thread janus at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86935 --- Comment #1 from janus at gcc dot gnu.org --- The following is sufficient to tip the locus to the next line: Index: gcc/fortran/match.c === --- gcc/fortran/match.c (revision 2635

[Bug target/85640] [8/9 Regression] Code size regression vs 7.3.1

2018-08-13 Thread amonakov at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85640 --- Comment #3 from Alexander Monakov --- (first paragraph of previous comment had 'before'/'after' swapped, sorry) Also note that adjusting the testcase to use size_t rather than unsigned int for the 'len' variable (as production code probably

[Bug tree-optimization/86936] New: strlen() of a constant not folded due to laddress transformation

2018-08-13 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86936 Bug ID: 86936 Summary: strlen() of a constant not folded due to laddress transformation Product: gcc Version: 9.0 Status: UNCONFIRMED Severity: normal

[Bug target/86771] [9 Regression] gfortran.dg/actual_array_constructor_1.f90 fails on arm after combine 2 insns to 2 insns patch

2018-08-13 Thread segher at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86771 --- Comment #8 from Segher Boessenkool --- So is it worse code, better code, is the testcase broken / suboptimal? The haswell problem seems to be completely unrelated, so open a separate PR please.

[Bug target/86771] [9 Regression] gfortran.dg/actual_array_constructor_1.f90 fails on arm after combine 2 insns to 2 insns patch

2018-08-13 Thread andrey.y.guskov at intel dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86771 --- Comment #9 from Andrey Guskov --- OK.

[Bug tree-optimization/86936] strlen() of a constant not folded due to laddress transformation

2018-08-13 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86936 Martin Sebor changed: What|Removed |Added Keywords||diagnostic, |

[Bug tree-optimization/86936] strnlen() of a constant not folded due to laddress transformation

2018-08-13 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86936 Martin Sebor changed: What|Removed |Added Summary|strlen() of a constant not |strnlen() of a constant not

[Bug tree-optimization/86937] New: strnlen() of a conditional expression with constant operands not folded

2018-08-13 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86937 Bug ID: 86937 Summary: strnlen() of a conditional expression with constant operands not folded Product: gcc Version: 9.0 Status: UNCONFIRMED Severity: normal

[Bug tree-optimization/86937] strnlen() of a conditional expression with constant operands not folded

2018-08-13 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86937 Martin Sebor changed: What|Removed |Added Keywords||diagnostic, |

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

2018-08-13 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86915 --- Comment #2 from Marek Polacek --- Author: mpolacek Date: Mon Aug 13 15:36:30 2018 New Revision: 263507 URL: https://gcc.gnu.org/viewcvs?rev=263507&root=gcc&view=rev Log: PR c++/86915 * decl.c (create_array_type_for_decl): Han

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

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

[Bug target/86745] [9 regression] gcc.target/i386/avx-cvt-2.c etc. FAIL on 64-bit x86

2018-08-13 Thread andrey.y.guskov at intel dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86745 Andrey Guskov changed: What|Removed |Added CC||andrey.y.guskov at intel dot com --- Co

[Bug target/86324] testsuite test divkc3-1.c FAILs when compiling with -mabi=ieeelongdouble

2018-08-13 Thread bergner at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86324 Peter Bergner changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug c++/86931] constexpr variable initialization: internal compiler error: in reshape_init_r, at cp/decl.c:6042

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

[Bug c++/86931] constexpr variable initialization: internal compiler error: in reshape_init_r, at cp/decl.c:6042

2018-08-13 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86931 Marek Polacek changed: What|Removed |Added Keywords||ice-on-valid-code --- Comment #2 from Ma

[Bug c/86938] New: Invalid register name for r8w

2018-08-13 Thread quasicoherent at protonmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86938 Bug ID: 86938 Summary: Invalid register name for r8w Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal Priority: P3 Component: c Assig

[Bug target/86938] Invalid register name for r8w

2018-08-13 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86938 --- Comment #1 from Andrew Pinski --- The rNd, rNw, and rNb aliases for rN (r8-r15) are not currently supported as far as I can tell. Use r8 instead.

[Bug rtl-optimization/85645] [7 Regression] ICE in maybe_record_trace_start, at dwarf2cfi.c:2348

2018-08-13 Thread segher at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85645 --- Comment #16 from Segher Boessenkool --- Author: segher Date: Mon Aug 13 17:05:48 2018 New Revision: 263509 URL: https://gcc.gnu.org/viewcvs?rev=263509&root=gcc&view=rev Log: Backport from mainline 2018-05-09 Segher Boessenko

[Bug target/85644] [8/9 Regression] -fstack-protector generates invalid read to %fs:0x0 on mac

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

[Bug c/86923] Missed optimization performing consecutive integer sum, loop not removed

2018-08-13 Thread joseph at codesourcery dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86923 --- Comment #1 from joseph at codesourcery dot com --- Isn't this bug 65855?

[Bug middle-end/86757] [og8,nvptx] gangprivate related regressions

2018-08-13 Thread jules at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86757 jules at gcc dot gnu.org changed: What|Removed |Added CC||jules at gcc dot gnu.org --- C

[Bug c/86923] Missed optimization performing consecutive integer sum, loop not removed

2018-08-13 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86923 Andrew Pinski changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug middle-end/65855] SCEV / SCCP missing optimization: triangular numbers

2018-08-13 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65855 Andrew Pinski changed: What|Removed |Added CC||nightstrike at gmail dot com --- Comment

[Bug rtl-optimization/85645] [7 Regression] ICE in maybe_record_trace_start, at dwarf2cfi.c:2348

2018-08-13 Thread asolokha at gmx dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85645 Arseny Solokha changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug target/86324] testsuite test divkc3-1.c FAILs when compiling with -mabi=ieeelongdouble

2018-08-13 Thread bergner at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86324 --- Comment #9 from Peter Bergner --- Author: bergner Date: Mon Aug 13 17:34:38 2018 New Revision: 263510 URL: https://gcc.gnu.org/viewcvs?rev=263510&root=gcc&view=rev Log: gcc/ Backport from mainline 2018-07-06 Peter Bergner

[Bug rtl-optimization/85645] [7 Regression] ICE in maybe_record_trace_start, at dwarf2cfi.c:2348

2018-08-13 Thread segher at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85645 --- Comment #18 from Segher Boessenkool --- Yes, and don't change resolution because something "seems".

[Bug tree-optimization/71625] missing strlen optimization on different array initialization style

2018-08-13 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71625 --- Comment #17 from Martin Sebor --- Author: msebor Date: Mon Aug 13 17:57:51 2018 New Revision: 263511 URL: https://gcc.gnu.org/viewcvs?rev=263511&root=gcc&view=rev Log: PR tree-optimization/71625 - missing strlen optimization on different arr

[Bug tree-optimization/86829] Missing sin(atan(x)) and cos(atan(x)) optimizations

2018-08-13 Thread giuliano.belinassi at usp dot br
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86829 --- Comment #5 from Giuliano Belinassi --- I filed the copyright assignment request and sent it to the assign at gnu dot org. The patch itself I sent to the patch e-mail listing with the subject "patch to bug #86829".

[Bug rtl-optimization/86939] New: IRA incorrectly creates an interference between a pseudo register and a hard register

2018-08-13 Thread bergner at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86939 Bug ID: 86939 Summary: IRA incorrectly creates an interference between a pseudo register and a hard register Product: gcc Version: 9.0 Status: UNCONFIRMED Sever

[Bug target/85904] [7/8 Regression] configure issue cross compiling on netbsd, with patch

2018-08-13 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85904 --- Comment #12 from Jonathan Wakely --- Author: redi Date: Mon Aug 13 18:54:21 2018 New Revision: 263513 URL: https://gcc.gnu.org/viewcvs?rev=263513&root=gcc&view=rev Log: Revert "libstdc++-v3: Have aligned_alloc() on Newlib" This reverts comm

[Bug libstdc++/45093] Different definitions of _Rb_tree::{erase,_M_destroy_node} between C++98 and C++0x

2018-08-13 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=45093 --- Comment #4 from Jonathan Wakely --- Author: redi Date: Mon Aug 13 18:54:43 2018 New Revision: 263516 URL: https://gcc.gnu.org/viewcvs?rev=263516&root=gcc&view=rev Log: PR libstdc++/45093 avoid warnings for _M_destroy_node PR libstdc

[Bug rtl-optimization/86939] IRA incorrectly creates an interference between a pseudo register and a hard register

2018-08-13 Thread bergner at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86939 Peter Bergner changed: What|Removed |Added CC||law at gcc dot gnu.org,

[Bug target/85904] [7/8 Regression] configure issue cross compiling on netbsd, with patch

2018-08-13 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85904 --- Comment #14 from Jonathan Wakely --- Author: redi Date: Mon Aug 13 19:16:02 2018 New Revision: 263518 URL: https://gcc.gnu.org/viewcvs?rev=263518&root=gcc&view=rev Log: Revert "libstdc++-v3: Have aligned_alloc() on Newlib" This reverts comm

[Bug target/85904] [7/8 Regression] configure issue cross compiling on netbsd, with patch

2018-08-13 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85904 --- Comment #13 from Jonathan Wakely --- Author: redi Date: Mon Aug 13 19:15:40 2018 New Revision: 263517 URL: https://gcc.gnu.org/viewcvs?rev=263517&root=gcc&view=rev Log: Revert "libstdc++-v3: Have aligned_alloc() on Newlib" This reverts comm

[Bug bootstrap/81033] [8/9 Regression] there are cases where ld64 is not able to determine correct atom boundaries from the output GCC currently produces

2018-08-13 Thread iains at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81033 --- Comment #42 from Iain Sandoe --- (In reply to Elliot Saba from comment #41) > Has there been any progress on this? We are running into this while trying > to cross-compile GCC for Darwin. Has this been fixed in 8.3.0? I will be posting two

[Bug sanitizer/86755] [ASAN] Libasan failed to be build for arm with -mthumb and -fno-omit-frame-pointer

2018-08-13 Thread chefmax at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86755 chefmax at gcc dot gnu.org changed: What|Removed |Added CC||chefmax at gcc dot gnu.org -

[Bug middle-end/86940] New: False positive with -Wuninitialized

2018-08-13 Thread aerkiaga6 at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86940 Bug ID: 86940 Summary: False positive with -Wuninitialized Product: gcc Version: 8.2.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: middle-end

[Bug middle-end/86940] False positive with -Wuninitialized

2018-08-13 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86940 --- Comment #1 from Andrew Pinski --- How does GCC know that rand does not change the global variable initialize? Or something else before main has changed it from 1 to 0?

[Bug middle-end/86940] False positive with -Wuninitialized

2018-08-13 Thread aerkiaga6 at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86940 --- Comment #2 from Aritz Erkiaga --- I don't know. Somehow it does know it when the testcase is compiled without any -O flags, but it not something trivial, and so I would not be surprised if GCC were not able to get that information.

[Bug middle-end/86940] False positive with -Wuninitialized

2018-08-13 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86940 Andrew Pinski changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug middle-end/86940] False positive with -Wuninitialized

2018-08-13 Thread aerkiaga6 at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86940 --- Comment #4 from Aritz Erkiaga --- Ok, then this is not a bug. Maybe a feature request? Well, actually I think it would be safe for the compiler to assume that libc (and possibly other external libraries) don't have access to variables define

[Bug debug/86941] New: ICE in i386/winnt.c:1258 in i386_pe_seh_unwind_emit

2018-08-13 Thread nightstrike at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86941 Bug ID: 86941 Summary: ICE in i386/winnt.c:1258 in i386_pe_seh_unwind_emit Product: gcc Version: 9.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component:

[Bug c++/57891] No diagnostic of narrowing conversion in non-type template argument

2018-08-13 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=57891 --- Comment #11 from Marek Polacek --- Author: mpolacek Date: Mon Aug 13 23:12:11 2018 New Revision: 263523 URL: https://gcc.gnu.org/viewcvs?rev=263523&root=gcc&view=rev Log: PR c++/57891 * call.c (struct conversion): Add check_n

[Bug c++/57891] No diagnostic of narrowing conversion in non-type template argument

2018-08-13 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=57891 Marek Polacek changed: What|Removed |Added Keywords||accepts-invalid Status|ASSIG

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

2018-08-13 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65043 Marek Polacek changed: What|Removed |Added Status|NEW |ASSIGNED CC|

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

2018-08-13 Thread blitzrakete at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86942 Bug ID: 86942 Summary: A trailing-return-type is allowed when the return type is not 'auto' for using declarations Product: gcc Version: 9.0 Status: UNCONFIRMED

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

2018-08-13 Thread oremanj at mit dot edu
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86943 Bug ID: 86943 Summary: [8 Regression] Wrong code when converting stateless generic lambda to function pointer Product: gcc Version: 9.0 Status: UNCONFIRMED Seve

[Bug lto/50676] Partitioning may fail with presence of static variables referring to function labels

2018-08-13 Thread egallager at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=50676 --- Comment #7 from Eric Gallager --- (In reply to Andi Kleen from comment #6) > The patch doesn't seem to be checked in yet. Is there a reason for that? Maybe people just forgot about it?

[Bug middle-end/86940] False positive with -Wuninitialized

2018-08-13 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86940 Martin Sebor changed: What|Removed |Added Keywords||diagnostic CC|