This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: Fix powerpc64 g77
- From: Mark Mitchell <mark at codesourcery dot com>
- To: Gabriel Dos Reis <gdr at integrable-solutions dot net>
- Cc: David Edelsohn <dje at watson dot ibm dot com>, "gcc-patches at gcc dot gnu dot org" <gcc-patches at gcc dot gnu dot org>, Alan Modra <amodra at bigpond dot net dot au>
- Date: Thu, 01 Aug 2002 16:38:55 -0700
- Subject: Re: Fix powerpc64 g77
| If you saw this code:
|
| if (TARGET_HAS_FOO) {
| x = 1 / 0;
| }
|
| and TARGET_HAS_FOO was 0, wouldn't you want a warning?
No. By no means.
Well, we are definitely on opposite sides of the fence on this one.
At some point down the road, we will have to get a community consensus
so that we know what to do in our compiler.
--
Mark Mitchell mark@codesourcery.com
CodeSourcery, LLC http://www.codesourcery.com