diff options
| author | Josh Triplett <josh@freedesktop.org> | 2007-08-31 14:36:16 -0700 |
|---|---|---|
| committer | Josh Triplett <josh@freedesktop.org> | 2007-08-31 14:36:16 -0700 |
| commit | ae66264df616ac8d804b9799a1041379fbaf7e27 (patch) | |
| tree | a42a05be139544c486f98718ed1f4752f895e891 /cgcc | |
| parent | a3ba81906dc41f12264df379c9f699de76abacab (diff) | |
| download | sparse-dev-ae66264df616ac8d804b9799a1041379fbaf7e27.tar.gz | |
cgcc: Sparse accepts -Wcast-to-as, not -Wcast-to-address-space
cgcc's regex of Sparse warning options listed -Wcast-to-address-space,
which doesn't exist; change it to -Wcast-to-as.
Signed-off-by: Josh Triplett <josh@freedesktop.org>
Diffstat (limited to 'cgcc')
| -rwxr-xr-x | cgcc | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -69,7 +69,7 @@ exit 0; sub check_only_option { my ($arg) = @_; - return 1 if $arg =~ /^-W(no-?)?(default-bitfield-sign|one-bit-signed-bitfield|cast-truncate|bitwise|typesign|context|undefined-preprocessor|ptr-subtraction-blows|cast-to-address-space|decl|transparent-union|address-space|enum-mismatch|do-while|old-initializer|non-pointer-null|paren-string|return-void)$/; + return 1 if $arg =~ /^-W(no-?)?(default-bitfield-sign|one-bit-signed-bitfield|cast-truncate|bitwise|typesign|context|undefined-preprocessor|ptr-subtraction-blows|cast-to-as|decl|transparent-union|address-space|enum-mismatch|do-while|old-initializer|non-pointer-null|paren-string|return-void)$/; return 1 if $arg =~ /^-v(no-?)?(entry|dead)$/; return 0; } |
