[Bug c++/113211] Trying to initialize the tripwire database ends up with a SEGV if a uid cannot be found

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

[Bug c++/113211] Trying to initialize the tripwire database ends up with a SEGV if a uid cannot be found

2024-01-02 Thread alexis at m2osw dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113211 --- Comment #4 from Alexis Wilke --- Well, it could be a glibc issue, but the syntax: static thread_local unsigned _blocked = 0; is a compiler thing, right? Looking at ldd output, it is 100% static: $ ldd tripwire not a dynamic

[Bug c++/113211] Trying to initialize the tripwire database ends up with a SEGV if a uid cannot be found

2024-01-02 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113211 --- Comment #3 from Andrew Pinski --- https://www.mail-archive.com/debian-bugs-dist@lists.debian.org/msg1827372.html

[Bug c++/113211] Trying to initialize the tripwire database ends up with a SEGV if a uid cannot be found

2024-01-02 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113211 --- Comment #2 from Andrew Pinski --- Is tripwire compiled statically?

[Bug c++/113211] Trying to initialize the tripwire database ends up with a SEGV if a uid cannot be found

2024-01-02 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113211 Andrew Pinski changed: What|Removed |Added Last reconfirmed||2024-01-03

[Bug c++/113211] New: Trying to initialize the tripwire database ends up with a SEGV if a uid cannot be found

2024-01-02 Thread alexis at m2osw dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113211 Bug ID: 113211 Summary: Trying to initialize the tripwire database ends up with a SEGV if a uid cannot be found Product: gcc Version: 11.4.0 Status: UNCONFIRMED

[Bug c/105401] Improved diagnostics for code from "Labels as Values" documentation

2024-01-02 Thread egallager at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105401 --- Comment #2 from Eric Gallager --- putting the words "computed gotos" here for easier searchability

[Bug middle-end/37722] destructors not called on computed goto

2024-01-02 Thread egallager at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=37722 Eric Gallager changed: What|Removed |Added See Also||https://gcc.gnu.org/bugzill

[Bug testsuite/113175] [11/12/13/14 Regression] testsuite/std/ranges/iota/max_size_type.cc 5x times slower

2024-01-02 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113175 --- Comment #10 from GCC Commits --- The master branch has been updated by Patrick Palka : https://gcc.gnu.org/g:a138b99646a5551c53b860648521adb5bfe8c2fa commit r14-6888-ga138b99646a5551c53b860648521adb5bfe8c2fa Author: Patrick Palka Date:

[Bug bootstrap/112534] [14 regression] build failure after r14-5424-gdb50aea6259545 using gcc 4.8.5

2024-01-02 Thread seurer at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112534 --- Comment #11 from seurer at gcc dot gnu.org --- Did it work?

[Bug ipa/113203] __attribute__ ((always_inline)) fails with C99/LTO/-Og.

2024-01-02 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113203 --- Comment #2 from Andrew Pinski --- I am not 100% sure if this is a bug here since you are requesting across TU always_inline but at -Og, that is basically not enabled. Maybe not use always_inline for -O0 and -Og builds?

[Bug ipa/113203] __attribute__ ((always_inline)) fails with C99/LTO/-Og.

2024-01-02 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113203 --- Comment #1 from Andrew Pinski --- I thought there was another bug related to using always_inline and LTO.

[Bug other/113190] Alert not to report bugs against EOL releases

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

[Bug tree-optimization/113210] [14 Regression] ICE: tree check: expected integer_cst, have cond_expr in get_len, at tree.h:6481

2024-01-02 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113210 --- Comment #5 from Andrew Pinski --- Better/slightly more reduced testcase: ``` unsigned char a, c; unsigned short b; void d() { c = a - 1; b = c; while (++b > 256) ; } ```

[Bug libstdc++/113159] More robust std::sort for silly comparator functions

2024-01-02 Thread xry111 at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113159 --- Comment #7 from Xi Ruoyao --- Generally I hate the idea to punish innocent programs (making them slower) just to satisfy buggy programs. If it's due to Hyrum's rule then fine, but here Hyrum rule does not apply.

[Bug tree-optimization/113210] [14 Regression] ICE: tree check: expected integer_cst, have cond_expr in get_len, at tree.h:6481

2024-01-02 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113210 --- Comment #4 from Andrew Pinski --- is executed at most (short unsigned int) (a.0_1 + 255) + 1 <= 256 ? 0 : ~(short unsigned int) (a.0_1 + 255) (bounded by 65279) + 1 times in loop 1. Though that is the same niter as in GCC 13 ... The

[Bug tree-optimization/113210] [14 Regression] ICE: tree check: expected integer_cst, have cond_expr in get_len, at tree.h:6481

2024-01-02 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113210 Andrew Pinski changed: What|Removed |Added Ever confirmed|0 |1 Status|UNCONFIRMED

[Bug tree-optimization/113210] [14 Regression] ICE: tree check: expected integer_cst, have cond_expr in get_len, at tree.h:6481

2024-01-02 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113210 Andrew Pinski changed: What|Removed |Added Component|middle-end |tree-optimization Target

[Bug target/113206] [14] RISC-V rv64gcv vector: Runtime mismatch with rv64gc

2024-01-02 Thread juzhe.zhong at rivai dot ai via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113206 --- Comment #3 from JuzheZhong --- Ok. I saw the bug in assembly. It's odd that I can't reproduce the run FAIL in simulator. I will fix it soon.

[Bug target/113210] [14] RISC-V vector ICE: tree check: expected integer_cst, have cond_expr in get_len, at tree.h:6481

2024-01-02 Thread patrick at rivosinc dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113210 --- Comment #2 from Patrick O'Neill --- On 1/2/24 15:38, juzhe.zhong at rivai dot ai wrote: > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113210 > > --- Comment #1 from JuzheZhong --- > This is not RISC-V issues, it's middle-end issue. > Plz

[Bug target/113210] [14] RISC-V vector ICE: tree check: expected integer_cst, have cond_expr in get_len, at tree.h:6481

2024-01-02 Thread juzhe.zhong at rivai dot ai via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113210 --- Comment #1 from JuzheZhong --- This is not RISC-V issues, it's middle-end issue. Plz change the title and CC Richard. https://godbolt.org/z/1bj9xaYTa ARM SVE has the same issue.

[Bug target/113210] New: [14] RISC-V vector ICE: tree check: expected integer_cst, have cond_expr in get_len, at tree.h:6481

2024-01-02 Thread patrick at rivosinc dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113210 Bug ID: 113210 Summary: [14] RISC-V vector ICE: tree check: expected integer_cst, have cond_expr in get_len, at tree.h:6481 Product: gcc Version: 14.0 Status:

[Bug target/113206] [14] RISC-V rv64gcv vector: Runtime mismatch with rv64gc

2024-01-02 Thread patrick at rivosinc dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113206 --- Comment #2 from Patrick O'Neill --- This was with (In reply to JuzheZhong from comment #1) > Do you use the latest upstream GCC ? > > I tried it, but didn't reproduce the issue. I tested with r14-6884-g046cea56fd1. Since it's to be

[Bug target/113206] [14] RISC-V rv64gcv vector: Runtime mismatch with rv64gc

2024-01-02 Thread juzhe.zhong at rivai dot ai via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113206 --- Comment #1 from JuzheZhong --- Do you use the latest upstream GCC ? I tried it, but didn't reproduce the issue.

[Bug middle-end/113198] [14 Regression] internal compiler error: 'verify_type' failed

2024-01-02 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113198 Andrew Pinski changed: What|Removed |Added Resolution|--- |DUPLICATE

[Bug c++/98533] [11/12/13/14 Regression] ICE: 'verify_type' failed

2024-01-02 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98533 Andrew Pinski changed: What|Removed |Added CC||doko at gcc dot gnu.org --- Comment #10

[Bug target/113209] New: [14] RISC-V rv64gcv_zvl256b vector: Runtime mismatch with rv64gc

2024-01-02 Thread patrick at rivosinc dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113209 Bug ID: 113209 Summary: [14] RISC-V rv64gcv_zvl256b vector: Runtime mismatch with rv64gc Product: gcc Version: 14.0 Status: UNCONFIRMED Severity: normal

[Bug tree-optimization/113201] [14 Regression] internal compiler error: tree check: expected ssa_name, have integer_cst in replace_uses_by, at tree-cfg.cc:2058

2024-01-02 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113201 Andrew Pinski changed: What|Removed |Added Ever confirmed|0 |1 Status|UNCONFIRMED

[Bug tree-optimization/113201] [14 Regression] internal compiler error: tree check: expected ssa_name, have integer_cst in replace_uses_by, at tree-cfg.cc:2058

2024-01-02 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113201 Andrew Pinski changed: What|Removed |Added Component|middle-end |tree-optimization Target

[Bug c++/113158] [11/12/13/14 Regression] Erroneous "looser exception specification" error for class template and depedent noexcept value

2024-01-02 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113158 Patrick Palka changed: What|Removed |Added CC||mpolacek at gcc dot gnu.org,

[Bug target/108208] Bad assembly? on large LLVM source files on powerpc-unknown-linux-gnu (Error: operand out of range)

2024-01-02 Thread glaubitz at physik dot fu-berlin.de via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108208 --- Comment #10 from John Paul Adrian Glaubitz --- (In reply to Segher Boessenkool from comment #9) > (In reply to John Paul Adrian Glaubitz from comment #8) > > (In reply to Segher Boessenkool from comment #7) > > > This PR is for the sysv

[Bug c/113207] [11/12/13/14 Regression] error: type variant has different 'TREE_TYPE'

2024-01-02 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113207 Andrew Pinski changed: What|Removed |Added Resolution|--- |DUPLICATE

[Bug lto/89075] [11/12/13/14 Regression] error: type variant has different TREE_TYPE

2024-01-02 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89075 Andrew Pinski changed: What|Removed |Added CC||doko at gcc dot gnu.org --- Comment #8

[Bug c/113207] [11/12/13/14 Regression] error: type variant has different 'TREE_TYPE'

2024-01-02 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113207 Andrew Pinski changed: What|Removed |Added Summary|[14 Regression] error: type |[11/12/13/14 Regression]

[Bug tree-optimization/110603] [14 Regression] GCC, ICE: internal compiler error: in verify_range, at value-range.cc:1104

2024-01-02 Thread doko at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110603 Matthias Klose changed: What|Removed |Added CC||doko at gcc dot gnu.org --- Comment

[Bug lto/113208] [14 Regression] lto1: error: Alias and target's comdat groups differs

2024-01-02 Thread doko at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113208 --- Comment #2 from Matthias Klose --- also in package s2geometry

[Bug middle-end/113205] [14 Regression] internal compiler error: in backward_pass, at tree-vect-slp.cc:5346

2024-01-02 Thread doko at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113205 --- Comment #1 from Matthias Klose --- also in package qt6-quick3dphysics

[Bug lto/113208] [14 Regression] lto1: error: Alias and target's comdat groups differs

2024-01-02 Thread doko at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113208 --- Comment #1 from Matthias Klose --- also seen in the pbcopper package

[Bug lto/113208] New: [14 Regression] lto1: error: Alias and target's comdat groups differs

2024-01-02 Thread doko at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113208 Bug ID: 113208 Summary: [14 Regression] lto1: error: Alias and target's comdat groups differs Product: gcc Version: 14.0 Status: UNCONFIRMED Severity: normal

[Bug lto/113207] [14 Regression] error: type variant has different 'TREE_TYPE'

2024-01-02 Thread doko at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113207 --- Comment #1 from Matthias Klose --- this is from the ecl package build

[Bug lto/113207] New: [14 Regression] error: type variant has different 'TREE_TYPE'

2024-01-02 Thread doko at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113207 Bug ID: 113207 Summary: [14 Regression] error: type variant has different 'TREE_TYPE' Product: gcc Version: 14.0 Status: UNCONFIRMED Severity: normal

[Bug target/113206] New: [14] RISC-V rv64gcv vector: Runtime mismatch with rv64gc

2024-01-02 Thread patrick at rivosinc dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113206 Bug ID: 113206 Summary: [14] RISC-V rv64gcv vector: Runtime mismatch with rv64gc Product: gcc Version: 14.0 Status: UNCONFIRMED Severity: normal

[Bug middle-end/113205] New: [14 Regression] internal compiler error: in backward_pass, at tree-vect-slp.cc:5346

2024-01-02 Thread doko at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113205 Bug ID: 113205 Summary: [14 Regression] internal compiler error: in backward_pass, at tree-vect-slp.cc:5346 Product: gcc Version: 14.0 Status: UNCONFIRMED

[Bug lto/113204] [14 Regression] lto1: error: qsort comparator non-negative on sorted output: 64

2024-01-02 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113204 --- Comment #1 from Andrew Pinski --- The comparison function in question: ``` static int cmp_symbol_files (const void *pn1, const void *pn2, void *id_map_) { const symtab_node *n1 = *(const symtab_node * const *)pn1; const symtab_node *n2

[Bug middle-end/82407] [meta-bug] qsort_chk fallout tracking

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

[Bug lto/113204] New: [14 Regression] lto1: error: qsort comparator non-negative on sorted output: 64

2024-01-02 Thread doko at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113204 Bug ID: 113204 Summary: [14 Regression] lto1: error: qsort comparator non-negative on sorted output: 64 Product: gcc Version: 14.0 Status: UNCONFIRMED

[Bug c++/113141] [13/14 Regression] ICE on conversion to reference in aggregate initialization

2024-01-02 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113141 Patrick Palka changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |ppalka at gcc dot gnu.org

[Bug c++/113191] [11/12/13/14 Regression] Incorrect overload resolution when base class function introduced with a using declaration is more constrained than a function declared in the derived class

2024-01-02 Thread waffl3x at protonmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113191 --- Comment #2 from waffl3x --- > Looking at the above commit, joust already takes care to check > more_constrained for non-template functions, and only if their function > parameters match according to cand_parms_match. But here

[Bug lto/113197] [14 Regressiion] ICE in in handle_call_arg, at tree-ssa-structalias.cc:4119

2024-01-02 Thread doko at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113197 --- Comment #3 from Matthias Klose --- Created attachment 56981 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=56981=edit reduced test case reduced test case, without object files. the compiler is configured with --enable-pie

[Bug c++/111485] [11/12 Regression] Constraint mismatch on template template parameter

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

[Bug middle-end/113199] [14 Regression][GCN] ICE (segfault) due to invalid 'loop_mask_46 = VEC_PERM_EXPR' when compiling Newlib's wcsftime.c

2024-01-02 Thread tnfchris at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113199 --- Comment #2 from Tamar Christina --- Created attachment 56980 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=56980=edit submitted-patch.patch Have submitted this to list. thanks for report!

[Bug target/113045] armv7l-unknown-linux-gnueabihf: valgrind error during build of libcc1

2024-01-02 Thread rearnsha at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113045 --- Comment #28 from Richard Earnshaw --- (In reply to David Binderman from comment #5) > No idea. I know the gcc project is over 30 years old and it is not > feasible for me to download the entire history, it is too large. > > I have the last

[Bug testsuite/113175] [11/12/13/14 Regression] testsuite/std/ranges/iota/max_size_type.cc 5x times slower

2024-01-02 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113175 --- Comment #9 from Patrick Palka --- > When r14-205 fixed that, the total number of loop iterations increased by > approximately 4x (2x due to symmetry with unsigned, 2x due to the loop range > being -limit...limit instead of 0...limit)

[Bug testsuite/113175] [11/12/13/14 Regression] testsuite/std/ranges/iota/max_size_type.cc 5x times slower

2024-01-02 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113175 Patrick Palka changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |ppalka at gcc dot gnu.org

[Bug c/113203] New: __attribute__ ((always_inline)) fails with C99/LTO/-Og.

2024-01-02 Thread stefan at bytereef dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113203 Bug ID: 113203 Summary: __attribute__ ((always_inline)) fails with C99/LTO/-Og. Product: gcc Version: 14.0 Status: UNCONFIRMED Severity: normal

[Bug libstdc++/113200] std::char_traits::move is not constexpr when the argument is a string literal

2024-01-02 Thread pdimov at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113200 --- Comment #4 from Peter Dimov --- I didn't notice your subsequent comment, sorry. :-)

[Bug libstdc++/113200] std::char_traits::move is not constexpr when the argument is a string literal

2024-01-02 Thread pdimov at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113200 --- Comment #3 from Peter Dimov --- I think that the compiler is correct; string literal address comparisons aren't constant expressions. Clang gives the same error: https://godbolt.org/z/xPWEf4z63.

[Bug libstdc++/113200] std::char_traits::move is not constexpr when the argument is a string literal

2024-01-02 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113200 Andrew Pinski changed: What|Removed |Added Component|c++ |libstdc++ --- Comment #2 from Andrew

[Bug c++/113200] std::char_traits::move is not constexpr when the argument is a string literal

2024-01-02 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113200 Andrew Pinski changed: What|Removed |Added Blocks||55004 Keywords|

[Bug libstdc++/113202] std::find does not work with the maximum range of pointers

2024-01-02 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113202 --- Comment #5 from Andrew Pinski --- Why do you think this is a bug? I suspect this is due to `ptr-ptr` returns a signed value and max is (void*)-1 so it that returns a negative value and things just don't work.

[Bug target/113045] armv7l-unknown-linux-gnueabihf: valgrind error during build of libcc1

2024-01-02 Thread rearnsha at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113045 --- Comment #27 from Richard Earnshaw --- > ==9933==by 0x151D554: search_line_fast (lex.cc:872) This is the entry code; so the issue is with the initial alignment code (unless the buffer is smaller than 16 bytes, when we might get both

[Bug target/113045] armv7l-unknown-linux-gnueabihf: valgrind error during build of libcc1

2024-01-02 Thread rearnsha at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113045 --- Comment #26 from Richard Earnshaw --- I think it's more likely that this is at the start of the buffer rather than the end, and related to rounding the address down to a 16-byte alignment. But it could also occur at the end of the buffer

[Bug libstdc++/113202] std::find does not work with the maximum range of pointers

2024-01-02 Thread carsten.schmidt-achim at gmx dot de via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113202 --- Comment #4 from Carsten Schmidt --- NOTE: My .ii file exceeds the size limit, so I attached the originating code instead.

[Bug target/113045] armv7l-unknown-linux-gnueabihf: valgrind error during build of libcc1

2024-01-02 Thread mark at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113045 --- Comment #25 from Mark Wielaard --- Note comment #16 which explains that valgrind seems to translate this large read into smaller chunks. Which most likely causes memcheck to flag the (last) 8 bytes read as fully invalid. See

[Bug libstdc++/113202] std::find does not work with the maximum range of pointers

2024-01-02 Thread carsten.schmidt-achim at gmx dot de via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113202 --- Comment #3 from Carsten Schmidt --- Created attachment 56979 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=56979=edit Output when executing the program.

[Bug libstdc++/113202] std::find does not work with the maximum range of pointers

2024-01-02 Thread carsten.schmidt-achim at gmx dot de via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113202 --- Comment #2 from Carsten Schmidt --- Created attachment 56978 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=56978=edit Output of the compilation.

[Bug libstdc++/113202] std::find does not work with the maximum range of pointers

2024-01-02 Thread carsten.schmidt-achim at gmx dot de via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113202 --- Comment #1 from Carsten Schmidt --- Created attachment 56977 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=56977=edit A demonstration of the description.

[Bug libstdc++/113202] New: std::find does not work with the maximum range of pointers

2024-01-02 Thread carsten.schmidt-achim at gmx dot de via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113202 Bug ID: 113202 Summary: std::find does not work with the maximum range of pointers Product: gcc Version: 13.2.0 Status: UNCONFIRMED Severity: normal

[Bug lto/113197] [14 Regressiion] ICE in in handle_call_arg, at tree-ssa-structalias.cc:4119

2024-01-02 Thread doko at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113197 --- Comment #2 from Matthias Klose --- the ICE goes away, if I also build the conntrack.o object file with -fPIC

[Bug lto/113197] [14 Regressiion] ICE in in handle_call_arg, at tree-ssa-structalias.cc:4119

2024-01-02 Thread doko at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113197 --- Comment #1 from Matthias Klose --- Created attachment 56976 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=56976=edit reduced test case reduced test case, still requires another object file

[Bug middle-end/98753] -Wfree-nonheap-object on unreachable code with -O0

2024-01-02 Thread stefan at bytereef dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98753 --- Comment #16 from Stefan Krah --- I have encountered the same issue (gcc emits a false positive warning when free() is called conditionally) in the mpdecimal project when compiled with -flto. Worse, mpdecimal itself as well as a large test

[Bug tree-optimization/112457] Possible better vectorization of different reduction min/max reduction

2024-01-02 Thread xry111 at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112457 Xi Ruoyao changed: What|Removed |Added CC||xry111 at gcc dot gnu.org --- Comment #4

[Bug c++/113191] [11/12/13/14 Regression] Incorrect overload resolution when base class function introduced with a using declaration is more constrained than a function declared in the derived class

2024-01-02 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113191 Patrick Palka changed: What|Removed |Added Ever confirmed|0 |1 Summary|[10.1/11/12/13/14

[Bug middle-end/113201] New: [14 Regression] internal compiler error: tree check: expected ssa_name, have integer_cst in replace_uses_by, at tree-cfg.cc:2058

2024-01-02 Thread doko at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113201 Bug ID: 113201 Summary: [14 Regression] internal compiler error: tree check: expected ssa_name, have integer_cst in replace_uses_by, at tree-cfg.cc:2058 Product: gcc

[Bug libstdc++/113200] New: std::char_traits::move is not constexpr when the argument is a string literal

2024-01-02 Thread pdimov at gmail dot com via Gcc-bugs
ls with ``` In file included from /opt/compiler-explorer/gcc-trunk-20240102/include/c++/14.0.0/string:42, from :1: :22:23: in 'constexpr' expansion of 'S<5>(((const char*)"test"))' :16:26: in 'constexpr' expansion of 'std::char_traits::move(((char*)(&((S<

[Bug middle-end/113199] [14 Regression][GCN] ICE (segfault) due to invalid 'loop_mask_46 = VEC_PERM_EXPR' when compiling Newlib's wcsftime.c

2024-01-02 Thread tnfchris at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113199 Tamar Christina changed: What|Removed |Added Last reconfirmed||2024-01-02

[Bug target/98390] AIX: exceptions in threads: IOT/Abort trap(coredump)

2024-01-02 Thread stefan at bytereef dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98390 --- Comment #1 from Stefan Krah --- The issue can still be reproduced with a gcc-14 snapshot. ibm-clang++ does not have this problem. The LLVM unwinder has been reworked for AIX:

[Bug libgomp/113192] [11/12/13/14 Regression] ERROR: couldn't execute "../../../gcc/libgomp/testsuite/flock": no such file or directory

2024-01-02 Thread tschwinge at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113192 Thomas Schwinge changed: What|Removed |Added Summary|[14 Regression] ERROR: |[11/12/13/14 Regression]

[Bug target/113045] armv7l-unknown-linux-gnueabihf: valgrind error during build of libcc1

2024-01-02 Thread rearnsha at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113045 --- Comment #24 from Richard Earnshaw --- (In reply to David Binderman from comment #22) > Is the optimization still worthwhile some 12 years later ? Almost certainly. Vector operations have become much better than they were at the time the

[Bug target/113045] armv7l-unknown-linux-gnueabihf: valgrind error during build of libcc1

2024-01-02 Thread schwab--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113045 --- Comment #23 from Andreas Schwab --- valgrind replaces str/mem functions with its own versions so that it can do better checking and avoid false positives.

[Bug target/113140] [SPARC] [13 Regression] Segmentation fault during RTL pass: dbr

2024-01-02 Thread ro at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113140 Rainer Orth changed: What|Removed |Added CC||ebotcazou at gcc dot gnu.org

[Bug target/113045] armv7l-unknown-linux-gnueabihf: valgrind error during build of libcc1

2024-01-02 Thread dcb314 at hotmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113045 --- Comment #22 from David Binderman --- (In reply to Richard Earnshaw from comment #21) > commit e75b54a2d932929a9b2e940c5aad1ef33a86c008 > Author: Richard Earnshaw > Date: Thu Mar 22 17:54:55 2012 + > > * lex.c (search_line_fast):

[Bug target/113140] [SPARC] [13 Regression] Segmentation fault during RTL pass: dbr

2024-01-02 Thread ro at CeBiTec dot Uni-Bielefeld.DE via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113140 --- Comment #6 from ro at CeBiTec dot Uni-Bielefeld.DE --- > --- Comment #5 from Rainer Orth --- > It's also helpful to include the cc1plus invocation from g++ -v; that includes > all you need to reproduce. The full one is cc1plus

[Bug target/113140] [SPARC] [13 Regression] Segmentation fault during RTL pass: dbr

2024-01-02 Thread ro at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113140 --- Comment #5 from Rainer Orth --- (In reply to John Paul Adrian Glaubitz from comment #2) > Created attachment 56940 [details] > Preprocessed source from building qt6-declarative with gcc-13 > > Sure, see attached. It's also helpful to

[Bug target/113140] [SPARC] [13 Regression] Segmentation fault during RTL pass: dbr

2024-01-02 Thread ro at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113140 --- Comment #4 from Rainer Orth --- Created attachment 56975 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=56975=edit reduced testcase

[Bug target/113045] armv7l-unknown-linux-gnueabihf: valgrind error during build of libcc1

2024-01-02 Thread rearnsha at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113045 --- Comment #21 from Richard Earnshaw --- FTR it was this patch that added this code. So 2012! commit e75b54a2d932929a9b2e940c5aad1ef33a86c008 Author: Richard Earnshaw Date: Thu Mar 22 17:54:55 2012 + * lex.c (search_line_fast):

[Bug target/113114] [14 Regression] ICE compiling gcc.c-torture/execute/pr59643.cwith -mabi=ilp32; in try_promote_writeback aarch64-ldp-fusion.cc

2024-01-02 Thread acoplan at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113114 Alex Coplan changed: What|Removed |Added Status|UNCONFIRMED |ASSIGNED Last reconfirmed|

[Bug target/113045] armv7l-unknown-linux-gnueabihf: valgrind error during build of libcc1

2024-01-02 Thread rearnsha at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113045 Richard Earnshaw changed: What|Removed |Added CC||rearnsha at gcc dot gnu.org ---

[Bug middle-end/113199] New: [14 Regression][GCN] ICE (segfault) when compiling Newlib

2024-01-02 Thread burnus at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113199 Bug ID: 113199 Summary: [14 Regression][GCN] ICE (segfault) when compiling Newlib Product: gcc Version: 14.0 Status: UNCONFIRMED Keywords: ice-on-invalid-code

[Bug target/103370] [12/13/14 Regression] Assembler error building glibc for ColdFire soft-float

2024-01-02 Thread fw at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103370 Florian Weimer changed: What|Removed |Added CC||fw at gcc dot gnu.org --- Comment #11

[Bug target/110627] m68k: “Tried to convert PC relative branch to absolute jump” while building iconvdata/iso-2022-jp.c from glibc

2024-01-02 Thread fw at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110627 Florian Weimer changed: What|Removed |Added Resolution|--- |DUPLICATE

[Bug target/110627] m68k: “Tried to convert PC relative branch to absolute jump” while building iconvdata/iso-2022-jp.c from glibc

2024-01-02 Thread mikpelinux at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110627 Mikael Pettersson changed: What|Removed |Added CC||mikpelinux at gmail dot com ---

[Bug target/104028] M68k: Error: value -16034 out of range for switch tables in some cases with optimization

2024-01-02 Thread mikpelinux at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104028 Mikael Pettersson changed: What|Removed |Added CC||mikpelinux at gmail dot com ---

[Bug debug/113194] Hangup build ExtractAPIConsumer.cpp at -Og

2024-01-02 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113194 Andrew Pinski changed: What|Removed |Added Component|middle-end |debug --- Comment #5 from Andrew

[Bug middle-end/113163] [14 Regression][GCN] ICE in vect_peel_nonlinear_iv_init, at tree-vect-loop.cc:9420

2024-01-02 Thread tnfchris at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113163 --- Comment #12 from Tamar Christina --- (In reply to Andrew Stubbs from comment #11) > (In reply to Tamar Christina from comment #7) > > This seems to happen because the vectorizer decides to use partial vectors > > to vectorize the loop and

[Bug middle-end/113163] [14 Regression][GCN] ICE in vect_peel_nonlinear_iv_init, at tree-vect-loop.cc:9420

2024-01-02 Thread ams at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113163 Andrew Stubbs changed: What|Removed |Added CC||ams at gcc dot gnu.org --- Comment #11

[Bug rtl-optimization/113198] New: [14 Regression] internal compiler error: 'verify_type' failed

2024-01-02 Thread doko at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113198 Bug ID: 113198 Summary: [14 Regression] internal compiler error: 'verify_type' failed Product: gcc Version: 14.0 Status: UNCONFIRMED Severity: normal

[Bug lto/113197] New: [14 Regressiion] ICE in in handle_call_arg, at tree-ssa-structalias.cc:4119

2024-01-02 Thread doko at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113197 Bug ID: 113197 Summary: [14 Regressiion] ICE in in handle_call_arg, at tree-ssa-structalias.cc:4119 Product: gcc Version: 14.0 Status: UNCONFIRMED Severity:

[Bug tree-optimization/113178] [14 Regression] ice in find_uses_to_rename_use

2024-01-02 Thread tnfchris at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113178 Tamar Christina changed: What|Removed |Added Status|NEW |ASSIGNED See Also|

[Bug target/113196] [14 Regression] Failure to use ushll{,2}

2024-01-02 Thread rsandifo at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113196 Richard Sandiford changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |rsandifo at gcc dot gnu.org

  1   2   >