public inbox for gcc-patches@gcc.gnu.org
 help / color / mirror / Atom feed
From: Steven Bosscher <stevenb@suse.de>
To: Andreas Schwab <schwab@suse.de>
Cc: gcc-patches@gcc.gnu.org
Subject: Re: Accumulated cleanups
Date: Wed, 28 Jul 2004 15:02:00 -0000	[thread overview]
Message-ID: <200407281022.23315.stevenb@suse.de> (raw)
In-Reply-To: <jellh4lg1j.fsf@sykes.suse.de>

On Wednesday 28 July 2004 09:58, Andreas Schwab wrote:
> Steven Bosscher <s.bosscher@student.tudelft.nl> writes:
> > 	* rtl.c (rtx_equal_function_value_matters): Remove.
>
> Ever heard of grep???

Have you ever heard of backends using flags for things they're not
supposed to?

-   /* Indicate that we need to distinguish between the return value of the
-      present function and the return value of a function being called.  */
-   rtx_equal_function_value_matters = 1;

I should have grep'ed, Alpha, SH and IA64 use it.  The Alpha ones are
easy to fix.  The other two backends, as usual, need special treatment.
I'll prepare a patch.

Gr.
Steven



> gcc -c   -O2 -g -DIN_GCC   -W -Wall -Wwrite-strings -Wstrict-prototypes
> -Wmissing-prototypes  -fno-common   -DHAVE_CONFIG_H    -I. -I. -I../../gcc
> -I../../gcc/. -I../../gcc/../include -I../../gcc/../libcpp/include
> -I../../gcc/../libbanshee/libcompat -I../../gcc/../libbanshee
> -I../../gcc/../libbanshee/points-to  \ ../../gcc/config/ia64/ia64.c -o
> ia64.o
> ../../gcc/config/ia64/ia64.c: In function `got_symbolic_operand':
> ../../gcc/config/ia64/ia64.c:492: error: `rtx_equal_function_value_matters'
> undeclared (first use in this function) ../../gcc/config/ia64/ia64.c:492:
> error: (Each undeclared identifier is reported only once
> ../../gcc/config/ia64/ia64.c:492: error: for each function it appears in.)
> make[2]: *** [ia64.o] Error 1


  reply	other threads:[~2004-07-28  8:27 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-07-22  7:30 Steven Bosscher
2004-07-26 22:53 ` Ping: " Steven Bosscher
2004-07-28  3:17 ` Jeffrey A Law
2004-07-28 14:47 ` Andreas Schwab
2004-07-28 15:02   ` Steven Bosscher [this message]
2004-07-28 15:02     ` Hopefully fix Alpha/SH/IA64 for mainline (was: Re: Accumulated cleanups) Steven Bosscher
2004-07-28 15:52       ` Andreas Schwab
2004-07-29  8:16       ` Richard Henderson

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=200407281022.23315.stevenb@suse.de \
    --to=stevenb@suse.de \
    --cc=gcc-patches@gcc.gnu.org \
    --cc=schwab@suse.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).