summaryrefslogtreecommitdiff
path: root/contrib/compare-all-tests
diff options
context:
space:
mode:
authortbsaunde <tbsaunde@138bc75d-0d04-0410-961f-82ee72b054a4>2014-10-04 13:29:26 +0000
committertbsaunde <tbsaunde@138bc75d-0d04-0410-961f-82ee72b054a4>2014-10-04 13:29:26 +0000
commit54731e73602b04b60654c734d53cd5e8d2681aa4 (patch)
tree6d05f9c2925919286a79aef6047062c1ddef52f2 /contrib/compare-all-tests
parent50145844e89b47f2305c4f8508e3695a51910253 (diff)
downloadgcc-54731e73602b04b60654c734d53cd5e8d2681aa4.tar.gz
Fix dupplicate declaration of ggc_realloc in gencondmd
If vec.h is included before ggc.h it forward declares ggc_realloc with defaulted arguments. This means ggc.h can not be included later because it would lead to a second declaration of ggc_realloc with defaulted arguments. In generator programs vec.h can not include ggc.h because it may not exist yet. So generator programs must make sure they include ggc.h before anything that includes vec.h. gcc/ChangeLog: 2014-10-04 Trevor Saunders <tsaunders@mozilla.com> PR pch/63429 * genconditions.c: Directly include ggc.h before rtl.h. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@215888 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'contrib/compare-all-tests')
0 files changed, 0 insertions, 0 deletions