public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug target/108277] New: arm: error: generic thunk code fails with -march=armv8-m.base
@ 2023-01-03 17:45 acoplan at gcc dot gnu.org
2023-01-03 17:57 ` [Bug target/108277] " pinskia at gcc dot gnu.org
0 siblings, 1 reply; 2+ messages in thread
From: acoplan at gcc dot gnu.org @ 2023-01-03 17:45 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108277
Bug ID: 108277
Summary: arm: error: generic thunk code fails with
-march=armv8-m.base
Product: gcc
Version: 13.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: target
Assignee: unassigned at gcc dot gnu.org
Reporter: acoplan at gcc dot gnu.org
Target Milestone: ---
The test g++.dg/torture/pr81812.C is rejected with -march=armv8-m.base (but is
accepted with e.g. -march=armv8-m.main):
$ gcc/xgcc -B gcc -v
Reading specs from gcc/specs
COLLECT_GCC=gcc/xgcc
COLLECT_LTO_WRAPPER=gcc/lto-wrapper
Target: arm-eabi
Configured with: /home/alecop01/toolchain/src/gcc/configure
--prefix=/data_sdb/toolchain/cc1s/arm --enable-languages=c,c++
--disable-bootstrap --target=arm-eabi
Thread model: single
Supported LTO compression algorithms: zlib
gcc version 13.0.0 20230103 (experimental) (GCC)
$ gcc/xgcc -B gcc -c ~/toolchain/src/gcc/gcc/testsuite/g++.dg/torture/pr81812.C
-march=armv8-m.main
$ gcc/xgcc -B gcc -c ~/toolchain/src/gcc/gcc/testsuite/g++.dg/torture/pr81812.C
-march=armv8-m.base
/home/alecop01/toolchain/src/gcc/gcc/testsuite/g++.dg/torture/pr81812.C:6:8:
error: generic thunk code fails for method ‘virtual void
ChildNode::_ZTv0_n12_NK9ChildNode5errorEz(...) const’ which uses ‘...’
6 | void error(... ) const;
| ^~~~~
^ permalink raw reply [flat|nested] 2+ messages in thread
* [Bug target/108277] arm: error: generic thunk code fails with -march=armv8-m.base
2023-01-03 17:45 [Bug target/108277] New: arm: error: generic thunk code fails with -march=armv8-m.base acoplan at gcc dot gnu.org
@ 2023-01-03 17:57 ` pinskia at gcc dot gnu.org
0 siblings, 0 replies; 2+ messages in thread
From: pinskia at gcc dot gnu.org @ 2023-01-03 17:57 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108277
Andrew Pinski <pinskia at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Last reconfirmed| |2023-01-03
Status|UNCONFIRMED |NEW
Ever confirmed|0 |1
--- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
Base is still thumb1 ...
define fgroup ARMv8m_base ARMv6m armv8 cmse tdiv
And this is why it is not implemented yet.
That is vcall_offset is non-zero and TARGET_THUMB1 is true.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2023-01-03 17:57 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-01-03 17:45 [Bug target/108277] New: arm: error: generic thunk code fails with -march=armv8-m.base acoplan at gcc dot gnu.org
2023-01-03 17:57 ` [Bug target/108277] " pinskia at gcc dot gnu.org
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).