public inbox for gcc-bugs@sourceware.org help / color / mirror / Atom feed
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug debug/64817] [5 Regression] compilation hangs at -O3 with -g enabled on x86_64-linux-gnu Date: Sun, 01 Feb 2015 17:26:00 -0000 [thread overview] Message-ID: <bug-64817-4-nxzno0SwGn@http.gcc.gnu.org/bugzilla/> (raw) In-Reply-To: <bug-64817-4@http.gcc.gnu.org/bugzilla/> https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64817 --- Comment #5 from Jakub Jelinek <jakub at gcc dot gnu.org> --- Author: jakub Date: Sun Feb 1 17:26:17 2015 New Revision: 220320 URL: https://gcc.gnu.org/viewcvs?rev=220320&root=gcc&view=rev Log: PR debug/64817 * cfgexpand.c (deep_ter_debug_map): New variable. (avoid_deep_ter_for_debug): New function. (expand_debug_expr): If TERed SSA_NAME is in deep_ter_debug_map, use the corresponding DEBUG_EXPR_DECL instead of trying to expand SSA_NAME's def stmt. (expand_debug_locations): When expanding debug bind of a DEBUG_EXPR_DECL to corresponding SSA_NAME, temporarily remove the DEBUG_EXPR_DECL from deep_ter_debug_map's value. (pass_expand::execute): Call avoid_deep_ter_for_debug on all debug bind stmts. Delete deep_ter_debug_map after expand_debug_location if non-NULL and clear it. * gcc.dg/pr64817-1.c: New test. * gcc.dg/pr64817-2.c: New test. Added: trunk/gcc/testsuite/gcc.dg/pr64817-1.c trunk/gcc/testsuite/gcc.dg/pr64817-2.c Modified: trunk/gcc/ChangeLog trunk/gcc/cfgexpand.c trunk/gcc/testsuite/ChangeLog
next prev parent reply other threads:[~2015-02-01 17:26 UTC|newest] Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top 2015-01-27 7:04 [Bug debug/64817] New: " su at cs dot ucdavis.edu 2015-01-27 8:56 ` [Bug debug/64817] [5 Regression] " jakub at gcc dot gnu.org 2015-01-27 11:10 ` rguenth at gcc dot gnu.org 2015-01-27 12:02 ` jakub at gcc dot gnu.org 2015-01-30 10:10 ` jakub at gcc dot gnu.org 2015-01-30 12:51 ` jakub at gcc dot gnu.org 2015-02-01 17:26 ` jakub at gcc dot gnu.org [this message] 2015-02-01 22:02 ` jakub at gcc dot gnu.org 2015-02-04 14:24 ` aoliva at gcc dot gnu.org 2015-02-04 14:24 ` aoliva at gcc dot gnu.org 2015-02-06 11:37 ` jakub at gcc dot gnu.org
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=bug-64817-4-nxzno0SwGn@http.gcc.gnu.org/bugzilla/ \ --to=gcc-bugzilla@gcc.gnu.org \ --cc=gcc-bugs@gcc.gnu.org \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).