This is the mail archive of the gcc-prs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

c++/4222: RVO for empty classes



>Number:         4222
>Category:       c++
>Synopsis:       RVO for empty classes
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    unassigned
>State:          open
>Class:          pessimizes-code
>Submitter-Id:   net
>Arrival-Date:   Tue Sep 04 05:16:00 PDT 2001
>Closed-Date:
>Last-Modified:
>Originator:     Nathan
>Release:        3.0.1, 3.1
>Organization:
>Environment:

>Description:
the fix for bug 4203
2001-09-04  Nathan Sidwell  <nathan@codesourcery.com>

	* call.c (build_over_call): Do not optimize any empty base
	construction.
disables the RVO for empty classes. See test case 
g++.old-deja/g++.other/empty1.C, which I've XFAILED

we need to teach the middle end about empty objects
>How-To-Repeat:

>Fix:

>Release-Note:
>Audit-Trail:
>Unformatted:


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]