about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog3
-rw-r--r--Completion/Unix/Command/_gcc1
2 files changed, 4 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index c573c6b2f..4454e3626 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,8 @@
 2019-11-06  Oliver Kiddle  <okiddle@yahoo.co.uk>
 
+	* Eitan Adler: 44882: Completion/Unix/Command/_gcc: add
+	completion of -save-stats flag
+
 	* unposted: Completion/Base/Utility/_sequence: fix missing local
 	declarations
 
diff --git a/Completion/Unix/Command/_gcc b/Completion/Unix/Command/_gcc
index 9de0b79b1..0061cfa3b 100644
--- a/Completion/Unix/Command/_gcc
+++ b/Completion/Unix/Command/_gcc
@@ -440,6 +440,7 @@ args+=(
   '-print-multi-os-directory[Display the relative path to OS libraries]'
   '-print-sysroot[Display the target libraries directory]'
   '-print-sysroot-headers-suffix[Display the sysroot suffix used to find headers]'
+  '-save-stats=-[Save code generation statistics]:location:(cwd obj)'
   '-save-temps[Do not delete intermediate files]'
   '-no-canonical-prefixes[Do not canonicalize paths when building relative prefixes to other gcc components]'
   '-pipe[Use pipes rather than intermediate files]'