[GHC] #16037: memcpy test inexplicably failing

#16037: memcpy test inexplicably failing -------------------------------------+------------------------------------- Reporter: bgamari | Owner: (none) Type: bug | Status: new Priority: high | Milestone: 8.8.1 Component: Compiler | Version: 8.7 Keywords: | Operating System: Unknown/Multiple Architecture: | Type of failure: None/Unknown Unknown/Multiple | Test Case: | Blocked By: Blocking: | Related Tickets: Differential Rev(s): | Wiki Page: -------------------------------------+------------------------------------- I have started seeing failures in the `memcpy` test: {{{#!diff diff -uw "codeGen/should_gen_asm/memcpy.run/memcpy.asm.normalised" "codeGen/should_gen_asm/memcpy.run/memcpy.s.normalised" --- codeGen/should_gen_asm/memcpy.run/memcpy.asm.normalised 2018-12-11 23:13:18.763730758 -0500 +++ codeGen/should_gen_asm/memcpy.run/memcpy.s.normalised 2018-12-11 23:13:18.763730758 -0500 @@ -1,9 +1,9 @@ callMemcpy: +subq movq movq movl -subq -movl +xorl call memcpy addq jmp }}} The failures aren't themselves concerning; the new assembler is perfectly valid: {{{#!asm .section .text .align 8 .globl callMemcpy .type callMemcpy, @function callMemcpy: .Lc6: movl $1024,%eax subq $8,%rsp movq %rax,%rdx movq %rbx,%rdi movq %r14,%rsi xorl %eax,%eax call memcpy addq $8,%rsp jmp *(%rbp) .size callMemcpy, .-callMemcpy .section .note.GNU-stack,"",@progbits .ident "GHC 8.7.20181211" }}} However, I have no explanation for why this suddenly started happening. -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/16037 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler

#16037: memcpy test inexplicably failing
-------------------------------------+-------------------------------------
Reporter: bgamari | Owner: (none)
Type: bug | Status: new
Priority: high | Milestone: 8.8.1
Component: Compiler | Version: 8.7
Resolution: | Keywords:
Operating System: Unknown/Multiple | Architecture:
| Unknown/Multiple
Type of failure: None/Unknown | Test Case:
Blocked By: | Blocking:
Related Tickets: | Differential Rev(s):
Wiki Page: |
-------------------------------------+-------------------------------------
Comment (by Ben Gamari

#16037: memcpy test inexplicably failing -------------------------------------+------------------------------------- Reporter: bgamari | Owner: (none) Type: bug | Status: new Priority: high | Milestone: 8.8.1 Component: Compiler | Version: 8.7 Resolution: | Keywords: Operating System: Unknown/Multiple | Architecture: | Unknown/Multiple Type of failure: None/Unknown | Test Case: Blocked By: | Blocking: Related Tickets: | Differential Rev(s): Wiki Page: | -------------------------------------+------------------------------------- Comment (by bgamari): I have accepted the new output but would really like to understand why this changed. I believe the change arose somewhere between 856dd66fc9c6416b2f62c8f2ac8bb61f4a48b859 and 65fb69b78f4850b56ee6a2655bc5dc6c441a984e. -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/16037#comment:2 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler
participants (1)
-
GHC