debug 2 causes alien code to be compiled badly

Bug #654485 reported by Nikodemus Siivola on 2010-10-04
This bug affects 1 person
Affects Status Importance Assigned to Milestone

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
Nikodemus Siivola (nikodemus) wrote :


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  Edit
Everyone can see this information.

Other bug subscribers