This is the mail archive of the gcc-bugs@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]

optimization/4940: gcc generate unknown assembler opcode: .subsection & .previous

[Get raw message]

>Number:         4940
>Category:       optimization
>Synopsis:       gcc generate unknown assembler opcode: .subsection & .previous
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    unassigned
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Fri Nov 23 23:26:00 PST 2001
>Closed-Date:
>Last-Modified:
>Originator:     shlu@njnet.edu.cn
>Release:        gcc 3.01 & gcc 3.02
>Organization:
>Environment:
Solaris 2.7
>Description:
When gcc 3.0x compile some switch statements on Solaris
platform. It would optimize the code by search table
when multi-entry occured.
But the pseudo-opcode, .subsection and .provious cannot be
recogonized by Solaris' /usr/ccs/bin/as
The compile information is:
/usr/ccs/bin/as: "/var/tmp/ccEyovVM.s", line 438: error: unknown opcode ".subsection"
/usr/ccs/bin/as: "/var/tmp/ccEyovVM.s", line 438: error: statement syntax
/usr/ccs/bin/as: "/var/tmp/ccEyovVM.s", line 529: error: unknown opcode ".previous"
/usr/ccs/bin/as: "/var/tmp/ccEyovVM.s", line 529: error: statement syntax
>How-To-Repeat:
Compile the source code I gave with gcc 3.0x.
>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]