public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/17148] New: Internal compiler error 19970302.
@ 2004-08-23 12:11 rene at halotec dot com
  2004-08-23 12:13 ` [Bug c++/17148] " rene at halotec dot com
  2004-08-23 12:45 ` reichelt at gcc dot gnu dot org
  0 siblings, 2 replies; 3+ messages in thread
From: rene at halotec dot com @ 2004-08-23 12:11 UTC (permalink / raw)
  To: gcc-bugs

Command input:
g++ -v -save-temps -c -g -D_DEBUG -I../.. -I../../../capture -
I../../../lib/sharedcode -I../../../lib/pluginbase -I../../../lib/orbsupport -
fPIC -DOMNI_UNLOADABLE_STUBS Coolpix4300MechanicsFactory.cpp -o 
debug/Coolpix4300MechanicsFactory.o

Error output:

Reading specs from /usr/lib/gcc-lib/i386-linux/2.95.4/specs
gcc version 2.95.4 20011002 (Debian prerelease)
 /usr/lib/gcc-lib/i386-linux/2.95.4/cpp0 -lang-c++ -v -I../.. -
I../../../capture -I../../../lib/sharedcode -I../../../lib/pluginbase -
I../../../lib/orbsupport -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 -g -Acpu
(i386) -Amachine(i386) -Di386 -D__i386 -D__i386__ -D__PIC__ -D__pic__ -D_DEBUG -
DOMNI_UNLOADABLE_STUBS Coolpix4300MechanicsFactory.cpp 
Coolpix4300MechanicsFactory.ii
GNU CPP version 2.95.4 20011002 (Debian prerelease) (i386 Linux/ELF)
#include "..." search starts here:
#include <...> search starts here:
 ../..
 ../../../capture
 ../../../lib/sharedcode
 ../../../lib/pluginbase
 ../../../lib/orbsupport
 /usr/lib/gcc-lib/i386-linux/2.95.4/../../../../include/g++-3
 /usr/local/include
 /usr/lib/gcc-lib/i386-linux/2.95.4/include
 /usr/include
End of search list.
The following default directories have been omitted from the search path:
 /usr/lib/gcc-lib/i386-linux/2.95.4/../../../../i386-linux/include
End of omitted list.
 /usr/lib/gcc-lib/i386-linux/2.95.4/cc1plus Coolpix4300MechanicsFactory.ii -
quiet -dumpbase Coolpix4300MechanicsFactory.cc -g -version -fPIC -o 
Coolpix4300MechanicsFactory.s
GNU C++ version 2.95.4 20011002 (Debian prerelease) (i386-linux) compiled by 
GNU C version 2.95.4 20011002 (Debian prerelease).
In file included from Coolpix4300MechanicsFactory.cpp:9:
Coolpix4300Mechanics.h:179: Internal compiler error 19970302.
Coolpix4300Mechanics.h:179: Please submit a full bug report.
Coolpix4300Mechanics.h:179: Internal compiler error:
Coolpix4300Mechanics.h:179: See <URL:http://www.gnu.org/software/gcc/bugs.html> 
for instructions.

-- 
           Summary: Internal compiler error 19970302.
           Product: gcc
           Version: 2.95.4
            Status: UNCONFIRMED
          Severity: minor
          Priority: P3
         Component: c++
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: rene at halotec dot com
                CC: gcc-bugs at gcc dot gnu dot org
 GCC build triplet: 2.95.4
  GCC host triplet: Linux/Debian 2.4.18bf
GCC target triplet: Linux/Debian 2.4.18bf


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17148


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

* [Bug c++/17148] Internal compiler error 19970302.
  2004-08-23 12:11 [Bug c++/17148] New: Internal compiler error 19970302 rene at halotec dot com
@ 2004-08-23 12:13 ` rene at halotec dot com
  2004-08-23 12:45 ` reichelt at gcc dot gnu dot org
  1 sibling, 0 replies; 3+ messages in thread
From: rene at halotec dot com @ 2004-08-23 12:13 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From rene at halotec dot com  2004-08-23 12:13 -------
Created an attachment (id=6980)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=6980&action=view)
Preprocessed source.

The output from -save-temps.

-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17148


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

* [Bug c++/17148] Internal compiler error 19970302.
  2004-08-23 12:11 [Bug c++/17148] New: Internal compiler error 19970302 rene at halotec dot com
  2004-08-23 12:13 ` [Bug c++/17148] " rene at halotec dot com
@ 2004-08-23 12:45 ` reichelt at gcc dot gnu dot org
  1 sibling, 0 replies; 3+ messages in thread
From: reichelt at gcc dot gnu dot org @ 2004-08-23 12:45 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From reichelt at gcc dot gnu dot org  2004-08-23 12:45 -------
The bug can be reduced to

===================================
struct A {};

struct B : A
{
    static int foo() { return 1; }
    int i[B::foo()];
};
===================================

which is invalid. This is a duplicate of PR 226.


*** This bug has been marked as a duplicate of 226 ***

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
           Keywords|                            |ice-on-invalid-code
         Resolution|                            |DUPLICATE
   Target Milestone|---                         |3.0.x


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17148


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

end of thread, other threads:[~2004-08-23 12:45 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-08-23 12:11 [Bug c++/17148] New: Internal compiler error 19970302 rene at halotec dot com
2004-08-23 12:13 ` [Bug c++/17148] " rene at halotec dot com
2004-08-23 12:45 ` reichelt at gcc dot gnu dot org

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