[patch, fortran] PR43217 Output of Hollerith constants which are not a multiple of 4 bytes

Jerry DeLisle jvdelisle@frontier.com
Fri Aug 27 10:08:00 GMT 2010


On 08/26/2010 11:32 PM, Jerry DeLisle wrote:
> On 08/26/2010 11:11 PM, Tobias Burnus wrote:
>> Dominique Dhumieres wrote:
>>> gcc/fortran/primary.c doesn't compile for builds using -Werror:
>>>
>>> ../../work/gcc/fortran/primary.c: In function
>>> 'match_hollerith_constant':
>>> ../../work/gcc/fortran/primary.c:304:40: error: multi-character
>>> character constant [-Werror=multichar]
>>> cc1: all warnings being treated as errors
>>
>> That's the line
>>
>> + e->representation.string[num + i] = '\0 ';
>>
>
> A typo:
>
> '\0 ' should be '\0' !!! no space after the zero
>
> I will fix that.
>
Sending        ChangeLog
Sending        arith.c
Sending        data.c
Sending        gfortran.h
Sending        primary.c
Transmitting file data .....
Committed revision 163581.

Regards,

Jerry



More information about the Gcc-patches mailing list