This is the mail archive of the gcc-prs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

c++/8040: g++ with -O3 produces duplicate symbol


>Number:         8040
>Category:       c++
>Synopsis:       g++ with -O3 produces duplicate symbol
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    unassigned
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Wed Sep 25 09:26:00 PDT 2002
>Closed-Date:
>Last-Modified:
>Originator:     Bruce Dubbs
>Release:        GCC 3.2
>Organization:
>Environment:
i686 Pentium III (Coppermine)
>Description:
Compiler output:
x.s: Assembler messages:
x.s:33: Error: symbol `rgb2yuv16_422' is already defined

x.ii:
# 1 "x.cpp"
# 1 "<built-in>"
# 1 "<command line>"
# 1 "x.cpp"
void x();
void rgb2yuv16bit_mmx422_row();
 
void x()
{
  rgb2yuv16bit_mmx422_row();
}
 
void rgb2yuv16bit_mmx422_row()
{
  __asm__ __volatile__ (
  "rgb2yuv16_422:\n"
  );
}
>How-To-Repeat:
g++ -O3  x.cpp -save-temps
>Fix:

>Release-Note:
>Audit-Trail:
>Unformatted:


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]