https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81879
Martin Liška changed:
What|Removed |Added
Status|NEW |ASSIGNED
Assignee|unassigned at
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81879
Martin Liška changed:
What|Removed |Added
See Also||https://sourceware.org/bugz
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81879
--- Comment #5 from Martin Liška ---
The .res file contains just a single object, thus PREEMPTED_REG does not make
sense. Problem will be probably in binutils. I'm investigating right now..
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81879
Martin Liška changed:
What|Removed |Added
Status|UNCONFIRMED |NEW
Last reconfirmed|
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81879
--- Comment #3 from Frediano Ziglio ---
I noted that during the link the resolution file using -static or not is
different
without -static
750 6dacea834fb099d1 PREVAILING_DEF_IRONLY _ZNKSt5ctypeIcE8do_widenEc
753 6dacea834fb099d1 PREVAILING_DEF
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81879
--- Comment #2 from Frediano Ziglio ---
It seems that this do_widen replacement with an invalid pointer goes on and on,
looking at differences in the generated executable:
--
---: 00 00
---: 48 8b 10mov(%rax),%rdx
-
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81879
--- Comment #1 from Frediano Ziglio ---
This is weird. If after the
x86_64-w64-mingw32-g++ -flto -O2 -g -save-temps -Wall -Werror -Wextra
-static -mconsole -o test.exe test.cpp
command I run
x86_64-w64-mingw32-g++ -v test.exe.ltrans0.s