public inbox for gcc-prs@sourceware.org
help / color / mirror / Atom feed
* Re: c++/178
@ 2001-05-26  1:46 lerdsuwa
  0 siblings, 0 replies; 2+ messages in thread
From: lerdsuwa @ 2001-05-26  1:46 UTC (permalink / raw)
  To: lerdsuwa; +Cc: gcc-prs

The following reply was made to PR c++/178; it has been noted by GNATS.

From: lerdsuwa@gcc.gnu.org
To: gcc-gnats@gcc.gnu.org, lerdsuwa@gcc.gnu.org,
  martin@loewis.home.cs.tu-berlin.de, nobody@gcc.gnu.org, rolly@free.fr
Cc:  
Subject: Re: c++/178
Date: 26 May 2001 08:37:17 -0000

 Synopsis: GCC Bug ?
 
 Responsible-Changed-From-To: unassigned->lerdsuwa
 Responsible-Changed-By: lerdsuwa
 Responsible-Changed-When: Sat May 26 01:37:17 2001
 Responsible-Changed-Why:
     Patch in progress.
 
 http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view&pr=178&database=gcc


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

* Re: c++/178
@ 2001-05-13 18:16 Peter Schmid
  0 siblings, 0 replies; 2+ messages in thread
From: Peter Schmid @ 2001-05-13 18:16 UTC (permalink / raw)
  To: nobody; +Cc: gcc-prs

The following reply was made to PR c++/178; it has been noted by GNATS.

From: Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
To: gcc-gnats@gcc.gnu.org
Cc:  
Subject: Re: c++/178
Date: Mon, 14 May 2001 04:13:06 +0200 (CEST)

 I narrowed the test case down to the following source code tsound.C. It is
 obvious that this code is ill formed. Removing the enum keyword makes
 the code legal, the internal compiler error does no longer occur.     
 
 Hope this helps,
 Peter Schmid
 
 Source code tsound.C
 struct Sound
 {
     typedef unsigned int Frequency;
     Frequency frequency;
     Frequency getFrequency();
 };
 
 enum Sound::Frequency Sound::getFrequency()
 {
  return(this->frequency);
 }
 
 gcc 3.1 (I have no gcc 3.0 with checking enabled handy)
 g++ -v -c tsound.C -W -Wall
 Reading specs from /usr/local/lib/gcc-lib/i686-pc-linux-gnu/3.1/specs
 Configured with: ../gcc/configure --enable-shared --disable-nls --enable-threads=posix --enable-long-long --enable-languages=c,c++,f77,objc
 Thread model: posix
 gcc version 3.1 20010512 (experimental)
  /usr/local/lib/gcc-lib/i686-pc-linux-gnu/3.1/cc1plus -v -D__GNUC__=3 -D__GNUC_MINOR__=1 -D__GNUC_PATCHLEVEL__=0 -D__ELF__ -Dunix -Dlinux -D__ELF__ -D__unix__ -D__linux__ -D__unix -D__linux -Asystem=posix -D__NO_INLINE__ -D__STDC_HOSTED__=1 -W -Wall -Acpu=i386 -Amachine=i386 -Di386 -D__i386 -D__i386__ -D__tune_i686__ -D__tune_pentiumpro__ tsound.C -D__GNUG__=3 -D_GNU_SOURCE -D__DEPRECATED -D__EXCEPTIONS -D__GXX_ABI_VERSION=100 -quiet -dumpbase tsound.C -W -Wall -version -o /tmp/ccXgchAF.s
 GNU CPP version 3.1 20010512 (experimental) (cpplib) (i386 Linux/ELF)
 GNU C++ version 3.1 20010512 (experimental) (i686-pc-linux-gnu)
 	compiled by GNU C version 3.1 20010512 (experimental).
 #include "..." search starts here:
 #include <...> search starts here:
  /usr/local/include/g++-v3
  /usr/local/include/g++-v3/i686-pc-linux-gnu
  /usr/local/include/g++-v3/backward
  /usr/local/include
  /usr/local/lib/gcc-lib/i686-pc-linux-gnu/3.1/include
  /usr/local/i686-pc-linux-gnu/include
  /usr/include
 End of search list.
 tsound.C:8: Tree check: expected identifier_node, have type_decl in lookup_tag, 
    at cp/decl.c:5311
 Please submit a full bug report, with preprocessed source if appropriate.
 See <URL: http://www.gnu.org/software/gcc/bugs.html > for instructions.
 
 gcc 2.95.2
 /usr/bin/g++ -c -v tsound.C
 Reading specs from /usr/lib/gcc-lib/i486-suse-linux/2.95.2/specs
 gcc version 2.95.2 19991024 (release)
  /usr/lib/gcc-lib/i486-suse-linux/2.95.2/cpp -lang-c++ -v -D__GNUC__=2 -D__GNUG__=2 -D__GNUC_MINOR__=95 -D__cplusplus -D__ELF__ -Dunix -D__i386__ -Dlinux -D__ELF__ -D__unix__ -D__i386__ -D__linux__ -D__unix -D__linux -Asystem(posix) -D__EXCEPTIONS -Acpu(i386) -Amachine(i386) -Di386 -D__i386 -D__i386__ -Di486 -D__i486 -D__i486__ tsound.C /tmp/ccQZgu5r.ii
 GNU CPP version 2.95.2 19991024 (release) (i386 Linux/ELF)
 #include "..." search starts here:
 #include <...> search starts here:
  /usr/include/g++
  /usr/local/include
  /usr/lib/gcc-lib/i486-suse-linux/2.95.2/include
  /usr/include
 End of search list.
 The following default directories have been omitted from the search path:
  /usr/lib/gcc-lib/i486-suse-linux/2.95.2/../../../../i486-suse-linux/include
 End of omitted list.
  /usr/lib/gcc-lib/i486-suse-linux/2.95.2/cc1plus /tmp/ccQZgu5r.ii -quiet -dumpbase tsound.cc -version -o /tmp/ccU7qGCL.s
 GNU C++ version 2.95.2 19991024 (release) (i486-suse-linux) compiled by GNU C version 2.95.2 19991024 (release).
 tsound.C:8: Internal compiler error.
 tsound.C:8: Please submit a full bug report.
 tsound.C:8: See <URL: http://www.gnu.org/software/gcc/bugs.html > for instructions.
 


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

end of thread, other threads:[~2001-05-26  1:46 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-05-26  1:46 c++/178 lerdsuwa
  -- strict thread matches above, loose matches on Subject: below --
2001-05-13 18:16 c++/178 Peter Schmid

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