public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug target/98931] New: arm: Assembly fails with "branch out of range or not a multiple of 2"
@ 2021-02-02 12:40 acoplan at gcc dot gnu.org
  2021-02-02 12:52 ` [Bug target/98931] [11 Regression] " ktkachov at gcc dot gnu.org
                   ` (15 more replies)
  0 siblings, 16 replies; 21+ messages in thread
From: acoplan at gcc dot gnu.org @ 2021-02-02 12:40 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98931

            Bug ID: 98931
           Summary: arm: Assembly fails with "branch out of range or not a
                    multiple of 2"
           Product: gcc
           Version: 11.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: ---

GCC's output fails to assemble for the following:

$ cat test.c
extern long long a[][20][26][26][22];
void foo()
{
  for (short d = 0; d+1; d++)
    for (unsigned e = 0; e < 25; e += 4)
      for (unsigned f = 0; f < 25; f += 4)
        for (int g = 0; g < 21; g += 4)
          a[4][d][e][f][g] = 0;
}
$ arm-eabi-gcc -c test.c -march=armv8.1-m.main -O3
--param=max-completely-peeled-insns=1300
/tmp/ccDd7AwT.s: Assembler messages:
/tmp/ccDd7AwT.s:1642: Error: branch out of range or not a multiple of 2

^ permalink raw reply	[flat|nested] 21+ messages in thread

end of thread, other threads:[~2021-02-12 14:19 UTC | newest]

Thread overview: 21+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-02-02 12:40 [Bug target/98931] New: arm: Assembly fails with "branch out of range or not a multiple of 2" acoplan at gcc dot gnu.org
2021-02-02 12:52 ` [Bug target/98931] [11 Regression] " ktkachov at gcc dot gnu.org
2021-02-02 16:15 ` [Bug target/98931] [11 Regression] arm: Assembly fails with "branch out of range or not a multiple of 2" since r11-2012 jakub at gcc dot gnu.org
2021-02-02 16:26 ` jakub at gcc dot gnu.org
2021-02-02 16:30   ` Andrea Corallo
2021-02-02 16:31 ` andrea.corallo at arm dot com
2021-02-02 16:42 ` jakub at gcc dot gnu.org
2021-02-03 15:22   ` Andrea Corallo
2021-02-03 15:22 ` andrea.corallo at arm dot com
2021-02-03 15:30 ` jakub at gcc dot gnu.org
2021-02-03 15:38 ` jakub at gcc dot gnu.org
2021-02-03 16:38   ` Andrea Corallo
2021-02-05 15:13     ` Andrea Corallo
2021-02-03 16:38 ` andrea.corallo at arm dot com
2021-02-05 15:13 ` andrea.corallo at arm dot com
2021-02-05 15:53 ` jakub at gcc dot gnu.org
2021-02-05 16:03 ` akrl at gcc dot gnu.org
2021-02-09 13:41 ` akrl at gcc dot gnu.org
2021-02-11 15:21 ` cvs-commit at gcc dot gnu.org
2021-02-11 15:29 ` akrl at gcc dot gnu.org
2021-02-12 14:19 ` cvs-commit 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).