[Bug c++/23797] [3.4/4.0/4.1 Regression] ICE on typename outside template

2005-10-12 Thread nathan at gcc dot gnu dot org


-- 

nathan at gcc dot gnu dot org changed:

   What|Removed |Added

 AssignedTo|unassigned at gcc dot gnu   |nathan at gcc dot gnu dot
   |dot org |org
 Status|NEW |ASSIGNED
   Last reconfirmed|2005-09-09 23:10:06 |2005-10-12 13:05:50
   date||


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

--- You are receiving this mail because: ---
You are on the CC list for the bug, or are watching someone who is.


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



[Bug c++/23797] [3.4/4.0/4.1 Regression] ICE on typename outside template

2005-10-12 Thread nathan at gcc dot gnu dot org


--- Comment #10 from nathan at gcc dot gnu dot org  2005-10-12 18:23 ---
Fixed mainline and 4.0
2005-10-12  Nathan Sidwell  <[EMAIL PROTECTED]>

PR c++/23797
* parser.c (cp_parser_functional_cast): Cope when TYPE is not a
TYPE_DECL.  Use dependent_type_p to check type.
* pt.c (uses_template_parms_p): Use dependent_type_p for a
TYPE_DECL.
(type_dependent_expression_p): Assert we've not been given a
TYPE_DECL.


-- 


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

--- You are receiving this mail because: ---
You are on the CC list for the bug, or are watching someone who is.


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



[Bug c++/22551] [4.0/4.1 Regression] [ICE] in tree_low_cst, at tree.c:3843

2005-10-13 Thread nathan at gcc dot gnu dot org


-- 

nathan at gcc dot gnu dot org changed:

   What|Removed |Added

 AssignedTo|unassigned at gcc dot gnu   |nathan at gcc dot gnu dot
   |dot org |org
 Status|NEW |ASSIGNED
   Last reconfirmed|2005-07-18 17:27:27 |2005-10-13 11:52:39
   date||


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

--- You are receiving this mail because: ---
You are on the CC list for the bug, or are watching someone who is.


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



[Bug c++/23797] [3.4 Regression] ICE on typename outside template

2005-10-13 Thread nathan at gcc dot gnu dot org


--- Comment #12 from nathan at gcc dot gnu dot org  2005-10-13 13:14 ---
probably should be backported to 3.4


-- 

nathan at gcc dot gnu dot org changed:

   What|Removed |Added

 Status|RESOLVED|REOPENED
 Resolution|FIXED   |
Summary|[3.4/4.0/4.1 Regression] ICE|[3.4 Regression] ICE on
   |on typename outside template|typename outside template
   Target Milestone|4.0.3   |3.4.6


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

--- You are receiving this mail because: ---
You are on the CC list for the bug, or are watching someone who is.


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



[Bug c++/23797] [3.4 Regression] ICE on typename outside template

2005-10-14 Thread nathan at gcc dot gnu dot org


-- 

nathan at gcc dot gnu dot org changed:

   What|Removed |Added

   Target Milestone|3.4.6   |4.0.3


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

--- You are receiving this mail because: ---
You are on the CC list for the bug, or are watching someone who is.


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



[Bug c++/22551] [4.0/4.1 Regression] [ICE] in tree_low_cst, at tree.c:3843

2005-10-14 Thread nathan at gcc dot gnu dot org


--- Comment #8 from nathan at gcc dot gnu dot org  2005-10-14 13:00 ---
fixed mainline and 4.0
2005-10-14  Nathan Sidwell  <[EMAIL PROTECTED]>

PR c++/22551
* c-common.c (c_add_case_label): Clear LOW_VALUE and HIGH_VALUE's
overflow flags.  Refactor some conditionals.


-- 

nathan at gcc dot gnu dot org changed:

   What|Removed |Added

 Status|ASSIGNED|RESOLVED
 Resolution||FIXED


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

--- You are receiving this mail because: ---
You are on the CC list for the bug, or are watching someone who is.


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



[Bug c++/22551] [4.0/4.1 Regression] [ICE] in tree_low_cst, at tree.c:3843

2005-10-16 Thread nathan at gcc dot gnu dot org


--- Comment #10 from nathan at gcc dot gnu dot org  2005-10-16 09:02 ---
something is not quite right ...


-- 

nathan at gcc dot gnu dot org changed:

   What|Removed |Added

 Status|RESOLVED|REOPENED
 Resolution|FIXED   |


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

--- You are receiving this mail because: ---
You are on the CC list for the bug, or are watching someone who is.


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



[Bug c++/22551] [4.0/4.1 Regression] [ICE] in tree_low_cst, at tree.c:3843

2005-10-17 Thread nathan at gcc dot gnu dot org


--- Comment #12 from nathan at gcc dot gnu dot org  2005-10-17 08:36 ---
the overflow happens in the static constant assignment 'int b = 0x8000'
assigns an unsigned long to an int, and overflows.  The int_cst as b's
DCL_INITIAL has the overflow flag set.  I rejected clearing the overflow flag
at that point, because I was worried about other overflow paths on the case
label expression (although I failed to excite any).


-- 


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

--- You are receiving this mail because: ---
You are on the CC list for the bug, or are watching someone who is.


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



[Bug c++/22551] [4.0/4.1 Regression] [ICE] in tree_low_cst, at tree.c:3843

2005-10-17 Thread nathan at gcc dot gnu dot org


--- Comment #14 from nathan at gcc dot gnu dot org  2005-10-17 13:57 ---
refixed
2005-10-17  Nathan Sidwell  <[EMAIL PROTECTED]>

PR c++/22551
* c-common.c (c_add_case_label): Revert my 2005-10-14 clearing of
overflow flags.

2005-10-17  Nathan Sidwell  <[EMAIL PROTECTED]>

PR c++/22551
* g++.dg/other/switch2.C: Remove expected warnings.


-- 

nathan at gcc dot gnu dot org changed:

   What|Removed |Added

 Status|REOPENED|RESOLVED
 Resolution||FIXED


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

--- You are receiving this mail because: ---
You are on the CC list for the bug, or are watching someone who is.


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



[Bug c++/22551] [4.0/4.1 Regression] [ICE] in tree_low_cst, at tree.c:3843

2005-10-19 Thread nathan at gcc dot gnu dot org


--- Comment #17 from nathan at gcc dot gnu dot org  2005-10-19 12:50 ---
fix for 4.0 2005-10-19  Nathan Sidwell  <[EMAIL PROTECTED]>

PR c++/22551
* typeck2.c (digest_init): Clear overflow flags on the folded
initializer.


-- 


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

--- You are receiving this mail because: ---
You are on the CC list for the bug, or are watching someone who is.


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



[Bug c++/23797] [3.4 Regression] ICE on typename outside template

2005-10-19 Thread nathan at gcc dot gnu dot org


-- 

nathan at gcc dot gnu dot org changed:

   What|Removed |Added

 AssignedTo|nathan at gcc dot gnu dot   |unassigned at gcc dot gnu
   |org |dot org
 Status|REOPENED|NEW


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

--- You are receiving this mail because: ---
You are on the CC list for the bug, or are watching someone who is.


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



[Bug c++/17431] [3.4/4.0 regression] Internal error: Segmentation fault (program cc1plus)

2004-11-29 Thread nathan at gcc dot gnu dot org

--- Additional Comments From nathan at gcc dot gnu dot org  2004-11-29 
11:48 ---
(In reply to comment #12)
> Nathan, even if there is not an official committee position on the correct 
> semantic of this program, is there way to get a patch in to stop cc1plus from 
> segfaulting?

TC1 fixed this, and EDG were kind enough to point me at the paper describing
the problem. I am working on this

-- 


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

--- You are receiving this mail because: ---
You are on the CC list for the bug, or are watching someone who is.




[Bug c++/17431] [3.4/4.0 regression] Internal error: Segmentation fault (program cc1plus)

2004-12-01 Thread nathan at gcc dot gnu dot org

--- Additional Comments From nathan at gcc dot gnu dot org  2004-12-01 
10:22 ---
2004-12-01  Nathan Sidwell  <[EMAIL PROTECTED]>

PR c++/17431
* call.c (standard_conversion): Add FLAGS parameter. Do not allow
derived to base conversion when checking constructor
accessibility.
(implicit_conversion): Pass FLAGS to standard_conversion.
(check_constructir_callable): Disallow conversion functions.


(I was incorrect about this being a TC1 change, it was a change during drafting
of the
1998 std)

-- 


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

--- You are receiving this mail because: ---
You are on the CC list for the bug, or are watching someone who is.




[Bug c++/17431] [3.4 regression] Internal error: Segmentation fault (program cc1plus)

2004-12-01 Thread nathan at gcc dot gnu dot org

--- Additional Comments From nathan at gcc dot gnu dot org  2004-12-01 
12:58 ---
fixed on 3.4 branch too

-- 
   What|Removed |Added

 Status|ASSIGNED|RESOLVED
 Resolution||FIXED


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

--- You are receiving this mail because: ---
You are on the CC list for the bug, or are watching someone who is.