[Bug target/111340] gcc.dg/bitint-12.c fails on x86_64-apple-darwin or fails on x86_64-linux-gnu with -fPIE

2023-09-11 Thread ubizjak at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111340 Uroš Bizjak changed: What|Removed |Added Status|NEW |ASSIGNED Assignee|unassigned

[Bug target/111340] gcc.dg/bitint-12.c fails on x86_64-apple-darwin or fails on x86_64-linux-gnu with -fPIE

2023-09-11 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111340 --- Comment #6 from Jakub Jelinek --- Thanks.

[Bug c/111365] New: Wrong code at -O3 since r13-1268-g8c99e307b20

2023-09-11 Thread shaohua.li at inf dot ethz.ch via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111365 Bug ID: 111365 Summary: Wrong code at -O3 since r13-1268-g8c99e307b20 Product: gcc Version: 14.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c

[Bug middle-end/111329] [14 regression] gcc.dg/analyzer/out-of-bounds-diagram-1-debug.c fails after r14-3745-g4f4fa2501186e4

2023-09-11 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111329 Jakub Jelinek changed: What|Removed |Added Target Milestone|--- |14.0 Status|ASSIGNED

[Bug target/108812] gcc.target/powerpc/p9-sign_extend-runnable.c fails on power 9 BE

2023-09-11 Thread linkw at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108812 Kewen Lin changed: What|Removed |Added CC||linkw at gcc dot gnu.org --- Comment #4

[Bug c++/111284] [11/12/13/14 Regression] Some passing-by-value parameters are mishandled since GCC 9

2023-09-11 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111284 --- Comment #6 from Jakub Jelinek --- Actually, the binding of parms seems to work fine. But am out of ideas where this should be fixed. When evaluating the comparison, we have lhs (const struct S *) (struct S *) ((const struct S *) this)->s

[Bug other/111359] contrib/gcc-git-customization.sh uses getent, which is non-portable

2023-09-11 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111359 Jonathan Wakely changed: What|Removed |Added Target Milestone|--- |14.0 Resolution|---

[Bug target/111366] error: inlining failed in call to 'always_inline' 'hwy::PreventElision(int&)void': target specific option mismatch

2023-09-11 Thread malat at debian dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111366 --- Comment #3 from Mathieu Malaterre --- compilation flags required are: `-O1 -mcpu=power9 -flto=auto`

[Bug driver/86030] specs file processing does not create response files for input directories

2023-09-11 Thread costas.argyris at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86030 --- Comment #11 from Costas Argyris --- (In reply to John Soo from comment #10) > I'm also not sure > https://gcc.gnu.org/git/?p=gcc.git;a=commitdiff; > h=180ebb8a24d24fc5b105f2257d6216f6dfde62df fixes the collect bug because > collect uses

[Bug middle-end/111329] [14 regression] gcc.dg/analyzer/out-of-bounds-diagram-1-debug.c fails after r14-3745-g4f4fa2501186e4

2023-09-11 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111329 --- Comment #7 from CVS Commits --- The master branch has been updated by Jakub Jelinek : https://gcc.gnu.org/g:6f7f728746818062c3d6ed7ea9c7cb1562f2acb1 commit r14-3836-g6f7f728746818062c3d6ed7ea9c7cb1562f2acb1 Author: Jakub Jelinek Date:

[Bug target/111367] Error: operand out of range (0x1391c is not between 0xffffffffffff8000 and 0x7fff)

2023-09-11 Thread malat at debian dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111367 --- Comment #3 from Mathieu Malaterre --- Reduced test case: % cat bench_sort.cc #define HWY_PRAGMA(tokens) _Pragma(#tokens) #define HWY_PUSH_ATTRIBUTES(targets_str) HWY_PRAGMA(GCC target targets_str) #define HWY_BEFORE_NAMESPACE()

[Bug other/17239] gcc_update not being writable while it is running

2023-09-11 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=17239 --- Comment #5 from Jonathan Wakely --- I don't know whether the underlying problem still exists with git. Does a 'git pull' write to the files it updates, or does it rename them, create a new file, and delete the old one? Would the latter have

[Bug target/111367] Error: operand out of range (0x1391c is not between 0xffffffffffff8000 and 0x7fff)

2023-09-11 Thread malat at debian dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111367 --- Comment #2 from Mathieu Malaterre --- I am using gcc-snapshot from Debian/sid package. It does contains fixes from PR/111212.

[Bug target/111367] Error: operand out of range (0x1391c is not between 0xffffffffffff8000 and 0x7fff)

2023-09-11 Thread malat at debian dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111367 --- Comment #1 from Mathieu Malaterre --- full log: https://buildd.debian.org/status/fetch.php?pkg=highway=powerpc=1.0.8%7Egit20230830.fed142a-1=1694162297=0

[Bug target/111366] error: inlining failed in call to 'always_inline' 'hwy::PreventElision(int&)void': target specific option mismatch

2023-09-11 Thread jan.wassenberg at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111366 Jan Wassenberg changed: What|Removed |Added CC||jan.wassenberg at gmail dot com ---

[Bug other/111359] contrib/gcc-git-customization.sh uses getent, which is non-portable

2023-09-11 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111359 Jonathan Wakely changed: What|Removed |Added Keywords||patch --- Comment #3 from Jonathan

[Bug libstdc++/111347] Memory leak loading a shared library built with --static-libsdtc++ when version script is used

2023-09-11 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111347 --- Comment #4 from Jonathan Wakely --- There's a reason it's marked as unique: it needs to be globally visible and globally unique.

[Bug tree-optimization/111365] Wrong code at -O3 since r13-1268-g8c99e307b20

2023-09-11 Thread xry111 at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111365 Xi Ruoyao changed: What|Removed |Added CC||xry111 at gcc dot gnu.org

[Bug c++/111363] internal compiler error when mistype type of operator<=>

2023-09-11 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111363 Jonathan Wakely changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Target Milestone|---

[Bug other/111359] contrib/gcc-git-customization.sh uses getent, which is non-portable

2023-09-11 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111359 --- Comment #4 from CVS Commits --- The master branch has been updated by Jonathan Wakely : https://gcc.gnu.org/g:5c3c04960d773f47ba5b1da592b6f1e013efe3ea commit r14-3838-g5c3c04960d773f47ba5b1da592b6f1e013efe3ea Author: Jonathan Wakely

[Bug target/111366] New: error: inlining failed in call to 'always_inline' 'hwy::PreventElision(int&)void': target specific option mismatch

2023-09-11 Thread malat at debian dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111366 Bug ID: 111366 Summary: error: inlining failed in call to 'always_inline' 'hwy::PreventElision(int&)void': target specific option mismatch Product: gcc Version:

[Bug target/111366] error: inlining failed in call to 'always_inline' 'hwy::PreventElision(int&)void': target specific option mismatch

2023-09-11 Thread malat at debian dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111366 --- Comment #4 from Mathieu Malaterre --- reduction started: % cvise check.sh skeleton_test.cc 00:00:02 INFO ===< 4165591 >=== 00:00:02 INFO running 4 interestingness tests in parallel 00:00:02 INFO INITIAL PASSES

[Bug tree-optimization/111365] Wrong code at -O3 since r13-1268-g8c99e307b20

2023-09-11 Thread xry111 at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111365 --- Comment #3 from Xi Ruoyao --- (In reply to Xi Ruoyao from comment #2) > int a, c, d, e = -1233286202, f = -1233286202; > > ... > > if (l <= 0 || + l > ) > > I suppose this is invoking undefined behavior. Nope, the problematic + l >

[Bug target/111367] New: Error: operand out of range (0x1391c is not between 0xffffffffffff8000 and 0x7fff)

2023-09-11 Thread malat at debian dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111367 Bug ID: 111367 Summary: Error: operand out of range (0x1391c is not between 0x8000 and 0x7fff) Product: gcc Version: 14.0 Status: UNCONFIRMED

[Bug other/111359] contrib/gcc-git-customization.sh uses getent, which is non-portable

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

[Bug tree-optimization/111365] Wrong code at -O3 since r13-1268-g8c99e307b20

2023-09-11 Thread xry111 at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111365 Xi Ruoyao changed: What|Removed |Added Status|UNCONFIRMED |NEW Ever confirmed|0

[Bug other/111368] New: contrib/test_summary should check to ensure the git branch being put in the email matches the branch actually tested

2023-09-11 Thread egallager at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111368 Bug ID: 111368 Summary: contrib/test_summary should check to ensure the git branch being put in the email matches the branch actually tested Product: gcc

[Bug target/111366] error: inlining failed in call to 'always_inline' 'hwy::PreventElision(int&)void': target specific option mismatch

2023-09-11 Thread jan.wassenberg at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111366 --- Comment #6 from Jan Wassenberg --- Thinking about this more, the LTO means more opportunity for inlining and thus for the compiler to hit the legit "don't want to inline POWER9 into POWER8" error. Interestingly this does not happen on x86

[Bug target/111366] error: inlining failed in call to 'always_inline' 'hwy::PreventElision(int&)void': target specific option mismatch

2023-09-11 Thread malat at debian dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111366 --- Comment #2 from Mathieu Malaterre --- Typical setup: * https://gcc.godbolt.org/z/5W45a6j8x

[Bug c++/111357] [11/12/13/14 Regression] __integer_pack fails to work with values of dependent type convertible to integers in noexcept context

2023-09-11 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111357 --- Comment #4 from Jonathan Wakely --- Reduced to remove : namespace std { template struct integer_sequence { }; template using make_integer_sequence = integer_sequence<_Tp, __integer_pack(_Num)...>; } using

[Bug other/111360] contrib/gcc_update: bad test

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

[Bug libstdc++/111050] [11/12/13/14 Regression] ABI break in _Hash_node_value_base since GCC 11

2023-09-11 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111050 --- Comment #8 from Jonathan Wakely --- (In reply to François Dumont from comment #1) > It seems to be a limited issue as you need a non-optimized build. That's not a safe assumption. Inlining decisions can change across builds and across

[Bug target/111366] error: inlining failed in call to 'always_inline' 'hwy::PreventElision(int&)void': target specific option mismatch

2023-09-11 Thread malat at debian dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111366 --- Comment #1 from Mathieu Malaterre --- Full log: * https://launchpadlibrarian.net/684588621/buildlog_ubuntu-mantic-ppc64el.highway_1.0.7-1_BUILDING.txt.gz

[Bug tree-optimization/111365] Wrong code at -O3 since r13-1268-g8c99e307b20

2023-09-11 Thread xry111 at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111365 --- Comment #2 from Xi Ruoyao --- int a, c, d, e = -1233286202, f = -1233286202; ... if (l <= 0 || + l > ) I suppose this is invoking undefined behavior.

[Bug c++/111357] [11/12/13/14 Regression] __integer_pack fails to work with values of dependent type convertible to integers in noexcept context

2023-09-11 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111357 --- Comment #5 from Jakub Jelinek --- Seems when expand_integer_pack is called first time, ohi is TEMPLATE_PARAMETER_INDEX with the right type (_Tp TEMPLATE_TYPE_PARM), but when it calls tree hi = tsubst_copy_and_build (ohi, args, complain,

[Bug fortran/111341] Elemental operator on zero-sized array seg-faults

2023-09-11 Thread everythingfunctional at protonmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111341 --- Comment #2 from Brad Richardson --- You'll need to use fpm. I.e. $ tree . ├── app │   └── main.f90 └── fpm.toml $ fpm run + mkdir -p build/dependencies Initialized empty Git repository in

[Bug middle-end/111369] New: ICE in handle_cast, gimple-lower-bitint.cc:1486 with -Os

2023-09-11 Thread fkastl at suse dot cz via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111369 Bug ID: 111369 Summary: ICE in handle_cast, gimple-lower-bitint.cc:1486 with -Os Product: gcc Version: 14.0 Status: UNCONFIRMED Severity: normal

[Bug middle-end/111369] [14 Regression] ICE in handle_cast, gimple-lower-bitint.cc:1486 with -Os

2023-09-11 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111369 Jakub Jelinek changed: What|Removed |Added Priority|P3 |P1 Target Milestone|---

[Bug target/111311] RISC-V regression testsuite errors with --param=riscv-autovec-preference=scalable

2023-09-11 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111311 --- Comment #7 from CVS Commits --- The master branch has been updated by Pan Li : https://gcc.gnu.org/g:88a0a883960910530bfefa750461168f539f4a00 commit r14-3840-g88a0a883960910530bfefa750461168f539f4a00 Author: Juzhe-Zhong Date: Thu Sep 7

[Bug libstdc++/106547] std::variant::emplace goes into an infinite recursion with certain weird trivially copyable types

2023-09-11 Thread the.invisible.phantom at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106547 --- Comment #2 from Valentine Anderson --- >From what I understand, the key feature of trivially copyable types is that memcpy‘ing an object of such a type onto another object is equivalent to a copy assignment. So it is possible to trivially

[Bug target/111370] New: On Aarch64 4% 511.povray_r regression between g:6cd85273071b5f13 (2023-08-23 00:17) and g:e1f096a3cc96c719 (2023-08-25 22:34)

2023-09-11 Thread fkastl at suse dot cz via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111370 Bug ID: 111370 Summary: On Aarch64 4% 511.povray_r regression between g:6cd85273071b5f13 (2023-08-23 00:17) and g:e1f096a3cc96c719 (2023-08-25 22:34) Product: gcc

[Bug tree-optimization/111349] `Optimize (a CMP CST1) ? max : a` pattern's cmp is missing :c

2023-09-11 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111349 --- Comment #2 from CVS Commits --- The trunk branch has been updated by Andrew Pinski : https://gcc.gnu.org/g:b59e9de990a17bfd5fa7252b76339c35bff7f2e8 commit r14-3842-gb59e9de990a17bfd5fa7252b76339c35bff7f2e8 Author: Andrew Pinski Date:

[Bug c++/111284] [11/12/13/14 Regression] Some passing-by-value parameters are mishandled since GCC 9

2023-09-11 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111284 --- Comment #7 from Jakub Jelinek --- Perhaps we should drop the if (TREE_ADDRESSABLE (type)) /* Undo convert_for_arg_passing work here. */ x = convert_from_reference (x); in cxx_bind_parameters_in_call and somewhere at

[Bug libstdc++/111351] constexpr std::string objects permitted to escape constant evaluation when SSO

2023-09-11 Thread de34 at live dot cn via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111351 Jiang An changed: What|Removed |Added CC||de34 at live dot cn --- Comment #2 from

[Bug target/111366] error: inlining failed in call to 'always_inline' 'hwy::PreventElision(int&)void': target specific option mismatch

2023-09-11 Thread malat at debian dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111366 --- Comment #8 from Mathieu Malaterre --- Further reduced: #include #define HWY_PRAGMA(tokens) _Pragma(#tokens) #define HWY_PUSH_ATTRIBUTES(targets_str) HWY_PRAGMA(GCC target targets_str) __attribute__((always_inline)) void PreventElision() {

[Bug libstdc++/111351] constexpr std::string objects permitted to escape constant evaluation when SSO

2023-09-11 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111351 --- Comment #3 from Jonathan Wakely --- Does using __builtin_is_constant_p on the union member not work?

[Bug libstdc++/106547] std::variant::emplace goes into an infinite recursion with certain weird trivially copyable types

2023-09-11 Thread de34 at live dot cn via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106547 --- Comment #3 from Jiang An --- (In reply to Valentine Anderson from comment #2) > From what I understand, the key feature of trivially copyable types is that > memcpy‘ing an object of such a type onto another object is equivalent to a > copy

[Bug tree-optimization/111349] `Optimize (a CMP CST1) ? max : a` pattern's cmp is missing :c

2023-09-11 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111349 Andrew Pinski changed: What|Removed |Added Resolution|--- |FIXED Status|ASSIGNED

[Bug target/111371] New: ICE in curr_insn_transform, at lra-constraints.cc:4290 on pp64le with -mcpu=power5+ -mpower10-fusion -Os

2023-09-11 Thread jamborm at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111371 Bug ID: 111371 Summary: ICE in curr_insn_transform, at lra-constraints.cc:4290 on pp64le with -mcpu=power5+ -mpower10-fusion -Os Product: gcc Version: 14.0 Status:

[Bug driver/86030] specs file processing does not create response files for input directories

2023-09-11 Thread john.soo+gcc-bugzilla at arista dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86030 --- Comment #12 from John Soo --- I think the general problem in that issue is that ARG_MAX is not respected when the driver (or any subprocess) execs things on linux. I think that it is not the same as the original issue here, though. > I

[Bug target/111366] error: inlining failed in call to 'always_inline' 'hwy::PreventElision(int&)void': target specific option mismatch

2023-09-11 Thread malat at debian dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111366 --- Comment #7 from Mathieu Malaterre --- In case this helps resolve this, here is the cvise-reduced code: % cat skeleton_test.cc #include #define HWY_PRAGMA(tokens) _Pragma(#tokens) namespace hwy { #define HWY_PUSH_ATTRIBUTES(targets_str)

[Bug middle-end/111369] ICE in handle_cast, gimple-lower-bitint.cc:1486 with -Os

2023-09-11 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111369 Jakub Jelinek changed: What|Removed |Added CC||jakub at gcc dot gnu.org --- Comment

[Bug modula2/111330] [13 Regression] Bootstrap failure building SeqFile.lo

2023-09-11 Thread gaius at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111330 --- Comment #7 from Gaius Mulley --- Created attachment 55876 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=55876=edit Proposed fix v2 Here is the second version of the patch which contains the missing case clauses (rather than the else

[Bug libstdc++/106547] std::variant::emplace goes into an infinite recursion with certain weird trivially copyable types

2023-09-11 Thread de34 at live dot cn via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106547 Jiang An changed: What|Removed |Added CC||de34 at live dot cn --- Comment #1 from

[Bug c++/111357] [11/12/13/14 Regression] __integer_pack fails to work with values of dependent type convertible to integers in noexcept context

2023-09-11 Thread jason at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111357 Jason Merrill changed: What|Removed |Added Status|NEW |ASSIGNED CC|

[Bug analyzer/111312] Should the analyzer run earlier?

2023-09-11 Thread dmalcolm at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111312 David Malcolm changed: What|Removed |Added CC||rguenth at gcc dot gnu.org --- Comment

[Bug libstdc++/91910] Debug mode: there is a racing condition between destructors of iterator and the associated container.

2023-09-11 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91910 --- Comment #10 from CVS Commits --- The master branch has been updated by Jonathan Wakely : https://gcc.gnu.org/g:4a2766ed00a47904dc8b85bf0538aa116d8e658b commit r14-3846-g4a2766ed00a47904dc8b85bf0538aa116d8e658b Author: Jonathan Wakely

[Bug libgcc/111372] New: libgcc: RISCV C++ exception handling stack usage grew in 13.1

2023-09-11 Thread alexey.lapshin at espressif dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111372 Bug ID: 111372 Summary: libgcc: RISCV C++ exception handling stack usage grew in 13.1 Product: gcc Version: 13.2.0 Status: UNCONFIRMED Severity: normal

[Bug target/111372] libgcc: RISCV C++ exception handling stack usage grew in 13.1

2023-09-11 Thread alexey.lapshin at espressif dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111372 --- Comment #3 from Alexey --- Ok, but it's better to have configure option or something else just for toolchains that definitely do not use vector extension

[Bug rtl-optimization/111373] New: Register moves right before stores and return

2023-09-11 Thread tkoenig at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111373 Bug ID: 111373 Summary: Register moves right before stores and return Product: gcc Version: 14.0 Status: UNCONFIRMED Severity: enhancement Priority: P3

[Bug libstdc++/66414] string::find ten times slower than strstr

2023-09-11 Thread scc at teamt5 dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66414 Chih-Hsuan Yang changed: What|Removed |Added CC||scc at teamt5 dot org --- Comment #11

[Bug libstdc++/66414] string::find ten times slower than strstr

2023-09-11 Thread scc at teamt5 dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66414 --- Comment #12 from Chih-Hsuan Yang --- Hi all, I hope this message finds you well. I wanted to inquire about the current status of our project. It has come to my attention that our program is facing performance issues when using gcc 13.2.

[Bug c++/111374] New: Spurious -Warray-bounds warning when building std::vector (or libstdc++ bug?)

2023-09-11 Thread simon.marchi at polymtl dot ca via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111374 Bug ID: 111374 Summary: Spurious -Warray-bounds warning when building std::vector (or libstdc++ bug?) Product: gcc Version: 14.0 Status: UNCONFIRMED Severity:

[Bug other/111377] New: [14 regression] c-c++-common/analyzer/compound-assignment-1.c fails after XXX on big endian

2023-09-11 Thread seurer at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111377 Bug ID: 111377 Summary: [14 regression] c-c++-common/analyzer/compound-assignment-1.c fails after XXX on big endian Product: gcc Version: 14.0

[Bug libgcc/111372] libgcc: RISCV C++ exception handling stack usage grew in 13.1

2023-09-11 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111372 --- Comment #2 from Andrew Pinski --- (In reply to Alexey from comment #0) > It seems better to define macros (FIRST_PSEUDO_REGISTER, FIXED_REGISTERS...) > depending on "vector" extension is set or not. This would also prevent > future bugs.

[Bug middle-end/111373] conditional selection gives bad code generation

2023-09-11 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111373 --- Comment #3 from Andrew Pinski --- Note this has nothing to do with returns in this case really, as there are no return value for this function (returns register allocation has been improved in recent years though).

[Bug libstdc++/66414] string::find ten times slower than strstr

2023-09-11 Thread scc at teamt5 dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66414 --- Comment #14 from Chih-Hsuan Yang --- (In reply to Chih-Hsuan Yang from comment #11) > Hi all, > > I hope this message finds you well. > > I wanted to inquire about the current status of our project. It has come to > my attention that our

[Bug driver/86030] specs file processing does not create response files for input directories

2023-09-11 Thread costas.argyris at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86030 --- Comment #13 from Costas Argyris --- (In reply to John Soo from comment #12) > I think the general problem in that issue is that ARG_MAX is not respected > when the driver (or any subprocess) execs things on linux. I think that it > is not

[Bug libgcc/111372] libgcc: RISCV C++ exception handling stack usage grew in 13.1

2023-09-11 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111372 --- Comment #1 from Andrew Pinski --- (In reply to Alexey from comment #0) > It seems better to define macros (FIRST_PSEUDO_REGISTER, FIXED_REGISTERS...) > depending on "vector" extension is set or not. This would also prevent > future bugs.

[Bug libstdc++/111050] [11/12/13/14 Regression] ABI break in _Hash_node_value_base since GCC 11

2023-09-11 Thread frs.dumont at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111050 --- Comment #9 from frs.dumont at gmail dot com --- To be honest before that report I thought that preserving abi was just a matter of preserving memory layout of types. I had no idea that member methods mattered ! Lesson learned. On

[Bug middle-end/111373] conditional selection gives bad code generation

2023-09-11 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111373 Andrew Pinski changed: What|Removed |Added Last reconfirmed|2023-09-11 00:00:00 | Summary|conditional "

[Bug middle-end/111373] conditional "

2023-09-11 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111373 Andrew Pinski changed: What|Removed |Added Ever confirmed|0 |1 Summary|Register moves

[Bug middle-end/111373] conditional selection gives bad code generation

2023-09-11 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111373 --- Comment #4 from Andrew Pinski --- Actually this is what we have before expand: ``` if (_2 > _5) goto ; [50.00%] else goto ; [50.00%] ... if (v$2_7 < v$1_28) goto ; [33.33%] else goto ; [66.67%] [local count:

[Bug libstdc++/66414] string::find ten times slower than strstr

2023-09-11 Thread scc at teamt5 dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66414 --- Comment #13 from Chih-Hsuan Yang --- Hi all, I hope this message finds you well. I wanted to inquire about the current status of our project. It has come to my attention that our program is facing performance issues when using gcc 13.2.

[Bug middle-end/111375] New: RISC-V vector Fortran: SEGV ICE during get_avl_or_vl_reg (vsetvl pass)

2023-09-11 Thread jeremy.bennett at embecosm dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111375 Bug ID: 111375 Summary: RISC-V vector Fortran: SEGV ICE during get_avl_or_vl_reg (vsetvl pass) Product: gcc Version: 14.0 Status: UNCONFIRMED Severity: normal

[Bug rtl-optimization/111376] New: missed optimization of one bit test on MIPS32r1

2023-09-11 Thread lis8215 at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111376 Bug ID: 111376 Summary: missed optimization of one bit test on MIPS32r1 Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal Priority: P3

[Bug fortran/111341] Elemental operator on zero-sized array seg-faults

2023-09-11 Thread anlauf at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111341 anlauf at gcc dot gnu.org changed: What|Removed |Added Ever confirmed|0 |1

[Bug other/111377] [14 regression] c-c++-common/analyzer/compound-assignment-1.c fails after XXX on big endian

2023-09-11 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111377 Jakub Jelinek changed: What|Removed |Added CC||jakub at gcc dot gnu.org --- Comment

[Bug target/111340] gcc.dg/bitint-12.c fails on x86_64-apple-darwin or fails on x86_64-linux-gnu with -fPIE

2023-09-11 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111340 --- Comment #7 from CVS Commits --- The master branch has been updated by Uros Bizjak : https://gcc.gnu.org/g:048927ed8561ca994ad853fe85ccf8c2ca07a8fe commit r14-3854-g048927ed8561ca994ad853fe85ccf8c2ca07a8fe Author: Uros Bizjak Date: Mon

[Bug libstdc++/66414] string::find ten times slower than strstr

2023-09-11 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66414 --- Comment #15 from Jonathan Wakely --- (In reply to Chih-Hsuan Yang from comment #11) > Could you please provide an update on the progress here? All progress is already recorded above.

[Bug c++/106310] [11/12/13 Regression] lookup after this-> seems wrong for dependent lookup since r12-6754-g30f2c22def739211

2023-09-11 Thread jason at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106310 Jason Merrill changed: What|Removed |Added Status|RESOLVED|ASSIGNED Summary|[12/13

[Bug libstdc++/111351] constexpr std::string objects permitted to escape constant evaluation when SSO

2023-09-11 Thread foom at fuhm dot net via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111351 --- Comment #4 from James Y Knight --- vector and string are different in one key way: a zero-sized vector has no accessible storage, while a zero-sized string has 1 byte of readable storage -- the NUL terminator. Because of that, I don't think

[Bug tree-optimization/111348] `(a CMP b) ? minmax : minmax` pattern missing :c on CMP

2023-09-11 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111348 Andrew Pinski changed: What|Removed |Added Target Milestone|--- |14.0 Status|ASSIGNED

[Bug tree-optimization/107881] (a <= b) == (b >= a) should be optimized to (a == b)

2023-09-11 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107881 --- Comment #15 from Andrew Pinski --- For the ^/!= case here are the missing optimizations (note == can be handled too): ``` int ltgtxor(int a, int b) { _Bool c = a < b; _Bool d = a > b; return c ^ d; // a != b } int

[Bug modula2/111330] [13 Regression] Bootstrap failure building SeqFile.lo

2023-09-11 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111330 --- Comment #10 from CVS Commits --- The releases/gcc-13 branch has been updated by Gaius Mulley : https://gcc.gnu.org/g:6facc94692fe1a6a64a68c2dec2b87fb79ac853d commit r13-7790-g6facc94692fe1a6a64a68c2dec2b87fb79ac853d Author: Gaius Mulley

[Bug c++/109666] [12 Regression] Segmentation fault with std::array

2023-09-11 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109666 --- Comment #15 from CVS Commits --- The releases/gcc-11 branch has been updated by Jason Merrill : https://gcc.gnu.org/g:0d7e5f90597167c36c7816f5bcf689472e8b1940 commit r11-10982-g0d7e5f90597167c36c7816f5bcf689472e8b1940 Author: Jason

[Bug c++/106890] [11 Regression] virtual inheritance triggers compiler error when instatiating derived class with in-class initialization since r8-2709-g12659e10c7820071

2023-09-11 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106890 --- Comment #6 from CVS Commits --- The releases/gcc-11 branch has been updated by Jason Merrill : https://gcc.gnu.org/g:0d7e5f90597167c36c7816f5bcf689472e8b1940 commit r11-10982-g0d7e5f90597167c36c7816f5bcf689472e8b1940 Author: Jason Merrill

[Bug c++/106310] [11 Regression] lookup after this-> seems wrong for dependent lookup since r12-6754-g30f2c22def739211

2023-09-11 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106310 --- Comment #17 from CVS Commits --- The releases/gcc-11 branch has been updated by Jason Merrill : https://gcc.gnu.org/g:506d5f399bef7f2d8c48fd83d853c6ff7811a226 commit r11-10983-g506d5f399bef7f2d8c48fd83d853c6ff7811a226 Author: Jason

[Bug c++/106890] [11 Regression] virtual inheritance triggers compiler error when instatiating derived class with in-class initialization since r8-2709-g12659e10c7820071

2023-09-11 Thread jason at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106890 Jason Merrill changed: What|Removed |Added Resolution|--- |FIXED Status|ASSIGNED

[Bug rtl-optimization/111378] New: Missed optimization for comparing with exact_log2 constants

2023-09-11 Thread lis8215 at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111378 Bug ID: 111378 Summary: Missed optimization for comparing with exact_log2 constants Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal

[Bug tree-optimization/111348] `(a CMP b) ? minmax : minmax` pattern missing :c on CMP

2023-09-11 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111348 --- Comment #3 from CVS Commits --- The trunk branch has been updated by Andrew Pinski : https://gcc.gnu.org/g:8fdf712a38422952bbcde7e22eabcf821e6676b3 commit r14-3855-g8fdf712a38422952bbcde7e22eabcf821e6676b3 Author: Andrew Pinski Date:

[Bug target/111340] gcc.dg/bitint-12.c fails on x86_64-apple-darwin or fails on x86_64-linux-gnu with -fPIE

2023-09-11 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111340 --- Comment #8 from CVS Commits --- The releases/gcc-13 branch has been updated by Uros Bizjak : https://gcc.gnu.org/g:65331a30922887304c183be4686ddaf12e990c6b commit r13-7791-g65331a30922887304c183be4686ddaf12e990c6b Author: Uros Bizjak

[Bug other/111377] [14 regression] c-c++-common/analyzer/compound-assignment-1.c fails after XXX on big endian

2023-09-11 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111377 --- Comment #2 from Andrew Pinski --- https://gcc.gnu.org/pipermail/gcc-patches/2023-September/629887.html

[Bug modula2/111330] [13 Regression] Bootstrap failure building SeqFile.lo

2023-09-11 Thread gaius at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111330 --- Comment #8 from Gaius Mulley --- Created attachment 55880 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=55880=edit Proposed fix v3 Here is v2 together with the -Wcase-enum switch implemented (and related fixes). I'll git commit v2

[Bug modula2/111330] [13 Regression] Bootstrap failure building SeqFile.lo

2023-09-11 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111330 --- Comment #9 from CVS Commits --- The master branch has been updated by Gaius Mulley : https://gcc.gnu.org/g:fbd72a2108d1c05ef7f50acd71d518e769abcced commit r14-3856-gfbd72a2108d1c05ef7f50acd71d518e769abcced Author: Gaius Mulley Date:

[Bug c++/106310] [11 Regression] lookup after this-> seems wrong for dependent lookup since r12-6754-g30f2c22def739211

2023-09-11 Thread jason at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106310 Jason Merrill changed: What|Removed |Added Resolution|--- |FIXED Status|ASSIGNED

[Bug c++/111379] New: comparison between unequal pointers to void should be illegal during constant evaluation

2023-09-11 Thread pkeir at outlook dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111379 Bug ID: 111379 Summary: comparison between unequal pointers to void should be illegal during constant evaluation Product: gcc Version: 14.0 Status: UNCONFIRMED

[Bug target/108812] gcc.target/powerpc/p9-sign_extend-runnable.c fails on power 9 BE

2023-09-11 Thread guihaoc at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108812 HaoChen Gui changed: What|Removed |Added Resolution|--- |FIXED Status|UNCONFIRMED

[Bug target/96762] ICE in extract_insn, at recog.c:2294 (error: unrecognizable insn)

2023-09-11 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96762 --- Comment #8 from CVS Commits --- The releases/gcc-12 branch has been updated by HaoChen Gui : https://gcc.gnu.org/g:ac0773956cef18cd4903365fb675447ee301d725 commit r12-9854-gac0773956cef18cd4903365fb675447ee301d725 Author: Haochen Gui

[Bug tree-optimization/95185] [11/12/13/14 Regression] Failure to optimize specific kind of sign comparison check

2023-09-11 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95185 Andrew Pinski changed: What|Removed |Added Status|ASSIGNED|NEW Assignee|pinskia at gcc

  1   2   >