forked from gcc-mirror/gcc
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
2013-11-06 Tobias Burnus <burnus@net-b.de> * macro.c (_cpp_builtin_macro_text): Correct wording of two warnings. gcc/c-family/ 2013-11-06 Tobias Burnus <burnus@net-b.de> * c-common.c (reason_option_codes_t): Add CPP_W_DATE_TIME. gcc/ 2013-11-06 Tobias Burnus <burnus@net-b.de> * doc/invoke.texi (Wdate-time): Fix typo. gcc/testsuite/ 2013-11-06 Tobias Burnus <burnus@net-b.de> * g++.dg/warn/wdate-time.C: Update dg-error pattern. * gcc.dg/wdate-time.c: Ditto. * gfortran.dg/wdate-time.F90: Ditto. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@204486 138bc75d-0d04-0410-961f-82ee72b054a4
- Loading branch information
burnus
committed
Nov 6, 2013
1 parent
6f595bd
commit 5b1a062
Showing
10 changed files
with
34 additions
and
14 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
/* { dg-do compile } */ | ||
/* { dg-options "-Wdate-time" } */ | ||
|
||
const char time[] = __TIME__; /* { dg-warning "might prevent reproduce builds" } */ | ||
const char date[] = __DATE__; /* { dg-warning "might prevent reproduce builds" } */ | ||
const char timestamp[] = __TIMESTAMP__; /* { dg-warning "might prevent reproduce builds" } */ | ||
const char time[] = __TIME__; /* { dg-warning "might prevent reproducible builds" } */ | ||
const char date[] = __DATE__; /* { dg-warning "might prevent reproducible builds" } */ | ||
const char timestamp[] = __TIMESTAMP__; /* { dg-warning "might prevent reproducible builds" } */ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
/* { dg-do compile } */ | ||
/* { dg-options "-Wdate-time" } */ | ||
|
||
const char time[] = __TIME__; /* { dg-warning "might prevent reproduce builds" } */ | ||
const char date[] = __DATE__; /* { dg-warning "might prevent reproduce builds" } */ | ||
const char timestamp[] = __TIMESTAMP__; /* { dg-warning "might prevent reproduce builds" } */ | ||
const char time[] = __TIME__; /* { dg-warning "might prevent reproducible builds" } */ | ||
const char date[] = __DATE__; /* { dg-warning "might prevent reproducible builds" } */ | ||
const char timestamp[] = __TIMESTAMP__; /* { dg-warning "might prevent reproducible builds" } */ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
! { dg-do compile } | ||
! { dg-options "-Wdate-time" } | ||
print *, __TIMESTAMP__ ! { dg-warning "might prevent reproduce builds" } | ||
print *, __TIME__ ! { dg-warning "might prevent reproduce builds" } | ||
print *, __DATE__ ! { dg-warning "might prevent reproduce builds" } | ||
print *, __TIMESTAMP__ ! { dg-warning "might prevent reproducible builds" } | ||
print *, __TIME__ ! { dg-warning "might prevent reproducible builds" } | ||
print *, __DATE__ ! { dg-warning "might prevent reproducible builds" } | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters