This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] Fix missing headers for plugin [was Miss head file diagnostic.h in plugin.h?]


* Joern Rennecke wrote on Tue, Nov 30, 2010 at 09:34:46PM CET:
> Mingjie Xing:
> >2010/11/30 Ralf Wildenhues:
> >>But then why is hard-reg-set.h not listed in FUNCTION_H? ?Generally,
> >>the *_H make macros in gcc/Makefile.in should correspond to directly
> >>included headers only (with some set of exceptions that I haven't really
> >>grokked yet, sorry).

> >I bet you are right. Putting hard-reg-set.h in FUNCTION_H seems
> >reasonable.  Here's the updated patch.
> 
> The problem is that function.h depends on a target-dependent type.
> See PR middle-end/46495

Are you suggesting that r167290 should be reverted for now?

Thanks,
Ralf


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]