bug-gplusplus
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

fatal signal 125 when compiling


From: hdesai
Subject: fatal signal 125 when compiling
Date: Tue, 14 Nov 2000 17:52:20 -0800

I am using "ccppc", c++ compiler as distributed with Wind River tornado
package.

When I compile my code with optimization "-O3" option I get following error.
ccppc: Internal compiler error: program cc1plus got fatal signal 125

If I compile without optimization "-O0" option the code compile fine.

What does it mean to get signal 125. There were few files where I get this
error. I got rid of some by breaking a big function into smaller functions.

Here is a code that I am still getting error. If I #if 0 one of the case 
statement then it compiles fine. 

Any help is appreciated.

Hiren Desai
Jetstream Communications


bool TSIManager::checkResource(TermPoint* resource, DirectionType direction)
{

  bool result;
  UINT16 slot;

  switch (resource->type) {
        
  case HDLC:

    slot = resource->point.hdlc.slotId - HDLC_TIMESLOT; 
        
    if (direction == Rx)   
      result =  _hdlcRxMap.test(slot);    
    else    
      result =  _hdlcTxMap.test(slot);

    break;
        
  case DiagnosticMonitor:

        slot = resource->point.monitor.slotId - DIAG_MONITOR_TIMESLOT;  
    if (direction == Rx)    
      result = _diagMonitorRxMap.test(slot);
    
    else    
      result = _diagMonitorTxMap.test(slot);            
    break;
  case TelephonyMonitor:             

        slot = resource->point.monitor.slotId - TELE_MONITOR_TIMESLOT;
         
    if (direction == Rx)    
      result = _teleMonitorRxMap.test(slot);
    
    else    
      result = _teleMonitorTxMap.test(slot);    
    break;

  default:                        
          slot = resource->point.telephony.slotId - TELEPHONY_TIMESLOT;

          
    if (direction == Rx)    
      result = _telephonyRxMap.test(slot);    
    else    
      result = _telephonyTxMap.test(slot);    
    break;      
  }
  return (result);

}



reply via email to

[Prev in Thread] Current Thread [Next in Thread]