This is the mail archive of the gcc-patches@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] |
In the context of static code analysis, we do not need complex front-end expansions related to pragma Pack, so disable handling of pragma Pack and Implicit_Packing in this case. Tested on x86_64-pc-linux-gnu, committed on trunk 2009-07-23 Arnaud Charlet <charlet@adacore.com> * freeze.adb (Set_Small_Size): Remove extra space for consistency with other similar messages. * sem_prag.adb (Freeze_Record_Type, Freeze_Entity): Disable error messages/implicit packing in CodePeer mode. (Analyze_Pragma [case pragma Pack]): Ignore pragma in CodePeer mode. * errout.adb (Special_Msg_Delete): Suppress 'size too small' message in CodePeer mode.
Attachment:
difs
Description: Text document
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |