This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: Enum fix to cplus-dem.c for gcc build with native cc on vax ultrix
- To: dave at hiauly1 dot hia dot nrc dot ca (John David Anglin)
- Subject: Re: Enum fix to cplus-dem.c for gcc build with native cc on vax ultrix
- From: "John David Anglin" <dave at hiauly1 dot hia dot nrc dot ca>
- Date: Sun, 4 Mar 2001 20:11:25 -0500 (EST)
- Cc: gcc-patches at gcc dot gnu dot org
This is the last of the enum fixes for the ultrix native compiler. I am
going to checkin under the obvious rule.
>
> Please review.
>
> --
> J. David Anglin dave.anglin@nrc.ca
> National Research Council of Canada (613) 990-0752 (FAX: 952-6605)
>
> 2001-02-21 John David Anglin <dave@hiauly1.hia.nrc.ca>
>
> * cplus-dem.c (main): Cast enum style to int.
>
> --- cplus-dem.c.orig Sun Feb 18 14:06:37 2001
> +++ cplus-dem.c Wed Feb 21 21:38:12 2001
> @@ -5148,7 +5148,7 @@
> skip_first = i;
>
> mbuffer[i] = 0;
> - flags |= style;
> + flags |= (int) style;
> result = cplus_demangle (mbuffer + skip_first, flags);
> if (result)
> {
>
Dave
--
J. David Anglin dave.anglin@nrc.ca
National Research Council of Canada (613) 990-0752 (FAX: 952-6605)