[Ada] Missing range check on assignment to bit-packed array
[official-gcc.git] / gcc / dumpfile.h
blob9bcaa25b0a5ba7aab358f4cb8f6ff093f782fe3a
1 /* Definitions for the shared dumpfile.
2 Copyright (C) 2004-2019 Free Software Foundation, Inc.
4 This file is part of GCC.
6 GCC is free software; you can redistribute it and/or modify
7 it under the terms of the GNU General Public License as published by
8 the Free Software Foundation; either version 3, or (at your option)
9 any later version.
11 GCC is distributed in the hope that it will be useful,
12 but WITHOUT ANY WARRANTY; without even the implied warranty of
13 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 GNU General Public License for more details.
16 You should have received a copy of the GNU General Public License
17 along with GCC; see the file COPYING3. If not see
18 <http://www.gnu.org/licenses/>. */
21 #ifndef GCC_DUMPFILE_H
22 #define GCC_DUMPFILE_H 1
24 #include "profile-count.h"
26 /* An attribute for annotating formatting printing functions that use
27 the dumpfile/optinfo formatting codes. These are the pretty_printer
28 format codes (see pretty-print.c), with additional codes for middle-end
29 specific entities (see dumpfile.c). */
31 #if GCC_VERSION >= 9000
32 #define ATTRIBUTE_GCC_DUMP_PRINTF(m, n) \
33 __attribute__ ((__format__ (__gcc_dump_printf__, m ,n))) \
34 ATTRIBUTE_NONNULL(m)
35 #else
36 #define ATTRIBUTE_GCC_DUMP_PRINTF(m, n) ATTRIBUTE_NONNULL(m)
37 #endif
39 /* Different tree dump places. When you add new tree dump places,
40 extend the DUMP_FILES array in dumpfile.c. */
41 enum tree_dump_index
43 TDI_none, /* No dump */
44 TDI_cgraph, /* dump function call graph. */
45 TDI_inheritance, /* dump type inheritance graph. */
46 TDI_clones, /* dump IPA cloning decisions. */
47 TDI_original, /* dump each function before optimizing it */
48 TDI_gimple, /* dump each function after gimplifying it */
49 TDI_nested, /* dump each function after unnesting it */
50 TDI_lto_stream_out, /* dump information about lto streaming */
52 TDI_lang_all, /* enable all the language dumps. */
53 TDI_tree_all, /* enable all the GENERIC/GIMPLE dumps. */
54 TDI_rtl_all, /* enable all the RTL dumps. */
55 TDI_ipa_all, /* enable all the IPA dumps. */
57 TDI_end
60 /* Enum used to distinguish dump files to types. */
62 enum dump_kind
64 DK_none,
65 DK_lang,
66 DK_tree,
67 DK_rtl,
68 DK_ipa
71 /* Bit masks to control dumping. Not all values are applicable to all
72 dumps. Add new ones at the end. When you define new values, extend
73 the DUMP_OPTIONS array in dumpfile.c. The TDF_* flags coexist with
74 MSG_* flags (for -fopt-info) and the bit values must be chosen to
75 allow that. */
76 enum dump_flag
78 /* Value of TDF_NONE is used just for bits filtered by TDF_KIND_MASK. */
79 TDF_NONE = 0,
81 /* Dump node addresses. */
82 TDF_ADDRESS = (1 << 0),
84 /* Don't go wild following links. */
85 TDF_SLIM = (1 << 1),
87 /* Don't unparse the function. */
88 TDF_RAW = (1 << 2),
90 /* Show more detailed info about each pass. */
91 TDF_DETAILS = (1 << 3),
93 /* Dump various statistics about each pass. */
94 TDF_STATS = (1 << 4),
96 /* Display basic block boundaries. */
97 TDF_BLOCKS = (1 << 5),
99 /* Display virtual operands. */
100 TDF_VOPS = (1 << 6),
102 /* Display statement line numbers. */
103 TDF_LINENO = (1 << 7),
105 /* Display decl UIDs. */
106 TDF_UID = (1 << 8),
108 /* Address of stmt. */
109 TDF_STMTADDR = (1 << 9),
111 /* A graph dump is being emitted. */
112 TDF_GRAPH = (1 << 10),
114 /* Display memory symbols in expr.
115 Implies TDF_VOPS. */
116 TDF_MEMSYMS = (1 << 11),
118 /* A flag to only print the RHS of a gimple stmt. */
119 TDF_RHS_ONLY = (1 << 12),
121 /* Display asm names of decls. */
122 TDF_ASMNAME = (1 << 13),
124 /* Display EH region number holding this gimple statement. */
125 TDF_EH = (1 << 14),
127 /* Omit UIDs from dumps. */
128 TDF_NOUID = (1 << 15),
130 /* Display alias information. */
131 TDF_ALIAS = (1 << 16),
133 /* Enumerate locals by uid. */
134 TDF_ENUMERATE_LOCALS = (1 << 17),
136 /* Dump cselib details. */
137 TDF_CSELIB = (1 << 18),
139 /* Dump SCEV details. */
140 TDF_SCEV = (1 << 19),
142 /* Dump in GIMPLE FE syntax */
143 TDF_GIMPLE = (1 << 20),
145 /* Dump folding details. */
146 TDF_FOLDING = (1 << 21),
148 /* MSG_* flags for expressing the kinds of message to
149 be emitted by -fopt-info. */
151 /* -fopt-info optimized sources. */
152 MSG_OPTIMIZED_LOCATIONS = (1 << 22),
154 /* Missed opportunities. */
155 MSG_MISSED_OPTIMIZATION = (1 << 23),
157 /* General optimization info. */
158 MSG_NOTE = (1 << 24),
160 /* Mask for selecting MSG_-kind flags. */
161 MSG_ALL_KINDS = (MSG_OPTIMIZED_LOCATIONS
162 | MSG_MISSED_OPTIMIZATION
163 | MSG_NOTE),
165 /* MSG_PRIORITY_* flags for expressing the priority levels of message
166 to be emitted by -fopt-info, and filtering on them.
167 By default, messages at the top-level dump scope are "user-facing",
168 whereas those that are in nested scopes are implicitly "internals".
169 This behavior can be overridden for a given dump message by explicitly
170 specifying one of the MSG_PRIORITY_* flags.
172 By default, dump files show both kinds of message, whereas -fopt-info
173 only shows "user-facing" messages, and requires the "-internals"
174 sub-option of -fopt-info to show the internal messages. */
176 /* Implicitly supplied for messages at the top-level dump scope. */
177 MSG_PRIORITY_USER_FACING = (1 << 25),
179 /* Implicitly supplied for messages within nested dump scopes. */
180 MSG_PRIORITY_INTERNALS = (1 << 26),
182 /* Supplied when an opt_problem generated in a nested scope is re-emitted
183 at the top-level. We want to default to showing these in -fopt-info
184 output, but to *not* show them in dump files, as the message would be
185 shown twice, messing up "scan-tree-dump-times" in DejaGnu tests. */
186 MSG_PRIORITY_REEMITTED = (1 << 27),
188 /* Mask for selecting MSG_PRIORITY_* flags. */
189 MSG_ALL_PRIORITIES = (MSG_PRIORITY_USER_FACING
190 | MSG_PRIORITY_INTERNALS
191 | MSG_PRIORITY_REEMITTED),
193 /* Dumping for -fcompare-debug. */
194 TDF_COMPARE_DEBUG = (1 << 28),
196 /* For error. */
197 TDF_ERROR = (1 << 26),
199 /* All values. */
200 TDF_ALL_VALUES = (1 << 29) - 1
203 /* Dump flags type. */
205 typedef enum dump_flag dump_flags_t;
207 static inline dump_flags_t
208 operator| (dump_flags_t lhs, dump_flags_t rhs)
210 return (dump_flags_t)((int)lhs | (int)rhs);
213 static inline dump_flags_t
214 operator& (dump_flags_t lhs, dump_flags_t rhs)
216 return (dump_flags_t)((int)lhs & (int)rhs);
219 static inline dump_flags_t
220 operator~ (dump_flags_t flags)
222 return (dump_flags_t)~((int)flags);
225 static inline dump_flags_t &
226 operator|= (dump_flags_t &lhs, dump_flags_t rhs)
228 lhs = (dump_flags_t)((int)lhs | (int)rhs);
229 return lhs;
232 static inline dump_flags_t &
233 operator&= (dump_flags_t &lhs, dump_flags_t rhs)
235 lhs = (dump_flags_t)((int)lhs & (int)rhs);
236 return lhs;
239 /* Flags to control high-level -fopt-info dumps. Usually these flags
240 define a group of passes. An optimization pass can be part of
241 multiple groups. */
243 enum optgroup_flag
245 OPTGROUP_NONE = 0,
247 /* IPA optimization passes */
248 OPTGROUP_IPA = (1 << 1),
250 /* Loop optimization passes */
251 OPTGROUP_LOOP = (1 << 2),
253 /* Inlining passes */
254 OPTGROUP_INLINE = (1 << 3),
256 /* OMP (Offloading and Multi Processing) transformations */
257 OPTGROUP_OMP = (1 << 4),
259 /* Vectorization passes */
260 OPTGROUP_VEC = (1 << 5),
262 /* All other passes */
263 OPTGROUP_OTHER = (1 << 6),
265 OPTGROUP_ALL = (OPTGROUP_IPA | OPTGROUP_LOOP | OPTGROUP_INLINE
266 | OPTGROUP_OMP | OPTGROUP_VEC | OPTGROUP_OTHER)
269 typedef enum optgroup_flag optgroup_flags_t;
271 static inline optgroup_flags_t
272 operator| (optgroup_flags_t lhs, optgroup_flags_t rhs)
274 return (optgroup_flags_t)((int)lhs | (int)rhs);
277 static inline optgroup_flags_t &
278 operator|= (optgroup_flags_t &lhs, optgroup_flags_t rhs)
280 lhs = (optgroup_flags_t)((int)lhs | (int)rhs);
281 return lhs;
284 /* Define a tree dump switch. */
285 struct dump_file_info
287 /* Suffix to give output file. */
288 const char *suffix;
289 /* Command line dump switch. */
290 const char *swtch;
291 /* Command line glob. */
292 const char *glob;
293 /* Filename for the pass-specific stream. */
294 const char *pfilename;
295 /* Filename for the -fopt-info stream. */
296 const char *alt_filename;
297 /* Pass-specific dump stream. */
298 FILE *pstream;
299 /* -fopt-info stream. */
300 FILE *alt_stream;
301 /* Dump kind. */
302 dump_kind dkind;
303 /* Dump flags. */
304 dump_flags_t pflags;
305 /* A pass flags for -fopt-info. */
306 dump_flags_t alt_flags;
307 /* Flags for -fopt-info given by a user. */
308 optgroup_flags_t optgroup_flags;
309 /* State of pass-specific stream. */
310 int pstate;
311 /* State of the -fopt-info stream. */
312 int alt_state;
313 /* Dump file number. */
314 int num;
315 /* Fields "suffix", "swtch", "glob" can be const strings,
316 or can be dynamically allocated, needing free. */
317 bool owns_strings;
318 /* When a given dump file is being initialized, this flag is set to true
319 if the corresponding TDF_graph dump file has also been initialized. */
320 bool graph_dump_initialized;
323 /* A class for describing where in the user's source that a dump message
324 relates to, with various constructors for convenience.
325 In particular, this lets us associate dump messages
326 with hotness information (e.g. from PGO), allowing them to
327 be prioritized by code hotness. */
329 class dump_user_location_t
331 public:
332 /* Default constructor, analogous to UNKNOWN_LOCATION. */
333 dump_user_location_t () : m_count (), m_loc (UNKNOWN_LOCATION) {}
335 /* Construct from a gimple statement (using its location and hotness). */
336 dump_user_location_t (const gimple *stmt);
338 /* Construct from an RTL instruction (using its location and hotness). */
339 dump_user_location_t (const rtx_insn *insn);
341 /* Construct from a location_t. This one is deprecated (since it doesn't
342 capture hotness information); it thus needs to be spelled out. */
343 static dump_user_location_t
344 from_location_t (location_t loc)
346 return dump_user_location_t (profile_count (), loc);
349 /* Construct from a function declaration. This one requires spelling out
350 to avoid accidentally constructing from other kinds of tree. */
351 static dump_user_location_t
352 from_function_decl (tree fndecl);
354 profile_count get_count () const { return m_count; }
355 location_t get_location_t () const { return m_loc; }
357 private:
358 /* Private ctor from count and location, for use by from_location_t. */
359 dump_user_location_t (profile_count count, location_t loc)
360 : m_count (count), m_loc (loc)
363 profile_count m_count;
364 location_t m_loc;
367 /* A class for identifying where in the compiler's own source
368 (or a plugin) that a dump message is being emitted from. */
370 struct dump_impl_location_t
372 dump_impl_location_t (
373 #if __GNUC__ > 4 || (__GNUC__ == 4 && __GNUC_MINOR__ >= 8)
374 const char *file = __builtin_FILE (),
375 int line = __builtin_LINE (),
376 const char *function = __builtin_FUNCTION ()
377 #else
378 const char *file = __FILE__,
379 int line = __LINE__,
380 const char *function = NULL
381 #endif
383 : m_file (file), m_line (line), m_function (function)
386 const char *m_file;
387 int m_line;
388 const char *m_function;
391 /* A bundle of metadata for describing a dump message:
392 (a) the dump_flags
393 (b) the source location within the compiler/plugin.
395 The constructors use default parameters so that (b) gets sets up
396 automatically.
398 Hence you can pass in e.g. MSG_NOTE, and the dump call
399 will automatically record where in GCC's source code the
400 dump was emitted from. */
402 class dump_metadata_t
404 public:
405 dump_metadata_t (dump_flags_t dump_flags,
406 const dump_impl_location_t &impl_location
407 = dump_impl_location_t ())
408 : m_dump_flags (dump_flags),
409 m_impl_location (impl_location)
413 dump_flags_t get_dump_flags () const { return m_dump_flags; }
415 const dump_impl_location_t &
416 get_impl_location () const { return m_impl_location; }
418 private:
419 dump_flags_t m_dump_flags;
420 dump_impl_location_t m_impl_location;
423 /* A bundle of information for describing the location of a dump message:
424 (a) the source location and hotness within the user's code, together with
425 (b) the source location within the compiler/plugin.
427 The constructors use default parameters so that (b) gets sets up
428 automatically.
430 The upshot is that you can pass in e.g. a gimple * to dump_printf_loc,
431 and the dump call will automatically record where in GCC's source
432 code the dump was emitted from. */
434 class dump_location_t
436 public:
437 /* Default constructor, analogous to UNKNOWN_LOCATION. */
438 dump_location_t (const dump_impl_location_t &impl_location
439 = dump_impl_location_t ())
440 : m_user_location (dump_user_location_t ()),
441 m_impl_location (impl_location)
445 /* Construct from a gimple statement (using its location and hotness). */
446 dump_location_t (const gimple *stmt,
447 const dump_impl_location_t &impl_location
448 = dump_impl_location_t ())
449 : m_user_location (dump_user_location_t (stmt)),
450 m_impl_location (impl_location)
454 /* Construct from an RTL instruction (using its location and hotness). */
455 dump_location_t (const rtx_insn *insn,
456 const dump_impl_location_t &impl_location
457 = dump_impl_location_t ())
458 : m_user_location (dump_user_location_t (insn)),
459 m_impl_location (impl_location)
463 /* Construct from a dump_user_location_t. */
464 dump_location_t (const dump_user_location_t &user_location,
465 const dump_impl_location_t &impl_location
466 = dump_impl_location_t ())
467 : m_user_location (user_location),
468 m_impl_location (impl_location)
472 /* Construct from a location_t. This one is deprecated (since it doesn't
473 capture hotness information), and thus requires spelling out. */
474 static dump_location_t
475 from_location_t (location_t loc,
476 const dump_impl_location_t &impl_location
477 = dump_impl_location_t ())
479 return dump_location_t (dump_user_location_t::from_location_t (loc),
480 impl_location);
483 const dump_user_location_t &
484 get_user_location () const { return m_user_location; }
486 const dump_impl_location_t &
487 get_impl_location () const { return m_impl_location; }
489 location_t get_location_t () const
491 return m_user_location.get_location_t ();
494 profile_count get_count () const { return m_user_location.get_count (); }
496 private:
497 dump_user_location_t m_user_location;
498 dump_impl_location_t m_impl_location;
501 /* In dumpfile.c */
502 extern FILE *dump_begin (int, dump_flags_t *, int part=-1);
503 extern void dump_end (int, FILE *);
504 extern int opt_info_switch_p (const char *);
505 extern const char *dump_flag_name (int);
506 extern const kv_pair<optgroup_flags_t> optgroup_options[];
507 extern dump_flags_t
508 parse_dump_option (const char *, const char **);
510 /* Global variables used to communicate with passes. */
511 extern FILE *dump_file;
512 extern dump_flags_t dump_flags;
513 extern const char *dump_file_name;
515 extern bool dumps_are_enabled;
517 extern void set_dump_file (FILE *new_dump_file);
519 /* Return true if any of the dumps is enabled, false otherwise. */
520 static inline bool
521 dump_enabled_p (void)
523 return dumps_are_enabled;
526 /* The following API calls (which *don't* take a "FILE *")
527 write the output to zero or more locations.
529 Some destinations are written to immediately as dump_* calls
530 are made; for others, the output is consolidated into an "optinfo"
531 instance (with its own metadata), and only emitted once the optinfo
532 is complete.
534 The destinations are:
536 (a) the "immediate" destinations:
537 (a.1) the active dump_file, if any
538 (a.2) the -fopt-info destination, if any
539 (b) the "optinfo" destinations, if any:
540 (b.1) as optimization records
542 dump_* (MSG_*) --> dumpfile.c --> items --> (a.1) dump_file
543 | `-> (a.2) alt_dump_file
545 `--> (b) optinfo
546 `---> optinfo destinations
547 (b.1) optimization records
549 For optinfos, the dump_*_loc mark the beginning of an optinfo
550 instance: all subsequent dump_* calls are consolidated into
551 that optinfo, until the next dump_*_loc call (or a change in
552 dump scope, or a call to dumpfile_ensure_any_optinfo_are_flushed).
554 A group of dump_* calls should be guarded by:
556 if (dump_enabled_p ())
558 to minimize the work done for the common case where dumps
559 are disabled. */
561 extern void dump_printf (const dump_metadata_t &, const char *, ...)
562 ATTRIBUTE_GCC_DUMP_PRINTF (2, 3);
564 extern void dump_printf_loc (const dump_metadata_t &, const dump_user_location_t &,
565 const char *, ...)
566 ATTRIBUTE_GCC_DUMP_PRINTF (3, 0);
567 extern void dump_function (int phase, tree fn);
568 extern void dump_basic_block (dump_flags_t, basic_block, int);
569 extern void dump_generic_expr_loc (const dump_metadata_t &,
570 const dump_user_location_t &,
571 dump_flags_t, tree);
572 extern void dump_generic_expr (const dump_metadata_t &, dump_flags_t, tree);
573 extern void dump_gimple_stmt_loc (const dump_metadata_t &,
574 const dump_user_location_t &,
575 dump_flags_t, gimple *, int);
576 extern void dump_gimple_stmt (const dump_metadata_t &, dump_flags_t, gimple *, int);
577 extern void dump_gimple_expr_loc (const dump_metadata_t &,
578 const dump_user_location_t &,
579 dump_flags_t, gimple *, int);
580 extern void dump_gimple_expr (const dump_metadata_t &, dump_flags_t, gimple *, int);
581 extern void dump_symtab_node (const dump_metadata_t &, symtab_node *);
583 template<unsigned int N, typename C>
584 void dump_dec (const dump_metadata_t &, const poly_int<N, C> &);
585 extern void dump_dec (dump_flags_t, const poly_wide_int &, signop);
586 extern void dump_hex (dump_flags_t, const poly_wide_int &);
588 extern void dumpfile_ensure_any_optinfo_are_flushed ();
590 /* Managing nested scopes, so that dumps can express the call chain
591 leading to a dump message. */
593 extern unsigned int get_dump_scope_depth ();
594 extern void dump_begin_scope (const char *name,
595 const dump_user_location_t &user_location,
596 const dump_impl_location_t &impl_location);
597 extern void dump_end_scope ();
599 /* Implementation detail of the AUTO_DUMP_SCOPE macro below.
601 A RAII-style class intended to make it easy to emit dump
602 information about entering and exiting a collection of nested
603 function calls. */
605 class auto_dump_scope
607 public:
608 auto_dump_scope (const char *name,
609 const dump_user_location_t &user_location,
610 const dump_impl_location_t &impl_location
611 = dump_impl_location_t ())
613 if (dump_enabled_p ())
614 dump_begin_scope (name, user_location, impl_location);
616 ~auto_dump_scope ()
618 if (dump_enabled_p ())
619 dump_end_scope ();
623 /* A macro for calling:
624 dump_begin_scope (NAME, USER_LOC);
625 via an RAII object, thus printing "=== MSG ===\n" to the dumpfile etc,
626 and then calling
627 dump_end_scope ();
628 once the object goes out of scope, thus capturing the nesting of
629 the scopes.
631 These scopes affect dump messages within them: dump messages at the
632 top level implicitly default to MSG_PRIORITY_USER_FACING, whereas those
633 in a nested scope implicitly default to MSG_PRIORITY_INTERNALS. */
635 #define AUTO_DUMP_SCOPE(NAME, USER_LOC) \
636 auto_dump_scope scope (NAME, USER_LOC)
638 extern void dump_function (int phase, tree fn);
639 extern void print_combine_total_stats (void);
640 extern bool enable_rtl_dump_file (void);
642 /* In tree-dump.c */
643 extern void dump_node (const_tree, dump_flags_t, FILE *);
645 /* In combine.c */
646 extern void dump_combine_total_stats (FILE *);
647 /* In cfghooks.c */
648 extern void dump_bb (FILE *, basic_block, int, dump_flags_t);
650 struct opt_pass;
652 namespace gcc {
654 /* A class for managing all of the various dump files used by the
655 optimization passes. */
657 class dump_manager
659 public:
661 dump_manager ();
662 ~dump_manager ();
664 /* Register a dumpfile.
666 TAKE_OWNERSHIP determines whether callee takes ownership of strings
667 SUFFIX, SWTCH, and GLOB. */
668 unsigned int
669 dump_register (const char *suffix, const char *swtch, const char *glob,
670 dump_kind dkind, optgroup_flags_t optgroup_flags,
671 bool take_ownership);
673 /* Allow languages and middle-end to register their dumps before the
674 optimization passes. */
675 void
676 register_dumps ();
678 /* Return the dump_file_info for the given phase. */
679 struct dump_file_info *
680 get_dump_file_info (int phase) const;
682 struct dump_file_info *
683 get_dump_file_info_by_switch (const char *swtch) const;
685 /* Return the name of the dump file for the given phase.
686 If the dump is not enabled, returns NULL. */
687 char *
688 get_dump_file_name (int phase, int part = -1) const;
690 char *
691 get_dump_file_name (struct dump_file_info *dfi, int part = -1) const;
694 dump_switch_p (const char *arg);
696 /* Start a dump for PHASE. Store user-supplied dump flags in
697 *FLAG_PTR. Return the number of streams opened. Set globals
698 DUMP_FILE, and ALT_DUMP_FILE to point to the opened streams, and
699 set dump_flags appropriately for both pass dump stream and
700 -fopt-info stream. */
702 dump_start (int phase, dump_flags_t *flag_ptr);
704 /* Finish a tree dump for PHASE and close associated dump streams. Also
705 reset the globals DUMP_FILE, ALT_DUMP_FILE, and DUMP_FLAGS. */
706 void
707 dump_finish (int phase);
709 FILE *
710 dump_begin (int phase, dump_flags_t *flag_ptr, int part);
712 /* Returns nonzero if tree dump PHASE has been initialized. */
714 dump_initialized_p (int phase) const;
716 /* Returns the switch name of PHASE. */
717 const char *
718 dump_flag_name (int phase) const;
720 void register_pass (opt_pass *pass);
722 private:
725 dump_phase_enabled_p (int phase) const;
728 dump_switch_p_1 (const char *arg, struct dump_file_info *dfi, bool doglob);
731 dump_enable_all (dump_kind dkind, dump_flags_t flags, const char *filename);
734 opt_info_enable_passes (optgroup_flags_t optgroup_flags, dump_flags_t flags,
735 const char *filename);
737 bool update_dfi_for_opt_info (dump_file_info *dfi) const;
739 private:
741 /* Dynamically registered dump files and switches. */
742 int m_next_dump;
743 struct dump_file_info *m_extra_dump_files;
744 size_t m_extra_dump_files_in_use;
745 size_t m_extra_dump_files_alloced;
747 /* Stored values from -fopt-info, for handling passes created after
748 option-parsing (by backends and by plugins). */
749 optgroup_flags_t m_optgroup_flags;
750 dump_flags_t m_optinfo_flags;
751 char *m_optinfo_filename;
753 /* Grant access to dump_enable_all. */
754 friend bool ::enable_rtl_dump_file (void);
756 /* Grant access to opt_info_enable_passes. */
757 friend int ::opt_info_switch_p (const char *arg);
759 }; // class dump_manager
761 } // namespace gcc
763 #endif /* GCC_DUMPFILE_H */