https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99479
Patrick Palka changed:
What|Removed |Added
Resolution|--- |FIXED
Status|NEW
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99479
--- Comment #22 from CVS Commits ---
The master branch has been updated by Patrick Palka :
https://gcc.gnu.org/g:7e7a96f774ed892e5cef53fcb68297cd0d513820
commit r12-8051-g7e7a96f774ed892e5cef53fcb68297cd0d513820
Author: Patrick Palka
Date:
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99479
--- Comment #21 from Andrew Pinski ---
(In reply to Patrick Palka from comment #20)
> Using a non-static vector fixes the valgrind error. Is this a fix that's
> worth applying at this point?
I do think it might fix a bunch of modules issues
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99479
Patrick Palka changed:
What|Removed |Added
CC||ppalka at gcc dot gnu.org
--- Comment
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99479
--- Comment #19 from Andrew Pinski ---
Created attachment 52106
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=52106=edit
reduced testcase
Not even though it says PR 100129, this is the reduced testcase.
just execute t.sh which does:
gcc
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99479
--- Comment #18 from Andrew Pinski ---
Going to finish reducing the testcase using valgrind since it is an use after
free bug.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99479
--- Comment #17 from Andrew Pinski ---
==20277== Invalid write of size 8
==20277==at 0xB1C11C: name_lookup::search_unqualified(tree_node*,
cp_binding_level*) (in
/home/apinski/upstream-gcc/libexec/gcc/x86_64-pc-linux-gnu/12.0.0/cc1plus)
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99479
--- Comment #16 from Andrew Pinski ---
Rereducing via PR 100129 so I don't hit the hash-table-verification issue
(which is not modules related) but rather try to find the GC issue.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99479
--- Comment #15 from Andrew Pinski ---
*** Bug 99722 has been marked as a duplicate of this bug. ***
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99479
Bug 99479 depends on bug 99861, which changed state.
Bug 99861 Summary: [modules] ICE in hashtab_chk_error
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99861
What|Removed |Added
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99479
--- Comment #14 from Andrew Pinski ---
*** Bug 99861 has been marked as a duplicate of this bug. ***
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99479
Andrew Pinski changed:
What|Removed |Added
CC||seurer at gcc dot gnu.org
--- Comment
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99479
--- Comment #12 from Andrew Pinski ---
*** Bug 100129 has been marked as a duplicate of this bug. ***
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99479
--- Comment #11 from Andrew Pinski ---
*** Bug 99737 has been marked as a duplicate of this bug. ***
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99479
--- Comment #10 from Alexander Lelyakin ---
However adding parameter:
--param=hash-table-verification-limit=1000
turns this error to PR99861 ICE in hashtab_chk_error
/usr/local/bin/g++ --param=hash-table-verification-limit=$N -std=c++20
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99479
--- Comment #9 from Alexander Lelyakin ---
Todays shortest sequence:
usr/local/bin/g++ -std=c++20 -fmodules-ts -x c++-system-header
condition_variable
/usr/local/bin/g++ -std=c++20 -fmodules-ts -x c++-system-header iosfwd
/usr/local/bin/g++
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99479
--- Comment #8 from Alexander Lelyakin ---
in last version:
commit 864caa158f6db6b653c6a88ff32ce5ce0b4660a8
Author: Jonathan Wakely
Date: Mon Mar 29 17:08:32 2021 +0100
I see that instead of short message, i have reported before,
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99479
Marek Polacek changed:
What|Removed |Added
Status|UNCONFIRMED |NEW
Last reconfirmed|
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99479
--- Comment #6 from Alexander Lelyakin ---
There is a shorter sequence:
/usr/local/bin/g++ -std=c++20 -fmodules-ts -x c++-system-header
condition_variable
/usr/local/bin/g++ -std=c++20 -fmodules-ts -x c++-system-header cerrno
/usr/local/bin/g++
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99479
--- Comment #5 from Alexander Lelyakin ---
There is a shorter sequence:
/usr/local/bin/g++ -std=c++20 -fmodules-ts -x c++-system-header cwchar
/usr/local/bin/g++ -std=c++20 -fmodules-ts -x c++-system-header cmath
/usr/local/bin/g++
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99479
--- Comment #4 from Alexander Lelyakin ---
There is a shorter sequence:
/usr/local/bin/g++ -std=c++20 -fmodules-ts -x c++-system-header locale
/usr/local/bin/g++ -std=c++20 -fmodules-ts -x c++-system-header cstdalign
/usr/local/bin/g++
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99479
--- Comment #3 from Alexander Lelyakin ---
in gcc version 20210323:
All three sequences now produce "Segmentation fault" instead of "corrupted
double-linked list".
However the error "corrupted double-linked list" is still reproducible:
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99479
--- Comment #2 from Alexander Lelyakin ---
There is a shorter sequence:
g++ -std=c++20 -fmodules-ts -x c++-system-header unordered_map
g++ -std=c++20 -fmodules-ts -x c++-system-header deque
g++ -std=c++20 -fmodules-ts -x c++-system-header
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99479
--- Comment #1 from Alexander Lelyakin ---
There is a shorter sequence:
g++ -std=c++20 -fmodules-ts -x c++-system-header condition_variable
g++ -std=c++20 -fmodules-ts -x c++-system-header future
corrupted double-linked list
corrupted
24 matches
Mail list logo