OSDN Git Service

* tree-pretty-print.c (dump_location): New.
[pf3gnuchains/gcc-fork.git] / gcc / ChangeLog
index 10dd634..894361c 100644 (file)
@@ -1,3 +1,76 @@
+2009-05-27  Diego Novillo  <dnovillo@google.com>
+
+       * tree-pretty-print.c (dump_location): New.
+       (dump_generic_node): Call it.
+       Factor code to handle BLOCK nodes ...
+       (dump_block_node): ... here.
+
+2009-05-27  Rafael Avila de Espindola  <espindola@google.com>
+
+       * Makefile.in (GCC_PLUGIN_H): New. Replace all uses of gcc-plugin.h with
+       it.
+       * doc/plugins.texi: Document that gcc-plugin.h must be the first to be
+       included.
+       * gcc-plugin.h: Include config.h and system.h.
+       (IN_GCC): Define if not defined.
+
+2009-05-27  Hans-Peter Nilsson  <hp@axis.com>
+
+       PR middle-end/40249
+       * Makefile.in (CRTSTUFF_CFLAGS): Replace -fno-inline-functions
+       with -fno-inline.
+
+2009-05-27  Shujing Zhao  <pearly.zhao@oracle.com>
+
+       * config/m32r/m32r.c: Use REG_P, MEM_P and CONST_INT_P where
+       applicable.
+       * config/m32r/m32r.h: Ditto.
+       * config/m32r/m32r.md: Ditto.
+       * config/m32r/predicates.md: Ditto.
+
+2009-05-27  Alexandre Oliva  <aoliva@redhat.com>
+
+       * cgraph.c (dump_cgraph_node): Honor -fdump-noaddr.
+
+2009-05-26  Basile Starynkevitch  <basile@starynkevitch.net>
+
+       * doc/plugins.texi
+       (Loading plugins): typo.
+       (Plugin callbacks): Documented PLUGIN_INFO, PLUGIN_GGC_START,
+       PLUGIN_GGC_MARKING, PLUGIN_GGC_END, PLUGIN_REGISTER_GGC_ROOTS.
+       (Interacting with the GCC Garbage Collector): Added new section.
+       (Giving information about a plugin): Added new section for
+       PLUGIN_INFO.
+       * testsuite/gcc.dg/plugin/plugin.exp: Added ggcplug.c test plugin
+       with ggcplug-test-1.c for testing PLUGIN_GGC_MARKING etc...
+       * testsuite/gcc.dg/plugin/ggcplug-test-1.c: Added new file.
+       * testsuite/gcc.dg/plugin/ggcplug.c: Added new file.
+       * ggc.h (ggc_register_root_tab): Added declaration.
+       * gcc-plugin.h (PLUGIN_GGC_START, PLUGIN_GGC_MARKING)
+       (PLUGIN_GGC_END, PLUGIN_REGISTER_GGC_ROOTS): Added new events.
+       (register_callback): Improved comment in declaration.
+       * ggc-common.c (const_ggc_root_tab_t) Added new typedef for
+       vectors.
+       (extra_root_vec) Added static variable for dynamic roots
+       registration.
+       (ggc_register_root_tab) Added new routine.
+       (ggc_mark_roots) Added iteration inside extra_root_vec, and invoke
+       PLUGIN_GGC_MARKING event.
+       * ggc-zone.c: Include plugin.h.
+       (ggc_collect): Invoke PLUGIN_GGC_START & PLUGIN_GGC_END events.
+       * ggc-page.c: Include plugin.h.
+       (ggc_collect): Invoke PLUGIN_GGC_START & PLUGIN_GGC_END events.
+       * plugin.c (plugin_event_name): added names of PLUGIN_GGC_START,
+       PLUGIN_GGC_MARKING, PLUGIN_GGC_END, PLUGIN_REGISTER_GGC_ROOTS
+       (register_callback): check lack of callbacks for
+       pseudo-events. Added handling of PLUGIN_REGISTER_GGC_ROOTS,
+       PLUGIN_GGC_START, PLUGIN_GGC_MARKING, PLUGIN_GGC_END.
+       (invoke_plugin_callbacks): Handle PLUGIN_GGC_START,
+       PLUGIN_GGC_MARKING, PLUGIN_GGC_END, PLUGIN_REGISTER_GGC_ROOTS.
+       * Makefile.in (ggc-common.o, ggc-zone.o, ggc-page.o): Added
+       dependency on plugin.h.
+       (plugin.o): Added dependency on ggc.h...
+
 2009-05-26  Richard Guenther  <rguenther@suse.de>
 
        PR middle-end/40248
        * config/v850/t-v850 (v850-c.o): Likewise.
        * config/v850/t-v850e (v850-c.o): Likewise.
 
-2009-05-26  Richard Sandiford  <richard@codesourcery.com>
-
-       * config/arm/neon-gen.ml: Include vxWorks.h rather than stdint.h
-       for VxWorks kernels.
-       * config/arm/arm_neon.h: Regenerate.
-
 2009-05-26  Richard Guenther  <rguenther@suse.de>
 
        PR tree-optimization/40122