public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/21592] New: ICE
@ 2005-05-15 20:17 igodard at pacbell dot net
2005-05-15 20:18 ` [Bug c++/21592] ICE igodard at pacbell dot net
` (11 more replies)
0 siblings, 12 replies; 13+ messages in thread
From: igodard at pacbell dot net @ 2005-05-15 20:17 UTC (permalink / raw)
To: gcc-bugs
--
Summary: ICE
Product: gcc
Version: 3.4.0
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: c++
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: igodard at pacbell dot net
CC: gcc-bugs at gcc dot gnu dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21592
^ permalink raw reply [flat|nested] 13+ messages in thread
* [Bug c++/21592] ICE
2005-05-15 20:17 [Bug c++/21592] New: ICE igodard at pacbell dot net
2005-05-15 20:18 ` [Bug c++/21592] ICE igodard at pacbell dot net
@ 2005-05-15 20:18 ` igodard at pacbell dot net
2005-05-15 20:57 ` [Bug c++/21592] [3.4/4.0/4.1 Regression] ICE in resolve_overloaded_unification pinskia at gcc dot gnu dot org
` (9 subsequent siblings)
11 siblings, 0 replies; 13+ messages in thread
From: igodard at pacbell dot net @ 2005-05-15 20:18 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From igodard at pacbell dot net 2005-05-15 20:18 -------
Created an attachment (id=8893)
--> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=8893&action=view)
compiler output
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21592
^ permalink raw reply [flat|nested] 13+ messages in thread
* [Bug c++/21592] ICE
2005-05-15 20:17 [Bug c++/21592] New: ICE igodard at pacbell dot net
@ 2005-05-15 20:18 ` igodard at pacbell dot net
2005-05-15 20:18 ` igodard at pacbell dot net
` (10 subsequent siblings)
11 siblings, 0 replies; 13+ messages in thread
From: igodard at pacbell dot net @ 2005-05-15 20:18 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From igodard at pacbell dot net 2005-05-15 20:18 -------
Created an attachment (id=8894)
--> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=8894&action=view)
source code (compressed)
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21592
^ permalink raw reply [flat|nested] 13+ messages in thread
* [Bug c++/21592] [3.4/4.0/4.1 Regression] ICE in resolve_overloaded_unification
2005-05-15 20:17 [Bug c++/21592] New: ICE igodard at pacbell dot net
2005-05-15 20:18 ` [Bug c++/21592] ICE igodard at pacbell dot net
2005-05-15 20:18 ` igodard at pacbell dot net
@ 2005-05-15 20:57 ` pinskia at gcc dot gnu dot org
2005-05-15 21:02 ` [Bug c++/21592] [3.4/4.0/4.1 Regression] ICE in resolve_overloaded_unification/arg_assoc pinskia 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-05-15 20:57 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From pinskia at gcc dot gnu dot org 2005-05-15 20:57 -------
Confirmed, reduced testcase:
class cl
{
int str();
void str(const int& __s);
};
template <typename T>
int &f(const T& t);
template<int s>
void g()
{
cl str;
f(str.str);
}
-------
I don't know if this is valid code or not, 3.3.3 accepted it and so does ICC even in strict mode.
--
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Ever Confirmed| |1
Known to fail| |3.4.0 4.0.0 4.1.0
Known to work| |3.3.3
Last reconfirmed|0000-00-00 00:00:00 |2005-05-15 20:57:07
date| |
Summary|ICE |[3.4/4.0/4.1 Regression] ICE
| |in
| |resolve_overloaded_unificati
| |on
Target Milestone|--- |3.4.4
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21592
^ permalink raw reply [flat|nested] 13+ messages in thread
* [Bug c++/21592] [3.4/4.0/4.1 Regression] ICE in resolve_overloaded_unification/arg_assoc
2005-05-15 20:17 [Bug c++/21592] New: ICE igodard at pacbell dot net
` (2 preceding siblings ...)
2005-05-15 20:57 ` [Bug c++/21592] [3.4/4.0/4.1 Regression] ICE in resolve_overloaded_unification pinskia at gcc dot gnu dot org
@ 2005-05-15 21:02 ` pinskia at gcc dot gnu dot org
2005-05-16 1:43 ` giovannibajo at libero dot it
` (7 subsequent siblings)
11 siblings, 0 replies; 13+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-05-15 21:02 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From pinskia at gcc dot gnu dot org 2005-05-15 21:02 -------
Note the ICE moved from arg_assoc to resolve_overloaded_unification in 4.0.0.
--
What |Removed |Added
----------------------------------------------------------------------------
Summary|[3.4/4.0/4.1 Regression] ICE|[3.4/4.0/4.1 Regression] ICE
|in |in
|resolve_overloaded_unificati|resolve_overloaded_unificati
|on |on/arg_assoc
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21592
^ permalink raw reply [flat|nested] 13+ messages in thread
* [Bug c++/21592] [3.4/4.0/4.1 Regression] ICE in resolve_overloaded_unification/arg_assoc
2005-05-15 20:17 [Bug c++/21592] New: ICE igodard at pacbell dot net
` (3 preceding siblings ...)
2005-05-15 21:02 ` [Bug c++/21592] [3.4/4.0/4.1 Regression] ICE in resolve_overloaded_unification/arg_assoc pinskia at gcc dot gnu dot org
@ 2005-05-16 1:43 ` giovannibajo at libero dot it
2005-05-19 17:28 ` mmitchel at gcc dot gnu dot org
` (6 subsequent siblings)
11 siblings, 0 replies; 13+ messages in thread
From: giovannibajo at libero dot it @ 2005-05-16 1:43 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From giovannibajo at libero dot it 2005-05-16 01:43 -------
Definitely invalid code, you can't do anything with a bound pointer in C++.
Comeau strict mode reports the error:
"ComeauTest.c", line 14: error: a pointer to a bound function may only be used
to
call the function
Wild Guess: You're calling a member function and forgot the ()'s
f(str.str);
^
--
What |Removed |Added
----------------------------------------------------------------------------
Keywords| |ice-on-invalid-code
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21592
^ permalink raw reply [flat|nested] 13+ messages in thread
* [Bug c++/21592] [3.4/4.0/4.1 Regression] ICE in resolve_overloaded_unification/arg_assoc
2005-05-15 20:17 [Bug c++/21592] New: ICE igodard at pacbell dot net
` (4 preceding siblings ...)
2005-05-16 1:43 ` giovannibajo at libero dot it
@ 2005-05-19 17:28 ` mmitchel at gcc dot gnu dot org
2005-06-22 11:43 ` tkoenig at gcc dot gnu dot org
` (5 subsequent siblings)
11 siblings, 0 replies; 13+ messages in thread
From: mmitchel at gcc dot gnu dot org @ 2005-05-19 17:28 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=21592
^ permalink raw reply [flat|nested] 13+ messages in thread
* [Bug c++/21592] [3.4/4.0/4.1 Regression] ICE in resolve_overloaded_unification/arg_assoc
2005-05-15 20:17 [Bug c++/21592] New: ICE igodard at pacbell dot net
` (5 preceding siblings ...)
2005-05-19 17:28 ` mmitchel at gcc dot gnu dot org
@ 2005-06-22 11:43 ` tkoenig at gcc dot gnu dot org
2005-07-22 18:05 ` pinskia at gcc dot gnu dot org
` (4 subsequent siblings)
11 siblings, 0 replies; 13+ messages in thread
From: tkoenig at gcc dot gnu dot org @ 2005-06-22 11:43 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From tkoenig at gcc dot gnu dot org 2005-06-22 11:42 -------
*** Bug 22124 has been marked as a duplicate of this bug. ***
--
What |Removed |Added
----------------------------------------------------------------------------
CC| |tkoenig at gcc dot gnu dot
| |org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21592
^ permalink raw reply [flat|nested] 13+ messages in thread
* [Bug c++/21592] [3.4/4.0/4.1 Regression] ICE in resolve_overloaded_unification/arg_assoc
2005-05-15 20:17 [Bug c++/21592] New: ICE igodard at pacbell dot net
` (6 preceding siblings ...)
2005-06-22 11:43 ` tkoenig at gcc dot gnu dot org
@ 2005-07-22 18:05 ` pinskia at gcc dot gnu dot org
2005-07-22 21:15 ` pinskia at gcc dot gnu dot org
` (3 subsequent siblings)
11 siblings, 0 replies; 13+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-07-22 18:05 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From pinskia at gcc dot gnu dot org 2005-07-22 17:59 -------
*** Bug 22611 has been marked as a duplicate of this bug. ***
--
What |Removed |Added
----------------------------------------------------------------------------
CC| |krzysan at skrzynka dot pl
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21592
^ permalink raw reply [flat|nested] 13+ messages in thread
* [Bug c++/21592] [3.4/4.0/4.1 Regression] ICE in resolve_overloaded_unification/arg_assoc
2005-05-15 20:17 [Bug c++/21592] New: ICE igodard at pacbell dot net
` (7 preceding siblings ...)
2005-07-22 18:05 ` pinskia at gcc dot gnu dot org
@ 2005-07-22 21:15 ` pinskia at gcc dot gnu dot org
2005-07-25 13:26 ` reichelt at gcc dot gnu dot org
` (2 subsequent siblings)
11 siblings, 0 replies; 13+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-07-22 21:15 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From pinskia at gcc dot gnu dot org 2005-07-22 21:13 -------
Moving to 4.0.2 pre Mark.
--
What |Removed |Added
----------------------------------------------------------------------------
Target Milestone|3.4.5 |4.0.2
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21592
^ permalink raw reply [flat|nested] 13+ messages in thread
* [Bug c++/21592] [3.4/4.0/4.1 Regression] ICE in resolve_overloaded_unification/arg_assoc
2005-05-15 20:17 [Bug c++/21592] New: ICE igodard at pacbell dot net
` (8 preceding siblings ...)
2005-07-22 21:15 ` pinskia at gcc dot gnu dot org
@ 2005-07-25 13:26 ` reichelt at gcc dot gnu dot org
2005-07-25 13:40 ` reichelt at gcc dot gnu dot org
2005-09-27 16:08 ` mmitchel at gcc dot gnu dot org
11 siblings, 0 replies; 13+ messages in thread
From: reichelt at gcc dot gnu dot org @ 2005-07-25 13:26 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From reichelt at gcc dot gnu dot org 2005-07-25 13:22 -------
*** Bug 20549 has been marked as a duplicate of this bug. ***
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21592
^ permalink raw reply [flat|nested] 13+ messages in thread
* [Bug c++/21592] [3.4/4.0/4.1 Regression] ICE in resolve_overloaded_unification/arg_assoc
2005-05-15 20:17 [Bug c++/21592] New: ICE igodard at pacbell dot net
` (9 preceding siblings ...)
2005-07-25 13:26 ` reichelt at gcc dot gnu dot org
@ 2005-07-25 13:40 ` reichelt at gcc dot gnu dot org
2005-09-27 16:08 ` mmitchel at gcc dot gnu dot org
11 siblings, 0 replies; 13+ messages in thread
From: reichelt at gcc dot gnu dot org @ 2005-07-25 13:40 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From reichelt at gcc dot gnu dot org 2005-07-25 13:26 -------
Just for completeness, a slightly reduced version of the testcase from
PR 20549:
=======================================
template<typename T> void unique(T,T);
struct A
{
int begin();
};
template<int> void foo()
{
unique(A().begin);
}
=======================================
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21592
^ permalink raw reply [flat|nested] 13+ messages in thread
* [Bug c++/21592] [3.4/4.0/4.1 Regression] ICE in resolve_overloaded_unification/arg_assoc
2005-05-15 20:17 [Bug c++/21592] New: ICE igodard at pacbell dot net
` (10 preceding siblings ...)
2005-07-25 13:40 ` reichelt at gcc dot gnu dot org
@ 2005-09-27 16:08 ` mmitchel at gcc dot gnu dot org
11 siblings, 0 replies; 13+ messages in thread
From: mmitchel at gcc dot gnu dot org @ 2005-09-27 16:08 UTC (permalink / raw)
To: gcc-bugs
--
What |Removed |Added
----------------------------------------------------------------------------
Target Milestone|4.0.2 |4.0.3
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21592
^ permalink raw reply [flat|nested] 13+ messages in thread
end of thread, other threads:[~2005-09-27 16:08 UTC | newest]
Thread overview: 13+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-05-15 20:17 [Bug c++/21592] New: ICE igodard at pacbell dot net
2005-05-15 20:18 ` [Bug c++/21592] ICE igodard at pacbell dot net
2005-05-15 20:18 ` igodard at pacbell dot net
2005-05-15 20:57 ` [Bug c++/21592] [3.4/4.0/4.1 Regression] ICE in resolve_overloaded_unification pinskia at gcc dot gnu dot org
2005-05-15 21:02 ` [Bug c++/21592] [3.4/4.0/4.1 Regression] ICE in resolve_overloaded_unification/arg_assoc pinskia at gcc dot gnu dot org
2005-05-16 1:43 ` giovannibajo at libero dot it
2005-05-19 17:28 ` mmitchel at gcc dot gnu dot org
2005-06-22 11:43 ` tkoenig at gcc dot gnu dot org
2005-07-22 18:05 ` pinskia at gcc dot gnu dot org
2005-07-22 21:15 ` pinskia at gcc dot gnu dot org
2005-07-25 13:26 ` reichelt at gcc dot gnu dot org
2005-07-25 13:40 ` reichelt at gcc dot gnu dot org
2005-09-27 16:08 ` mmitchel 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).