Your patch definitely fixes reported issue. I pushed it on mob => a7eef33..a9340dd
Thank you grischka. The warning has also been fixed by inverting test as done on other functions in this file. Also pushed on mob => a9340dd..a4997bf Have a nice day. C. -----Original Message----- From: Tinycc-devel [mailto:tinycc-devel-bounces+eligis=orange...@nongnu.org] On Behalf Of grischka Sent: Wednesday, June 26, 2019 00:59 To: jull...@eligis.com; tinycc-devel@nongnu.org Subject: Re: [Tinycc-devel] New error found on RPi3 buster with gcc 8.3 on test 93 Christian Jullien wrote: > > > Test: 93_integer_promotion... > > --- 93_integer_promotion.expect 2019-06-25 23:11:21.865155888 +0200 > > +++ 93_integer_promotion.output 2019-06-25 23:12:31.445089726 +0200 (Is that "Microsoft Outlook 14.0" with the extra new-lines?) > > @@ -6,7 +6,7 @@ > > > > signed : (1 ? s.ub : 1) > > unsigned : (1 ? s.u : 1) > > - signed : (1 ? s.ullb : 1) > > + unsigned : (1 ? s.ullb : 1) > > unsigned : (1 ? s.ull : 1) > > signed : (1 ? s.c : 1) > > > > make[3]: *** [Makefile:74: 93_integer_promotion.test] Error 1 This change might help: --- a/tccgen.c +++ b/tccgen.c @@ -5914,6 +5914,7 @@ static void expr_cond(void) tt = gjmp(0); } gsym(u); + nocode_wanted = ncw_prev; /* this is horrible, but we must also convert first operand */ @@ -5937,7 +5938,6 @@ static void expr_cond(void) if (islv) indir(); } - nocode_wanted = ncw_prev; } } > > > > > > It also produces new warnings: > > > > ------------ test3 ------------ > > ../tcc -B.. -I../include -I.. -I.. > -DCONFIG_TRIPLET="\"arm-linux-gnueabihf\"" -DTCC_CPU_VERSION=7 > -DTCC_TARGET_ARM -DTCC_ARM_EABI -DTCC_ARM_HARDFLOAT -DTCC_ARM_VFP -run > ../tcc.c -B.. -I../include -I.. -I.. > -DCONFIG_TRIPLET="\"arm-linux-gnueabihf\"" -DTCC_CPU_VERSION=7 > -DTCC_TARGET_ARM -DTCC_ARM_EABI -DTCC_ARM_HARDFLOAT -DTCC_ARM_VFP -run > ../tcc.c -B.. -I../include -I.. -I.. > -DCONFIG_TRIPLET="\"arm-linux-gnueabihf\"" -DTCC_CPU_VERSION=7 > -DTCC_TARGET_ARM -DTCC_ARM_EABI -DTCC_ARM_HARDFLOAT -DTCC_ARM_VFP -run > ../tcc.c -B.. -I../include -I.. -I.. -run tcctest.c > test.out3 > > In file included from ../tcc.c:23: > > In file included from ../libtcc.c:50: > > ../arm-gen.c:410: warning: function might return no value: 'intr' > > In file included from ../tcc.c:23: > > In file included from ../libtcc.c:50: > > ../arm-gen.c:410: warning: function might return no value: 'intr' > > In file included from ../tcc.c:23: > > In file included from ../libtcc.c:50: > > ../arm-gen.c:410: warning: function might return no value: 'intr' > > Auto Test3 OK That is maybe because your headers #define __attribute__ <to empty> Try #undef __attribute__ somewhere. --- grischka _______________________________________________ Tinycc-devel mailing list Tinycc-devel@nongnu.org https://lists.nongnu.org/mailman/listinfo/tinycc-devel _______________________________________________ Tinycc-devel mailing list Tinycc-devel@nongnu.org https://lists.nongnu.org/mailman/listinfo/tinycc-devel