public inbox for gcc-bugs@sourceware.org help / color / mirror / Atom feed
From: "sebastian.huber@embedded-brains.de" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug target/106282] New: m68k: Problem with thread-local storage and -mcpu=5206 Date: Wed, 13 Jul 2022 13:30:53 +0000 [thread overview] Message-ID: <bug-106282-4@http.gcc.gnu.org/bugzilla/> (raw) https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106282 Bug ID: 106282 Summary: m68k: Problem with thread-local storage and -mcpu=5206 Product: gcc Version: 12.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: target Assignee: unassigned at gcc dot gnu.org Reporter: sebastian.huber@embedded-brains.de Target Milestone: --- The following test code (derived from Newlib l64a.c): _Thread_local char _tls_l64a_buf[8]; static const char R64_ARRAY[] = "./0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz"; char * _l64a_r (long value) { char *ptr; char *result; int i, index; unsigned long tmp = (unsigned long)value & 0xffffffff; result = _tls_l64a_buf; ptr = result; for (i = 0; i < 6; ++i) { if (tmp == 0) { *ptr = '\0'; break; } index = tmp & (64 - 1); *ptr++ = R64_ARRAY[index]; tmp >>= 6; } return result; } compiled with m68k-rtems6-gcc -mcpu=5206 -O2 -c test.c fails with /tmp/ccO3QdNm.s: Assembler messages: /tmp/ccO3QdNm.s:24: Error: syntax error -- statement `lea (_tls_l64a_buf@TLSLE+6,%a0),%a0' ignored
next reply other threads:[~2022-07-13 13:30 UTC|newest] Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top 2022-07-13 13:30 sebastian.huber@embedded-brains.de [this message] 2022-07-14 8:25 ` [Bug target/106282] m68k: Problem with thread-local storage and -mcpu=5206 since r9-2326-gede9446c26a929 marxin at gcc dot gnu.org 2023-02-16 18:29 ` [Bug target/106282] [10/11/12/13 Regression] " jsm28 at gcc dot gnu.org 2023-02-21 14:07 ` rguenth at gcc dot gnu.org 2023-03-26 20:36 ` cvs-commit at gcc dot gnu.org 2023-03-27 20:06 ` schwab@linux-m68k.org 2023-07-07 10:43 ` [Bug target/106282] [11/12 " rguenth at gcc dot gnu.org
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=bug-106282-4@http.gcc.gnu.org/bugzilla/ \ --to=gcc-bugzilla@gcc.gnu.org \ --cc=gcc-bugs@gcc.gnu.org \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
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).