public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "jakub at gcc dot gnu dot org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug middle-end/42874] [4.5 Regression] Error on correct code: sorry, unimplemented: function ‘foo’ can never be copied because it uses
Date: Wed, 27 Jan 2010 15:10:00 -0000	[thread overview]
Message-ID: <20100127151001.23174.qmail@sourceware.org> (raw)
In-Reply-To: <bug-42874-11173@http.gcc.gnu.org/bugzilla/>



------- Comment #7 from jakub at gcc dot gnu dot org  2010-01-27 15:10 -------
Subject: Bug 42874

Author: jakub
Date: Wed Jan 27 15:09:23 2010
New Revision: 156287

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=156287
Log:
        PR middle-end/42874
        * tree-inline.c (cannot_copy_type_1): Removed.
        (copy_forbidden): Don't forbid copying of functions containing
        records/unions with variable length fields.

        * gcc.dg/vla-22.c: New test.

Added:
    trunk/gcc/testsuite/gcc.dg/vla-22.c
Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/testsuite/ChangeLog
    trunk/gcc/tree-inline.c


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42874


  parent reply	other threads:[~2010-01-27 15:10 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-01-26 15:58 [Bug c/42874] New: Error on correct code krebbel at gcc dot gnu dot org
2010-01-26 22:32 ` [Bug middle-end/42874] [4.5 Regression] Error on correct code: sorry, unimplemented: function ‘foo’ can never be copied because it uses rguenth at gcc dot gnu dot org
2010-01-27  8:39 ` jakub at gcc dot gnu dot org
2010-01-27  8:43 ` pinskia at gcc dot gnu dot org
2010-01-27  8:51 ` jakub at gcc dot gnu dot org
2010-01-27  9:08 ` jakub at gcc dot gnu dot org
2010-01-27 10:24 ` rguenth at gcc dot gnu dot org
2010-01-27 15:10 ` jakub at gcc dot gnu dot org [this message]
2010-01-27 15:21 ` jakub at gcc dot gnu dot org
2010-02-07  4:46 ` hjl 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=20100127151001.23174.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: link
Be 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).