[Bug target/108322] Using __restrict parameter with -ftree-vectorize (default with -O2) results in massive code bloat

2023-01-06 Thread amonakov at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108322 Alexander Monakov changed: What|Removed |Added CC||amonakov at gcc dot gnu.org --- Com

[Bug middle-end/108300] `abort()` macro cause bootstrap failure on *-w64-mingw32

2023-01-06 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108300 --- Comment #6 from CVS Commits --- The master branch has been updated by Jonathan Yong : https://gcc.gnu.org/g:902c755930326cb4405672aa3ea13c35c653cbff commit r13-5055-g902c755930326cb4405672aa3ea13c35c653cbff Author: LIU Hao Date: Fri Jan

[Bug c++/108326] New: Question about definitions in c++config.h for gcc13 20221229

2023-01-06 Thread lukaszcz18 at wp dot pl via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108326 Bug ID: 108326 Summary: Question about definitions in c++config.h for gcc13 20221229 Product: gcc Version: 13.0 Status: UNCONFIRMED Severity: normal

[Bug analyzer/108325] New: -Wanalyzer-null-dereference false positive with *f = 42

2023-01-06 Thread mengli.ming at outlook dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108325 Bug ID: 108325 Summary: -Wanalyzer-null-dereference false positive with *f = 42 Product: gcc Version: 13.0 Status: UNCONFIRMED Severity: normal Prior

[Bug c++/108324] New: Temporary not bound to reference in default member initializer destroyed early from parenthesized expression-list initialization of aggregate

2023-01-06 Thread hstong at ca dot ibm.com via Gcc-bugs
path,/opt/wandbox/gcc-head/lib64,-rpath,/opt/wandbox/gcc-head/lib32 Thread model: posix Supported LTO compression algorithms: zlib gcc version 13.0.0 20230106 (experimental) (GCC)

[Bug libstdc++/108323] combine does not change the locale name

2023-01-06 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108323 Jonathan Wakely changed: What|Removed |Added Ever confirmed|0 |1 Status|UNCONFIRMED

[Bug libstdc++/108221] Building cross compiler for H8 family fails at libstdc++-v3/src/c++20/tzdb.cc

2023-01-06 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108221 --- Comment #10 from Jonathan Wakely --- The fix would be changing the constraint to: _Extent == dynamic_­extent || _Extent == 0

[Bug libstdc++/108221] Building cross compiler for H8 family fails at libstdc++-v3/src/c++20/tzdb.cc

2023-01-06 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108221 --- Comment #9 from Jonathan Wakely --- The reason it fails is here: D:/Works/xcomp/gcc-build/h8300-elf/normal/int32/libstdc++-v3/include/span:147:7: note: candidate: 'constexpr std::span<_Type, _Extent>::span() requires _Extent + 1 <= 1 [with

[Bug libstdc++/108221] Building cross compiler for H8 family fails at libstdc++-v3/src/c++20/tzdb.cc

2023-01-06 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108221 --- Comment #8 from Jonathan Wakely --- (In reply to Jan Dubiec from comment #6) > Please note -mn -mint32 options – > normal mode (aka 16-bit mode) with 32-bit integers. Has this bizarre mode ever been able to build libstdc++? I have too many

[Bug libstdc++/108221] Building cross compiler for H8 family fails at libstdc++-v3/src/c++20/tzdb.cc

2023-01-06 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108221 --- Comment #7 from Jonathan Wakely --- (In reply to Jonathan Wakely from comment #5) > Fixed, but the build still fails as mentioned above. See comment 3

[Bug libstdc++/108221] Building cross compiler for H8 family fails at libstdc++-v3/src/c++20/tzdb.cc

2023-01-06 Thread jdx at o2 dot pl via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108221 --- Comment #6 from Jan Dubiec --- Jonathan, I am not sure to what part of the thread "above" refers to, but build fails indeed. This time due to a different reason. This is what I got when I was trying to build f7bd48c6. Please note -mn -mint32

[Bug c++/108323] New: combine does not change the locale name

2023-01-06 Thread liweifriends at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108323 Bug ID: 108323 Summary: combine does not change the locale name Product: gcc Version: 12.2.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++

[Bug target/108322] Using __restrict parameter with -ftree-vectorize (default with -O2) results in massive code bloat

2023-01-06 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108322 Andrew Pinski changed: What|Removed |Added Target||x86_64-linux-gnu Component|tre

[Bug tree-optimization/108322] Using __register parameter with -ftree-vectorize (default with -O2) results in massive code bloat

2023-01-06 Thread gerbilsoft at gerbilsoft dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108322 --- Comment #1 from David Korth --- Some quick testing with Compiler Explorer at godbolt.org shows that this behavior started with gcc-8.1, and it doesn't happen with gcc-7.x or earlier.

[Bug tree-optimization/108322] New: Using __register parameter with -ftree-vectorize (default with -O2) results in massive code bloat

2023-01-06 Thread gerbilsoft at gerbilsoft dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108322 Bug ID: 108322 Summary: Using __register parameter with -ftree-vectorize (default with -O2) results in massive code bloat Product: gcc Version: 12.2.1 Status: UNCONFIRME

[Bug c++/108321] New: [13 regression] g++.dg/contracts/contracts-tmpl-spec2.C fails after r13-4160-g2efb237ffc68ec

2023-01-06 Thread seurer at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108321 Bug ID: 108321 Summary: [13 regression] g++.dg/contracts/contracts-tmpl-spec2.C fails after r13-4160-g2efb237ffc68ec Product: gcc Version: 13.0 Statu

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

2023-01-06 Thread tkoenig at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=34678 Thomas Koenig changed: What|Removed |Added Blocks||105105 --- Comment #47 from Thomas Koeni

[Bug tree-optimization/108320] Missing vector/array arithmetic optimization compared to valarray

2023-01-06 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108320 --- Comment #2 from Andrew Pinski --- valarray is specifically designed to allow these kind of optimizations really.

[Bug tree-optimization/108320] Missing vector/array arithmetic optimization compared to valarray

2023-01-06 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108320 --- Comment #1 from Andrew Pinski --- GCC does not implement loop fusion and you need loop fusion to handle fma2/fma3

[Bug tree-optimization/108320] Missing vector/array arithmetic optimization compared to valarray

2023-01-06 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108320 Andrew Pinski changed: What|Removed |Added Component|c++ |tree-optimization Severity|no

[Bug c++/108320] New: Missing vector/array arithmetic optimization compared to valarray

2023-01-06 Thread diegoandres91b at hotmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108320 Bug ID: 108320 Summary: Missing vector/array arithmetic optimization compared to valarray Product: gcc Version: 12.2.0 Status: UNCONFIRMED Severity: normal

[Bug modula2/108182] gm2 driver mishandles target and multilib options

2023-01-06 Thread gaius at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108182 --- Comment #8 from Gaius Mulley --- Created attachment 54208 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=54208&action=edit Potential fix for target multilib_dir handling -m and -f (version 2) Cleaned up and revised patch (no skip on -

[Bug libstdc++/108235] FAIL: g++.dg/compat/abi/bitfield1 cp_compat_x_tst.o-cp_compat_y_tst.o link

2023-01-06 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108235 --- Comment #13 from Jonathan Wakely --- Maybe this time!

[Bug middle-end/93634] Improving modular calculations (e.g. divisibility tests).

2023-01-06 Thread gaius at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93634 Gaius Mulley changed: What|Removed |Added Attachment #54207|1 |0 is patch|

[Bug libstdc++/108228] /usr/lib/pa20_64/dld.sl: Unsatisfied code symbol '_ZN9__gnu_cxx21zoneinfo_dir_ov errideEv'

2023-01-06 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108228 --- Comment #4 from CVS Commits --- The master branch has been updated by Jonathan Wakely : https://gcc.gnu.org/g:74852a3a2cecbd6d7ac6ddc2d1a9b60b83367d60 commit r13-5053-g74852a3a2cecbd6d7ac6ddc2d1a9b60b83367d60 Author: Jonathan Wakely Date:

[Bug libstdc++/108235] FAIL: g++.dg/compat/abi/bitfield1 cp_compat_x_tst.o-cp_compat_y_tst.o link

2023-01-06 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108235 --- Comment #12 from CVS Commits --- The master branch has been updated by Jonathan Wakely : https://gcc.gnu.org/g:61da01772a3dff61cf23ba2ffba33bccb68d1063 commit r13-5052-g61da01772a3dff61cf23ba2ffba33bccb68d1063 Author: Jonathan Wakely Date

[Bug middle-end/93634] Improving modular calculations (e.g. divisibility tests).

2023-01-06 Thread gaius at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93634 Gaius Mulley changed: What|Removed |Added CC||gaius at gcc dot gnu.org --- Comment #2 f

[Bug modula2/108182] gm2 driver mishandles target and multilib options

2023-01-06 Thread gaius at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108182 --- Comment #7 from Gaius Mulley --- About to post - I've cleaned up the patch and modified it not to skip the -m option. It is fine on x86_64 gnu/linux - it would be great to know I've not broken anything on Darwin :-)

[Bug c++/108299] toplevel thread_local variables are not initialized if not referenced and initialized at wrong moment when referenced

2023-01-06 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108299 --- Comment #11 from Jakub Jelinek --- You're right. All we'd need to do is revert PR101786 change and call __tls_init if in the current TU there are any dynamic TLS initializations when any TLS var from current TU is referenced, even when it h

[Bug c++/108047] [13 Regression] ICE: unexpected expression of kind implicit_conv_expr since r13-4564-gd081807d8d70e3e8

2023-01-06 Thread slyfox at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108047 --- Comment #10 from Sergei Trofimovich --- (In reply to Jakub Jelinek from comment #8) > Created attachment 54201 [details] > gcc13-pr108047.patch > > My current understanding is that even if nothing in the initializer is > dependent maybe_ini

[Bug c++/108299] toplevel thread_local variables are not initialized if not referenced and initialized at wrong moment when referenced

2023-01-06 Thread jason at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108299 Jason Merrill changed: What|Removed |Added Last reconfirmed||2023-01-06 Assignee|unassigne

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

2023-01-06 Thread tkoenig at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=34678 --- Comment #46 from Thomas Koenig --- Fortran gets this right: $ cat set_rounding_mode.f90 module x implicit none integer, parameter :: wp = selected_real_kind(15) contains subroutine foo(a,b,c) use ieee_arithmetic real(kind=wp),

[Bug c++/108047] [13 Regression] ICE: unexpected expression of kind implicit_conv_expr since r13-4564-gd081807d8d70e3e8

2023-01-06 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108047 Andrew Pinski changed: What|Removed |Added CC||lukaszcz18 at wp dot pl --- Comment #9

[Bug c++/108319] Problem with std::__cxx11::basic_string

2023-01-06 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108319 Andrew Pinski changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug libstdc++/108319] New: Problem with std::__cxx11::basic_string

2023-01-06 Thread lukaszcz18 at wp dot pl via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108319 Bug ID: 108319 Summary: Problem with std::__cxx11::basic_string Product: gcc Version: 13.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: libstdc+

[Bug middle-end/32667] block copy with exact overlap is expanded as memcpy

2023-01-06 Thread lopresti at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=32667 --- Comment #22 from Patrick J. LoPresti --- I disagree that bug 108296 is a duplicate. That bug requires code that, at least arguably, invokes undefined behavior. See e.g. https://stackoverflow.com/q/7292862/ and https://stackoverflow.com/q/6107

[Bug libbacktrace/108297] libtool link b2test fails: Unrecognized argument: --build-id

2023-01-06 Thread dave.anglin at bell dot net via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108297 --- Comment #7 from dave.anglin at bell dot net --- On 2023-01-06 12:44 p.m., ian at airs dot com wrote: > If LTO doesn't work HP/UX, do you have a simple test that the configure script > could run to see whether it works? Will investigate.

[Bug c++/108317] dependent vector field is not causing field of this not to be found for fold expression inside a if constexpr block

2023-01-06 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108317 --- Comment #4 from Andrew Pinski --- I should mention that <0> works but <0,1> fails. That might get a hint to a person fixing the issue of what is going wrong inside the compiler.

[Bug c++/108317] dependent vector field is not causing field of this not to be found for fold expression inside a if constexpr block

2023-01-06 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108317 Andrew Pinski changed: What|Removed |Added Summary|dependent vector field is |dependent vector field is

[Bug c++/108317] dependent vector field is not causing this to be captured for fold expression inside a if constexpr block

2023-01-06 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108317 Andrew Pinski changed: What|Removed |Added Target|#1 SMP PREEMPT_DYNAMIC Sat, | |31 Dec 2022 17:40:3

[Bug libbacktrace/108297] libtool link b2test fails: Unrecognized argument: --build-id

2023-01-06 Thread ian at airs dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108297 Ian Lance Taylor changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug libbacktrace/108297] libtool link b2test fails: Unrecognized argument: --build-id

2023-01-06 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108297 --- Comment #5 from CVS Commits --- The master branch has been updated by Ian Lance Taylor : https://gcc.gnu.org/g:f3707a55acb980fbcd412ceb980b5621decb4dc0 commit r13-5050-gf3707a55acb980fbcd412ceb980b5621decb4dc0 Author: Ian Lance Taylor Dat

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

2023-01-06 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=34678 Andrew Pinski changed: What|Removed |Added See Also||https://gcc.gnu.org/bugzill

[Bug c/56020] FE_INVALID flag not set on comparison with NAN (unordered)

2023-01-06 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=56020 Andrew Pinski changed: What|Removed |Added Resolution|--- |DUPLICATE Status|NEW

[Bug c/16989] [meta-bug] C99 conformance bugs

2023-01-06 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=16989 Bug 16989 depends on bug 56020, which changed state. Bug 56020 Summary: FE_INVALID flag not set on comparison with NAN (unordered) https://gcc.gnu.org/bugzilla/show_bug.cgi?id=56020 What|Removed |Added -

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

2023-01-06 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=34678 Andrew Pinski changed: What|Removed |Added CC||tkoenig at gcc dot gnu.org --- Comment #

[Bug rtl-optimization/108318] Floating point calculation moved out of loop despite fesetround

2023-01-06 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108318 Andrew Pinski changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug c++/108309] [12 Regression] ICE in in cxx_eval_component_reference, at cp/constexpr.cc:4136

2023-01-06 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108309 Andrew Pinski changed: What|Removed |Added See Also||https://gcc.gnu.org/bugzill

[Bug middle-end/108298] Wrong optimization of volatile access from gcc 11 and beyond

2023-01-06 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108298 --- Comment #7 from Andrew Pinski --- https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69482#c7 addresses the big issue here I think.

[Bug libstdc++/108235] FAIL: g++.dg/compat/abi/bitfield1 cp_compat_x_tst.o-cp_compat_y_tst.o link

2023-01-06 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108235 --- Comment #11 from Jonathan Wakely --- (In reply to John David Anglin from comment #10) > No. We still have the following symbols in tzdb.o: > U __atomic_compare_exchange_4 > U __atomic_fetch_add_4 Oh the ti

[Bug rtl-optimization/108318] Floating point calculation moved out of loop despite fesetround

2023-01-06 Thread amonakov at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108318 Alexander Monakov changed: What|Removed |Added CC||amonakov at gcc dot gnu.org --- Com

[Bug c++/106361] [11/12/13 Regression] Internal compiler error when creating an out-of-line operator==() = default

2023-01-06 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106361 Patrick Palka changed: What|Removed |Added CC||pacoarjonilla at yahoo dot es --- Comme

[Bug c++/93527] Internal compiler error when static_assert concept std::regular on class with variadic constrained constructor.

2023-01-06 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93527 Patrick Palka changed: What|Removed |Added Resolution|--- |DUPLICATE CC|

[Bug libstdc++/108260] __cpp_lib_ranges_zip feature test macro not defined while std::views::zip is supported

2023-01-06 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108260 Patrick Palka changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug libstdc++/108260] __cpp_lib_ranges_zip feature test macro not defined while std::views::zip is supported

2023-01-06 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108260 --- Comment #5 from CVS Commits --- The master branch has been updated by Patrick Palka : https://gcc.gnu.org/g:f7bd48c6bbd3d7a479943b248b973aaf6c59463b commit r13-5049-gf7bd48c6bbd3d7a479943b248b973aaf6c59463b Author: Patrick Palka Date: F

[Bug libbacktrace/108297] libtool link b2test fails: Unrecognized argument: --build-id

2023-01-06 Thread danglin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108297 --- Comment #4 from John David Anglin --- It appears the --build-id issue is fixed by the change. But there's still a lto issue breaking make check: libtool: link: /home/dave/gnu/gcc/objdir64/./prev-gcc/xgcc -B/home/dave/gnu/gcc/ objdir64/./pr

[Bug ipa/106816] noreturn/pure attributes are not set correctly on multiversioned functions

2023-01-06 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106816 --- Comment #10 from Martin Liška --- (In reply to Martin Jambor from comment #9) > (In reply to Martin Liška from comment #6) > > > > @Martin: Do we have a declaration cloning code for functions somewhere? > > See e.g. cgraph_node::create_vir

[Bug libstdc++/108235] FAIL: g++.dg/compat/abi/bitfield1 cp_compat_x_tst.o-cp_compat_y_tst.o link

2023-01-06 Thread danglin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108235 --- Comment #10 from John David Anglin --- No. We still have the following symbols in tzdb.o: U __atomic_compare_exchange_4 U __atomic_fetch_add_4 U __atomic_fetch_add_8 U __at

[Bug libstdc++/108235] FAIL: g++.dg/compat/abi/bitfield1 cp_compat_x_tst.o-cp_compat_y_tst.o link

2023-01-06 Thread danglin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108235 --- Comment #9 from John David Anglin --- Created attachment 54206 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=54206&action=edit Updated preprocessed source

[Bug rtl-optimization/108318] New: Floating point calculation moved out of loop despite fesetround

2023-01-06 Thread tkoenig at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108318 Bug ID: 108318 Summary: Floating point calculation moved out of loop despite fesetround Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal

[Bug c++/60512] would be useful if gcc implemented __has_feature similary to clang

2023-01-06 Thread jrtc27 at jrtc27 dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=60512 Jessica Clarke changed: What|Removed |Added CC||jrtc27 at jrtc27 dot com --- Comment #1

[Bug modula2/108182] gm2 driver mishandles target and multilib options

2023-01-06 Thread iains at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108182 --- Comment #6 from Iain Sandoe --- (In reply to Iain Sandoe from comment #5) > (In reply to Gaius Mulley from comment #4) > > Created attachment 54184 [details] > > Potential fix for target multilib_dir handling -m and -f. > > > > Work in prog

[Bug target/107843] error: incompatible type for argument in ___bpf_ctx_cast2

2023-01-06 Thread jemarch at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107843 Jose E. Marchesi changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug target/106773] libbpf: failed to find BTF info for global/extern symbol 'bpf_link_fops'

2023-01-06 Thread jemarch at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106773 Jose E. Marchesi changed: What|Removed |Added Resolution|--- |FIXED Status|UNCONFIRMED

[Bug target/106745] segfault in bpf_core_get_sou_member_index

2023-01-06 Thread jemarch at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106745 Jose E. Marchesi changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug libstdc++/108214] [13 Regression] writinng bitset to stringstream fails

2023-01-06 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108214 Jonathan Wakely changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug c++/108317] g++ is unable to capture vector-extended variables

2023-01-06 Thread janezz55 at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108317 --- Comment #1 from Janez Zemva --- Created attachment 54205 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=54205&action=edit sample file demonstrating the bug

[Bug libstdc++/108214] [13 Regression] writinng bitset to stringstream fails

2023-01-06 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108214 --- Comment #2 from CVS Commits --- The master branch has been updated by Jonathan Wakely : https://gcc.gnu.org/g:553332c19a04ad0a6bbdd2aafc3499a1cb4dfa0c commit r13-5048-g553332c19a04ad0a6bbdd2aafc3499a1cb4dfa0c Author: Jonathan Wakely Date:

[Bug c++/108317] New: g++ is unable to capture vector-extended variables

2023-01-06 Thread janezz55 at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108317 Bug ID: 108317 Summary: g++ is unable to capture vector-extended variables Product: gcc Version: 12.2.0 Status: UNCONFIRMED Severity: normal Priority: P3 Compon

[Bug target/107453] [13 Regression] New stdarg tests in r13-3549-g4fe34cdcc80ac2 fail

2023-01-06 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107453 Jakub Jelinek changed: What|Removed |Added CC||jakub at gcc dot gnu.org --- Comment #5

[Bug libstdc++/108305] FAIL: 27_io/basic_ofstream/open/char/noreplace.cc execution test

2023-01-06 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108305 Jonathan Wakely changed: What|Removed |Added Ever confirmed|0 |1 Last reconfirmed|

[Bug libstdc++/108305] FAIL: 27_io/basic_ofstream/open/char/noreplace.cc execution test

2023-01-06 Thread schwab--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108305 --- Comment #5 from Andreas Schwab --- Ignoring unknown fopen flags is traditional behavior which is still present today, both in BSD and GNU. Only the first character is actually checked and rejected if unknown.

[Bug libstdc++/108221] Building cross compiler for H8 family fails at libstdc++-v3/src/c++20/tzdb.cc

2023-01-06 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108221 Jonathan Wakely changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug libstdc++/108221] Building cross compiler for H8 family fails at libstdc++-v3/src/c++20/tzdb.cc

2023-01-06 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108221 --- Comment #4 from CVS Commits --- The master branch has been updated by Jonathan Wakely : https://gcc.gnu.org/g:8c330fd49464f3d47a7c171d767eb3a011add76b commit r13-5047-g8c330fd49464f3d47a7c171d767eb3a011add76b Author: Jonathan Wakely Date:

[Bug target/108172] [13 Regression] ICE in emit_move_multi_word, at expr.cc:4087 since r13-4616-g2cba118e538ba0

2023-01-06 Thread tnfchris at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108172 Tamar Christina changed: What|Removed |Added Resolution|--- |FIXED Status|NEW

[Bug tree-optimization/107767] [13 Regression] switch to table conversion happening even though using btq is better

2023-01-06 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107767 --- Comment #17 from Martin Liška --- Oh, I didn't notice it's P1 :) Then sure, send it for this release.

[Bug target/108172] [13 Regression] ICE in emit_move_multi_word, at expr.cc:4087 since r13-4616-g2cba118e538ba0

2023-01-06 Thread tnfchris at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108172 Tamar Christina changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |tnfchris at gcc dot gnu.org -

[Bug middle-end/108312] NULL definition in system.h is no longer needed any more

2023-01-06 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108312 Martin Liška changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |marxin at gcc dot gnu.org

[Bug middle-end/108311] system.h defines va_copy but we require C++11 compiler

2023-01-06 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108311 Martin Liška changed: What|Removed |Added Status|NEW |ASSIGNED CC|

[Bug target/108172] [13 Regression] ICE in emit_move_multi_word, at expr.cc:4087 since r13-4616-g2cba118e538ba0

2023-01-06 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108172 Jakub Jelinek changed: What|Removed |Added CC||jakub at gcc dot gnu.org,

[Bug target/108316] [13 Regression] ICE in maybe_gen_insn via expand_SCATTER_STORE when vectorizing for SVE since r13-2737-g4a773bf2f08656

2023-01-06 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108316 Martin Liška changed: What|Removed |Added Ever confirmed|0 |1 Summary|[13 Regression] ICE

[Bug libstdc++/103755] {has,use}_facet() and iostream constructor performance

2023-01-06 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103755 Jonathan Wakely changed: What|Removed |Added Resolution|--- |FIXED Status|ASSIGNED

[Bug libstdc++/107799] Wrong return type for std::bit_width

2023-01-06 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107799 Jonathan Wakely changed: What|Removed |Added Resolution|--- |FIXED Status|NEW

[Bug libstdc++/108118] std::weak_ptr lacks a self-usurp check on move

2023-01-06 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108118 Jonathan Wakely changed: What|Removed |Added Target Milestone|--- |11.4 Assignee|unassigned at

[Bug middle-end/107966] [10/11/12/13 Regression] option property Var(var) documentation seems cut off

2023-01-06 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107966 Martin Liška changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug middle-end/107966] [10/11/12/13 Regression] option property Var(var) documentation seems cut off

2023-01-06 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107966 --- Comment #3 from CVS Commits --- The master branch has been updated by Martin Liska : https://gcc.gnu.org/g:17176326de45cc7de4f8cedf4414b40df0df39bb commit r13-5045-g17176326de45cc7de4f8cedf4414b40df0df39bb Author: Martin Liska Date: Wed

[Bug middle-end/108300] `abort()` macro cause bootstrap failure on *-w64-mingw32

2023-01-06 Thread lh_mouse at 126 dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108300 --- Comment #5 from LIU Hao --- A quick and obvious fix is to add `CPPFLAGS='-DWIN32_LEAN_AND_MEAN'` when configuring. Bootstrapped successfully on {i686,x86_64}-w64-mingw32. I still think GCC source files should be patched.

[Bug libstdc++/108288] Deadlock when using -fno-elide-constructor + -D_GLIBCXX_DEBUG=1 + -std=c++11

2023-01-06 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108288 Jonathan Wakely changed: What|Removed |Added Target Milestone|--- |10.5 --- Comment #10 from Jonathan Wa

[Bug libstdc++/108288] Deadlock when using -fno-elide-constructor + -D_GLIBCXX_DEBUG=1 + -std=c++11

2023-01-06 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108288 --- Comment #9 from CVS Commits --- The master branch has been updated by Jonathan Wakely : https://gcc.gnu.org/g:b9479ddc7a28fb672ca67304a67d66524d8200a4 commit r13-5044-gb9479ddc7a28fb672ca67304a67d66524d8200a4 Author: Jonathan Wakely Date:

[Bug tree-optimization/108314] [13 Regression] Segfault in gimple-match-head.cc:do_valueize when vectorizing for SVE since r13-707-g68e0063397ba82

2023-01-06 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108314 Martin Liška changed: What|Removed |Added Last reconfirmed||2023-01-06 Status|UNCONFIRME

[Bug middle-end/108268] [13 Regression] Build failure on cross from powerpc64le-linux to nvptx-none

2023-01-06 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108268 Jakub Jelinek changed: What|Removed |Added Resolution|--- |FIXED Status|UNCONFIRMED

[Bug target/108316] New: [13 Regression] ICE in maybe_gen_insn via expand_SCATTER_STORE when vectorizing for SVE

2023-01-06 Thread acoplan at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108316 Bug ID: 108316 Summary: [13 Regression] ICE in maybe_gen_insn via expand_SCATTER_STORE when vectorizing for SVE Product: gcc Version: 13.0 Status: UNCONFIRMED

[Bug c++/108309] [12 Regression] ICE in in cxx_eval_component_reference, at cp/constexpr.cc:4136

2023-01-06 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108309 Martin Liška changed: What|Removed |Added Keywords|needs-bisection | CC|

[Bug middle-end/106133] ICE: SIGSEGV in diagnostic_output_format_init_json_file() with -fdiagnostics-format=json-file -E

2023-01-06 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106133 --- Comment #3 from Martin Liška --- *** Bug 108307 has been marked as a duplicate of this bug. ***

[Bug driver/108307] ICE compiling .S file with -fdiagnostics-format=sarif-file

2023-01-06 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108307 Martin Liška changed: What|Removed |Added CC||marxin at gcc dot gnu.org St

[Bug target/108315] New: -mcpu=power10 changes ABI

2023-01-06 Thread amonakov at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108315 Bug ID: 108315 Summary: -mcpu=power10 changes ABI Product: gcc Version: 13.0 Status: UNCONFIRMED Keywords: ABI, wrong-code Severity: normal Priority: P3

[Bug middle-end/108298] Wrong optimization of volatile access from gcc 11 and beyond

2023-01-06 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108298 Martin Liška changed: What|Removed |Added CC||marxin at gcc dot gnu.org,

[Bug c++/108047] [13 Regression] ICE: unexpected expression of kind implicit_conv_expr since r13-4564-gd081807d8d70e3e8

2023-01-06 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108047 --- Comment #8 from Jakub Jelinek --- Created attachment 54201 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=54201&action=edit gcc13-pr108047.patch My current understanding is that even if nothing in the initializer is dependent maybe_in

[Bug target/108293] Incorrect assembly emitted for float for BPF target

2023-01-06 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108293 Martin Liška changed: What|Removed |Added CC||marxin at gcc dot gnu.org Last reconfi

[Bug libstdc++/106611] std::is_nothrow_copy_constructible returns wrong result

2023-01-06 Thread de34 at live dot cn via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106611 Jiang An changed: What|Removed |Added CC||de34 at live dot cn --- Comment #7 from Jian

  1   2   >