public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug target/112297] New: Failure of pr100936.c on x86_64-apple-darwin21
@ 2023-10-30 14:32 fxcoudert at gcc dot gnu.org
  2023-10-30 14:34 ` [Bug target/112297] " fxcoudert at gcc dot gnu.org
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: fxcoudert at gcc dot gnu.org @ 2023-10-30 14:32 UTC (permalink / raw)
  To: gcc-bugs

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

            Bug ID: 112297
           Summary: Failure of pr100936.c on x86_64-apple-darwin21
           Product: gcc
           Version: 14.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: target
          Assignee: unassigned at gcc dot gnu.org
          Reporter: fxcoudert at gcc dot gnu.org
  Target Milestone: ---

FAIL: gcc.target/i386/pr100936.c (test for excess errors)

The error is:

pr100936.s:8:2: error: 32-bit absolute addressing is not supported in 64-bit
mode
        lea _var, %rax
        ^


The testcase is compiled to:

        .build_version macos,  12, 0
        .text
        .p2align 4
        .globl _baz
_baz:
LFB2:
# 12 "/Users/fx/gcc-upstream/gcc/testsuite/gcc.target/i386/pr100936.c" 1
        lea _var, %rax
# 0 "" 2
# 22 "/Users/fx/gcc-upstream/gcc/testsuite/gcc.target/i386/pr100936.c" 1
        mov %gs:(%rax), %eax
# 0 "" 2
        ret
LFE2:
        .globl _var
        .zerofill __DATA,__common,_var,4,2
        .section
__TEXT,__eh_frame,coalesced,no_toc+strip_static_syms+live_support
EH_frame1:
        .set L$set$0,LECIE1-LSCIE1
        .long L$set$0
LSCIE1:
        .long   0
        .byte   0x3
        .ascii "zR\0"
        .uleb128 0x1
        .sleb128 -8
        .uleb128 0x10
        .uleb128 0x1
        .byte   0x10
        .byte   0xc
        .uleb128 0x7
        .uleb128 0x8
        .byte   0x90
        .uleb128 0x1
        .align 3
LECIE1:
LSFDE1:
        .set L$set$1,LEFDE1-LASFDE1
        .long L$set$1
LASFDE1:
        .long   LASFDE1-EH_frame1
        .quad   LFB2-.
        .set L$set$2,LFE2-LFB2
        .quad L$set$2
        .uleb128 0
        .align 3
LEFDE1:
        .ident  "GCC: (GNU) 14.0.0 20231029 (experimental) [master
c6929b08558]"
        .subsections_via_symbols

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

end of thread, other threads:[~2024-04-21 13:01 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-10-30 14:32 [Bug target/112297] New: Failure of pr100936.c on x86_64-apple-darwin21 fxcoudert at gcc dot gnu.org
2023-10-30 14:34 ` [Bug target/112297] " fxcoudert at gcc dot gnu.org
2023-10-30 18:55 ` pinskia at gcc dot gnu.org
2024-03-29 19:38 ` [Bug testsuite/112297] " iains at gcc dot gnu.org
2024-04-03 14:56 ` cvs-commit at gcc dot gnu.org
2024-04-21 13:01 ` 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).