c/5914: Infinite loop when compiling with optimisation on of z_log.c of libf2c
Tim Prince
tprince@computer.org
Mon Mar 11 13:16:00 GMT 2002
The following reply was made to PR c/5914; it has been noted by GNATS.
From: Tim Prince <tprince@computer.org>
To: jakobus@emss.co.za, gcc-gnats@gcc.gnu.org
Cc:
Subject: Re: c/5914: Infinite loop when compiling with optimisation on of z_log.c of libf2c
Date: Mon, 11 Mar 2002 13:10:26 -0800
On Monday 11 March 2002 07:46, jakobus@emss.co.za wrote:
> >Number: 5914
> >Category: c
> >Synopsis: Infinite loop when compiling with optimisation on of
> > z_log.c of libf2c Confidential: no
> >Severity: serious
> >Priority: medium
> >Responsible: unassigned
> >State: open
> >Class: wrong-code
> >Submitter-Id: net
> >Arrival-Date: Mon Mar 11 07:56:01 PST 2002
> >Closed-Date:
> >Last-Modified:
> >Originator: Ulrich Jakobus
> >Release: 3.0.4
> >Organization:
> >Environment:
>
> System: Linux uj-emss 2.2.16 #1 Wed Aug 2 20:22:26 GMT 2000 i686 unknown
> Architecture: i686
>
>
> host: i686-pc-linux-gnu
> build: i686-pc-linux-gnu
> target: i686-pc-linux-gnu
> configured with: ../gcc-3.0.4/configure
>
> >Description:
>
> Compiling the attached simple and short example file z_log.c (taken
> from libf2c with specific input parameters) works fine for gcc-2.95.2 with
> all levels of optimisation. For gcc-3.0.4 it also works for -O, but for -O2
> or higher we end up in an infinite loop.
>
> >How-To-Repeat:
>
> gcc -O2 z_log.c
>
> >Fix:
>
Didn't Toon Moene already work on this? Isn't this a loop at execution
time?
--
Tim Prince
More information about the Gcc-prs
mailing list