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/9085: gcc 3.2 unable to find register to spill when optimizing


>Number:         9085
>Category:       optimization
>Synopsis:       gcc 3.2 unable to find register to spill when optimizing
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    unassigned
>State:          open
>Class:          rejects-legal
>Submitter-Id:   net
>Arrival-Date:   Sat Dec 28 13:46:01 PST 2002
>Closed-Date:
>Last-Modified:
>Originator:     j.vanbemmel@home.nl
>Release:        gcc version 3.2 20020927 (prerelease)
>Organization:
>Environment:
cygwin with latest GCC port, perhaps also others
>Description:
Compiler says "unable to find a register to spill in class `AREG'" for attached code when compiled with following flags:
-c -Os -mregparm=2 -fschedule-insns -march=k6

(it works when any of these flags are omitted)
>How-To-Repeat:
gcc -c -Os -mregparm=2 -fschedule-insns -march=k6 try.cpp
>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]