public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/20152] New: ICE compiling krusader-1.5.1 with latest CVS gcc
@ 2005-02-23  2:22 jan dot dvorak at kraxnet dot cz
  2005-02-23  5:09 ` [Bug c++/20152] " pinskia at gcc dot gnu dot org
                   ` (7 more replies)
  0 siblings, 8 replies; 9+ messages in thread
From: jan dot dvorak at kraxnet dot cz @ 2005-02-23  2:22 UTC (permalink / raw)
  To: gcc-bugs

Got ICE compiling krusader-1.51 (i suppose on illegal code) with 4.0.0 20050218 :

Preprocessed file: http://napalm.sf.cz/libPanel_a.all_cpp.ii.gz


#gcc -v ./libPanel_a.all_cpp.ii 
Using built-in specs.
Target: i686-pc-linux-gnu
Configured with: ../gcc/configure --enable-languages=c,c++
--enable-threads=posix --enable-shared
Thread model: posix
gcc version 4.0.0 20050218 (experimental)
 /usr/local/libexec/gcc/i686-pc-linux-gnu/4.0.0/cc1plus -fpreprocessed
./libPanel_a.all_cpp.ii -quiet -dumpbase libPanel_a.all_cpp.ii -mtune=pentiumpro
-auxbase libPanel_a.all_cpp -version -o /tmp/cccN92oc.s
GNU C++ version 4.0.0 20050218 (experimental) (i686-pc-linux-gnu)
        compiled by GNU C version 4.0.0 20050218 (experimental).
GGC heuristics: --param ggc-min-expand=30 --param ggc-min-heapsize=4096
krselectionmode.h:12: error: redefinition of 'class KrSelectionMode'
krselectionmode.h:12: error: previous definition of 'class KrSelectionMode'
krselectionmode.h:35: error: redefinition of 'class KrKDESelectionMode'
krselectionmode.h:35: error: previous definition of 'class KrKDESelectionMode'
krselectionmode.h:50: error: redefinition of 'class KrOriginalSelectionMode'
krselectionmode.h:50: error: previous definition of 'class KrOriginalSelectionMode'
krselectionmode.h:65: error: redefinition of 'class KrNewSelectionMode'
krselectionmode.h:65: error: previous definition of 'class KrNewSelectionMode'
krselectionmode.h: In constructor 'KrSelectionMode::KrSelectionMode()':
krselectionmode.h:35: internal compiler error: Segmentation fault
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://gcc.gnu.org/bugs.html> for instructions.

-- 
           Summary: ICE compiling krusader-1.5.1 with latest CVS gcc
           Product: gcc
           Version: 4.0.0
            Status: UNCONFIRMED
          Severity: critical
          Priority: P2
         Component: c++
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: jan dot dvorak at kraxnet dot cz
                CC: gcc-bugs at gcc dot gnu dot org
 GCC build triplet: i686-pc-linux-gnu
  GCC host triplet: i686-pc-linux-gnu
GCC target triplet: i686-pc-linux-gnu


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


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

* [Bug c++/20152] ICE compiling krusader-1.5.1 with latest CVS gcc
  2005-02-23  2:22 [Bug c++/20152] New: ICE compiling krusader-1.5.1 with latest CVS gcc jan dot dvorak at kraxnet dot cz
@ 2005-02-23  5:09 ` pinskia at gcc dot gnu dot org
  2005-02-23  5:32 ` [Bug c++/20152] [3.4/4.0 Regression] " pinskia at gcc dot gnu dot org
                   ` (6 subsequent siblings)
  7 siblings, 0 replies; 9+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-02-23  5:09 UTC (permalink / raw)
  To: gcc-bugs



-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
           Severity|critical                    |normal


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


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

* [Bug c++/20152] [3.4/4.0 Regression] ICE compiling krusader-1.5.1 with latest CVS gcc
  2005-02-23  2:22 [Bug c++/20152] New: ICE compiling krusader-1.5.1 with latest CVS gcc jan dot dvorak at kraxnet dot cz
  2005-02-23  5:09 ` [Bug c++/20152] " pinskia at gcc dot gnu dot org
@ 2005-02-23  5:32 ` pinskia at gcc dot gnu dot org
  2005-02-23  9:22 ` mmitchel at gcc dot gnu dot org
                   ` (5 subsequent siblings)
  7 siblings, 0 replies; 9+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-02-23  5:32 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From pinskia at gcc dot gnu dot org  2005-02-22 20:14 -------
Confirmed, reduced to:
struct KrSelectionMode {  virtual void init() = 0; };
struct KrKDESelectionMode : public KrSelectionMode { void init() { } };
struct KrSelectionMode {  virtual void init() = 0; };
struct KrKDESelectionMode : public KrSelectionMode { void init() { } };
KrKDESelectionMode krKDESelectionMode;

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
     Ever Confirmed|                            |1
           Keywords|                            |error-recovery, ice-on-
                   |                            |invalid-code
   Last reconfirmed|0000-00-00 00:00:00         |2005-02-22 20:14:01
               date|                            |
            Summary|ICE compiling krusader-1.5.1|[3.4/4.0 Regression] ICE
                   |with latest CVS gcc         |compiling krusader-1.5.1
                   |                            |with latest CVS gcc
   Target Milestone|---                         |3.4.4


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


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

* [Bug c++/20152] [3.4/4.0 Regression] ICE compiling krusader-1.5.1 with latest CVS gcc
  2005-02-23  2:22 [Bug c++/20152] New: ICE compiling krusader-1.5.1 with latest CVS gcc jan dot dvorak at kraxnet dot cz
  2005-02-23  5:09 ` [Bug c++/20152] " pinskia at gcc dot gnu dot org
  2005-02-23  5:32 ` [Bug c++/20152] [3.4/4.0 Regression] " pinskia at gcc dot gnu dot org
@ 2005-02-23  9:22 ` mmitchel at gcc dot gnu dot org
  2005-02-23 10:35 ` pinskia at gcc dot gnu dot org
                   ` (4 subsequent siblings)
  7 siblings, 0 replies; 9+ messages in thread
From: mmitchel at gcc dot gnu dot org @ 2005-02-23  9:22 UTC (permalink / raw)
  To: gcc-bugs



-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
         AssignedTo|unassigned at gcc dot gnu   |mark at codesourcery dot com
                   |dot org                     |
             Status|NEW                         |ASSIGNED


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


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

* [Bug c++/20152] [3.4/4.0 Regression] ICE compiling krusader-1.5.1 with latest CVS gcc
  2005-02-23  2:22 [Bug c++/20152] New: ICE compiling krusader-1.5.1 with latest CVS gcc jan dot dvorak at kraxnet dot cz
                   ` (2 preceding siblings ...)
  2005-02-23  9:22 ` mmitchel at gcc dot gnu dot org
@ 2005-02-23 10:35 ` pinskia at gcc dot gnu dot org
  2005-02-23 13:01 ` cvs-commit at gcc dot gnu dot org
                   ` (3 subsequent siblings)
  7 siblings, 0 replies; 9+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-02-23 10:35 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From pinskia at gcc dot gnu dot org  2005-02-22 23:59 -------
: Search converges between 2003-04-22-trunk (#236) and 2003-05-04-trunk (#237).

This was hard to find as only 3.3 did not ICE.

-- 


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


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

* [Bug c++/20152] [3.4/4.0 Regression] ICE compiling krusader-1.5.1 with latest CVS gcc
  2005-02-23  2:22 [Bug c++/20152] New: ICE compiling krusader-1.5.1 with latest CVS gcc jan dot dvorak at kraxnet dot cz
                   ` (3 preceding siblings ...)
  2005-02-23 10:35 ` pinskia at gcc dot gnu dot org
@ 2005-02-23 13:01 ` cvs-commit at gcc dot gnu dot org
  2005-02-23 13:43 ` [Bug c++/20152] [3.4 " mmitchel at gcc dot gnu dot org
                   ` (2 subsequent siblings)
  7 siblings, 0 replies; 9+ messages in thread
From: cvs-commit at gcc dot gnu dot org @ 2005-02-23 13:01 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From cvs-commit at gcc dot gnu dot org  2005-02-23 05:31 -------
Subject: Bug 20152

CVSROOT:	/cvs/gcc
Module name:	gcc
Changes by:	mmitchel@gcc.gnu.org	2005-02-23 05:30:51

Modified files:
	gcc/testsuite/g++.dg/template: qualttp15.C 
	gcc/testsuite/g++.old-deja/g++.other: struct1.C 
	gcc/testsuite  : ChangeLog 
	gcc/cp         : ChangeLog decl2.c error.c init.c parser.c 
	                 semantics.c 
Added files:
	gcc/testsuite/g++.dg/parse: constant7.C error27.C error26.C 
	gcc/testsuite/g++.dg/template: error17.C 

Log message:
	PR c++/19991
	* init.c (integral_constant_value): Iterate if the value of a decl
	is itself a constant.
	
	PR c++/20152
	* parser.c (cp_parser_class_head): Check for redefintions here.
	* semantics.c (begin_class_definition): Not here.
	
	PR c++/20153
	* decl2.c (build_anon_union_vars): Add type parameter.
	(finish_anon_union): Pass it.
	
	PR c++/20148
	* error.c (dump_expr): Do not print the body of a BIND_EXPR.
	Handle STATEMENT_LIST.
	
	PR c++/19991
	* g++.dg/parse/constant7.C: New test.
	
	PR c++/20152
	* g++.dg/parse/error27.C: New test.
	* g++.dg/template/qualttp15.C: Adjust error markers.
	* g++.old-deja/g++.other/struct1.C: Likewise.
	
	PR c++/20153
	* g++.dg/template/error17.C: New test.
	
	PR c++/20148
	* g++.dg/parser/error26.C: New test.

Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/g++.dg/parse/constant7.C.diff?cvsroot=gcc&r1=NONE&r2=1.1
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/g++.dg/parse/error27.C.diff?cvsroot=gcc&r1=NONE&r2=1.1
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/g++.dg/parse/error26.C.diff?cvsroot=gcc&r1=NONE&r2=1.1
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/g++.dg/template/error17.C.diff?cvsroot=gcc&r1=NONE&r2=1.1
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/g++.dg/template/qualttp15.C.diff?cvsroot=gcc&r1=1.1&r2=1.2
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/g++.old-deja/g++.other/struct1.C.diff?cvsroot=gcc&r1=1.3&r2=1.4
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/ChangeLog.diff?cvsroot=gcc&r1=1.5072&r2=1.5073
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/cp/ChangeLog.diff?cvsroot=gcc&r1=1.4641&r2=1.4642
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/cp/decl2.c.diff?cvsroot=gcc&r1=1.768&r2=1.769
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/cp/error.c.diff?cvsroot=gcc&r1=1.276&r2=1.277
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/cp/init.c.diff?cvsroot=gcc&r1=1.410&r2=1.411
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/cp/parser.c.diff?cvsroot=gcc&r1=1.317&r2=1.318
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/cp/semantics.c.diff?cvsroot=gcc&r1=1.462&r2=1.463



-- 


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


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

* [Bug c++/20152] [3.4 Regression] ICE compiling krusader-1.5.1 with latest CVS gcc
  2005-02-23  2:22 [Bug c++/20152] New: ICE compiling krusader-1.5.1 with latest CVS gcc jan dot dvorak at kraxnet dot cz
                   ` (4 preceding siblings ...)
  2005-02-23 13:01 ` cvs-commit at gcc dot gnu dot org
@ 2005-02-23 13:43 ` mmitchel at gcc dot gnu dot org
  2005-05-19 17:42 ` mmitchel at gcc dot gnu dot org
  2005-07-23  5:05 ` pinskia at gcc dot gnu dot org
  7 siblings, 0 replies; 9+ messages in thread
From: mmitchel at gcc dot gnu dot org @ 2005-02-23 13:43 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From mmitchel at gcc dot gnu dot org  2005-02-23 05:35 -------
Fixed in 4.0.

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
      Known to fail|3.4.0 4.0.0                 |3.4.0
      Known to work|3.3.3                       |3.3.3 4.0.0
            Summary|[3.4/4.0 Regression] ICE    |[3.4 Regression] ICE
                   |compiling krusader-1.5.1    |compiling krusader-1.5.1
                   |with latest CVS gcc         |with latest CVS gcc


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


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

* [Bug c++/20152] [3.4 Regression] ICE compiling krusader-1.5.1 with latest CVS gcc
  2005-02-23  2:22 [Bug c++/20152] New: ICE compiling krusader-1.5.1 with latest CVS gcc jan dot dvorak at kraxnet dot cz
                   ` (5 preceding siblings ...)
  2005-02-23 13:43 ` [Bug c++/20152] [3.4 " mmitchel at gcc dot gnu dot org
@ 2005-05-19 17:42 ` mmitchel at gcc dot gnu dot org
  2005-07-23  5:05 ` pinskia at gcc dot gnu dot org
  7 siblings, 0 replies; 9+ messages in thread
From: mmitchel at gcc dot gnu dot org @ 2005-05-19 17:42 UTC (permalink / raw)
  To: gcc-bugs



-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|3.4.4                       |3.4.5


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


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

* [Bug c++/20152] [3.4 Regression] ICE compiling krusader-1.5.1 with latest CVS gcc
  2005-02-23  2:22 [Bug c++/20152] New: ICE compiling krusader-1.5.1 with latest CVS gcc jan dot dvorak at kraxnet dot cz
                   ` (6 preceding siblings ...)
  2005-05-19 17:42 ` mmitchel at gcc dot gnu dot org
@ 2005-07-23  5:05 ` pinskia at gcc dot gnu dot org
  7 siblings, 0 replies; 9+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-07-23  5:05 UTC (permalink / raw)
  To: gcc-bugs



-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
           Severity|normal                      |minor


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


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

end of thread, other threads:[~2005-07-23  5:00 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-02-23  2:22 [Bug c++/20152] New: ICE compiling krusader-1.5.1 with latest CVS gcc jan dot dvorak at kraxnet dot cz
2005-02-23  5:09 ` [Bug c++/20152] " pinskia at gcc dot gnu dot org
2005-02-23  5:32 ` [Bug c++/20152] [3.4/4.0 Regression] " pinskia at gcc dot gnu dot org
2005-02-23  9:22 ` mmitchel at gcc dot gnu dot org
2005-02-23 10:35 ` pinskia at gcc dot gnu dot org
2005-02-23 13:01 ` cvs-commit at gcc dot gnu dot org
2005-02-23 13:43 ` [Bug c++/20152] [3.4 " mmitchel at gcc dot gnu dot org
2005-05-19 17:42 ` mmitchel at gcc dot gnu dot org
2005-07-23  5:05 ` pinskia 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).