This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c/28755] New: duplicate members of arrays
- From: "dwmw2 at infradead dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 16 Aug 2006 17:28:47 -0000
- Subject: [Bug c/28755] New: duplicate members of arrays
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
See attached test case. Observe the number of times certain lines of the
'vesa_modes' array are emitted. This isn't particularly optimal, especially as
it happens even with -Os.
$ make
cc -Os -c -o fbmon.o fbmon.i -save-temps
grep 39682 fbmon.s
.long 39682
.long 39682
--
Summary: duplicate members of arrays
Product: gcc
Version: 4.1.1
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: c
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: dwmw2 at infradead dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28755