--- Comment #6 from hjl dot tools at gmail dot com 2008-06-09 20:00 ---
*** This bug has been marked as a duplicate of 36479 ***
--
hjl dot tools at gmail dot com changed:
What|Removed |Added
--
--- Comment #5 from dfranke at gcc dot gnu dot org 2008-06-07 16:51 ---
This should help:
+ cpp_option->char_precision = TYPE_PRECISION (char_type_node);
However, now I'm stuck with an ordering problem ...
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36379
--- Comment #4 from dfranke at gcc dot gnu dot org 2008-06-07 16:06 ---
Some progress:
libcpp, charset.c (emit_numeric_escape): here
cvt.width != CPP_OPTION (pfile, char_precision) [0 != 8]
If the logic of the check is inverted, everything works as expected. This
indicates that some
--- Comment #3 from dfranke at gcc dot gnu dot org 2008-06-07 12:56 ---
Traced this down to libcpp, charset.c(cpp_interpret_string). There, the 'to'
string is not properly NUL-terminated, although the comments indicate that this
is the intention of the code.
Example:
$> cat x.f90
# 1 "y
--- Comment #2 from fxcoudert at gcc dot gnu dot org 2008-05-29 22:18
---
(In reply to comment #1)
> Duplicate of PR 36276 ?
Doesn't have the same location, so I don't think so :)
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36379
--- Comment #1 from burnus at gcc dot gnu dot org 2008-05-29 21:00 ---
Duplicate of PR 36276 ?
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36379