https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93061
--- Comment #3 from Mutex <mutex at fastmail dot co.uk> --- Repeated with gcc (Ubuntu 7.4.0-1ubuntu1~18.04.1) 7.4.0 The latest I have access to. Same thing. $ gcc -maes -Os *.c *.s $ ./a.out Segmentation fault (core dumped) $ gcc -maes *.c *.s $ ./a.out $