sem_eval.adb (Compile_Time_Compare): Reinstate the expr+literal (etc) optimizations...
authorEric Botcazou <ebotcazou@adacore.com>
Sat, 21 Jan 2017 11:10:00 +0000 (11:10 +0000)
committerEric Botcazou <ebotcazou@gcc.gnu.org>
Sat, 21 Jan 2017 11:10:00 +0000 (11:10 +0000)
commit22564ca91644d357ff2f08e1238abf142c45a807
treee7cfdc9eb13bfe8b6dcd07c62aa6303563ed703d
parent51f03c6b11a46d756ae05c67e34cca2ccb4fafaa
sem_eval.adb (Compile_Time_Compare): Reinstate the expr+literal (etc) optimizations when...

* sem_eval.adb (Compile_Time_Compare): Reinstate the expr+literal (etc)
optimizations when the type is modular and the offsets are equal.

From-SVN: r244745
gcc/ada/ChangeLog
gcc/ada/sem_eval.adb