public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/20186] New: ICE on boost-1.32 with latest cvs
@ 2005-02-24 15:44 jan dot dvorak at kraxnet dot cz
  2005-02-24 15:49 ` [Bug c++/20186] [4.0 regression] " reichelt at gcc dot gnu dot org
                   ` (11 more replies)
  0 siblings, 12 replies; 13+ messages in thread
From: jan dot dvorak at kraxnet dot cz @ 2005-02-24 15:44 UTC (permalink / raw)
  To: gcc-bugs

Got ICE compiling boost-1.32 with 4.0.0 20050223

preprocessed file: http://napalm.sf.cz/xml_oarchive.ii.gz

# g++ -v ./xml_oarchive.ii 
Using built-in specs.
Target: i686-pc-linux-gnu
Configured with: ../gcc/configure --enable-languages=c,c++
--enable-threads=posix --enable-share
Thread model: posix
gcc version 4.0.0 20050223 (experimental)
 /usr/local/libexec/gcc/i686-pc-linux-gnu/4.0.0/cc1plus -fpreprocessed
./xml_oarchive.ii -quiet -dumpbase xml_oarchive.ii -mtune=pentiumpro -auxbase
xml_oarchive -version -o /tmp/ccN4IMmj.s
GNU C++ version 4.0.0 20050223 (experimental) (i686-pc-linux-gnu)
        compiled by GNU C version 4.0.0 20050223 (experimental).
GGC heuristics: --param ggc-min-expand=30 --param ggc-min-heapsize=4096
./boost/archive/detail/oserializer.hpp: In static member function 'static void
boost::archive::detail::save_enum_type<Archive, T>::invoke(Archive&, const T&)':
./boost/archive/detail/oserializer.hpp:491: 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 on boost-1.32 with latest cvs
           Product: gcc
           Version: 4.0.0
            Status: UNCONFIRMED
          Severity: normal
          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=20186


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

* [Bug c++/20186] [4.0 regression] ICE on boost-1.32 with latest cvs
  2005-02-24 15:44 [Bug c++/20186] New: ICE on boost-1.32 with latest cvs jan dot dvorak at kraxnet dot cz
@ 2005-02-24 15:49 ` reichelt at gcc dot gnu dot org
  2005-02-24 16:21 ` pinskia at gcc dot gnu dot org
                   ` (10 subsequent siblings)
  11 siblings, 0 replies; 13+ messages in thread
From: reichelt at gcc dot gnu dot org @ 2005-02-24 15:49 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From reichelt at gcc dot gnu dot org  2005-02-24 12:12 -------
Confirmed. Reduced testcase:

======================================
template<typename T> void foo(T &t)
{
    int i = static_cast<int>(t);
}
======================================


-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |reichelt at gcc dot gnu dot
                   |                            |org
             Status|UNCONFIRMED                 |NEW
     Ever Confirmed|                            |1
           Keywords|                            |ice-on-valid-code, monitored
   Last reconfirmed|0000-00-00 00:00:00         |2005-02-24 12:12:53
               date|                            |
            Summary|ICE on boost-1.32 with      |[4.0 regression] ICE on
                   |latest cvs                  |boost-1.32 with latest cvs
   Target Milestone|---                         |4.0.0


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


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

* [Bug c++/20186] [4.0 regression] ICE on boost-1.32 with latest cvs
  2005-02-24 15:44 [Bug c++/20186] New: ICE on boost-1.32 with latest cvs jan dot dvorak at kraxnet dot cz
  2005-02-24 15:49 ` [Bug c++/20186] [4.0 regression] " reichelt at gcc dot gnu dot org
@ 2005-02-24 16:21 ` pinskia at gcc dot gnu dot org
  2005-02-25 16:00 ` pinskia at gcc dot gnu dot org
                   ` (9 subsequent siblings)
  11 siblings, 0 replies; 13+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-02-24 16:21 UTC (permalink / raw)
  To: gcc-bugs



-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
           Severity|normal                      |critical
           Priority|P2                          |P1


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


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

* [Bug c++/20186] [4.0 regression] ICE on boost-1.32 with latest cvs
  2005-02-24 15:44 [Bug c++/20186] New: ICE on boost-1.32 with latest cvs jan dot dvorak at kraxnet dot cz
  2005-02-24 15:49 ` [Bug c++/20186] [4.0 regression] " reichelt at gcc dot gnu dot org
  2005-02-24 16:21 ` pinskia at gcc dot gnu dot org
@ 2005-02-25 16:00 ` pinskia at gcc dot gnu dot org
  2005-03-04 16:15 ` [Bug c++/20186] [4.0/4.1 regression] ICE with static_cast and type dependent variable (templates) nathan at gcc dot gnu dot org
                   ` (8 subsequent siblings)
  11 siblings, 0 replies; 13+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-02-25 16:00 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From pinskia at gcc dot gnu dot org  2005-02-25 06:17 -------
Hmm, this is a really new bug as it works with 20050218.

-- 


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


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

* [Bug c++/20186] [4.0/4.1 regression] ICE with static_cast and type dependent variable (templates)
  2005-02-24 15:44 [Bug c++/20186] New: ICE on boost-1.32 with latest cvs jan dot dvorak at kraxnet dot cz
                   ` (2 preceding siblings ...)
  2005-02-25 16:00 ` pinskia at gcc dot gnu dot org
@ 2005-03-04 16:15 ` nathan at gcc dot gnu dot org
  2005-03-06 15:17 ` pinskia at gcc dot gnu dot org
                   ` (7 subsequent siblings)
  11 siblings, 0 replies; 13+ messages in thread
From: nathan at gcc dot gnu dot org @ 2005-03-04 16:15 UTC (permalink / raw)
  To: gcc-bugs



-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
         AssignedTo|unassigned at gcc dot gnu   |nathan at gcc dot gnu dot
                   |dot org                     |org
             Status|NEW                         |ASSIGNED
   Last reconfirmed|2005-02-26 18:41:56         |2005-03-04 16:15:02
               date|                            |


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


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

* [Bug c++/20186] [4.0/4.1 regression] ICE with static_cast and type dependent variable (templates)
  2005-02-24 15:44 [Bug c++/20186] New: ICE on boost-1.32 with latest cvs jan dot dvorak at kraxnet dot cz
                   ` (3 preceding siblings ...)
  2005-03-04 16:15 ` [Bug c++/20186] [4.0/4.1 regression] ICE with static_cast and type dependent variable (templates) nathan at gcc dot gnu dot org
@ 2005-03-06 15:17 ` pinskia at gcc dot gnu dot org
  2005-03-09 12:57 ` cvs-commit at gcc dot gnu dot org
                   ` (6 subsequent siblings)
  11 siblings, 0 replies; 13+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-03-06 15:17 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From pinskia at gcc dot gnu dot org  2005-03-06 15:17 -------
*** Bug 20341 has been marked as a duplicate of this bug. ***

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |giovannibajo at libero dot
                   |                            |it


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


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

* [Bug c++/20186] [4.0/4.1 regression] ICE with static_cast and type dependent variable (templates)
  2005-02-24 15:44 [Bug c++/20186] New: ICE on boost-1.32 with latest cvs jan dot dvorak at kraxnet dot cz
                   ` (4 preceding siblings ...)
  2005-03-06 15:17 ` pinskia at gcc dot gnu dot org
@ 2005-03-09 12:57 ` cvs-commit at gcc dot gnu dot org
  2005-03-09 13:15 ` cvs-commit at gcc dot gnu dot org
                   ` (5 subsequent siblings)
  11 siblings, 0 replies; 13+ messages in thread
From: cvs-commit at gcc dot gnu dot org @ 2005-03-09 12:57 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From cvs-commit at gcc dot gnu dot org  2005-03-09 12:57 -------
Subject: Bug 20186

CVSROOT:	/cvs/gcc
Module name:	gcc
Changes by:	nathan@gcc.gnu.org	2005-03-09 12:57:14

Modified files:
	gcc/cp         : ChangeLog pt.c 
	gcc/testsuite  : ChangeLog 
Added files:
	gcc/testsuite/g++.dg/template: non-dependent12.C 

Log message:
	cp:
	PR c++/20186
	* pt.c (contains_dependent_cast_p): New.
	(fold_non_dependent_expr): Call it.
	testsuite:
	PR c++/20186
	* g++.dg/template/non-dependent12.C: New.

Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/cp/ChangeLog.diff?cvsroot=gcc&r1=1.4655&r2=1.4656
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/cp/pt.c.diff?cvsroot=gcc&r1=1.979&r2=1.980
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/ChangeLog.diff?cvsroot=gcc&r1=1.5130&r2=1.5131
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/g++.dg/template/non-dependent12.C.diff?cvsroot=gcc&r1=NONE&r2=1.1



-- 


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


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

* [Bug c++/20186] [4.0/4.1 regression] ICE with static_cast and type dependent variable (templates)
  2005-02-24 15:44 [Bug c++/20186] New: ICE on boost-1.32 with latest cvs jan dot dvorak at kraxnet dot cz
                   ` (5 preceding siblings ...)
  2005-03-09 12:57 ` cvs-commit at gcc dot gnu dot org
@ 2005-03-09 13:15 ` cvs-commit at gcc dot gnu dot org
  2005-03-09 13:17 ` nathan at gcc dot gnu dot org
                   ` (4 subsequent siblings)
  11 siblings, 0 replies; 13+ messages in thread
From: cvs-commit at gcc dot gnu dot org @ 2005-03-09 13:15 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From cvs-commit at gcc dot gnu dot org  2005-03-09 13:15 -------
Subject: Bug 20186

CVSROOT:	/cvs/gcc
Module name:	gcc
Branch: 	gcc-4_0-branch
Changes by:	nathan@gcc.gnu.org	2005-03-09 13:14:58

Modified files:
	gcc/cp         : ChangeLog pt.c 
	gcc/testsuite  : ChangeLog 
Added files:
	gcc/testsuite/g++.dg/template: non-dependent12.C 

Log message:
	cp:
	PR c++/20186
	* pt.c (contains_dependent_cast_p): New.
	(fold_non_dependent_expr): Call it.
	testsuite:
	PR c++/20186
	* g++.dg/template/non-dependent12.C: New.

Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/cp/ChangeLog.diff?cvsroot=gcc&only_with_tag=gcc-4_0-branch&r1=1.4648.2.6&r2=1.4648.2.7
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/cp/pt.c.diff?cvsroot=gcc&only_with_tag=gcc-4_0-branch&r1=1.978.2.1&r2=1.978.2.2
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/ChangeLog.diff?cvsroot=gcc&only_with_tag=gcc-4_0-branch&r1=1.5084.2.27&r2=1.5084.2.28
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/g++.dg/template/non-dependent12.C.diff?cvsroot=gcc&only_with_tag=gcc-4_0-branch&r1=NONE&r2=1.1.2.1



-- 


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


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

* [Bug c++/20186] [4.0/4.1 regression] ICE with static_cast and type dependent variable (templates)
  2005-02-24 15:44 [Bug c++/20186] New: ICE on boost-1.32 with latest cvs jan dot dvorak at kraxnet dot cz
                   ` (6 preceding siblings ...)
  2005-03-09 13:15 ` cvs-commit at gcc dot gnu dot org
@ 2005-03-09 13:17 ` nathan at gcc dot gnu dot org
  2005-03-13 19:24 ` nathan at gcc dot gnu dot org
                   ` (3 subsequent siblings)
  11 siblings, 0 replies; 13+ messages in thread
From: nathan at gcc dot gnu dot org @ 2005-03-09 13:17 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From nathan at gcc dot gnu dot org  2005-03-09 13:16 -------
2005-03-08  Nathan Sidwell  <nathan@codesourcery.com>

	PR c++/20186
	* pt.c (contains_dependent_cast_p): New.
	(fold_non_dependent_expr): Call it.


-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |RESOLVED
         Resolution|                            |FIXED


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


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

* [Bug c++/20186] [4.0/4.1 regression] ICE with static_cast and type dependent variable (templates)
  2005-02-24 15:44 [Bug c++/20186] New: ICE on boost-1.32 with latest cvs jan dot dvorak at kraxnet dot cz
                   ` (7 preceding siblings ...)
  2005-03-09 13:17 ` nathan at gcc dot gnu dot org
@ 2005-03-13 19:24 ` nathan at gcc dot gnu dot org
  2005-03-17 13:27 ` cvs-commit at gcc dot gnu dot org
                   ` (2 subsequent siblings)
  11 siblings, 0 replies; 13+ messages in thread
From: nathan at gcc dot gnu dot org @ 2005-03-13 19:24 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From nathan at gcc dot gnu dot org  2005-03-13 19:24 -------
inappropriate fix

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |REOPENED
         Resolution|FIXED                       |


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


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

* [Bug c++/20186] [4.0/4.1 regression] ICE with static_cast and type dependent variable (templates)
  2005-02-24 15:44 [Bug c++/20186] New: ICE on boost-1.32 with latest cvs jan dot dvorak at kraxnet dot cz
                   ` (8 preceding siblings ...)
  2005-03-13 19:24 ` nathan at gcc dot gnu dot org
@ 2005-03-17 13:27 ` cvs-commit at gcc dot gnu dot org
  2005-03-17 13:32 ` cvs-commit at gcc dot gnu dot org
  2005-03-17 13:32 ` nathan at gcc dot gnu dot org
  11 siblings, 0 replies; 13+ messages in thread
From: cvs-commit at gcc dot gnu dot org @ 2005-03-17 13:27 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From cvs-commit at gcc dot gnu dot org  2005-03-17 13:26 -------
Subject: Bug 20186

CVSROOT:	/cvs/gcc
Module name:	gcc
Changes by:	nathan@gcc.gnu.org	2005-03-17 13:26:42

Modified files:
	gcc/cp         : ChangeLog pt.c 

Log message:
	cp:
	PR c++/20186
	* pt.c (contains_dependent_cast_p): Remove.
	(fold_non_dependent_expr): Don't use it.
	(value_dependent_expression_p): Use a switch statement.
	reference_exprs can be dependent.

Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/cp/ChangeLog.diff?cvsroot=gcc&r1=1.4663&r2=1.4664
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/cp/pt.c.diff?cvsroot=gcc&r1=1.984&r2=1.985



-- 


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


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

* [Bug c++/20186] [4.0/4.1 regression] ICE with static_cast and type dependent variable (templates)
  2005-02-24 15:44 [Bug c++/20186] New: ICE on boost-1.32 with latest cvs jan dot dvorak at kraxnet dot cz
                   ` (9 preceding siblings ...)
  2005-03-17 13:27 ` cvs-commit at gcc dot gnu dot org
@ 2005-03-17 13:32 ` cvs-commit at gcc dot gnu dot org
  2005-03-17 13:32 ` nathan at gcc dot gnu dot org
  11 siblings, 0 replies; 13+ messages in thread
From: cvs-commit at gcc dot gnu dot org @ 2005-03-17 13:32 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From cvs-commit at gcc dot gnu dot org  2005-03-17 13:31 -------
Subject: Bug 20186

CVSROOT:	/cvs/gcc
Module name:	gcc
Branch: 	gcc-4_0-branch
Changes by:	nathan@gcc.gnu.org	2005-03-17 13:30:57

Modified files:
	gcc/cp         : ChangeLog pt.c 

Log message:
	cp:
	PR c++/20186
	* pt.c (contains_dependent_cast_p): Remove.
	(fold_non_dependent_expr): Don't use it.
	(value_dependent_expression_p): Reference_exprs can be dependent.

Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/cp/ChangeLog.diff?cvsroot=gcc&only_with_tag=gcc-4_0-branch&r1=1.4648.2.10&r2=1.4648.2.11
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/cp/pt.c.diff?cvsroot=gcc&only_with_tag=gcc-4_0-branch&r1=1.978.2.4&r2=1.978.2.5



-- 


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


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

* [Bug c++/20186] [4.0/4.1 regression] ICE with static_cast and type dependent variable (templates)
  2005-02-24 15:44 [Bug c++/20186] New: ICE on boost-1.32 with latest cvs jan dot dvorak at kraxnet dot cz
                   ` (10 preceding siblings ...)
  2005-03-17 13:32 ` cvs-commit at gcc dot gnu dot org
@ 2005-03-17 13:32 ` nathan at gcc dot gnu dot org
  11 siblings, 0 replies; 13+ messages in thread
From: nathan at gcc dot gnu dot org @ 2005-03-17 13:32 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From nathan at gcc dot gnu dot org  2005-03-17 13:31 -------
4.0
2005-03-17  Nathan Sidwell  <nathan@codesourcery.com>

	PR c++/20186
	* pt.c (contains_dependent_cast_p): Remove.
	(fold_non_dependent_expr): Don't use it.
	(value_dependent_expression_p): Reference_exprs can be dependent.

HEAD
2005-03-17  Nathan Sidwell  <nathan@codesourcery.com>

	PR c++/20186
	* pt.c (contains_dependent_cast_p): Remove.
	(fold_non_dependent_expr): Don't use it.
	(value_dependent_expression_p): Use a switch statement.
	reference_exprs can be dependent.


-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|REOPENED                    |RESOLVED
         Resolution|                            |FIXED


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


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

end of thread, other threads:[~2005-03-17 13:32 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-02-24 15:44 [Bug c++/20186] New: ICE on boost-1.32 with latest cvs jan dot dvorak at kraxnet dot cz
2005-02-24 15:49 ` [Bug c++/20186] [4.0 regression] " reichelt at gcc dot gnu dot org
2005-02-24 16:21 ` pinskia at gcc dot gnu dot org
2005-02-25 16:00 ` pinskia at gcc dot gnu dot org
2005-03-04 16:15 ` [Bug c++/20186] [4.0/4.1 regression] ICE with static_cast and type dependent variable (templates) nathan at gcc dot gnu dot org
2005-03-06 15:17 ` pinskia at gcc dot gnu dot org
2005-03-09 12:57 ` cvs-commit at gcc dot gnu dot org
2005-03-09 13:15 ` cvs-commit at gcc dot gnu dot org
2005-03-09 13:17 ` nathan at gcc dot gnu dot org
2005-03-13 19:24 ` nathan at gcc dot gnu dot org
2005-03-17 13:27 ` cvs-commit at gcc dot gnu dot org
2005-03-17 13:32 ` cvs-commit at gcc dot gnu dot org
2005-03-17 13:32 ` nathan 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).