https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88807
Bug ID: 88807
Summary: misleading indentation warnings building libgfortran
Product: gcc
Version: 9.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: libfortran
Assignee: unassigned at gcc dot gnu.org
Reporter: nightstrike at gmail dot com
Target Milestone: ---
While building libgfortran, I receive the following warnings for
-Wmisleading-indentation:
../../../libgfortran/generated/minloc0_4_i1.c: In function 'minloc0_4_i1':
../../../libgfortran/generated/minloc0_4_i1.c:138:5: warning: this 'else'
clause does not guard... [-Wmisleading-indentation]
138 | else
| ^~~~
../../../libgfortran/generated/minloc0_4_i1.c:152:7: note: ...this statement,
but the latter is misleadingly indented as if it were guarded by the 'else'
152 | n = 0;
| ^
../../../libgfortran/generated/minloc0_8_i1.c: In function 'minloc0_8_i1':
../../../libgfortran/generated/minloc0_8_i1.c:138:5: warning: this 'else'
clause does not guard... [-Wmisleading-indentation]
138 | else
| ^~~~
../../../libgfortran/generated/minloc0_8_i1.c:152:7: note: ...this statement,
but the latter is misleadingly indented as if it were guarded by the 'else'
152 | n = 0;
| ^
../../../libgfortran/generated/minloc0_16_i1.c: In function 'minloc0_16_i1':
../../../libgfortran/generated/minloc0_16_i1.c:138:5: warning: this 'else'
clause does not guard... [-Wmisleading-indentation]
138 | else
| ^~~~
../../../libgfortran/generated/minloc0_16_i1.c:152:7: note: ...this statement,
but the latter is misleadingly indented as if it were guarded by the 'else'
152 | n = 0;
| ^
../../../libgfortran/generated/minloc0_4_i2.c: In function 'minloc0_4_i2':
../../../libgfortran/generated/minloc0_4_i2.c:138:5: warning: this 'else'
clause does not guard... [-Wmisleading-indentation]
138 | else
| ^~~~
../../../libgfortran/generated/minloc0_4_i2.c:152:7: note: ...this statement,
but the latter is misleadingly indented as if it were guarded by the 'else'
152 | n = 0;
| ^
../../../libgfortran/generated/minloc0_8_i2.c: In function 'minloc0_8_i2':
../../../libgfortran/generated/minloc0_8_i2.c:138:5: warning: this 'else'
clause does not guard... [-Wmisleading-indentation]
138 | else
| ^~~~
../../../libgfortran/generated/minloc0_8_i2.c:152:7: note: ...this statement,
but the latter is misleadingly indented as if it were guarded by the 'else'
152 | n = 0;
| ^
../../../libgfortran/generated/minloc0_16_i2.c: In function 'minloc0_16_i2':
../../../libgfortran/generated/minloc0_16_i2.c:138:5: warning: this 'else'
clause does not guard... [-Wmisleading-indentation]
138 | else
| ^~~~
../../../libgfortran/generated/minloc0_16_i2.c:152:7: note: ...this statement,
but the latter is misleadingly indented as if it were guarded by the 'else'
152 | n = 0;
| ^
../../../libgfortran/generated/minloc0_4_i4.c: In function 'minloc0_4_i4':
../../../libgfortran/generated/minloc0_4_i4.c:138:5: warning: this 'else'
clause does not guard... [-Wmisleading-indentation]
138 | else
| ^~~~
../../../libgfortran/generated/minloc0_4_i4.c:152:7: note: ...this statement,
but the latter is misleadingly indented as if it were guarded by the 'else'
152 | n = 0;
| ^
../../../libgfortran/generated/minloc0_4_i8.c: In function 'minloc0_4_i8':
../../../libgfortran/generated/minloc0_4_i8.c:138:5: warning: this 'else'
clause does not guard... [-Wmisleading-indentation]
138 | else
| ^~~~
../../../libgfortran/generated/minloc0_4_i8.c:152:7: note: ...this statement,
but the latter is misleadingly indented as if it were guarded by the 'else'
152 | n = 0;
| ^
../../../libgfortran/generated/minloc0_16_i4.c: In function 'minloc0_16_i4':
../../../libgfortran/generated/minloc0_16_i4.c:138:5: warning: this 'else'
clause does not guard... [-Wmisleading-indentation]
138 | else
| ^~~~
../../../libgfortran/generated/minloc0_16_i4.c:152:7: note: ...this statement,
but the latter is misleadingly indented as if it were guarded by the 'else'
152 | n = 0;
| ^
../../../libgfortran/generated/minloc0_8_i8.c: In function 'minloc0_8_i8':
../../../libgfortran/generated/minloc0_8_i8.c:138:5: warning: this 'else'
clause does not guard... [-Wmisleading-indentation]
138 | else
| ^~~~
../../../libgfortran/generated/minloc0_8_i8.c:152:7: note: ...this statement,
but the latter is misleadingly indented as if it were guarded by the 'else'
152 | n = 0;
| ^
../../../libgfortran/generated/minloc0_8_i4.c: In function 'minloc0_8_i4':
../../../libgfortran/generated/minloc0_8_i4.c:138:5: warning: this 'else'
clause does not guard... [-Wmisleading-indentation]
138 | else
| ^~~~
../../../libgfortran/generated/minloc0_8_i4.c:152:7: note: ...this statement,
but the latter is misleadingly indented as if it were guarded by the 'else'
152 | n = 0;
| ^
../../../libgfortran/generated/minloc0_8_i16.c: In function 'minloc0_8_i16':
../../../libgfortran/generated/minloc0_8_i16.c:138:5: warning: this 'else'
clause does not guard... [-Wmisleading-indentation]
138 | else
| ^~~~
../../../libgfortran/generated/minloc0_8_i16.c:152:7: note: ...this statement,
but the latter is misleadingly indented as if it were guarded by the 'else'
152 | n = 0;
| ^
../../../libgfortran/generated/minloc0_16_i8.c: In function 'minloc0_16_i8':
../../../libgfortran/generated/minloc0_16_i8.c:138:5: warning: this 'else'
clause does not guard... [-Wmisleading-indentation]
138 | else
| ^~~~
../../../libgfortran/generated/minloc0_16_i8.c:152:7: note: ...this statement,
but the latter is misleadingly indented as if it were guarded by the 'else'
152 | n = 0;
| ^
../../../libgfortran/generated/minloc0_4_i16.c: In function 'minloc0_4_i16':
../../../libgfortran/generated/minloc0_4_i16.c:138:5: warning: this 'else'
clause does not guard... [-Wmisleading-indentation]
138 | else
| ^~~~
../../../libgfortran/generated/minloc0_4_i16.c:152:7: note: ...this statement,
but the latter is misleadingly indented as if it were guarded by the 'else'
152 | n = 0;
| ^
../../../libgfortran/generated/minloc0_16_r4.c: In function 'minloc0_16_r4':
../../../libgfortran/generated/minloc0_16_r4.c:138:5: warning: this 'else'
clause does not guard... [-Wmisleading-indentation]
138 | else
| ^~~~
../../../libgfortran/generated/minloc0_16_r4.c:152:7: note: ...this statement,
but the latter is misleadingly indented as if it were guarded by the 'else'
152 | n = 0;
| ^
../../../libgfortran/generated/minloc0_8_r4.c: In function 'minloc0_8_r4':
../../../libgfortran/generated/minloc0_8_r4.c:138:5: warning: this 'else'
clause does not guard... [-Wmisleading-indentation]
138 | else
| ^~~~
../../../libgfortran/generated/minloc0_8_r4.c:152:7: note: ...this statement,
but the latter is misleadingly indented as if it were guarded by the 'else'
152 | n = 0;
| ^
../../../libgfortran/generated/minloc0_4_r4.c: In function 'minloc0_4_r4':
../../../libgfortran/generated/minloc0_4_r4.c:138:5: warning: this 'else'
clause does not guard... [-Wmisleading-indentation]
138 | else
| ^~~~
../../../libgfortran/generated/minloc0_4_r4.c:152:7: note: ...this statement,
but the latter is misleadingly indented as if it were guarded by the 'else'
152 | n = 0;
| ^
../../../libgfortran/generated/minloc0_16_i16.c: In function 'minloc0_16_i16':
../../../libgfortran/generated/minloc0_16_i16.c:138:5: warning: this 'else'
clause does not guard... [-Wmisleading-indentation]
138 | else
| ^~~~
../../../libgfortran/generated/minloc0_16_i16.c:152:7: note: ...this statement,
but the latter is misleadingly indented as if it were guarded by the 'else'
152 | n = 0;
| ^
../../../libgfortran/generated/minloc0_4_r8.c: In function 'minloc0_4_r8':
../../../libgfortran/generated/minloc0_4_r8.c:138:5: warning: this 'else'
clause does not guard... [-Wmisleading-indentation]
138 | else
| ^~~~
../../../libgfortran/generated/minloc0_4_r8.c:152:7: note: ...this statement,
but the latter is misleadingly indented as if it were guarded by the 'else'
152 | n = 0;
| ^
../../../libgfortran/generated/minloc0_8_r8.c: In function 'minloc0_8_r8':
../../../libgfortran/generated/minloc0_8_r8.c:138:5: warning: this 'else'
clause does not guard... [-Wmisleading-indentation]
138 | else
| ^~~~
../../../libgfortran/generated/minloc0_8_r8.c:152:7: note: ...this statement,
but the latter is misleadingly indented as if it were guarded by the 'else'
152 | n = 0;
| ^
../../../libgfortran/generated/minloc0_16_r8.c: In function 'minloc0_16_r8':
../../../libgfortran/generated/minloc0_16_r8.c:138:5: warning: this 'else'
clause does not guard... [-Wmisleading-indentation]
138 | else
| ^~~~
../../../libgfortran/generated/minloc0_16_r8.c:152:7: note: ...this statement,
but the latter is misleadingly indented as if it were guarded by the 'else'
152 | n = 0;
| ^
../../../libgfortran/generated/minloc0_4_r10.c: In function 'minloc0_4_r10':
../../../libgfortran/generated/minloc0_4_r10.c:138:5: warning: this 'else'
clause does not guard... [-Wmisleading-indentation]
138 | else
| ^~~~
../../../libgfortran/generated/minloc0_4_r10.c:152:7: note: ...this statement,
but the latter is misleadingly indented as if it were guarded by the 'else'
152 | n = 0;
| ^
../../../libgfortran/generated/minloc0_8_r10.c: In function 'minloc0_8_r10':
../../../libgfortran/generated/minloc0_8_r10.c:138:5: warning: this 'else'
clause does not guard... [-Wmisleading-indentation]
138 | else
| ^~~~
../../../libgfortran/generated/minloc0_8_r10.c:152:7: note: ...this statement,
but the latter is misleadingly indented as if it were guarded by the 'else'
152 | n = 0;
| ^
../../../libgfortran/generated/minloc0_16_r10.c: In function 'minloc0_16_r10':
../../../libgfortran/generated/minloc0_16_r10.c:138:5: warning: this 'else'
clause does not guard... [-Wmisleading-indentation]
138 | else
| ^~~~
../../../libgfortran/generated/minloc0_16_r10.c:152:7: note: ...this statement,
but the latter is misleadingly indented as if it were guarded by the 'else'
152 | n = 0;
| ^
../../../libgfortran/generated/minloc0_4_r16.c: In function 'minloc0_4_r16':
../../../libgfortran/generated/minloc0_4_r16.c:138:5: warning: this 'else'
clause does not guard... [-Wmisleading-indentation]
138 | else
| ^~~~
../../../libgfortran/generated/minloc0_4_r16.c:152:7: note: ...this statement,
but the latter is misleadingly indented as if it were guarded by the 'else'
152 | n = 0;
| ^
../../../libgfortran/generated/minloc0_8_r16.c: In function 'minloc0_8_r16':
../../../libgfortran/generated/minloc0_8_r16.c:138:5: warning: this 'else'
clause does not guard... [-Wmisleading-indentation]
138 | else
| ^~~~
../../../libgfortran/generated/minloc0_8_r16.c:152:7: note: ...this statement,
but the latter is misleadingly indented as if it were guarded by the 'else'
152 | n = 0;
| ^
../../../libgfortran/generated/minloc0_16_r16.c: In function 'minloc0_16_r16':
../../../libgfortran/generated/minloc0_16_r16.c:138:5: warning: this 'else'
clause does not guard... [-Wmisleading-indentation]
138 | else
| ^~~~
../../../libgfortran/generated/minloc0_16_r16.c:152:7: note: ...this statement,
but the latter is misleadingly indented as if it were guarded by the 'else'
152 | n = 0;
| ^