--- Comment #8 from reichelt at gcc dot gnu dot org 2007-07-23 22:05
---
Since Nathan's patch for PR32839, we get the following error message for the
testcase in comment #7 (and similar messages for the original testcase, the
testcase in comment #6, and PR 24606):
bug.cc: In function '
--- Comment #9 from reichelt at gcc dot gnu dot org 2007-07-23 22:08
---
*** Bug 24606 has been marked as a duplicate of this bug. ***
--
Bug 24602 depends on bug 24606, which changed state.
Bug 24606 Summary: ICE on template function which gets an template agrument as
a function w
--- Comment #10 from reichelt at gcc dot gnu dot org 2007-11-01 12:52
---
Nathan confirmed in private mail that the compiler now does the right thing.
So closing as fixed.
--
reichelt at gcc dot gnu dot org changed:
What|Removed |Added
---
--- Comment #11 from reichelt at gcc dot gnu dot org 2008-03-29 17:32
---
*** Bug 35596 has been marked as a duplicate of this bug. ***
--
reichelt at gcc dot gnu dot org changed:
What|Removed |Added
---
--- Comment #1 from xeon at gmx dot ch 2005-10-31 23:46 ---
Created an attachment (id=10092)
--> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=10092&action=view)
preprocessed source file
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24602
--- Comment #2 from pinskia at gcc dot gnu dot org 2005-11-01 00:33 ---
This is a true C++ front-end problem, in that the seg fault is due to a stack
overflow in the C++ front-end. I think this is a regression but I have not
tried to reduce it yet.
--
http://gcc.gnu.org/bugzilla/sh
--- Comment #3 from pinskia at gcc dot gnu dot org 2005-11-01 02:22 ---
With the source here, I was able to find a different issue which I will be
posting soon.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24602
--- Comment #4 from pinskia at gcc dot gnu dot org 2005-11-01 02:23 ---
Note the backtrace for the orginal issue is:
#28 0x0040bb94 in convert_like_real (convs=Variable "convs" is not
available.
) at /home/pinskia/src/newtest/trunk/gcc/cp/call.c:4379
#29 0x0040c241 in bui
--- Comment #5 from pinskia at gcc dot gnu dot org 2005-11-01 03:09 ---
PR 24606 is the other issue I found.
--
pinskia at gcc dot gnu dot org changed:
What|Removed |Added
--- Comment #6 from pinskia at gcc dot gnu dot org 2005-11-01 04:36 ---
Reduced testcase:
struct string;
struct _Deque_iterator {
string &operator*() const;
};
template void for_each(_Function __f) {
_Deque_iterator __first1;
__f(*__first1);
}
struct locale {
loc
--- Comment #7 from reichelt at gcc dot gnu dot org 2005-11-17 11:59
---
Here's a sightly simpler testcase.
If I remove the copy-ctor from A, I get the failure from PR24606.
=
template void foo(F f)
{
f();
}
struct A
{
A();
A(const A
11 matches
Mail list logo