debug 2 causes alien code to be compiled badly

Bug #654485 reported by Nikodemus Siivola
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
SBCL
Fix Released
Medium
Unassigned

Bug Description

The first one gives a compiler note about %SAP-ALIEN -- you know, the one that indicates horrible performance loss. The second one doesn't.

(locally (declare (optimize (debug 2)))
  (sb-alien:define-alien-routine ("execv" sys-execv1) sb-alien:int
    (program sb-alien:c-string)
    (argv (* sb-alien:c-string))))

(locally (declare (optimize (debug 1)))
  (sb-alien:define-alien-routine ("execv" sys-execv2) sb-alien:int
    (program sb-alien:c-string)
    (argv (* sb-alien:c-string))))

Changed in sbcl:
assignee: nobody → Nikodemus Siivola (nikodemus)
tags: added: performance
Revision history for this message
Nikodemus Siivola (nikodemus) wrote :

In 1.0.43.23.

Changed in sbcl:
assignee: Nikodemus Siivola (nikodemus) → nobody
status: In Progress → Fix Committed
Changed in sbcl:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.