public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* compiler error?
@ 1998-08-20  8:15 Jens Thiele
  0 siblings, 0 replies; 3+ messages in thread
From: Jens Thiele @ 1998-08-20  8:15 UTC (permalink / raw)
  To: egcs-bugs; +Cc: Erik Thiele

I attached a small file which produces an internal compiler error
information about my system is included (if you need more just mail me)

--
email karme@unforgettable.com
IRC   Karme 
HP    http://www.geocities.com/TimesSquare/Castle/9663
/*
My configuration:
Linux / Debian
gcc version egcs-2.90.29 980515 (egcs-1.0.3 release)


Error:


*/

#include <sys/time.h>
#include <sys/types.h>
#include <unistd.h>


template <class objtype>
class foo
{
  int msgavail();
};

template <class objtype>
int foo<objtype>::msgavail()
{
  fd_set checker;
  FD_ZERO(&checker);
  return 0;
}


int main()
{
}


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

* Re: compiler error ?
  1998-10-15 17:47 compiler error ? Daniel Sittig
@ 1998-12-03 14:57 ` Alexandre Oliva
  0 siblings, 0 replies; 3+ messages in thread
From: Alexandre Oliva @ 1998-12-03 14:57 UTC (permalink / raw)
  To: Daniel Sittig; +Cc: egcs-bugs

On Oct 15, 1998, dsittig@ambit.com (Daniel Sittig) wrote:

> I potentially found a bug in the egcs1.1b release

Yep, thanks for your report.  This bug is fixed in the latest
development snapshot of egcs, but not in release 1.1.1.  Next time,
please specify what is the output of the compiler that you consider
incorrect, this saves us some time.

-- 
Alexandre Oliva  http://www.dcc.unicamp.br/~oliva  aoliva@{acm.org}
oliva@{dcc.unicamp.br,gnu.org,egcs.cygnus.com,samba.org}
Universidade Estadual de Campinas, SP, Brasil



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

* compiler error ?
@ 1998-10-15 17:47 Daniel Sittig
  1998-12-03 14:57 ` Alexandre Oliva
  0 siblings, 1 reply; 3+ messages in thread
From: Daniel Sittig @ 1998-10-15 17:47 UTC (permalink / raw)
  To: egcs-bugs

Hello, 
I potentially found a bug in the egcs1.1b release

- egcs -v :

	gcc version egcs-2.91.57 19980901 (egcs-1.1 release)

The file is attached both in plain C++ syntax and in .ii format,
options were not specified.

Regards, 


-- 
Daniel Sittig 	 		AMBIT Design Systems
				A subsidary of Cadence Design Systems
				2500 Augustine Drive
email dsittig@ambit.com		Santa Clara, CA 95054
tel   408 566 8141
web   http://www.ambit.com	
>From wferi@bolyai1.elte.hu Thu Oct 15 22:54:00 1998
From: Ferenc Wagner <wferi@bolyai1.elte.hu>
To: egcs-bugs@cygnus.com
Subject: g++ bug report
Date: Thu, 15 Oct 1998 22:54:00 -0000
Message-id: <Pine.LNX.3.96.981016050814.4675A-200000@bolyai1.elte.hu>
X-SW-Source: 1998-10/msg00489.html
Content-length: 775

			Hi,

I got the following message from the compiler:

sep.cc:19: warning: ANSI C++ forbids initialization of member `separation'
sep.cc:19: Internal compiler error.
sep.cc:19: Please submit a full bug report to `egcs-bugs@cygnus.com'.

So here it is. Find the related sources attached.

Output from `g++ -v':
Reading specs from /usr/lib/gcc-lib/i386-redhat-linux/egcs-2.90.27/specs
gcc version egcs-2.90.27 980315 (egcs-1.0.2 release)

The offending command was: `g++ sep.cpp'

The operating system is RedHat Linux 5.1, default gcc configuration. No
modifications have been made to the gcc sources.

I agree the code is somehow foolish; anyway, I was said it was a bug...
Anyway, it appeared when I introduced the `separation' object.


				Hope it helps, cheers: Ferenc.


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

end of thread, other threads:[~1998-12-03 14:57 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1998-08-20  8:15 compiler error? Jens Thiele
1998-10-15 17:47 compiler error ? Daniel Sittig
1998-12-03 14:57 ` Alexandre Oliva

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