This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: eliminate warning in i386.md


 > ***************
 > *** 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]