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 | |
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
-rw-r--r-- | gcc/ChangeLog | 4 | ||||
-rw-r--r-- | gcc/genattr.c | 6 |
2 files changed, 10 insertions, 0 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index a517aae..42e7883 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,7 @@ +2001-08-27 Richard Henderson <rth@redhat.com> + + * genattr.c (main): Emit state_t even when not doing scheduling. + 2001-08-27 Roman Zippel <zippel@linux-m68k.org> Richard Henderson <rth@redhat.com> 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. |