• mmitchel's avatar
    PR c++/11326 · e100aadc
    mmitchel authored
    	* c-common.c (flag_abi_version): Remove.
    	* c-common.h (flag_abi_version): Likewise.
    	* c-opts.c (c_common_handle_option): Remove OPT_fabi_version case.
    	* c.opt (fabi-version): Remove.
    	* calls.c (expand_call): Always pass a function type to
    	struct_value_rtx.  Use convert_memory_address.
    	* common.opt (fabi-version): Add it.
    	* flags.h (flag_abi_version): Likewise.
    	(abi_version_at_least): New macro.
    	* opts.c (common_handle_option): Add OPT_fabi_version.
    	* toplev.c (flag_abi_version): Define it.
    	* config/ia64/ia64.c (ia64_struct_retval_addr_is_first_parm_p):
    	New function.
    	(ia64_output_mi_thunk): Use it.
    	(ia64_struct_value_rtx): Likewise.
    
    	PR c++/11326
    	* cp-tree.h (abi_version_at_least): Remove.
    	* mangle.c: Include flags.h.
    
    	PR c++/11326
    	* g++.dg/abi/structret1.C: New test.
    
    
    git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@77968 138bc75d-0d04-0410-961f-82ee72b054a4
    e100aadc
opts.c 44.1 KB