Summary: | orcc --assembly generates invalid code | ||
---|---|---|---|
Product: | Orc | Reporter: | Geoff <geoff> |
Component: | Orc | Assignee: | David Schleef <ds> |
Status: | NEW --- | QA Contact: | |
Severity: | critical | ||
Priority: | medium | CC: | arcriley |
Version: | unspecified | ||
Hardware: | x86 (IA32) | ||
OS: | All | ||
Whiteboard: | |||
i915 platform: | i915 features: | ||
Attachments: | Output of orcc --assembly |
I have the same problem. I'm running ubuntu 12.10, 32bit. My orc version is 0.4.16 Update: I have tried to compile using the package and building it from git, but either way fails. |
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.
Created attachment 52739 [details] Output of orcc --assembly orcc 0.4.16 compiled on win32 with mingw-32 toolchain, gcc 4.6.1 Source file: example1orc.orc from the distribution's "examples" subfolder. Command line: orcc --assembly -o example1orc.S example1orc.orc Problem: Emitted code includes 3x "push %(null)" at the start of the function, and 3x "pop %(null)" at the end of it. Emitted .S file attached, the erroneous elements are on lines 52,54,55 and 177-179 The resulting code cannot be compiled by gcc/as