Add some missing nocode_wanted guard
commit5bcc3eed7b93f5e75b0bb121913f84f574b7c46a
authorThomas Preud'homme <robotux@celest.fr>
Tue, 10 Mar 2015 15:23:00 +0000 (10 23:23 +0800)
committerThomas Preud'homme <robotux@celest.fr>
Tue, 10 Mar 2015 15:27:14 +0000 (10 23:27 +0800)
tree0fbe82b6df225a8b9d155f24f4b5ebbad1acfa46
parent68605ab4d41fedf6f13e58a81ef75913e8544387
Add some missing nocode_wanted guard

int i = i++ causes a segfault because of missing guard. Looking
recursively at all backend functions called from middle end several more
guard appeared to be missing.
tccgen.c
tests/tests2/74_nocode_wanted.c [new file with mode: 0644]
tests/tests2/74_nocode_wanted.expect [new file with mode: 0644]
tests/tests2/Makefile