If gcc.pot is regenerated on mainline, the help information for options moved to .opt files, other than those for the current target, are missing from the generated gcc.pot file. A special version of options.c with the messages for all languages and targets may need generating for the use of exgettext.
The same problem applies for lang.opt files on the 4.0 branch - messages for languages which aren't enabled are missing from gcc.pot - though it can be worked around by enabling all languages, if the system used has all the prerequisites for all languages. If there is a safe fix, I think it should be applied to 4.0 branch as well to avoid problems with missing messages there. -- Summary: [4.1 Regression] target.opt messages missing from gcc.pot Product: gcc Version: 4.1.0 Status: UNCONFIRMED Severity: normal Priority: P2 Component: other AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: jsm28 at gcc dot gnu dot org CC: gcc-bugs at gcc dot gnu dot org,rsandifo at gcc dot gnu dot org http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20792