Re: pass 'lto_gimple_out' not found, how to migrate it for GCC v6.x?

2017-07-28 Thread Richard Biener
On Fri, Jul 28, 2017 at 6:12 AM, Leslie Zhai wrote: > Hi GCC developers, > > As ChangeLog-2013 mentioned by Bernd Schmidt: ... pass_ipa_lto_gimple_out > ... Remove. Delete. > > there is no 'pass_ipa_lto_gimple_out' in lto-streamer-out.c any more. > > then how to migrate it for GCC v6.x? just like

Re: pass 'lto_gimple_out' not found, how to migrate it for GCC v6.x?

2017-07-28 Thread Duncan Sands
Hi, It says // Disable all LTO passes. (for whatever reason). So try just removing this part - the pass is already removed. IIRC it disables passes that run after gimple has been converted to LLVM IR, as running them would just consume time pointlessly. Best wishes, Duncan.

Re: pass 'lto_gimple_out' not found, how to migrate it for GCC v6.x?

2017-07-28 Thread Leslie Zhai
Hi Richard, Thanks for your kind response! 在 2017年07月28日 15:54, Richard Biener 写道: On Fri, Jul 28, 2017 at 6:12 AM, Leslie Zhai wrote: Hi GCC developers, As ChangeLog-2013 mentioned by Bernd Schmidt: ... pass_ipa_lto_gimple_out ... Remove. Delete. there is no 'pass_ipa_lto_gimple_out' in l

layout of __attribute__((packed)) vs. #pragma pack

2017-07-28 Thread Geza Herman
Hi, There's an option in GCC "-mms-bitfields". The doc about it begins with: "If packed is used on a structure, or if bit-fields are used, it may be that the Microsoft ABI lays out the structure differently than the way GCC normally does. Particularly when moving packed data between functio