This is the mail archive of the gcc-bugs@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]
Other format: [Raw text]

[Bug c++/60336] empty struct value is passed differently in C and C++


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=60336

H.J. Lu <hjl.tools at gmail dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
          Component|target                      |c++
            Version|4.8.1                       |4.10.0

--- Comment #22 from H.J. Lu <hjl.tools at gmail dot com> ---
This is a target independent issue.  Clang++ skips empty struct argument
and g++ passes it. Skip empty struct argument requires middle-end changes.


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