https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69485
Bug ID: 69485 Summary: oddity with -Wtabs Product: gcc Version: 5.2.1 Status: UNCONFIRMED Severity: normal Priority: P3 Component: fortran Assignee: unassigned at gcc dot gnu.org Reporter: janus at gcc dot gnu.org Target Milestone: --- Created attachment 37473 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=37473&action=edit source files The attachment contains two files: An almost empty source file and an include file. Compiling via gfortran -Wtabs -c filter.f gives: f951: Warning: Nonconforming tab character in column 1 of line 3 [-Wtabs] f951: Warning: Nonconforming tab character in column 1 of line 5 [-Wtabs] f951: Warning: Nonconforming tab character in column 1 of line 7 [-Wtabs] f951: Warning: Nonconforming tab character in column 1 of line 8 [-Wtabs] f951: Warning: Nonconforming tab character in column 1 of line 9 [-Wtabs] f951: Warning: Nonconforming tab character in column 1 of line 10 [-Wtabs] f951: Warning: Nonconforming tab character in column 1 of line 11 [-Wtabs] f951: Warning: Nonconforming tab character in column 1 of line 13 [-Wtabs] f951: Warning: Nonconforming tab character in column 1 of line 20 [-Wtabs] f951: Warning: Nonconforming tab character in column 1 of line 21 [-Wtabs] f951: Warning: Nonconforming tab character in column 2 of line 22 [-Wtabs] f951: Warning: Nonconforming tab character in column 1 of line 25 [-Wtabs] control.inc:20:13: real*4 wtcut 1 Warning: Nonconforming tab character at (1) [-Wtabs] So, the odd thing is that only for one of these tabs I am actually told that it's in the include file, for all others that unfortunately does not happen. Ideally the style of the last of these warnings should be used for the others as well!