https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69665

Martin Sebor <msebor at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
   Last reconfirmed|                            |2016-05-17
                 CC|                            |msebor at gcc dot gnu.org
     Ever confirmed|0                           |1
      Known to fail|                            |7.0

--- Comment #1 from Martin Sebor <msebor at gcc dot gnu.org> ---

$ cat uu.c && /build/gcc-trunk-svn/gcc/xgcc -B /build/gcc-trunk-svn/gcc -c
-Wall -Wextra -Wpedantic uu.c
#pragma push_macro  ("__FILE__")
#define __FILE__ "foobar.c"
#pragma pop_macro ("__FILE__")
uu.c:1:33: internal compiler error: invalid hash type 1 in cpp_macro_definition
 #pragma push_macro  ("__FILE__")
                                 ^
0x856ad9 c_cpp_error(cpp_reader*, int, int, rich_location*, char const*,
__va_list_tag (*) [1])
        /src/gcc-svn/gcc/c-family/c-common.c:10232
0x18ccc54 cpp_diagnostic
        /src/gcc-svn/libcpp/errors.c:61
0x18ccd26 cpp_error(cpp_reader*, int, char const*, ...)
        /src/gcc-svn/libcpp/errors.c:76
0x18e716e cpp_macro_definition(cpp_reader*, cpp_hashnode*)
        /src/gcc-svn/libcpp/macro.c:3352
0x18c9b4e do_pragma_push_macro
        /src/gcc-svn/libcpp/directives.c:1542
0x18c9760 do_pragma
        /src/gcc-svn/libcpp/directives.c:1457
0x18c79e4 _cpp_handle_directive
        /src/gcc-svn/libcpp/directives.c:510
0x18dab37 _cpp_lex_token
        /src/gcc-svn/libcpp/lex.c:2214
0x18e52cf cpp_get_token_1
        /src/gcc-svn/libcpp/macro.c:2458
0x18e5719 cpp_get_token_with_location(cpp_reader*, unsigned int*)
        /src/gcc-svn/libcpp/macro.c:2644
0x87281a c_lex_with_flags(tree_node**, unsigned int*, unsigned char*, int)
        /src/gcc-svn/gcc/c-family/c-lex.c:398
0x7d86ce c_lex_one_token
        /src/gcc-svn/gcc/c/c-parser.c:274
0x7d8add c_parser_peek_token
        /src/gcc-svn/gcc/c/c-parser.c:455
0x80c026 c_parse_file()
        /src/gcc-svn/gcc/c/c-parser.c:17903
0x87e56c c_common_parse_file()
        /src/gcc-svn/gcc/c-family/c-opts.c:1064
Please submit a full bug report,
with preprocessed source if appropriate.
Please include the complete backtrace with any bug report.
See <http://gcc.gnu.org/bugs.html> for instructions.

Reply via email to