This is the mail archive of the
gcc-prs@gcc.gnu.org
mailing list for the GCC project.
c++/452: ./ace/Timer_Heap_T.cpp:402: Internal compiler error
- To: gcc-gnats at gcc dot gnu dot org
- Subject: c++/452: ./ace/Timer_Heap_T.cpp:402: Internal compiler error
- From: bancroft at zvolve dot net
- Date: 7 Aug 2000 21:07:27 -0000
- Cc: loget at zvolve dot net
- Reply-To: bancroft at zvolve dot net
- Resent-Cc: gcc-prs at gcc dot gnu dot org, gcc-bugs at gcc dot gnu dot org, jason at gcc dot gnu dot org, loget at zvolve dot net
- Resent-Reply-To: gcc-gnats@gcc.gnu.org, bancroft@zvolve.net
>Number: 452
>Category: c++
>Synopsis: ./ace/Timer_Heap_T.cpp:402: Internal compiler error
>Confidential: no
>Severity: critical
>Priority: medium
>Responsible: unassigned
>State: open
>Class: ice-on-legal-code
>Submitter-Id: net
>Arrival-Date: Mon Aug 07 14:16:00 PDT 2000
>Closed-Date:
>Last-Modified:
>Originator: Vic Bancroft
>Release: GNU CPP version 2.95.2 19991024 (release) (sparc)
>Organization:
>Environment:
SunOS res 5.8 Generic sun4u sparc SUNW,Ultra-5_10
>Description:
Attempt to use the latest configure on ace-4.6.37 :
c++ -DHAVE_CONFIG_H -I. -I. -I. -I.. -I.. -Wall -Wpointer-arith -fno-implicit-templates
-g -O2 -pthreads -pipe -c -fPIC -DPIC Timer_Hash.cpp -o Timer_Hash.lo
./ace/Timer_Heap_T.cpp: In method `void ACE_Timer_Heap_T<ACE_Event_Handler
*,ACE_Timer_Hash_Upcall<ACE_Event_Handler
*,ACE_Event_Handler_Handle_Timeout_Upcall<ACE_Recursive_Thread_Mutex>,ACE_Recursive_Thread
_Mutex>,ACE_Null_Mutex>::grow_heap()':
./ace/Timer_Heap_T.cpp:500: instantiated from `ACE_Timer_Heap_T<ACE_Event_Handler
*,ACE_Timer_Hash_Upcall<ACE_Event_Handler
*,ACE_Event_Handler_Handle_Timeout_Upcall<ACE_Recursive_Thread_Mutex>,ACE_Recursive_Thread
_Mutex>,ACE_Null_Mutex>::alloc_node()'
./ace/Timer_Heap_T.cpp:545: instantiated from `ACE_Timer_Heap_T<ACE_Event_Handler
*,ACE_Timer_Hash_Upcall<ACE_Event_Handler
*,ACE_Event_Handler_Handle_Timeout_Upcall<ACE_Recursive_Thread_Mutex>,ACE_Recursive_Thread
_Mutex>,ACE_Null_Mutex>::schedule(ACE_Event_Handler *const &, const void *, const
ACE_Time_Value &, const ACE_Time_Value &)'
Timer_Hash.cpp:44: instantiated from here
./ace/Timer_Heap_T.cpp:402: Internal compiler error.
./ace/Timer_Heap_T.cpp:402: Please submit a full bug report.
./ace/Timer_Heap_T.cpp:402: See <URL:http://www.gnu.org/software/gcc/faq.html#bugreport>
for instructions.
*** Error code 1
make: Fatal error: Command failed for target `Timer_Hash.lo'
Current working directory /home/bancroft/src/ace-4.6.37/ace
>How-To-Repeat:
// Timer_Hash.cpp,v 4.10 2000/04/19 02:49:40 brunsch Exp
// Timer_Hash.cpp
#if !defined (ACE_TIMER_HASH_C)
#define ACE_TIMER_HASH_C
#include "ace/Timer_Hash.h"
#if defined (ACE_HAS_BROKEN_HPUX_TEMPLATES)
#include "ace/Timer_Hash_T.cpp"
#endif /* ACE_HAS_BROKEN_HPUX_TEMPLATES */
ACE_RCSID(ace, Timer_Hash, "Timer_Hash.cpp,v 4.10 2000/04/19 02:49:40 brunsch Exp")
#if defined (ACE_HAS_EXPLICIT_TEMPLATE_INSTANTIATION)
template class ACE_Free_List<ACE_Timer_Node_T<ACE_Event_Handler *> >;
template class ACE_Locked_Free_List<ACE_Timer_Node_T<ACE_Event_Handler *>,
ACE_Null_Mutex>;
template class ACE_Timer_Hash_Upcall <ACE_Event_Handler *,
ACE_Event_Handler_Handle_Timeout_Upcall<ACE_SYNCH_RECURSIVE_MUTEX>,
ACE_SYNCH_RECURSIVE_MUTEX>;
template class ACE_Timer_Queue_T <ACE_Event_Handler *,
ACE_Hash_Upcall,
ACE_Null_Mutex>;
template class ACE_Timer_Queue_Iterator_T <ACE_Event_Handler *,
ACE_Hash_Upcall,
ACE_Null_Mutex>;
template class ACE_Timer_List_T <ACE_Event_Handler *,
ACE_Hash_Upcall,
ACE_Null_Mutex>;
template class ACE_Timer_List_Iterator_T <ACE_Event_Handler *,
ACE_Hash_Upcall,
ACE_Null_Mutex>;
template class ACE_Timer_Heap_T <ACE_Event_Handler *,
ACE_Hash_Upcall,
ACE_Null_Mutex>;
template class ACE_Timer_Heap_Iterator_T <ACE_Event_Handler *,
ACE_Hash_Upcall,
ACE_Null_Mutex>;
template class ACE_Timer_Hash_T<ACE_Event_Handler *,
ACE_Event_Handler_Handle_Timeout_Upcall<ACE_SYNCH_RECURSIVE_MUTEX>,
ACE_SYNCH_RECURSIVE_MUTEX,
ACE_Hash_Timer_List>;
template class ACE_Timer_Hash_Iterator_T<ACE_Event_Handler *,
ACE_Event_Handler_Handle_Timeout_Upcall<ACE_SYNCH_RECURSIVE_MUTEX>,
ACE_SYNCH_RECURSIVE_MUTEX,
ACE_Hash_Timer_List>;
template class ACE_Timer_Hash_T<ACE_Event_Handler *,
ACE_Event_Handler_Handle_Timeout_Upcall<ACE_SYNCH_RECURSIVE_MUTEX>,
ACE_SYNCH_RECURSIVE_MUTEX,
ACE_Hash_Timer_Heap>;
template class ACE_Timer_Hash_Iterator_T<ACE_Event_Handler *,
ACE_Event_Handler_Handle_Timeout_Upcall<ACE_SYNCH_RECURSIVE_MUTEX>,
ACE_SYNCH_RECURSIVE_MUTEX,
ACE_Hash_Timer_Heap>;
#elif defined (ACE_HAS_TEMPLATE_INSTANTIATION_PRAGMA)
#pragma instantiate ACE_Free_List<ACE_Timer_Node_T<ACE_Event_Handler *> >
#pragma instantiate ACE_Locked_Free_List<ACE_Timer_Node_T<ACE_Event_Handler *>, \
ACE_Null_Mutex>
#pragma instantiate ACE_Timer_Hash_Upcall <ACE_Event_Handler *, \
ACE_Event_Handler_Handle_Timeout_Upcall<ACE_SYNCH_RECURSIVE_MUTEX>, \
ACE_SYNCH_RECURSIVE_MUTEX>
#pragma instantiate ACE_Timer_Queue_T <ACE_Event_Handler *, \
ACE_Hash_Upcall, \
ACE_Null_Mutex>
#pragma instantiate ACE_Timer_Queue_Iterator_T <ACE_Event_Handler *, \
ACE_Hash_Upcall, \
ACE_Null_Mutex>
#pragma instantiate ACE_Timer_List_T <ACE_Event_Handler *, \
ACE_Hash_Upcall, \
ACE_Null_Mutex>
#pragma instantiate ACE_Timer_List_Iterator_T <ACE_Event_Handler *, \
ACE_Hash_Upcall, \
ACE_Null_Mutex>
#pragma instantiate ACE_Timer_Heap_T <ACE_Event_Handler *, \
ACE_Hash_Upcall, \
ACE_Null_Mutex>
#pragma instantiate ACE_Timer_Heap_Iterator_T <ACE_Event_Handler *, \
ACE_Hash_Upcall, \
ACE_Null_Mutex>
#pragma instantiate ACE_Timer_Hash_T<ACE_Event_Handler *, \
ACE_Event_Handler_Handle_Timeout_Upcall<ACE_SYNCH_RECURSIVE_MUTEX>, \
ACE_SYNCH_RECURSIVE_MUTEX, \
ACE_Hash_Timer_List>
#pragma instantiate ACE_Timer_Hash_Iterator_T<ACE_Event_Handler *, \
ACE_Event_Handler_Handle_Timeout_Upcall<ACE_SYNCH_RECURSIVE_MUTEX>, \
ACE_SYNCH_RECURSIVE_MUTEX, \
ACE_Hash_Timer_List>
#pragma instantiate ACE_Timer_Hash_T<ACE_Event_Handler *, \
ACE_Event_Handler_Handle_Timeout_Upcall<ACE_SYNCH_RECURSIVE_MUTEX>, \
ACE_SYNCH_RECURSIVE_MUTEX, \
ACE_Hash_Timer_Heap>
#pragma instantiate ACE_Timer_Hash_Iterator_T<ACE_Event_Handler *, \
ACE_Event_Handler_Handle_Timeout_Upcall<ACE_SYNCH_RECURSIVE_MUTEX>, \
ACE_SYNCH_RECURSIVE_MUTEX, \
ACE_Hash_Timer_Heap>
#endif /* ACE_HAS_EXPLICIT_TEMPLATE_INSTANTIATION */
#endif /* ACE_TIMER_HASH_C */
>Fix:
>Release-Note:
>Audit-Trail:
>Unformatted:
----gnatsweb-attachment----
Content-Type: application/octet-stream; name="Timer_Hash.bzip2"
Content-Transfer-Encoding: base64
Content-Disposition: attachment; filename="Timer_Hash.bzip2"