------- Comment #3 from paul dot richard dot thomas at cea dot fr 2006-05-12 14:50 ------- Created an attachment (id=11445) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=11445&action=view) Patch for bug (not regtested)
The problem turned out to be less severe than I imagined. The attached patch runs your program and the existing testcases correctly. I do not ever seem to have tested the case of a character scalar with anything other than len=4. The code is such that it only produces a value of 4 for any length of string - blush, blush! I will endeavour to go through this with a fine toothcomb and, maybe, to fix PR27449 before submitting. Once again, "takk" Paul -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27155