This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug middle-end/42874] [4.5 Regression] Error on correct code: sorry, unimplemented: function ‘foo’ can never be copied because it uses
- From: "jakub at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 27 Jan 2010 08:51:40 -0000
- Subject: [Bug middle-end/42874] [4.5 Regression] Error on correct code: sorry, unimplemented: function ‘foo’ can never be copied because it uses
- References: <bug-42874-11173@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #4 from jakub at gcc dot gnu dot org 2010-01-27 08:51 -------
Seems the hack not to inline such functions (but until 4.4 always_inline won
over it) has been added for PR6994, which has been fixed in a different way
anyway. And obviously we are now copying/remapping stuff containing VLAs, e.g.
omp-low.c does that. So I'd say we should just nuke that restriction.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42874