summaryrefslogtreecommitdiffstats
path: root/libjava/classpath/java
diff options
context:
space:
mode:
authorebotcazou <ebotcazou@138bc75d-0d04-0410-961f-82ee72b054a4>2012-07-03 08:28:34 +0000
committerebotcazou <ebotcazou@138bc75d-0d04-0410-961f-82ee72b054a4>2012-07-03 08:28:34 +0000
commit265200d0ccd6e5a4f57f9a79f74abfe8c0120574 (patch)
tree9acc0912d99c8d1fbc910a6130e60a7c459eb40e /libjava/classpath/java
parent66f0b044319a0853c186863587fc99d5cd5037aa (diff)
downloadppe42-gcc-265200d0ccd6e5a4f57f9a79f74abfe8c0120574.tar.gz
ppe42-gcc-265200d0ccd6e5a4f57f9a79f74abfe8c0120574.zip
* exp_disp.adb (Expand_Dispatching_Call): Propagate the convention on
the designated subprogram type and also set Is_Dispatch_Table_Entity. (Expand_Interface_Thunk): Propagate the convention on the thunk. (Set_CPP_Constructors_Old): Set Is_Constructor and Convention_CPP on the internal view of the constructors. (Set_CPP_Constructors): Likewise. * sem_prag.adb (Analyze_Pragma) <Pragma_CPP_Constructor>: Set the convention on the function. * gcc-interface/gigi.h (is_cplusplus_method): Declare. * gcc-interface/decl.c (Has_Thiscall_Convention): New macro. (gnat_to_gnu_entity) <E_Subprogram_Type>: Test it to set the `thiscall' calling convention (get_minimal_subprog_decl): Likewise. (is_cplusplus_method): New predicate. * gcc-interface/trans.c (Attribute_to_gnu) <Attr_Access>: Issue an error on access to C++ constructor or member function. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@189199 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libjava/classpath/java')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud