This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: eliminate warning in i386.md
- To: kraai at alumni dot carnegiemellon dot edu
- Subject: Re: eliminate warning in i386.md
- From: "Kaveh R. Ghazi" <ghazi at caip dot rutgers dot edu>
- Date: Thu, 15 Mar 2001 19:33:44 -0500 (EST)
- Cc: gcc-patches at gcc dot gnu dot org
> ***************
> *** 3737,3742 ****
> --- 3737,3743 ----
> else
> return \"fst%z0\\t%y0\";
> }
> + abort();
> }"
> [(set_attr "type" "sse,fmov")
> (set_attr "mode" "DF,SF")])
Our convention has been to add a default case calling abort() in the
switch statement. Try searching for "switch (which_alternative)" in
i386.md to see what I mean.
--Kaveh
--
Kaveh R. Ghazi Engagement Manager / Project Services
ghazi@caip.rutgers.edu Qwest Internet Solutions