From: Joe Buck Message-Id: <199904092102.OAA13655@atrus.synopsys.com> Subject: Re: pgcc-1.1.1 glibc-2.1.1 strptime.c forbidden register To: law AT cygnus DOT com Date: Fri, 9 Apr 99 14:02:27 PDT Cc: jkinsley AT bticc DOT net, bug-glibc AT gnu DOT org, pgcc AT delorie DOT com, pcg AT goof DOT com, egcs AT egcs DOT cygnus DOT com, egcs-bugs AT egcs DOT cygnus DOT com In-Reply-To: <21886.923686973@upchuck>; from "Jeffrey A Law" at Apr 9, 99 1:42 pm X-Mailer: ELM [version 2.3 PL11] Reply-To: pgcc AT delorie DOT com X-Mailing-List: pgcc AT delorie DOT com X-Unsubscribes-To: listserv AT delorie DOT com Precedence: bulk > > strptime.c: In function `strptime_internal': > > strptime.c:818: fixed or forbidden register 3 (bx) was spilled for class > > GENERAL_REGS. > There's an asm in that code that requires 6 registers to satisfy. However, > when compiling with -fPIC the compiler is only allowed to allocate 5 registers. Perhaps this condition should be detected directly? (Count the # of registers needed, if it exceeds the number available, issue a message saying that).