* gcc-interface/utils2.c (find_common_type): Do not return the LHS type
commitd0cc8faff9e4e6d203c69e824723d83131aa494e
authorebotcazou <ebotcazou@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 10 Oct 2016 09:46:10 +0000 (10 09:46 +0000)
committerebotcazou <ebotcazou@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 10 Oct 2016 09:46:10 +0000 (10 09:46 +0000)
tree0bdeb9985c2e7e3119a0865ef5daca84503aaaac
parent8fc5136904189c0d7b06501abc242252fcf00e0b
* gcc-interface/utils2.c (find_common_type): Do not return the LHS type
if it's an array with non-constant lower bound and the RHS type is an
array with a constant one.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@240913 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ada/ChangeLog
gcc/ada/gcc-interface/utils2.c
gcc/testsuite/ChangeLog
gcc/testsuite/gnat.dg/inline13.adb [new file with mode: 0644]
gcc/testsuite/gnat.dg/inline13.ads [new file with mode: 0644]
gcc/testsuite/gnat.dg/inline13_pkg.adb [new file with mode: 0644]
gcc/testsuite/gnat.dg/inline13_pkg.ads [new file with mode: 0644]