aboutsummaryrefslogtreecommitdiff
path: root/gcc/ada/adaint.c
diff options
context:
space:
mode:
authorArnaud Charlet <charlet@gcc.gnu.org>2014-07-30 14:56:13 +0200
committerArnaud Charlet <charlet@gcc.gnu.org>2014-07-30 14:56:13 +0200
commit36428cc491c6948882ca8de83d7ba5b401666c95 (patch)
treed6eb28907b5a7cb7bdfdd571cc89682faacb27c2 /gcc/ada/adaint.c
parent7c02f27b32f60d5dba1ad24df229f4db81c5682a (diff)
downloadgcc-36428cc491c6948882ca8de83d7ba5b401666c95.zip
gcc-36428cc491c6948882ca8de83d7ba5b401666c95.tar.gz
gcc-36428cc491c6948882ca8de83d7ba5b401666c95.tar.bz2
[multiple changes]
2014-07-30 Ed Schonberg <schonberg@adacore.com> * inline.adb (Expand_Inlined_Call): Use a renaming declaration to capture the value of actuals of a limited type rather than an object declaration, to prevent spurious errors when analyzing the inlined body. 2014-07-30 Ed Schonberg <schonberg@adacore.com> * sem_ch4.adb (Analyze_Type_Conversion): Treat an inlined body as an instance, and inhibit semantic checks on already analyzed code to prevent spurious errors. 2014-07-30 Arnaud Charlet <charlet@adacore.com> * a-exctra.ads ("="): New function, to restore compatibility. 2014-07-30 Pascal Obry <obry@adacore.com> * adaint.c (__gnat_to_os_time): Set isdst to -1 for the mktime routine to use the OS dst setting. 2014-07-30 Pat Rogers <rogers@adacore.com> * gnat_ugn.texi: Minor correction to description of -gnatw.K. 2014-07-30 Ed Schonberg <schonberg@adacore.com> * sem_util.adb (Wrong_Type): Disable some checks equally within instances and within inlined bodies, to suppress spurious type errors on already analyzed code. * sem_aggr.adb (Check_Expr_OK_In_Limited_Aggregate): Expression is legal in an inlined body, juts as it is in an instance body. 2014-07-30 Ed Schonberg <schonberg@adacore.com> * sem_res.adb (Resolve_Unchecked_Conversion): Within an inlined body the operand of an unchecked conversion may be a literal, in which case its type is the target type of the conversion. This is in contrast to conversions in other contexts, where the operand cannot be a literal and must be resolvable independent of the context. From-SVN: r213260
Diffstat (limited to 'gcc/ada/adaint.c')
-rw-r--r--gcc/ada/adaint.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/ada/adaint.c b/gcc/ada/adaint.c
index a84f4a5..96dedfe 100644
--- a/gcc/ada/adaint.c
+++ b/gcc/ada/adaint.c
@@ -516,7 +516,7 @@ __gnat_to_os_time (OS_Time *p_time, int year, int month, int day,
v.tm_hour = hours;
v.tm_min = mins;
v.tm_sec = secs;
- v.tm_isdst = 0;
+ v.tm_isdst = -1;
/* returns -1 of failing, this is s-os_lib Invalid_Time */