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
* [Bug target/112297] Failure of pr100936.c on x86_64-apple-darwin21
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 ` fxcoudert at gcc dot gnu.org
2023-10-30 18:55 ` pinskia at gcc dot gnu.org
` (3 subsequent siblings)
4 siblings, 0 replies; 6+ messages in thread
From: fxcoudert at gcc dot gnu.org @ 2023-10-30 14:34 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112297
Francois-Xavier Coudert <fxcoudert at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Build| |x86_64-apple-darwin21
Status|UNCONFIRMED |NEW
Host| |x86_64-apple-darwin21
Keywords| |testsuite-fail
CC| |iains at gcc dot gnu.org
Target| |x86_64-apple-darwin21
Ever confirmed|0 |1
Last reconfirmed| |2023-10-30
--- Comment #1 from Francois-Xavier Coudert <fxcoudert at gcc dot gnu.org> ---
I don't know enough to see if the asm in the code is incompatible with darwin
syntax, or if the middle-end should emit different asm.
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug target/112297] Failure of pr100936.c on x86_64-apple-darwin21
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
` (2 subsequent siblings)
4 siblings, 0 replies; 6+ messages in thread
From: pinskia at gcc dot gnu.org @ 2023-10-30 18:55 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112297
--- Comment #2 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
Most likely the testcase needs:
/* { dg-require-effective-target nonpic } */
Or something like that.
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug testsuite/112297] Failure of pr100936.c on x86_64-apple-darwin21
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 ` 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
4 siblings, 0 replies; 6+ messages in thread
From: iains at gcc dot gnu.org @ 2024-03-29 19:38 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112297
--- Comment #3 from Iain Sandoe <iains at gcc dot gnu.org> ---
this seems to have been fixed by r14-6423-g02f562484c1752, does it need back
porting? or should we close?
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug testsuite/112297] Failure of pr100936.c on x86_64-apple-darwin21
2023-10-30 14:32 [Bug target/112297] New: Failure of pr100936.c on x86_64-apple-darwin21 fxcoudert at gcc dot gnu.org
` (2 preceding siblings ...)
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
4 siblings, 0 replies; 6+ messages in thread
From: cvs-commit at gcc dot gnu.org @ 2024-04-03 14:56 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112297
--- Comment #4 from GCC Commits <cvs-commit at gcc dot gnu.org> ---
The releases/gcc-13 branch has been updated by Iain D Sandoe
<iains@gcc.gnu.org>:
https://gcc.gnu.org/g:44514fde12e2a8f75fca88fdd6ff7a0e678ac966
commit r13-8573-g44514fde12e2a8f75fca88fdd6ff7a0e678ac966
Author: Francois-Xavier Coudert <fxcoudert@gcc.gnu.org>
Date: Mon Dec 11 09:26:23 2023 +0100
Testsuite: restrict test to nonpic targets
The test is currently failing on x86_64-apple-darwin.
gcc/testsuite/ChangeLog:
PR testsuite/112297
* gcc.target/i386/pr100936.c: Require nonpic target.
(cherry picked from commit 02f562484c17522d79a482ac702a5fa3c2dfdd10)
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug testsuite/112297] Failure of pr100936.c on x86_64-apple-darwin21
2023-10-30 14:32 [Bug target/112297] New: Failure of pr100936.c on x86_64-apple-darwin21 fxcoudert at gcc dot gnu.org
` (3 preceding siblings ...)
2024-04-03 14:56 ` cvs-commit at gcc dot gnu.org
@ 2024-04-21 13:01 ` cvs-commit at gcc dot gnu.org
4 siblings, 0 replies; 6+ messages in thread
From: cvs-commit at gcc dot gnu.org @ 2024-04-21 13:01 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112297
--- Comment #5 from GCC Commits <cvs-commit at gcc dot gnu.org> ---
The releases/gcc-12 branch has been updated by Iain D Sandoe
<iains@gcc.gnu.org>:
https://gcc.gnu.org/g:0eb6f8874047f7e7f13027aaac14d3de276c5e69
commit r12-10370-g0eb6f8874047f7e7f13027aaac14d3de276c5e69
Author: Francois-Xavier Coudert <fxcoudert@gcc.gnu.org>
Date: Mon Dec 11 09:26:23 2023 +0100
Testsuite: restrict test to nonpic targets
The test is currently failing on x86_64-apple-darwin.
gcc/testsuite/ChangeLog:
PR testsuite/112297
* gcc.target/i386/pr100936.c: Require nonpic target.
(cherry picked from commit 02f562484c17522d79a482ac702a5fa3c2dfdd10)
^ 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).