[Ada] Disregard alignment issues in CodePeer mode

2018-05-28  Arnaud Charlet  <charlet@adacore.com>

gcc/ada/

	* exp_util.adb (Possible_Bit_Aligned_Component): Always return False in
	codepeer mode.

From-SVN: r260828
This commit is contained in:
Arnaud Charlet 2018-05-28 08:54:11 +00:00 committed by Pierre-Marie de Rodat
parent 7ddbf09d33
commit f167c73516
2 changed files with 11 additions and 0 deletions

View File

@ -1,3 +1,8 @@
2018-05-28 Arnaud Charlet <charlet@adacore.com>
* exp_util.adb (Possible_Bit_Aligned_Component): Always return False in
codepeer mode.
2018-05-28 Arnaud Charlet <charlet@adacore.com>
* exp_unst.adb: Fix typo.

View File

@ -10738,6 +10738,12 @@ package body Exp_Util is
return False;
end if;
-- There are never alignment issues in CodePeer mode
if CodePeer_Mode then
return False;
end if;
case Nkind (N) is
-- Case of indexed component