[Bug other/31043] New: duplicated data in .rodata / .rodata.cst sections.
pluto at agmk dot net
gcc-bugzilla@gcc.gnu.org
Mon Mar 5 14:29:00 GMT 2007
$ cat pi.cpp
#include <cmath>
extern double const pi = M_PI;
extern double foo() { return pi; }
.section .rodata.cst8,"aM",@progbits,8
.align 8
.LC0: .long 1413754136
.long 1074340347
.globl pi
.section .rodata
.align 8
pi: .long 1413754136
.long 1074340347
_Z3foov:
pushl %ebp
movl %esp, %ebp
fldl .LC0
popl %ebp
ret
--
Summary: duplicated data in .rodata / .rodata.cst sections.
Product: gcc
Version: 4.1.2
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: other
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: pluto at agmk dot net
GCC target triplet: x86*-linux
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31043
More information about the Gcc-bugs
mailing list