https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92830
Bug ID: 92830 Summary: -fdiagnostics-url shows the wrong URL for warnings which are not in 'gcc' but e.g. in 'gfortran' Product: gcc Version: 10.0 Status: UNCONFIRMED Keywords: diagnostic Severity: normal Priority: P3 Component: middle-end Assignee: unassigned at gcc dot gnu.org Reporter: burnus at gcc dot gnu.org CC: dmalcolm at gcc dot gnu.org Target Milestone: --- Cf. also PR 87488 Create a file 'test.f90' with: !----------- print *, "Hello & world" end !----------- And run it: gfortran -Wall test.f90 This will show: Warning: Missing ‘&’ in continued character constant at (1) [-Wampersand] With the link: https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wampersand However, that's the wrong file. The correct link is: https://gcc.gnu.org/onlinedocs/gfortran/Error-and-Warning-Options.html#index-Wampersand