https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102437
Bug ID: 102437 Summary: [11 Regression] gcc-11 and later started recognising -R option Product: gcc Version: 11.1.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: driver Assignee: unassigned at gcc dot gnu.org Reporter: slyfox at gcc dot gnu.org Target Milestone: --- x86_64-pc-linux-gnu target: $ gcc-12.0.0 a.c -o a -R /foo $ gcc-11.1.0 a.c -o a -R /foo $ gcc-10.3.0 a.c -o a -R /foo gcc-10.3.0: error: unrecognized command-line option ‘-R’ $ gcc-9.3.0 a.c -o a -R /foo gcc-9.3.0: error: unrecognized command line option ‘-R’ It's not immediately causing problems, but it's not documented in the manual and might not be intended.