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]

target/8820: [3.2 regression] [sparc] ICE with illegal asm constraints


>Number:         8820
>Category:       target
>Synopsis:       [3.2 regression] [sparc] ICE with illegal asm constraints
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    unassigned
>State:          open
>Class:          ice-on-illegal-code
>Submitter-Id:   net
>Arrival-Date:   Thu Dec 05 04:16:03 PST 2002
>Closed-Date:
>Last-Modified:
>Originator:     ehrhardt@mathematik.uni-ulm.de
>Release:        3.3-cvs, 3.2, 3.2.1
>Organization:
>Environment:
gcc version 3.3 20021204 (experimental)
SunOS theseus 5.9 Generic_112233-02 sun4u sparc SUNW,Ultra-4
>Description:
The following ICEs on sparc with 3.2, 3.2.1 and 3.3-cvs
This is a regression: 2.95.3 compiled this just fine.
The issue was originally reported by Niels Moeller as a mail
to gcc-bugs with a much longer testcase.
void f (void) {
        unsigned char c;
        __asm__ ("%0" :"=q" (c)  );
}
>How-To-Repeat:
Compile the above code snippet.
>Fix:
Fix the code, the `q' constraint is undefined on sparc.
>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]