Number: 802

Date: 23-Apr-84 15':07':01

Submitter: Sannella.PA

Source: JonL.pa

Subject: DOSTATS fails when DFNFLG = PROP

Assigned To: Masinter

Attn: 

Status: Closed

In/By: Harmony

Problem Type: Bug

Impact: Moderate

Difficulty: Easy

Frequency: Everytime

Priority: 

System: Programming Environment

Subsystem: Performance Tools

Machine: 

Disk: 

Lisp Version: 

Source Files: 

Microcode Version: 

Memory Size: 

File Server: 

Server Software Version: 

Disposition: '
["Sannella.PA" "22-Aug-84 17':09':24" Status':(Fixed->Closed) In/By':]

Description: '
Date': 20 Apr 84 14':56 PST'
From': JonL.pa'
Subject': Lisp': DOSTATS fails when DFNFLG = PROP'
To': LispSupport.pa'
cc': JonL.pa'
'
Lisp System Date': 11-Apr-84 00':53':49'
Machine': Dolphin (BuickoSaurus)'
Microcode version': 24,1'
Memory size': 7000'
Frequency': Always'
Impact':  Moderate'
'
EMITSTATS calls COMPILE1, but fails to reset the vars DFNFLG and OPTIMIZATIONSOFF.'
'
The former causes the newly-compiled "form" to be put on the property list, and thus the "stats" will be for whatever happened to be in the definition cell of STATSDUMMYFUNCTION etc.   The latter foils you with forms like (IQUOTIENT 1234567 -1), which will be "optimized" into a constant.'


Workaround: 

Test Case: 

Edit-By: Sannella.PA

Edit-Date: 22-Aug-84 17':09':25