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 target/84146] ICE with -mcet in dwarf2out_var_location, involving sigsetjmp


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

--- Comment #7 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Author: jakub
Date: Mon Feb 19 21:58:04 2018
New Revision: 257826

URL: https://gcc.gnu.org/viewcvs?rev=257826&root=gcc&view=rev
Log:
        PR target/84146
        * reg-notes.def (REG_CALL_ARG_LOCATION): New reg note.
        * insn-notes.def (NOTE_INSN_CALL_ARG_LOCATION): Remove.
        * var-tracking.c (emit_note_insn_var_location): Remove all references
        to NOTE_INSN_CALL_ARG_LOCATION.
        (emit_notes_in_bb): Emit arguments as REG_CALL_ARG_LOCATION note on
        the CALL_INSN rather than separate NOTE_INSN_CALL_ARG_LOCATION note.
        Use copy_rtx_if_shared.
        * dwarf2out.c (gen_subprogram_die): Use XEXP with 0 instead of
        NOTE_VAR_LOCATION on ca_loc->call_arg_loc_note.
        (dwarf2out_var_location): Remove handling of
        NOTE_INSN_CALL_ARG_LOCATION, instead handle REG_CALL_ARG_LOCATION note
        on call_insn.
        * final.c (final_scan_insn): Remove all references to
        NOTE_INSN_CALL_ARG_LOCATION.
        (rest_of_clean_state): Likewise.  Remove REG_CALL_ARG_LOCATION notes
        before dumping final insns.
        * except.c (emit_note_eh_region_end): Remove all references to
        NOTE_INSN_CALL_ARG_LOCATION.
        * config/alpha/alpha.c (alpha_pad_function_end): Likewise.
        * config/c6x/c6x.c (c6x_gen_bundles): Likewise.
        * config/arc/arc.c (hwloop_optimize): Likewise.
        * config/arm/arm.c (create_fix_barrier): Likewise.
        * config/s390/s390.c (s390_chunkify_start): Likewise.
        * config/sh/sh.c (find_barrier): Likewise.
        * config/i386/i386.c (rest_of_insert_endbranch,
        ix86_seh_fixup_eh_fallthru): Likewise.
        * config/xtensa/xtensa.c (hwloop_optimize): Likewise.
        * config/iq2000/iq2000.c (final_prescan_insn): Likewise.
        * config/frv/frv.c (frv_function_prologue): Likewise.
        * emit-rtl.c (try_split): Likewise.  Copy over REG_CALL_ARG_LOCATION
        reg note.
        (note_outside_basic_block_p): Remove all references to
        NOTE_INSN_CALL_ARG_LOCATION.
        * gengtype.c (adjust_field_rtx_def): Likewise.
        * print-rtl.c (rtx_writer::print_rtx_operand_code_0, print_insn):
        Likewise.
        * jump.c (cleanup_barriers, delete_related_insns): Likewise.
        * cfgrtl.c (force_nonfallthru_and_redirect): Likewise.

        * gcc.target/i386/pr84146.c: Add -fcompare-debug to dg-options.

Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/cfgrtl.c
    trunk/gcc/config/alpha/alpha.c
    trunk/gcc/config/arc/arc.c
    trunk/gcc/config/arm/arm.c
    trunk/gcc/config/c6x/c6x.c
    trunk/gcc/config/frv/frv.c
    trunk/gcc/config/i386/i386.c
    trunk/gcc/config/iq2000/iq2000.c
    trunk/gcc/config/s390/s390.c
    trunk/gcc/config/sh/sh.c
    trunk/gcc/config/xtensa/xtensa.c
    trunk/gcc/dwarf2out.c
    trunk/gcc/emit-rtl.c
    trunk/gcc/except.c
    trunk/gcc/final.c
    trunk/gcc/gengtype.c
    trunk/gcc/insn-notes.def
    trunk/gcc/jump.c
    trunk/gcc/print-rtl.c
    trunk/gcc/reg-notes.def
    trunk/gcc/testsuite/ChangeLog
    trunk/gcc/testsuite/gcc.target/i386/pr84146.c
    trunk/gcc/var-tracking.c

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