public inbox for gcc@gcc.gnu.org
 help / color / mirror / Atom feed
* hppa-linux regressions and 3.2.2 release
@ 2003-02-02  7:22 Randolph Chung
  2003-02-02 11:08 ` Gabriel Dos Reis
  2003-02-02 16:06 ` Eric Botcazou
  0 siblings, 2 replies; 35+ messages in thread
From: Randolph Chung @ 2003-02-02  7:22 UTC (permalink / raw)
  To: gcc

Greetings,

I understand the 3.2.2 release is imminent. I filed two PRs
against gcc-3.2.2 earlier last week. (#9492, #9493)  They relate to
gcc-3.2.2 regressions that are seen on hppa-linux (jda tells me 9493
happens on hppa-hpux as well).

#9493 is causing a lot of build failures in Debian. I saw 
Eric Botcazou posted a one-liner fix to the list on Jan 29. Is that
going to be checked in to 3.2.2? Or is it still pending verification?

#9492 is causing the hppa-linux kernel to be miscompiled. We have a
workaround in place, but I think there may be more silently miscompiled
cases that we have not yet discovered. No one has identified what 
causes this yet, but it seems to be a generic scheduling problem 
rather than an hppa specific one?

Both of these are fairly major regressions from 3.0, so it'll be good to
get these fixed before release. I can help test Eric's patch, but I have
no idea where to look for #9492. Does anyone have any ideas?

thanks
randolph
-- 
Randolph Chung
Debian GNU/Linux Developer, hppa/ia64 ports
http://www.tausq.org/

^ permalink raw reply	[flat|nested] 35+ messages in thread
* Re: hppa-linux regressions and 3.2.2 release
@ 2003-02-03  0:25 John David Anglin
  2003-02-03  2:19 ` Gabriel Dos Reis
  2003-02-03 17:10 ` Joe Buck
  0 siblings, 2 replies; 35+ messages in thread
From: John David Anglin @ 2003-02-03  0:25 UTC (permalink / raw)
  To: ebotcazou; +Cc: gdr, randolph, gcc, gcc-patches

> > I recall Eric Botcazou's patch were being reviewed this week but my
> > impression was that the discussion got stalled after Joe Buck asked
> > whether the patch was just papering over a fundamental problem.  I'll
> > recheck what the final answer is and incorporate the patch if
> > appropriate.
> 
> Jan thinks that the patch might be valid.

Jan wrote:
> No, I guess the fix is correct - it is merely looking for loop preheader
> and should crash when there is empty block at the end of insn stream.

I note that in my examination of the problem I found an empty block at
the end of the insn stream.  Thus, I can confirm that this is the problem
that Eric's patch addresses.

As the prior loop terminates if insn is null, it is obvious that a null
check of some kind is needed in the following instruction which will cause a
crash if insn is null.  The testcase is simply an example of a situation
where a null value can occur.

As to Joe's point, this doesn't happen on 3.3 because there isn't an
empty block at the end of the insn stream.  There is always a code_label
in the insn stream.  As a result, the preceding loop doesn't ever reach
the end of the insn stream.  If the presence of a code label is guaranteed,
then the null check in the preceeding for loop can probably be removed.
I don't know why 3.2 and 3.3 differ in this respect but I seem to
recall problems with label usage counts at one time.

The PA-RISC assembly output with the patch ok.

I have completed a bootstrap on hppa2.0w-hp-hpux11.11 with Eric's patch.
The results are posted here

<http://gcc.gnu.org/ml/gcc-testresults/2003-02/msg00117.html>.

There are no regressions.

Dave
-- 
J. David Anglin                                  dave.anglin@nrc-cnrc.gc.ca
National Research Council of Canada              (613) 990-0752 (FAX: 952-6605)

PS: Eric, your analysis of PR9492 was awesome.

^ permalink raw reply	[flat|nested] 35+ messages in thread
[parent not found: <no.id>]

end of thread, other threads:[~2003-02-13 17:49 UTC | newest]

Thread overview: 35+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-02-02  7:22 hppa-linux regressions and 3.2.2 release Randolph Chung
2003-02-02 11:08 ` Gabriel Dos Reis
2003-02-02 11:27   ` Eric Botcazou
2003-02-02 16:06 ` Eric Botcazou
2003-02-02 17:27   ` Franz Sirl
2003-02-02 22:35     ` Eric Botcazou
2003-02-02 23:09       ` Franz Sirl
2003-02-03  7:48         ` Eric Botcazou
2003-02-03 11:42           ` Franz Sirl
2003-02-03 12:07             ` Eric Botcazou
2003-02-03 11:42         ` Franz Sirl
2003-02-03 12:00           ` Gabriel Dos Reis
2003-02-03 13:18             ` Franz Sirl
2003-02-03 13:32               ` Gabriel Dos Reis
2003-02-03 13:36               ` Eric Botcazou
2003-02-09 13:19                 ` ChangeLog conventions (was: hppa-linux regressions and 3.2.2 release) Gerald Pfeifer
2003-02-11 10:20                   ` Eric Botcazou
2003-02-11 19:44                     ` Phil Edwards
2003-02-13 17:54                     ` ChangeLog conventions Gerald Pfeifer
2003-02-03 17:30               ` hppa-linux regressions and 3.2.2 release Joseph S. Myers
2003-02-03 21:01             ` Franz Sirl
2003-02-03 21:17               ` Gabriel Dos Reis
2003-02-02 18:09   ` Eric Botcazou
2003-02-02 20:19     ` Gabriel Dos Reis
2003-02-02 23:21       ` Randolph Chung
2003-02-03 10:39         ` Eric Botcazou
2003-02-03  0:25 John David Anglin
2003-02-03  2:19 ` Gabriel Dos Reis
2003-02-03  2:38   ` John David Anglin
2003-02-03 17:10 ` Joe Buck
     [not found] <no.id>
2003-02-03  5:02 ` John David Anglin
2003-02-03 11:03   ` Gabriel Dos Reis
2003-02-03 16:26   ` John David Anglin
2003-02-03 16:54     ` Gabriel Dos Reis
2003-02-03 18:02       ` John David Anglin

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).