BartmanAbyss / vscode-amiga-debug

One-stop Visual Studio Code Extension to compile, debug and profile Amiga C/C++ programs compiled by the bundled gcc 12.2 with the bundled WinUAE/FS-UAE.
GNU General Public License v3.0
318 stars 40 forks source link

Compiling -O0 with 1.1.0 preview #22

Closed rjobling closed 4 years ago

rjobling commented 4 years ago

One new issue I've run into with the 1.1.0 preview is that if I change the makefile so it'll compile with -O0 for easier debugging then it'll give me compile error in the support code around memcopy and memset. I can fix it by commenting out the special optimization options those functions have but that didn't use to be necessary.

BartmanAbyss commented 4 years ago

Yeah, it seems O0 is not working, but we had good debugging experience with Og. The Compiler shouldn‘t have changed between 1.0 and 1.1...