Commit f167c735 by Arnaud Charlet Committed by Pierre-Marie de Rodat

[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
parent 7ddbf09d
2018-05-28 Arnaud Charlet <charlet@adacore.com> 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. * exp_unst.adb: Fix typo.
2018-05-28 Bob Duff <duff@adacore.com> 2018-05-28 Bob Duff <duff@adacore.com>
......
...@@ -10738,6 +10738,12 @@ package body Exp_Util is ...@@ -10738,6 +10738,12 @@ package body Exp_Util is
return False; return False;
end if; end if;
-- There are never alignment issues in CodePeer mode
if CodePeer_Mode then
return False;
end if;
case Nkind (N) is case Nkind (N) is
-- Case of indexed component -- Case of indexed component
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment