public inbox for gcc-patches@gcc.gnu.org
 help / color / mirror / Atom feed
* [Patch] Missing plugin header files
@ 2015-01-14 22:03 Steve Ellcey 
  2015-01-15  9:58 ` Richard Biener
  0 siblings, 1 reply; 5+ messages in thread
From: Steve Ellcey  @ 2015-01-14 22:03 UTC (permalink / raw)
  To: gcc-patches

I tried compiling an empty plugin that just included gcc-plugin.h and
plugin-version.h and found that these header files were included from
gcc-plugin.h but not in the list of header files to be copied to the
plugin include directory.

OK to checkin?

Steve Ellcey
sellcey@imgtec.com

2015-01-14  Steve Ellcey  <sellcey@mips.com>

	* Makefile.in (PLUGIN_HEADERS): Add dominance.h, cfg.h, cfgrtl.h,
	cfganal.h, cfgbuild.h, cfgcleanup.h, lcm.h, builtins.def,
	chkp-builtins.def, and pass-instances.def


diff --git a/gcc/Makefile.in b/gcc/Makefile.in
index 44a4214..abe2d0d 100644
--- a/gcc/Makefile.in
+++ b/gcc/Makefile.in
@@ -3228,7 +3228,8 @@ PLUGIN_HEADERS = $(TREE_H) $(CONFIG_H) $(SYSTEM_H) coretypes.h $(TM_H) \
   tree-ssa-loop.h tree-ssa-loop-ivopts.h tree-ssa-loop-manip.h \
   tree-ssa-loop-niter.h tree-ssa-ter.h tree-ssa-threadedge.h \
   tree-ssa-threadupdate.h inchash.h wide-int.h signop.h hash-map.h \
-  hash-set.h pass-instances.def
+  hash-set.h dominance.h cfg.h cfgrtl.h cfganal.h cfgbuild.h cfgcleanup.h \
+  lcm.h builtins.def chkp-builtins.def pass-instances.def
 
 # generate the 'build fragment' b-header-vars
 s-header-vars: Makefile

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [Patch] Missing plugin header files
  2015-01-14 22:03 [Patch] Missing plugin header files Steve Ellcey 
@ 2015-01-15  9:58 ` Richard Biener
  2015-01-15 18:29   ` Prathamesh Kulkarni
  0 siblings, 1 reply; 5+ messages in thread
From: Richard Biener @ 2015-01-15  9:58 UTC (permalink / raw)
  To: Steve Ellcey; +Cc: GCC Patches

On Wed, Jan 14, 2015 at 10:43 PM, Steve Ellcey <sellcey@imgtec.com> wrote:
> I tried compiling an empty plugin that just included gcc-plugin.h and
> plugin-version.h and found that these header files were included from
> gcc-plugin.h but not in the list of header files to be copied to the
> plugin include directory.
>
> OK to checkin?

Ok.

Thanks,
Richard.

> Steve Ellcey
> sellcey@imgtec.com
>
> 2015-01-14  Steve Ellcey  <sellcey@mips.com>
>
>         * Makefile.in (PLUGIN_HEADERS): Add dominance.h, cfg.h, cfgrtl.h,
>         cfganal.h, cfgbuild.h, cfgcleanup.h, lcm.h, builtins.def,
>         chkp-builtins.def, and pass-instances.def
>
>
> diff --git a/gcc/Makefile.in b/gcc/Makefile.in
> index 44a4214..abe2d0d 100644
> --- a/gcc/Makefile.in
> +++ b/gcc/Makefile.in
> @@ -3228,7 +3228,8 @@ PLUGIN_HEADERS = $(TREE_H) $(CONFIG_H) $(SYSTEM_H) coretypes.h $(TM_H) \
>    tree-ssa-loop.h tree-ssa-loop-ivopts.h tree-ssa-loop-manip.h \
>    tree-ssa-loop-niter.h tree-ssa-ter.h tree-ssa-threadedge.h \
>    tree-ssa-threadupdate.h inchash.h wide-int.h signop.h hash-map.h \
> -  hash-set.h pass-instances.def
> +  hash-set.h dominance.h cfg.h cfgrtl.h cfganal.h cfgbuild.h cfgcleanup.h \
> +  lcm.h builtins.def chkp-builtins.def pass-instances.def
>
>  # generate the 'build fragment' b-header-vars
>  s-header-vars: Makefile

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [Patch] Missing plugin header files
  2015-01-15  9:58 ` Richard Biener
@ 2015-01-15 18:29   ` Prathamesh Kulkarni
  2015-01-15 18:35     ` Steve Ellcey
  0 siblings, 1 reply; 5+ messages in thread
From: Prathamesh Kulkarni @ 2015-01-15 18:29 UTC (permalink / raw)
  To: Richard Biener; +Cc: Steve Ellcey, GCC Patches

On 15 January 2015 at 14:14, Richard Biener <richard.guenther@gmail.com> wrote:
> On Wed, Jan 14, 2015 at 10:43 PM, Steve Ellcey <sellcey@imgtec.com> wrote:
>> I tried compiling an empty plugin that just included gcc-plugin.h and
>> plugin-version.h and found that these header files were included from
>> gcc-plugin.h but not in the list of header files to be copied to the
>> plugin include directory.
>>
>> OK to checkin?
>
> Ok.
>
> Thanks,
> Richard.
>
>> Steve Ellcey
>> sellcey@imgtec.com
>>
>> 2015-01-14  Steve Ellcey  <sellcey@mips.com>
>>
>>         * Makefile.in (PLUGIN_HEADERS): Add dominance.h, cfg.h, cfgrtl.h,
>>         cfganal.h, cfgbuild.h, cfgcleanup.h, lcm.h, builtins.def,
>>         chkp-builtins.def, and pass-instances.def
>>
Should pass-instances.def be removed from ChangeLog since it was
already present in PLUGIN_HEADERS ?

Thanks,
Prathamesh
>>
>> diff --git a/gcc/Makefile.in b/gcc/Makefile.in
>> index 44a4214..abe2d0d 100644
>> --- a/gcc/Makefile.in
>> +++ b/gcc/Makefile.in
>> @@ -3228,7 +3228,8 @@ PLUGIN_HEADERS = $(TREE_H) $(CONFIG_H) $(SYSTEM_H) coretypes.h $(TM_H) \
>>    tree-ssa-loop.h tree-ssa-loop-ivopts.h tree-ssa-loop-manip.h \
>>    tree-ssa-loop-niter.h tree-ssa-ter.h tree-ssa-threadedge.h \
>>    tree-ssa-threadupdate.h inchash.h wide-int.h signop.h hash-map.h \
>> -  hash-set.h pass-instances.def
>> +  hash-set.h dominance.h cfg.h cfgrtl.h cfganal.h cfgbuild.h cfgcleanup.h \
>> +  lcm.h builtins.def chkp-builtins.def pass-instances.def
>>
>>  # generate the 'build fragment' b-header-vars
>>  s-header-vars: Makefile

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [Patch] Missing plugin header files
  2015-01-15 18:29   ` Prathamesh Kulkarni
@ 2015-01-15 18:35     ` Steve Ellcey
  2015-01-15 19:29       ` Prathamesh Kulkarni
  0 siblings, 1 reply; 5+ messages in thread
From: Steve Ellcey @ 2015-01-15 18:35 UTC (permalink / raw)
  To: Prathamesh Kulkarni; +Cc: Richard Biener, GCC Patches


> >>
> >> 2015-01-14  Steve Ellcey  <sellcey@mips.com>
> >>
> >>         * Makefile.in (PLUGIN_HEADERS): Add dominance.h, cfg.h, cfgrtl.h,
> >>         cfganal.h, cfgbuild.h, cfgcleanup.h, lcm.h, builtins.def,
> >>         chkp-builtins.def, and pass-instances.def
> >>
> Should pass-instances.def be removed from ChangeLog since it was
> already present in PLUGIN_HEADERS ?
> 
> Thanks,
> Prathamesh

Looks like a cut-n-paste error on my part when I copied the file names
from Makefile.in to ChangeLog.  I will fix the ChangeLog entry.

Steve Ellcey

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [Patch] Missing plugin header files
  2015-01-15 18:35     ` Steve Ellcey
@ 2015-01-15 19:29       ` Prathamesh Kulkarni
  0 siblings, 0 replies; 5+ messages in thread
From: Prathamesh Kulkarni @ 2015-01-15 19:29 UTC (permalink / raw)
  To: Steve Ellcey; +Cc: Richard Biener, GCC Patches

On 16 January 2015 at 00:00, Steve Ellcey <sellcey@imgtec.com> wrote:
>
>> >>
>> >> 2015-01-14  Steve Ellcey  <sellcey@mips.com>
>> >>
>> >>         * Makefile.in (PLUGIN_HEADERS): Add dominance.h, cfg.h, cfgrtl.h,
>> >>         cfganal.h, cfgbuild.h, cfgcleanup.h, lcm.h, builtins.def,
>> >>         chkp-builtins.def, and pass-instances.def
>> >>
>> Should pass-instances.def be removed from ChangeLog since it was
>> already present in PLUGIN_HEADERS ?
>>
>> Thanks,
>> Prathamesh
>
> Looks like a cut-n-paste error on my part when I copied the file names
> from Makefile.in to ChangeLog.  I will fix the ChangeLog entry.
Thanks for the patch, I missed to put headers in PLUGIN_HEADERS
after putting includes in gcc-plugin.h. -:(

Regards,
Prathamesh
>
> Steve Ellcey
>

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2015-01-15 19:16 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-01-14 22:03 [Patch] Missing plugin header files Steve Ellcey 
2015-01-15  9:58 ` Richard Biener
2015-01-15 18:29   ` Prathamesh Kulkarni
2015-01-15 18:35     ` Steve Ellcey
2015-01-15 19:29       ` Prathamesh Kulkarni

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).