Comments (4)
It looks like compiler bug; from the C standard (ANSI/ISO 9899-1990):
6.8.6.4 The return statement
...
If a return statement with an expression is executed, the value of the expression is
returned to the caller as the value of the function call expression. If the expression has a
type different from the return type of the function in which it appears, the value is
converted as if by assignment to an object having the return type of the function.
...
from fe.
I see.
By the way my Amiga port seems to be broken, life.fe stops after a few iterations...
from fe.
Did it work before the automatic endianess detection commit? I'm also tested it with qemu-m68k
and this works well.
I am not an Amiga expert, does it use 32-bit addresses and does it do 32-bit alignment?
from fe.
I don't know. At least my favorite compiler vbcc failed always.
This seems to be a compiler issue because gcc and clang work fine.
An Amiga can only use 31-bit addresses and alignment says: no odd addresses.
from fe.
Related Issues (20)
- how to make an eval function? HOT 4
- Implementing OOP (Structs or objects) for fe HOT 1
- 'let': no recursive functions HOT 2
- how do you extract values from the code? HOT 3
- Completely black window HOT 1
- Check amount of passed arguments HOT 2
- `fe_write()` crashes on circular lists
- Plans in supporting bytecode compilation? HOT 1
- How do you propose to use `mark` and `gc` of the `fe_Handlers` structure?
- 68k runtime issue HOT 11
- What about `gensym`? HOT 2
- `is` is sometimes incorrect because `==` does not work for floating-point comparison in C HOT 2
- Motivation, minimalism, live AST HOT 4
- Is this a floating point problem? HOT 1
- Strange behavior with macro expanding HOT 1
- Making it a tutorial? HOT 2
- Thanks for publishing aria and fe!
- no-op in eval: P_FN/P_MAC HOT 2
- Handling user input? HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from fe.