This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Other format: | [Raw text] |
We didn't correctly reject COMMON /b/ (i.e. no symbols declared in common block) Actually, it is quite clear from the original code that this was intentionally allowed (i.e. the code removed in the first hunk can only have had that purpose), but nevertheless the standard requires this to be rejected. While writing a testcase, I noticed that something like COMMON ! a long comment would now give an error, but it would point to the end of the comment instead of the end of the word 'COMMON'. This is fixed by the second hunk, the error is still caught further down in the code, but now we point to the correct location. Built and tested on i686-pc-linux. Testcase included in the diff, OK for the mainline and 4.0? - Tobi
Attachment:
pr23765.txt
Description: Text document
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |