New bug in GPC 19991030 ?
Hi all, While running demos and tests on the newly built GPC 1991030 / gcc-2.95.2 for djgpp I have found two occurences of the same bug. They are in test/goto4.pas and demos/parserdemo.pas Error message is (for parserdemo) f:/djgpp/tmp\ccbqrrbj.s: Assembler messages: f:/djgpp/tmp\ccbqrrbj.s:2010: Error: operands given don't match any known 386 instruction The offending instruction is movl $L177,$__p_MPNGHS eliminating the second $ to give movl $L177,__p_MPNGHS manual assembly and linking gives the correct result. Is this reproducible on other systems ? Has it something to do with new assembly errors generated by gcc-2.95 ? Hope this helps Maurice -- Maurice Lombardi Laboratoire de Spectrometrie Physique, Universite Joseph Fourier de Grenoble, BP87 38402 Saint Martin d'Heres Cedex FRANCE Tel: 33 (0)4 76 51 47 51 Fax: 33 (0)4 76 51 45 44 mailto:Maurice.Lombardi@ujf-grenoble.fr
Hi! Maurice Lombardi wrote:
f:/djgpp/tmp\ccbqrrbj.s: Assembler messages: f:/djgpp/tmp\ccbqrrbj.s:2010: Error: operands given don't match any known 386 instruction [...] Is this reproducible on other systems ?
Yes, it's a known bug with gcc-2.95.x.
Has it something to do with new assembly errors generated by gcc-2.95 ?
It has to do with the way the backend handles `goto'. To jump to the main program, GPC uses some special hacks. (As a starting point, see `util.c', functions `expand_goto_main_program()' and `*_main_program_rtx()'.) According to subtile changes in the backend I have not yet understood, these hacks do not work with gcc-2.95.x. Help is welcome, Peter -- http://home.pages.de/~Peter.Gerwinski/ - G-N-U GmbH: http://www.g-n-u.de Maintainer GNU Pascal - http://home.pages.de/~GNU-Pascal/ - gpc-19990118 GnuPG key fingerprint: 9E7C 0FC4 8A62 5536 1730 A932 9834 65DB 2143 9422 keys: ftp://ftp.gerwinski.de/pub/keys/ - AntiSpam: http://spam.abuse.net
participants (2)
-
Maurice Lombardi -
Peter Gerwinski