Your message dated Wed, 26 Apr 2023 08:50:50 +0200
with message-id <[email protected]>
and subject line gcc-6 has been removed from Debian
has caused the Debian Bug report #900437,
regarding Erroneous generated code
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)
--
900437: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=900437
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: gcc-6
Version: 6.3.0-18+deb9u
GCC produces incorrect code for the following program. The C11 standard
requires (§ F.8.5) that the floating point exception flag is set by the
following code, yet the generated assembly does not set it. These
results are for an x86-64 system running Debian 9.
The interaction is:
“““
$ gcc -W -Wall -S -std=c11 -O3 -march=native -masm=intel -fverbose-asm
test.c
test.c:2:0: warning: ignoring #pragma STDC FENV_ACCESS [-Wunknown-pragmas]
#pragma STDC FENV_ACCESS ON
test.c: In function ‘main’:
test.c:11:9: warning: unused variable ‘x’ [-Wunused-variable]
float x = 0.0 / 0.0;
^
”””
The file “test.c” is:
“““
#include <fenv.h>
#pragma STDC FENV_ACCESS ON
#if !defined(__STDC_IEC_559__)
#error "Requires IEC 60559 compliance"
#endif
int f();
int main(void) {
float x = 0.0 / 0.0;
f();
return 0;
}
”””
The output file “test.s” is (excluding comments) is:
“““
.section .rodata.str1.1,"aMS",@progbits,1
.LC0:
.string "Hello world!"
.section .text.startup,"ax",@progbits
.p2align 4,,15
.globl main
.type main, @function
main:
.LFB5:
.cfi_startproc
sub rsp, 8 #,
.cfi_def_cfa_offset 16
xor eax, eax #
call f@PLT #
lea rdi, .LC0[rip] #,
xor eax, eax #
call printf@PLT #
xor eax, eax #
add rsp, 8 #,
.cfi_def_cfa_offset 8
ret
.cfi_endproc
.LFE5:
.size main, .-main
.ident "GCC: (Debian 6.3.0-18+deb9u1) 6.3.0 20170516"
.section .note.GNU-stack,"",@progbits
”””
--- End Message ---
--- Begin Message ---
Version: 6.5.0-2+rm
src:gcc-6 was last released with Debian 9 (stretch)
in June 2017 and was removed from the Debian archive afterwards.
It has been superseded by newer versions.
See https://bugs.debian.org/920171 for details on the removal.
After regular security support for stretch ended in July 2020 and LTS
support ended in July 2022, I'm closing the remaining bug reports now.
In case the bug is still present in recent releases, please reopen and
reassign it.
Andreas
--- End Message ---