diff options
author | Richard Henderson <rth@redhat.com> | 2001-08-27 15:35:41 -0700 |
---|---|---|
committer | Richard Henderson <rth@gcc.gnu.org> | 2001-08-27 15:35:41 -0700 |
commit | a224278b115a7a5324313185817f27ca21ee11f4 (patch) | |
tree | 8e0100cc7514eeaa7a17f06b2350a123b9890ca0 /gcc/genattr.c | |
parent | 80c29cc43702b54cdd5de86bee8b8e24ecce2b4e (diff) | |
download | gcc-a224278b115a7a5324313185817f27ca21ee11f4.zip gcc-a224278b115a7a5324313185817f27ca21ee11f4.tar.gz gcc-a224278b115a7a5324313185817f27ca21ee11f4.tar.bz2 |
* genattr.c (main): Emit state_t even when not doing scheduling.
From-SVN: r45214
Diffstat (limited to 'gcc/genattr.c')
-rw-r--r-- | gcc/genattr.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/gcc/genattr.c b/gcc/genattr.c index dd07899..0f4df93 100644 --- a/gcc/genattr.c +++ b/gcc/genattr.c @@ -448,6 +448,12 @@ main (argc, argv) printf ("extern void dfa_start PARAMS ((void));\n"); printf ("extern void dfa_finish PARAMS ((void));\n"); } + else + { + /* Otherwise we do no scheduling, but we need these typedefs + in order to avoid uglifying other code with more ifdefs. */ + printf ("typedef void *state_t;\n\n"); + } /* Output flag masks for use by reorg. |