OSDN Git Service

* stor-layout.c (skip_simple_constant_arithmetic): New function.
authorebotcazou <ebotcazou@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 20 Oct 2010 11:02:40 +0000 (11:02 +0000)
committerebotcazou <ebotcazou@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 20 Oct 2010 11:02:40 +0000 (11:02 +0000)
commit85cea2e300bb24c3736eb946ae0af0fb711705f3
tree56cb2bd757966e0e9eda82f1ae634cee00c709ee
parent36db6e56b6e38e2e5d01d7d9be7652db43025dd3
* stor-layout.c (skip_simple_constant_arithmetic): New function.
(self_referential_size): Use it instead of skip_simple_arithmetic.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@165716 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/stor-layout.c
gcc/testsuite/ChangeLog
gcc/testsuite/gnat.dg/discr25.adb [new file with mode: 0644]
gcc/testsuite/gnat.dg/discr25_pkg.adb [new file with mode: 0644]
gcc/testsuite/gnat.dg/discr25_pkg.ads [new file with mode: 0644]