[gnu.gcc.bug] bug in -ftraditional

jv@mh.nl (Johan Vromans) (10/30/89)

GCC 1.36 recognizes the undocumented compiler switch "-ftraditional".

  $ cat t.c
  #define XX(X) 'X'
  main () { printf ("the char is '%c'\n", XX(A)); }
  $ gcc -traditional t.c && a.out
  the char is 'A'
  $ gcc -ftraditional t.c && a.out
  the char is 'X'
  $

Note the omission of an error message about "-ftraditional" being
unknown in the second case.

Johan
--
Johan Vromans				       jv@mh.nl via internet backbones
Multihouse Automatisering bv		       uucp: ..!{uunet,hp4nl}!mh.nl!jv
Doesburgweg 7, 2803 PL Gouda, The Netherlands  phone/fax: +31 1820 62944/62500
------------------------ "Arms are made for hugging" -------------------------