]> git.ipfire.org Git - thirdparty/gcc.git/commit
[Ada] Do not query the representation information in CodePeer/GNATprove
authorpmderodat <pmderodat@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 11 Jun 2018 09:18:12 +0000 (09:18 +0000)
committerpmderodat <pmderodat@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 11 Jun 2018 09:18:12 +0000 (09:18 +0000)
commit7780448ee07b7f80021feffd1f7e2a066818ceba
treeb8bc7e9ef6f1a93a56e0f7ea7da3d26212f48432
parent676f148c2dbea35fd00f4e502299fd0167675b1b
[Ada] Do not query the representation information in CodePeer/GNATprove

Representation information generated when user calls the compiler with -gnatR
switch is not available when running the frontend inside CodePeer or GNATprove.
Do not query such information in that case, as this leads to spurious messages
that it is not available.

There is no impact on compilation.

2018-06-11  Yannick Moy  <moy@adacore.com>

gcc/ada/

* gnat1drv.adb: Do not check representation information in CodePeer and
GNATprove modes, as these modes call a special backend instead of gigi,
so do not have the information.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@261414 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ada/ChangeLog
gcc/ada/gnat1drv.adb