On Wed, Dec 14, 2016 at 11:54:21AM +0100, Andreas Schwab wrote:
> This crashes the compiler on ia64.
> 
> FAIL: c-c++-common/raw-string-6.c  -Wc++-compat  (test for excess errors)
> Excess errors:
> /usr/local/gcc/gcc-20161214/gcc/testsuite/c-c++-common/raw-string-6.c:5:1: 
> internal compiler error: Segmentation fault
> 0x400000000108571f crash_signal
>       ../../gcc/toplev.c:333
> 0x4000000002024dcf _cpp_process_line_notes
>       ../../libcpp/lex.c:1108
> 0x400000000202b5af _cpp_lex_direct
>       ../../libcpp/lex.c:3097
> 0x400000000202f0ff _cpp_lex_token
>       ../../libcpp/lex.c:2554
> 0x400000000204169f cpp_get_token_1
>       ../../libcpp/macro.c:2462
> 0x40000000004252af c_lex_with_flags(tree_node**, unsigned int*, unsigned 
> char*, int)
>       ../../gcc/c-family/c-lex.c:398
> 0x40000000002e4eaf c_lex_one_token
>       ../../gcc/c/c-parser.c:244
> 0x40000000003404ff c_parser_peek_token(c_parser*)
>       ../../gcc/c/c-parser.c:431
> 0x40000000003404ff c_parser_declaration_or_fndef
>       ../../gcc/c/c-parser.c:1907
> 0x40000000003574ef c_parser_external_declaration
>       ../../gcc/c/c-parser.c:1463
> 0x400000000035905f c_parser_translation_unit
>       ../../gcc/c/c-parser.c:1343
> 0x400000000035905f c_parse_file()
>       ../../gcc/c/c-parser.c:18140
> 0x400000000043e5ef c_common_parse_file()
>       ../../gcc/c-family/c-opts.c:1098

I'm seeing the same failure, with the same backtrace on aarch64*-none-elf
and arm*-none-eabi targets when this test is run with a c++ compiler. 

Thanks,
James

Reply via email to