c++/7280: [PATCH] NRV related miscompilation
Jason Merrill
jason@redhat.com
Thu Jul 11 14:15:00 GMT 2002
The bug was that we were failing to put the new variable in the stack
because we didn't copy TREE_ADDRESSABLE.
Tested i686-pc-linux-gnu, applied trunk and 3.1.
2002-07-11 Jason Merrill <jason@redhat.com>
PR c++/7279
* tree.c (cp_copy_res_decl_for_inlining): Also copy
TREE_ADDRESSABLE.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: text/x-patch
Size: 639 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/gcc-bugs/attachments/20020711/83629614/attachment.bin>
More information about the Gcc-bugs
mailing list