Fix dupplicate declaration of ggc_realloc in gencondmd
commit54731e73602b04b60654c734d53cd5e8d2681aa4
authortbsaunde <tbsaunde@138bc75d-0d04-0410-961f-82ee72b054a4>
Sat, 4 Oct 2014 13:29:26 +0000 (4 13:29 +0000)
committertbsaunde <tbsaunde@138bc75d-0d04-0410-961f-82ee72b054a4>
Sat, 4 Oct 2014 13:29:26 +0000 (4 13:29 +0000)
tree6d05f9c2925919286a79aef6047062c1ddef52f2
parent50145844e89b47f2305c4f8508e3695a51910253
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
gcc/ChangeLog
gcc/genconditions.c