This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug debug/77773] New: [7/6 regression] Segfault when compiling __simd64_float16_t using arm-none-eabi-g++ with debug information


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

            Bug ID: 77773
           Summary: [7/6 regression] Segfault when compiling
                    __simd64_float16_t using arm-none-eabi-g++ with debug
                    information
           Product: gcc
           Version: 7.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: debug
          Assignee: unassigned at gcc dot gnu.org
          Reporter: avieira at gcc dot gnu.org
  Target Milestone: ---

Hello,

When compiling the following:
$ cat t.c
typedef __simd64_float16_t float16x4_t;


with:
$ arm-none-eabi-g++ -S t.c -mfloat-abi=hard -march=armv7-a -g
t.c:1:28: internal compiler error: Segmentation fault

0xd33a1f crash_signal
        src/gcc/gcc/toplev.c:336
0x881b8f tree_class_check
        src/gcc/gcc/tree.h:3148
0x881b8f c_pretty_printer::simple_type_specifier(tree_node*)
        src/gcc/gcc/c-family/c-pretty-print.c:351
0x7ce46e cxx_pretty_printer::simple_type_specifier(tree_node*)
        src/gcc/gcc/cp/cxx-pretty-print.c:1324
0x884dec pp_c_specifier_qualifier_list(c_pretty_printer*, tree_node*)
        src/gcc/gcc/c-family/c-pretty-print.c:478
0x884dde pp_c_specifier_qualifier_list(c_pretty_printer*, tree_node*)
        src/gcc/gcc/c-family/c-pretty-print.c:474
0x7ccbe2 pp_cxx_type_specifier_seq
        src/gcc/gcc/cp/cxx-pretty-print.c:1379
0x6b4cd4 dump_type
        src/gcc/gcc/cp/error.c:467
0x6be905 dump_type_prefix
        src/gcc/gcc/cp/error.c:811
0x6b26b2 dump_simple_decl
        src/gcc/gcc/cp/error.c:970
0x6b2e00 dump_decl
        src/gcc/gcc/cp/error.c:1057
0x6beaf1 decl_as_string(tree_node*, int)
        src/gcc/gcc/cp/error.c:2882
0x6beb1f decl_as_dwarf_string(tree_node*, int)
        src/gcc/gcc/cp/error.c:2871
0x59a171 cxx_dwarf_name
        src/gcc/gcc/cp/cp-lang.c:119
0x97f8be type_tag
        src/gcc/gcc/dwarf2out.c:19191
0x9a1369 gen_array_type_die
        src/gcc/gcc/dwarf2out.c:19367
0x9a1369 gen_type_die_with_usage
        src/gcc/gcc/dwarf2out.c:23080
0x9a1c8b gen_type_die
        src/gcc/gcc/dwarf2out.c:23142
0x9ab9d7 modified_type_die
        src/gcc/gcc/dwarf2out.c:11469
0x9abf9c add_type_attribute
        src/gcc/gcc/dwarf2out.c:19123

Removing -g makes it compile without errors.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]