[Bug c++/30895] [4.1/4.2/4.3 regression] ICE with complex values in template parameter

2007-03-09 Thread simartin at gcc dot gnu dot org


--- Comment #7 from simartin at gcc dot gnu dot org  2007-03-09 18:21 
---
Fixed in 4.1, 4.2 and 4.3.


-- 

simartin at gcc dot gnu dot org changed:

   What|Removed |Added

 Status|ASSIGNED|RESOLVED
 Resolution||FIXED


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



[Bug c++/30895] [4.1/4.2/4.3 regression] ICE with complex values in template parameter

2007-03-05 Thread simartin at gcc dot gnu dot org


--- Comment #5 from simartin at gcc dot gnu dot org  2007-03-05 22:56 
---
Subject: Bug 30895

Author: simartin
Date: Mon Mar  5 22:55:58 2007
New Revision: 122578

URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=122578
Log:
2007-03-05  Simon Martin  [EMAIL PROTECTED]

PR c++/30895
* tree.c (cp_tree_equal): Properly handle COMPLEX_CST trees.

Added:
branches/gcc-4_1-branch/gcc/testsuite/g++.dg/parse/template23.C
Modified:
branches/gcc-4_1-branch/gcc/cp/ChangeLog
branches/gcc-4_1-branch/gcc/cp/tree.c
branches/gcc-4_1-branch/gcc/testsuite/ChangeLog


-- 


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



[Bug c++/30895] [4.1/4.2/4.3 regression] ICE with complex values in template parameter

2007-03-05 Thread simartin at gcc dot gnu dot org


--- Comment #6 from simartin at gcc dot gnu dot org  2007-03-05 23:05 
---
Subject: Bug 30895

Author: simartin
Date: Mon Mar  5 23:05:29 2007
New Revision: 122579

URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=122579
Log:
2007-03-05  Simon Martin  [EMAIL PROTECTED]

PR c++/30895
* tree.c (cp_tree_equal): Properly handle COMPLEX_CST trees.

Added:
branches/gcc-4_2-branch/gcc/testsuite/g++.dg/parse/template23.C
Modified:
branches/gcc-4_2-branch/gcc/cp/ChangeLog
branches/gcc-4_2-branch/gcc/cp/tree.c
branches/gcc-4_2-branch/gcc/testsuite/ChangeLog


-- 


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



[Bug c++/30895] [4.1/4.2/4.3 regression] ICE with complex values in template parameter

2007-03-04 Thread simartin at gcc dot gnu dot org


--- Comment #3 from simartin at gcc dot gnu dot org  2007-03-04 19:51 
---
Subject: Bug 30895

Author: simartin
Date: Sun Mar  4 19:50:54 2007
New Revision: 122532

URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=122532
Log:
2007-03-04  Simon Martin  [EMAIL PROTECTED]

PR c++/30895
* tree.c (cp_tree_equal): Properly handle COMPLEX_CST trees.

Added:
trunk/gcc/testsuite/g++.dg/parse/template23.C
Modified:
trunk/gcc/cp/ChangeLog
trunk/gcc/cp/tree.c
trunk/gcc/testsuite/ChangeLog


-- 


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



[Bug c++/30895] [4.1/4.2/4.3 regression] ICE with complex values in template parameter

2007-03-04 Thread mmitchel at gcc dot gnu dot org


--- Comment #4 from mmitchel at gcc dot gnu dot org  2007-03-05 04:00 
---
Simon --

Would you please test and apply the patch to 4.1 and 4.2 as well?

Thanks,

-- Mark


-- 

mmitchel at gcc dot gnu dot org changed:

   What|Removed |Added

 CC||simartin at gcc dot gnu dot
   ||org
 AssignedTo|unassigned at gcc dot gnu   |simartin at gcc dot gnu dot
   |dot org |org
 Status|NEW |ASSIGNED
   Priority|P3  |P2


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



[Bug c++/30895] [4.1/4.2/4.3 regression] ICE with complex values in template parameter

2007-02-27 Thread patchapp at dberlin dot org


--- Comment #2 from patchapp at dberlin dot org  2007-02-28 06:55 ---
Subject: Bug number PR c++/30895

A patch for this bug has been added to the patch tracker.
The mailing list url for the patch is
http://gcc.gnu.org/ml/gcc-patches/2007-02/msg02193.html


-- 


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



[Bug c++/30895] [4.1/4.2/4.3 regression] ICE with complex values in template parameter

2007-02-20 Thread reichelt at gcc dot gnu dot org


-- 

reichelt at gcc dot gnu dot org changed:

   What|Removed |Added

   Target Milestone|--- |4.1.3


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



[Bug c++/30895] [4.1/4.2/4.3 regression] ICE with complex values in template parameter

2007-02-20 Thread pinskia at gcc dot gnu dot org


--- Comment #1 from pinskia at gcc dot gnu dot org  2007-02-20 21:23 ---
 OTOH, we don't allow casts from complex int to int.
We should as this is a GCC extension.

I'm not quite sure whether the code is valid or not.
It is valid as we are using two extensions to C++, complex and complex integers
(I say two because the former is C99, while the latter is an extension to C99).


-- 

pinskia at gcc dot gnu dot org changed:

   What|Removed |Added

 Status|UNCONFIRMED |NEW
 Ever Confirmed|0   |1
   Last reconfirmed|-00-00 00:00:00 |2007-02-20 21:23:49
   date||


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