public inbox for gcc-bugs@sourceware.org help / color / mirror / Atom feed
From: "pinskia at gcc dot gnu dot org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug middle-end/23651] [4.1 Regression] ICE in GC Date: Thu, 06 Oct 2005 01:21:00 -0000 [thread overview] Message-ID: <20051006012135.4148.qmail@sourceware.org> (raw) In-Reply-To: <bug-23651-702@http.gcc.gnu.org/bugzilla/> ------- Comment #8 from pinskia at gcc dot gnu dot org 2005-10-06 01:21 ------- I have a fix for this bug, return_label and naked_return_label don't need to be set after expand. Hmm, maybe we could move them to global memory and not use up 8-16 bytes in function.c since we never expand more than function at a time now. The simple patch is the following: Index: cfgexpand.c =================================================================== RCS file: /cvs/gcc/gcc/gcc/cfgexpand.c,v retrieving revision 2.50 diff -u -p -r2.50 cfgexpand.c --- cfgexpand.c 6 Aug 2005 13:25:56 -0000 2.50 +++ cfgexpand.c 6 Oct 2005 01:18:05 -0000 @@ -1578,6 +1578,8 @@ tree_expand_cfg (void) (*debug_hooks->outlining_inline_function) (current_function_decl); TREE_ASM_WRITTEN (current_function_decl) = 1; + return_label = NULL; + naked_return_label = NULL; } struct tree_opt_pass pass_expand = -- pinskia at gcc dot gnu dot org changed: What |Removed |Added ---------------------------------------------------------------------------- AssignedTo|unassigned at gcc dot gnu |pinskia at gcc dot gnu dot |dot org |org Status|NEW |ASSIGNED Component|c++ |middle-end http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23651
next prev parent reply other threads:[~2005-10-06 1:21 UTC|newest] Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top [not found] <bug-23651-702@http.gcc.gnu.org/bugzilla/> 2005-10-03 17:44 ` [Bug c++/23651] " janis187 at us dot ibm dot com 2005-10-06 0:52 ` pinskia at gcc dot gnu dot org 2005-10-06 1:21 ` pinskia at gcc dot gnu dot org [this message] 2005-10-06 1:28 ` [Bug middle-end/23651] " pinskia at gcc dot gnu dot org 2005-10-06 15:06 ` pinskia at gcc dot gnu dot org 2005-10-06 22:14 ` pinskia at gcc dot gnu dot org 2005-10-06 22:14 ` cvs-commit at gcc dot gnu dot org 2005-08-31 9:44 [Bug c++/23651] New: " snyder at fnal dot gov 2005-08-31 13:36 ` [Bug middle-end/23651] [4.1 Regression] " pinskia at gcc dot gnu dot org 2005-08-31 16:00 ` pinskia at gcc dot gnu dot org 2005-09-16 19:59 ` pinskia at gcc dot gnu dot 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=20051006012135.4148.qmail@sourceware.org \ --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).