[Bug middle-end/111337] ICE in gimple-isel.cc for RISC-V port

2023-09-12 Thread rsandifo at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111337 --- Comment #13 from rsandifo at gcc dot gnu.org --- (In reply to rguent...@suse.de from comment #6) > I wonder whether SVE/GCN have those. Just to answer this: yeah, SVE does have both vector and predicate SEL (vcond_mask). So the fold is

[Bug target/111317] RISC-V: Incorrect COST model for RVV conversions

2023-09-12 Thread rdapp at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111317 --- Comment #1 from Robin Dapp --- I think the default cost model is not too bad for these simple cases. Our emitted instructions match gimple pretty well. The thing we don't model is vsetvl. We could ignore it under the assumption that it

[Bug target/110751] RISC-V: Suport undefined value that allows VSETVL PASS use TA/MA

2023-09-12 Thread juzhe.zhong at rivai dot ai via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110751 --- Comment #25 from JuzheZhong --- (In reply to rsand...@gcc.gnu.org from comment #24) > Heh, nice hack. :) But I guess this shows that the type checking of > internal functions isn't as strong it should be. > > IMO it's wrong to pass a

[Bug c++/110348] [C++26] P2741R3 - User-generated static_assert messages

2023-09-12 Thread jason at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110348 Jason Merrill changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |jakub at gcc dot gnu.org

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

2023-09-12 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111050 --- Comment #11 from Jonathan Wakely --- Right. The _M_valptr() function compiles to something like: return (_Value*)((char*)this + offsetof(_Hash_node_value_base, _M_storage); In GCC 10, the offsetof expression was non-zero, specifically it

[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-12 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111357 --- Comment #6 from CVS Commits --- The trunk branch has been updated by Jason Merrill : https://gcc.gnu.org/g:f73d2d61a5926f42e9e5d771d23868787ef9d800 commit r14-3908-gf73d2d61a5926f42e9e5d771d23868787ef9d800 Author: Jason Merrill Date:

[Bug c++/111272] [13/14 Regression] Truncated error messages with -std=c++23 and -std=c++26

2023-09-12 Thread pkeir at outlook dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111272 --- Comment #4 from Paul Keir --- I believe P2448R2 would only allow the code, without the static_assert. Explicitly calling `test()`, `Jam::Jam()` and then `Jam::ft()` here would mean evaluating a non-constexpr function (i.e. `ft`). ft is

[Bug rtl-optimization/111384] missed optimization: GCC adds extra any extend when storing subreg#0 multiple times

2023-09-12 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111384 Andrew Pinski changed: What|Removed |Added Severity|normal |enhancement

[Bug tree-optimization/111389] New: ICE in check_loop_closed_ssa_def, at tree-ssa-loop-manip.cc:647

2023-09-12 Thread shaohua.li at inf dot ethz.ch via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111389 Bug ID: 111389 Summary: ICE in check_loop_closed_ssa_def, at tree-ssa-loop-manip.cc:647 Product: gcc Version: 14.0 Status: UNCONFIRMED Severity: normal

[Bug tree-optimization/111285] vector ABSU is lowered incorrectly

2023-09-12 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111285 Andrew Pinski changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |pinskia at gcc dot gnu.org

[Bug middle-end/111391] New: RISC-V Vector: ICE in lra_split_hard_reg_for during reload pass

2023-09-12 Thread jeremy.bennett at embecosm dot com via Gcc-bugs
-tune= --with-isa-spec=20191213 'CFLAGS_FOR_TARGET=-O2 -mcmodel=medany' 'CXXFLAGS_FOR_TARGET=-O2-mcmodel=medany' Thread model: posix Supported LTO compression algorithms: zlib gcc version 14.0.0 20230912 (experimental) (g35f498d8dfc)

[Bug tree-optimization/111388] std:.get_if variant, unnecessary branch when outside of if statement

2023-09-12 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111388 --- Comment #1 from Andrew Pinski --- Note variant can still hold neither ... You might need to add a check for valueless_by_exception here. But variant::index could be improved to say the only values that are valid is [0,N],[-1]. and that

[Bug tree-optimization/107887] (bool0 > bool1) | bool1 is not optimized to bool0 | bool1

2023-09-12 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107887 Bug 107887 depends on bug 107881, which changed state. Bug 107881 Summary: (a <= b) == (b >= a) should be optimized to (a == b) https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107881 What|Removed |Added

[Bug tree-optimization/107880] bool tautology missed optimisation

2023-09-12 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107880 Bug 107880 depends on bug 107881, which changed state. Bug 107881 Summary: (a <= b) == (b >= a) should be optimized to (a == b) https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107881 What|Removed |Added

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

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

[Bug target/110751] RISC-V: Suport undefined value that allows VSETVL PASS use TA/MA

2023-09-12 Thread juzhe.zhong at rivai dot ai via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110751 --- Comment #29 from JuzheZhong --- (In reply to JuzheZhong from comment #27) > (In reply to rsand...@gcc.gnu.org from comment #26) > > But this is how technical debt builds up. We'd be making a change > > that doesn't match the type system,

[Bug tree-optimization/111383] [12/13/14 Regression] Wrong code at -Os on x86_64-linux-gnu since r12-5138-ge82c382971

2023-09-12 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111383 --- Comment #3 from Andrew Pinski --- -fwrapv also allows causes the correct code to happen. The difference with/without -fwrapv is: _7 = _6 + -1625040257; if (_7 <= 6) vs if (_6 <= 1625040263)

[Bug c++/107198] [13/14 Regression] ICE in cp_gimplify_expr, at cp/cp-gimplify.cc:752 since r13-3175-g6ffbf87ca66f4ed9

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

[Bug middle-end/111378] Missed optimization for comparing with exact_log2 constants

2023-09-12 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111378 --- Comment #3 from Andrew Pinski --- (In reply to Andrew Pinski from comment #2) > Note I thought I saw another bug requesting the same thing but I could not > find it. PR 85234 is mostly requesting the opposite way though ...

[Bug middle-end/111378] Missed optimization for comparing with exact_log2 constants

2023-09-12 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111378 Andrew Pinski changed: What|Removed |Added Severity|normal |enhancement --- Comment #2 from Andrew

[Bug libstdc++/111327] std::bind_front (and std::not_fn) doesn't always perfectly forward according to value category of the call wrapper object

2023-09-12 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111327 --- Comment #3 from CVS Commits --- The master branch has been updated by Patrick Palka : https://gcc.gnu.org/g:4289f6ceefe74ea46e792692448c06197ac20c86 commit r14-3902-g4289f6ceefe74ea46e792692448c06197ac20c86 Author: Patrick Palka Date:

[Bug target/110751] RISC-V: Suport undefined value that allows VSETVL PASS use TA/MA

2023-09-12 Thread juzhe.zhong at rivai dot ai via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110751 --- Comment #28 from JuzheZhong --- (In reply to JuzheZhong from comment #27) > (In reply to rsand...@gcc.gnu.org from comment #26) > > But this is how technical debt builds up. We'd be making a change > > that doesn't match the type system,

[Bug tree-optimization/111383] [12/13/14 Regression] Wrong code at -Os on x86_64-linux-gnu since r12-5138-ge82c382971

2023-09-12 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111383 Andrew Pinski changed: What|Removed |Added Status|UNCONFIRMED |NEW Ever confirmed|0

[Bug c++/111392] Implement omp::decl attribute support for C++

2023-09-12 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111392 Jakub Jelinek changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |jakub at gcc dot gnu.org Last

[Bug c++/59256] qualified name in friend function declaration doesn't match previous declaration in inline namespace

2023-09-12 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=59256 Jonathan Wakely changed: What|Removed |Added Last reconfirmed|2021-12-13 00:00:00 |2023-9-12 --- Comment #15 from

[Bug libstdc++/111327] std::bind_front (and std::not_fn) doesn't always perfectly forward according to value category of the call wrapper object

2023-09-12 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111327 Patrick Palka changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |ppalka at gcc dot gnu.org

[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-12 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111340 --- Comment #9 from CVS Commits --- The releases/gcc-12 branch has been updated by Uros Bizjak : https://gcc.gnu.org/g:724e9b12ce2b06cceeb59255a5eb0f31b0a7af65 commit r12-9874-g724e9b12ce2b06cceeb59255a5eb0f31b0a7af65 Author: Uros Bizjak

[Bug tree-optimization/111389] [14 Regression] ICE in check_loop_closed_ssa_def, at tree-ssa-loop-manip.cc:647

2023-09-12 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111389 Andrew Pinski changed: What|Removed |Added Target Milestone|--- |14.0 Summary|ICE in

[Bug fortran/111271] gcc/fortran/trans-expr.cc:1134:8: warning: duplicated ‘if’ condition [-Wduplicated-cond]

2023-09-12 Thread pault at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111271 Paul Thomas changed: What|Removed |Added Last reconfirmed||2023-09-12 Ever confirmed|0

[Bug target/98596] registers not reused on RISC-V

2023-09-12 Thread vineetg at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98596 Vineet Gupta changed: What|Removed |Added Resolution|--- |FIXED Status|NEW

[Bug tree-optimization/111393] New: ICE: Segmentation fault src/gcc/toplev.cc:314

2023-09-12 Thread hiraditya at msn dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111393 Bug ID: 111393 Summary: ICE: Segmentation fault src/gcc/toplev.cc:314 Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal Priority: P3

[Bug tree-optimization/111388] std:.get_if variant, unnecessary branch when outside of if statement

2023-09-12 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111388 --- Comment #2 from Andrew Pinski --- Adding: ``` if (ab.index()>=2) __builtin_unreachable(); ``` to operator-> Also fixes the issue. C++23 would be: [[assume(ab.index()<2)]]; (Except that does not optimize currently).

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

2023-09-12 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107881 --- Comment #17 from CVS Commits --- The trunk branch has been updated by Andrew Pinski : https://gcc.gnu.org/g:895e476f64c308dfdbf49693d0b1166c0b7733de commit r14-3881-g895e476f64c308dfdbf49693d0b1166c0b7733de Author: Andrew Pinski Date:

[Bug libstdc++/111390] New: 'make check-compile' target is not useful

2023-09-12 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111390 Bug ID: 111390 Summary: 'make check-compile' target is not useful Product: gcc Version: 14.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component:

[Bug c++/111392] New: Implement omp::decl attribute support for C++

2023-09-12 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111392 Bug ID: 111392 Summary: Implement omp::decl attribute support for C++ Product: gcc Version: 13.2.1 Status: UNCONFIRMED Severity: normal Priority: P3 Component:

[Bug c++/107198] [13/14 Regression] ICE in cp_gimplify_expr, at cp/cp-gimplify.cc:752 since r13-3175-g6ffbf87ca66f4ed9

2023-09-12 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107198 --- Comment #8 from CVS Commits --- The trunk branch has been updated by Jason Merrill : https://gcc.gnu.org/g:ea5abbb263315e558c876b50c9371b90ddd5e028 commit r14-3907-gea5abbb263315e558c876b50c9371b90ddd5e028 Author: Jason Merrill Date:

[Bug target/110751] RISC-V: Suport undefined value that allows VSETVL PASS use TA/MA

2023-09-12 Thread rsandifo at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110751 --- Comment #24 from rsandifo at gcc dot gnu.org --- Heh, nice hack. :) But I guess this shows that the type checking of internal functions isn't as strong it should be. IMO it's wrong to pass a scalar else value to a vector operation. Even

[Bug libstdc++/111327] std::bind_front (and std::not_fn) doesn't always perfectly forward according to value category of the call wrapper object

2023-09-12 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111327 --- Comment #4 from CVS Commits --- The master branch has been updated by Patrick Palka : https://gcc.gnu.org/g:52f65d17c85fa513887a3bb31e3c3c329d9ace58 commit r14-3903-g52f65d17c85fa513887a3bb31e3c3c329d9ace58 Author: Patrick Palka Date:

[Bug libstdc++/111327] std::bind_front (and std::not_fn) doesn't always perfectly forward according to value category of the call wrapper object

2023-09-12 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111327 --- Comment #2 from CVS Commits --- The master branch has been updated by Patrick Palka : https://gcc.gnu.org/g:f1e87aee5b7023fb4f5791c6869db705e18c2705 commit r14-3901-gf1e87aee5b7023fb4f5791c6869db705e18c2705 Author: Patrick Palka Date:

[Bug rtl-optimization/111384] missed optimization: GCC adds extra any extend when storing subreg#0 multiple times

2023-09-12 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111384 --- Comment #3 from Andrew Pinski --- I thought I saw/reported a similar bug but I can't find it right now.

[Bug target/110751] RISC-V: Suport undefined value that allows VSETVL PASS use TA/MA

2023-09-12 Thread juzhe.zhong at rivai dot ai via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110751 --- Comment #27 from JuzheZhong --- (In reply to rsand...@gcc.gnu.org from comment #26) > But this is how technical debt builds up. We'd be making a change > that doesn't match the type system, and that we know to be wrong > in principle. And

[Bug tree-optimization/111383] [12/13/14 Regression] Wrong code at -Os on x86_64-linux-gnu since r12-5138-ge82c382971

2023-09-12 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111383 --- Comment #4 from Andrew Pinski --- I think iv-opts is changing: (d - 1625015511) + (d - 1625015341) into (2*d - N) which introduces an overflow ...

[Bug tree-optimization/111393] ICE: Segmentation fault src/gcc/toplev.cc:314

2023-09-12 Thread hiraditya at msn dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111393 --- Comment #1 from AK --- oot/d2fc9f48-c166-4a9e-9868-133a1db7af88/llvm-project/build# ninja clang check-clang [100/845] Building CXX object tools/clang/lib/Serialization/CMakeFiles/obj.clangSerialization.dir/GlobalModuleIndex.cpp.o FAILED:

[Bug c/111394] New: Warning about uninitialized memory that is actually initialized

2023-09-12 Thread aiya64bits at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111394 Bug ID: 111394 Summary: Warning about uninitialized memory that is actually initialized Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal

[Bug tree-optimization/111393] ICE: Segmentation fault src/gcc/toplev.cc:314

2023-09-12 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111393 Andrew Pinski changed: What|Removed |Added Status|UNCONFIRMED |WAITING Last reconfirmed|

[Bug c++/110348] [C++26] P2741R3 - User-generated static_assert messages

2023-09-12 Thread jason at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110348 --- Comment #13 from Jason Merrill --- (In reply to Jakub Jelinek from comment #12) > BTW, shall size() and data() be manifestly constant-evaluated? > I think it doesn't satisfy any of the https://eel.is/c++draft/expr.const#19 > bullets (unlike

[Bug tree-optimization/111364] `MAX_EXPR <= a` is not optimized to `a >= b`

2023-09-12 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111364 Andrew Pinski changed: What|Removed |Added Keywords||patch URL|

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

2023-09-12 Thread john at drouhard dot dev via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111050 John Drouhard changed: What|Removed |Added CC||john at drouhard dot dev --- Comment

[Bug target/110751] RISC-V: Suport undefined value that allows VSETVL PASS use TA/MA

2023-09-12 Thread rsandifo at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110751 --- Comment #26 from rsandifo at gcc dot gnu.org --- But this is how technical debt builds up. We'd be making a change that doesn't match the type system, and that we know to be wrong in principle. And we'd be making it with no realistic

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

2023-09-12 Thread jeremy.bennett at embecosm dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111375 Jeremy Bennett changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug c++/59256] qualified name in friend function declaration doesn't match previous declaration in inline namespace

2023-09-12 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=59256 --- Comment #16 from Jonathan Wakely --- The std::format case looks like this: namespace x { inline namespace v { namespace detail { template struct bar; } template auto make(Arg); template class detail::bar

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

2023-09-12 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111368 --- Comment #1 from Jonathan Wakely --- (In reply to Eric Gallager from comment #0) > The contrib/test_summary script > should test the git branch that it's printing against the git branch that > was actually tested to help guard against errors

[Bug middle-end/111337] ICE in gimple-isel.cc for RISC-V port

2023-09-12 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111337 Richard Biener changed: What|Removed |Added CC||rsandifo at gcc dot gnu.org ---

[Bug middle-end/88345] -Os overrides -falign-functions=N on the command line

2023-09-12 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88345 --- Comment #15 from Richard Biener --- Another option would be to add another number to -falign-functions, @itemx -falign-functions=@var{n}:@var{m}:@var{n2}:@var{m2}:@var{n3} where 'n3' applies unconditionally and defaults to a target

[Bug middle-end/111337] ICE in gimple-isel.cc for RISC-V port

2023-09-12 Thread rdapp at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111337 --- Comment #12 from Robin Dapp --- Yes, as far as I know. I would also go ahead and merge the test suite patch now as there is already a v2 fix posted. Even if it's not the correct one it will be done soon so we should not let that block

[Bug tree-optimization/110935] Missed BB reduction vectorization because of missed eliding of a permute

2023-09-12 Thread rguenther at suse dot de via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110935 --- Comment #3 from rguenther at suse dot de --- On Tue, 5 Sep 2023, rsandifo at gcc dot gnu.org wrote: > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110935 > > --- Comment #2 from rsandifo at gcc dot gnu.org > --- > If we were going to do

[Bug middle-end/111243] The -Og option inlines functions, making for a poor debugging experience.

2023-09-12 Thread egallager at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111243 Eric Gallager changed: What|Removed |Added CC||egallager at gcc dot gnu.org ---

[Bug testsuite/111377] [14 regression] c-c++-common/analyzer/compound-assignment-1.c fails after r14-3823-g50b5199cff6908 on big endian

2023-09-12 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111377 Richard Biener changed: What|Removed |Added Keywords||testsuite-fail Target Milestone|---

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

2023-09-12 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111312 --- Comment #2 from Richard Biener --- I think the analyzer runs at the "correct" place as a regular IPA pass which makes it possible for it to see the whole program (with -flto). As with any of our late diagnostic passes there's trade-off

[Bug tree-optimization/111383] Wrong code at -Os on x86_64-linux-gnu since r12-5138-ge82c382971

2023-09-12 Thread xry111 at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111383 Xi Ruoyao changed: What|Removed |Added Component|c |tree-optimization CC|

[Bug middle-end/111337] ICE in gimple-isel.cc for RISC-V port

2023-09-12 Thread juzhe.zhong at rivai dot ai via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111337 --- Comment #3 from JuzheZhong --- (In reply to Richard Biener from comment #2) > vect_patt_67.34_168 = VEC_COND_EXPR }>; > vect_patt_68.35_169 = (vector([4,4]) int) vect_patt_67.34_168; > > -> > > vect_patt_68.35_169 = VEC_COND_EXPR

[Bug middle-end/111337] ICE in gimple-isel.cc for RISC-V port

2023-09-12 Thread juzhe.zhong at rivai dot ai via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111337 --- Comment #11 from JuzheZhong --- (In reply to Robin Dapp from comment #10) > I would be OK with the riscv implementation, then we don't need to touch > isel. Maybe a future vector extension will also help us here so we could > just switch

[Bug libstdc++/111327] std::bind_front doesn't perfectly forward according to value category of the call wrapper object

2023-09-12 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111327 --- Comment #1 from Jonathan Wakely --- We might want to look into bind too: https://www.open-std.org/jtc1/sc22/wg21/docs/papers/2017/p0826r0.html#3.-implementation-experience

[Bug fortran/110996] RISC-V vector Fortran: SEGV ICE during parsing

2023-09-12 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110996 --- Comment #10 from CVS Commits --- The master branch has been updated by Mikael Morin : https://gcc.gnu.org/g:b9cbd1a2c2f50d4e305938d97916011bd5839ce0 commit r14-3864-gb9cbd1a2c2f50d4e305938d97916011bd5839ce0 Author: Mikael Morin Date:

[Bug target/110812] Missing TARGET_OPTION_SAVE/RESTORE on riscv

2023-09-12 Thread schwab--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110812 Andreas Schwab changed: What|Removed |Added CC||malat at debian dot org --- Comment

[Bug target/111386] flto=auto => lto1: fatal error: target specific builtin not available

2023-09-12 Thread schwab--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111386 Andreas Schwab changed: What|Removed |Added Resolution|INVALID |DUPLICATE --- Comment #2 from Andreas

[Bug middle-end/111338] [14 Regression] ice in vn_walk_cb_data

2023-09-12 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111338 --- Comment #6 from CVS Commits --- The master branch has been updated by Jakub Jelinek : https://gcc.gnu.org/g:6067dbdcf77df995129214248f062d9ce18b48d8 commit r14-3875-g6067dbdcf77df995129214248f062d9ce18b48d8 Author: Jakub Jelinek Date:

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

2023-09-12 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111368 --- Comment #2 from Jonathan Wakely --- N.B. test_summary doesn't print that "[master r14-3825-g0d50fac]" string itself, it just scrapes it from the logs, and the string in the logs comes straight from the xgcc. xg++ etc. binaries. I don't

[Bug tree-optimization/111276] rewrite_to_defined_overflow rewrites already defined code

2023-09-12 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111276 --- Comment #3 from Richard Biener --- I think the API expects to be guarded to only be called on stmts that require rewriting.

[Bug tree-optimization/111285] vector ABSU is lowered incorrectly

2023-09-12 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111285 Richard Biener changed: What|Removed |Added CC||rguenth at gcc dot gnu.org ---

[Bug c++/110348] [C++26] P2741R3 - User-generated static_assert messages

2023-09-12 Thread corentinjabot at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110348 corentinjabot at gmail dot com changed: What|Removed |Added CC||corentinjabot at gmail

[Bug c++/110348] [C++26] P2741R3 - User-generated static_assert messages

2023-09-12 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110348 --- Comment #10 from Jakub Jelinek --- (In reply to corentinjabot from comment #9) > During review in clang we felt that it diagnosing it it all cases > would be preferable to our users, as otherwise errors only manifest when the > static

[Bug c++/110348] [C++26] P2741R3 - User-generated static_assert messages

2023-09-12 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110348 --- Comment #11 from Jakub Jelinek --- (In reply to Jakub Jelinek from comment #10) > Jason, do we have a way to test whether something is a core constant > expression in the FE? Seems the https://eel.is/c++draft/expr.const#13 > checks are

[Bug middle-end/111337] ICE in gimple-isel.cc for RISC-V port

2023-09-12 Thread rdapp at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111337 --- Comment #8 from Robin Dapp --- Yes, I doubt we would get much below 4 instructions with riscv specifics. A quick grep yesterday didn't reveal any aarch64 or gcn patterns for those (as long as they are not hidden behind some pattern

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

2023-09-12 Thread jeremy.bennett at embecosm dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111375 --- Comment #2 from Jeremy Bennett --- (In reply to JuzheZhong from comment #1) > I can't reproduce the ICE in your testcase with same command. > > ~/work/toolchain/develop/build/dev-rv64gcv_zfh-lp64d-medany-linux-spike/ >

[Bug middle-end/111378] Missed optimization for comparing with exact_log2 constants

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

[Bug target/111386] flto=auto => lto1: fatal error: target specific builtin not available

2023-09-12 Thread malat at debian dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111386 Mathieu Malaterre changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug target/111306] [12,13] macro-fusion makes error on conjugate complex multiplication fp16

2023-09-12 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111306 Richard Biener changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug middle-end/111337] ICE in gimple-isel.cc for RISC-V port

2023-09-12 Thread rguenther at suse dot de via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111337 --- Comment #4 from rguenther at suse dot de --- On Tue, 12 Sep 2023, juzhe.zhong at rivai dot ai wrote: > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111337 > > --- Comment #3 from JuzheZhong --- > (In reply to Richard Biener from comment

[Bug target/111370] 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-12 Thread tnfchris at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111370 Tamar Christina changed: What|Removed |Added CC||tnfchris at gcc dot gnu.org Last

[Bug target/111381] RISC-V: missed autovec MULH for signed * unsigned

2023-09-12 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111381 Richard Biener changed: What|Removed |Added Blocks||53947 --- Comment #1 from Richard

[Bug tree-optimization/111387] ICE on valid code at -O2 and -O3: verify_ssa failed

2023-09-12 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111387 Richard Biener changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |rguenth at gcc dot gnu.org

[Bug middle-end/111337] ICE in gimple-isel.cc for RISC-V port

2023-09-12 Thread juzhe.zhong at rivai dot ai via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111337 --- Comment #9 from JuzheZhong --- So, should we support this pattern in RISC-V backend ? Or adjust gimple-isel to generate these 4 STMTs naturally?

[Bug fortran/110996] RISC-V vector Fortran: SEGV ICE during parsing

2023-09-12 Thread mikael at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110996 Mikael Morin changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

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

2023-09-12 Thread linkw at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111371 Kewen Lin changed: What|Removed |Added Resolution|--- |DUPLICATE Status|UNCONFIRMED

[Bug target/104024] ICE in curr_insn_transform with -O1 -mpower10-fusion -mpower10-fusion-2logical with __int128_t and __builtin_add_overflow

2023-09-12 Thread linkw at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104024 --- Comment #7 from Kewen Lin --- *** Bug 111371 has been marked as a duplicate of this bug. ***

[Bug libstdc++/111385] New: Remove Python2 support from pretty printers

2023-09-12 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111385 Bug ID: 111385 Summary: Remove Python2 support from pretty printers Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal Priority: P3 Component:

[Bug libstdc++/111385] Remove Python2 support from pretty printers

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

[Bug testsuite/109951] [14 Regression] libgomp, testsuite: non-native multilib c++ tests fail on Darwin.

2023-09-12 Thread tschwinge at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109951 Thomas Schwinge changed: What|Removed |Added Resolution|--- |FIXED Status|ASSIGNED

[Bug middle-end/88345] -Os overrides -falign-functions=N on the command line

2023-09-12 Thread matz at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88345 Michael Matz changed: What|Removed |Added CC||matz at gcc dot gnu.org --- Comment #16

[Bug middle-end/111337] ICE in gimple-isel.cc for RISC-V port

2023-09-12 Thread rdapp at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111337 --- Comment #10 from Robin Dapp --- I would be OK with the riscv implementation, then we don't need to touch isel. Maybe a future vector extension will also help us here so we could just switch the implementation then.

[Bug c++/110348] [C++26] P2741R3 - User-generated static_assert messages

2023-09-12 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110348 --- Comment #12 from Jakub Jelinek --- BTW, shall size() and data() be manifestly constant-evaluated? I think it doesn't satisfy any of the https://eel.is/c++draft/expr.const#19 bullets (unlike first static_assert argument).

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

2023-09-12 Thread juzhe.zhong at rivai dot ai via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111375 --- Comment #3 from JuzheZhong --- (In reply to Jeremy Bennett from comment #2) > (In reply to JuzheZhong from comment #1) > > I can't reproduce the ICE in your testcase with same command. > > > >

[Bug fortran/106050] ICE in reject_statement, at fortran/parse.cc:2879 since r8-3056-g5bab4c9631c478b7

2023-09-12 Thread mikael at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106050 Mikael Morin changed: What|Removed |Added Resolution|--- |FIXED Status|ASSIGNED

[Bug testsuite/109951] [14 Regression] libgomp, testsuite: non-native multilib c++ tests fail on Darwin.

2023-09-12 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109951 --- Comment #9 from CVS Commits --- The master branch has been updated by Thomas Schwinge : https://gcc.gnu.org/g:d1bff1ba4d470f6723be83c0e3c4d5083e51877a commit r14-3869-gd1bff1ba4d470f6723be83c0e3c4d5083e51877a Author: Thomas Schwinge

[Bug testsuite/109951] [14 Regression] libgomp, testsuite: non-native multilib c++ tests fail on Darwin.

2023-09-12 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109951 --- Comment #10 from CVS Commits --- The master branch has been updated by Thomas Schwinge : https://gcc.gnu.org/g:fb5d27be272b71fb9026224535fc73f125ce3be7 commit r14-3870-gfb5d27be272b71fb9026224535fc73f125ce3be7 Author: Thomas Schwinge

[Bug target/111386] New: flto=auto => lto1: fatal error: target specific builtin not available

2023-09-12 Thread malat at debian dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111386 Bug ID: 111386 Summary: flto=auto => lto1: fatal error: target specific builtin not available Product: gcc Version: 13.2.0 Status: UNCONFIRMED Severity:

[Bug rtl-optimization/111267] [14 Regression] Codegen regression from i386 argument passing changes

2023-09-12 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111267 Richard Biener changed: What|Removed |Added Summary|Codegen regression from |[14 Regression] Codegen

[Bug tree-optimization/111280] CLZ(0) generated when CLZ_DEFINED_VALUE_AT_ZERO is false

2023-09-12 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111280 Richard Biener changed: What|Removed |Added CC||rguenth at gcc dot gnu.org ---

[Bug tree-optimization/111280] CLZ(0) generated when CLZ_DEFINED_VALUE_AT_ZERO is false

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

  1   2   >