[issue6603] Compilation error if configuref --with-computed-gotos

Mark Dickinson report at bugs.python.org
Tue Oct 13 22:07:37 CEST 2009


Mark Dickinson <dickinsm at gmail.com> added the comment:

> "simplify" the code by directly outputting to (int*)v and 
> ((int*)v)[1];

This does indeed seem to produce better compiler output, at least under 
Apple gcc-4.0.1, Apple gcc-4.2.1, and non-Apple gcc-4.4.1.

Here's a revised patch, which also separates the i386 and x86_64 cases.

Assigning to Martin for review.

----------
assignee: mark.dickinson -> loewis
Added file: http://bugs.python.org/file15115/tsc2.patch

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue6603>
_______________________________________


More information about the Python-bugs-list mailing list