public inbox for gcc@gcc.gnu.org
 help / color / mirror / Atom feed
* Re: egcs-1998-04-18: Typos in gcc/haifa-schedule.c, bad default specs
@ 1998-04-22 15:21 Mike Stump
  0 siblings, 0 replies; 7+ messages in thread
From: Mike Stump @ 1998-04-22 15:21 UTC (permalink / raw)
  To: Franz.Sirl-kernel; +Cc: egcs

> Date: Tue, 21 Apr 1998 16:29:30 +0200
> From: Franz Sirl <Franz.Sirl-kernel@lauterbach.com>

> >A patch was checked in for this Sunday.

> I think it would be a good idea if you answer such requests with a cvsweb
> link:

> This way people can easily be pointed to the correct patch and eventually
> taught to look first in cvsweb before posting bug reports ;-).

I think the status quo is fairly good.  The status quo is only a
simple, `it's fixed' message needs to be generated (easing the job of
the overworked people that make the compiler happen (Thanks Jeff)).

We should teach people to first cvs update, and retest before
reporting a bug.  This way, if there was such a fix in cvsweb, then
certainly the sources grabbed with cvs update would have the fix, and
certainly if they retested, the problem would not appear.  This is
easier on them, as then they don't have to read anything.  With your
proposal, they would.  If the problem isn't fixed, and not reported,
then reporting it is good.  If it is reported, then they can either
report it again (to let people know it is important), or just skip
sending in a report.

Requiring additional time from Jeff or Jim I think is a bad idea.  I
think their time is better spent doing what they do best.

^ permalink raw reply	[flat|nested] 7+ messages in thread
[parent not found: <199804211613.JAA20747@cygnus.com>]
[parent not found: <199804211429.HAA14747@cygnus.com>]
* egcs-1998-04-18: Typos in gcc/haifa-schedule.c, bad default specs
@ 1998-04-19 15:57 Horst von Brand
  1998-04-20 21:13 ` Jim Wilson
  0 siblings, 1 reply; 7+ messages in thread
From: Horst von Brand @ 1998-04-19 15:57 UTC (permalink / raw)
  To: egcs

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 1983 bytes --]

I'm using egcs-980321, binutils-2.9.0.3, glibc-2.0.92 (dated 980412) on i586

{,LIB}{C,CXX,F77}FLAGS = -O2 -fomit-frame-pointer -march=pentium
--enable-{shared,threads,haifa} i386-redhat-linux

The following have to be fixed to get gcc/haifa-sched.c to compile:

--- haifa-sched.c.dist	Sun Apr 19 13:12:00 1998
+++ haifa-sched.c	Sun Apr 19 13:53:11 1998
@@ -761,7 +761,7 @@
 static void find_pre_sched_live PROTO ((int));
 static void find_post_sched_live PROTO ((int));
 static void update_reg_usage PROTO ((void));
-static int queue_to_ready ((rtx [], int))
+static int queue_to_ready PROTO ((rtx [], int));
 
 void debug_ready_list PROTO ((rtx[], int));
 static void init_target_units PROTO (());

After fixing this, the resulting compiler crashes when trying to find out
if underscores are needed. Sure enough, the resulting cpp command line is
broken: 

./xgcc -v -B./ -S tmp-dum.c
Reading specs from ./specs
gcc version egcs-2.91.24 19980418 (gcc2 ss-980401 experimental)
 ./cpp -lang-c -v -isystem ./include -undef -D__GNUC__=2
 -D__GNUC_MINOR__=91 -D__ELF__ -Dunix -Dlinux -D__ELF__ -D__unix__
 -D__linux__ -D__unix -D__linux -Asystem(posix) -Di386 -Asystem(unix)
 -Acpu(i386) -Amachine(i386) __ -D__i386__ -Asystem(unix) -Acpu(i386)
 -Amachine(i386) __ tmp-dum.c /tmp/cca06809.i
GNU CPP version egcs-2.91.24 19980418 (gcc2 ss-980401 experimental) (i386
Linux/ELF)
cpp: Usage: ./cpp [switches] input output

I'm continuing the bootstrap after copying the specs file from 980321 over
(Yes, I know this is almost guaranteed to be wrong, but I just couldn't
find out where this stupid "__" comes from). BTW, the specs file made during
the building of a stage is equally broken, so I can't finish a normal
boostrap, and any checks will be suspect too :-(

For the time being, I'll consider egcs-1998-04-18 highly toxic.
-- 
Horst von Brand                             vonbrand@sleipnir.valparaiso.cl
Casilla 9G, Viña del Mar, Chile                               +56 32 672616

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~1998-04-22 15:21 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1998-04-22 15:21 egcs-1998-04-18: Typos in gcc/haifa-schedule.c, bad default specs Mike Stump
     [not found] <199804211613.JAA20747@cygnus.com>
1998-04-21 17:06 ` Jeffrey A Law
     [not found] <199804211429.HAA14747@cygnus.com>
1998-04-21  9:49 ` Jeffrey A Law
1998-04-21 13:29   ` Franz Sirl
  -- strict thread matches above, loose matches on Subject: below --
1998-04-19 15:57 Horst von Brand
1998-04-20 21:13 ` Jim Wilson
1998-04-21 13:29   ` Franz Sirl

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).