diff options
author | Felipe Magno de Almeida <felipe@expertisesolutions.com.br> | 2017-01-10 14:15:59 +0000 |
---|---|---|
committer | Jonathan Wakely <redi@gcc.gnu.org> | 2017-01-10 14:15:59 +0000 |
commit | 26b67e383f4b1df812cd7ba33de43451aff883ba (patch) | |
tree | 74b3473fecf4cef43262f2278bc1ae07a01244ad /gcc/tree-call-cdce.c | |
parent | 79fc8ffe6cd6e4b23c797e166ea3b0c1c0703c29 (diff) | |
download | gcc-26b67e383f4b1df812cd7ba33de43451aff883ba.zip gcc-26b67e383f4b1df812cd7ba33de43451aff883ba.tar.gz gcc-26b67e383f4b1df812cd7ba33de43451aff883ba.tar.bz2 |
Use temporary int objects to access struct tm members
Call _M_extract_* functions family through temporary int objects, so
it doesn't convert from lvalue to rvalue through a temporary in AVR
because of the incompatible types used in AVR-Libc.
This fixes compilation errors with AVR-Libc while compiling libstdc++
for AVR target.
2017-01-10 Felipe Magno de Almeida <felipe@expertisesolutions.com.br>
* include/bits/locale_facets_nonio.tcc
(time_get::_M_extract_via_format): Avoid compilation errors with
non-standard struct tm.
From-SVN: r244271
Diffstat (limited to 'gcc/tree-call-cdce.c')
0 files changed, 0 insertions, 0 deletions