public inbox for gcc-prs@sourceware.org
help / color / mirror / Atom feed
* Re: bootstrap/6619: irix cc chokes on rtl_check macros?
@ 2002-05-10  8:56 Janis Johnson
  0 siblings, 0 replies; 3+ messages in thread
From: Janis Johnson @ 2002-05-10  8:56 UTC (permalink / raw)
  To: nobody; +Cc: gcc-prs

The following reply was made to PR bootstrap/6619; it has been noted by GNATS.

From: Janis Johnson <janis187@us.ibm.com>
To: David.Billinghurst@riotinto.com
Cc: gcc-gnats@gcc.gnu.org, janis187@us.ibm.com
Subject: Re: bootstrap/6619: irix cc chokes on rtl_check macros?
Date: Fri, 10 May 2002 08:50:17 -0700

 On Fri, May 10, 2002 at 12:55:31AM -0000, David.Billinghurst@riotinto.com wrote:
 > 
 > >Number:         6619
 > >Category:       bootstrap
 > >Synopsis:       irix cc chokes on rtl_check macros?
 > >Confidential:   no
 > >Severity:       serious
 > >Priority:       medium
 > >Responsible:    unassigned
 > >State:          open
 > >Class:          sw-bug
 > >Submitter-Id:   net
 > >Arrival-Date:   Thu May 09 17:56:00 PDT 2002
 > >Closed-Date:
 > >Last-Modified:
 > >Originator:     David Billinghurst
 > >Release:        gcc-3.2
 > >Organization:
 > >Environment:
 > mips-sgi-irix6.5
 > >Description:
 > gcc-3.2 on irix6.5 using cc fails in rtl.c.  It got past this point yesterday.  
 > 
 > The problem may be related to 
 > 
 > 2002-05-08  Janis Johnson  <janis187@us.ibm.com>
 > 
 > 	* rtl.h (RTL_FLAG_CHECK*): Add an argument for the macro name,
 > 	and use it in all invocations of these macros.  Clean up comments.
 > 	* rtl.c (rtl_check_failed_flag): Add an argument for the name
 > 	of the flag access macro whose check failed.
 > 	* doc/rtl.texi (Flags): Document additional flag uses.
 > 
 > 
 > The error is
 > "/exd4/billingd/src/gcc/gcc/rtl.c", line 474: error(1029): expected an
 >           expression
 >                   || REG_FUNCTION_VALUE_P (x) == REG_FUNCTION_VALUE_P (y)));
 >                      ^
 > 
 > "/exd4/billingd/src/gcc/gcc/rtl.c", line 474: error(1029): expected an
 >           expression
 >                   || REG_FUNCTION_VALUE_P (x) == REG_FUNCTION_VALUE_P (y)));
 >                                                  ^
 > 2 errors detected in the compilation of "/exd4/billingd/src/gcc/gcc/rtl.c".
 > 
 > The code fragment is
 > 
 >   switch (code)
 >     {
 >     case REG:
 >       /* Until rtl generation is complete, don't consider a reference
 > 	 to the return register of the current function the same as
 > 	 the return from a called function.  This eases the job of
 > 	 function integration.  Once the distinction is no longer
 > 	 needed, they can be considered equivalent.  */
 >       return (REGNO (x) == REGNO (y)
 > 	      && (! rtx_equal_function_value_matters
 > 		  || REG_FUNCTION_VALUE_P (x) == REG_FUNCTION_VALUE_P (y)));
 > 
 >     case LABEL_REF:
 >       return XEXP (x, 0) == XEXP (y, 0);
 > 
 > 
 > 
 > Looking at the preprocessed file I see
 > 
 >   switch (code)
 >     {
 >     case REG: 
 >       return ((((x)->fld[0]). rtuint) == (((y)->fld[0]). rtuint)
 > 	      && (! rtx_equal_function_value_matters
 > 		  || ( ({ rtx const _rtx = ((x)); if (((enum rtx_code) (_rtx)->code) != REG) rtl_check_failed_flag ("REG_FUNCTION_VALUE_P", _rtx, "/exd4/billingd/src/gcc/gcc/rtl.c", 474, "?"); _rtx; })->integrated) == ( ({ rtx const _rtx = ((y)); if (((enum rtx_code) (_rtx)->code) != REG) rtl_check_failed_flag ("REG_FUNCTION_VALUE_P", _rtx, "/exd4/billingd/src/gcc/gcc/rtl.c", 474, "?"); _rtx; })->integrated)));
 > 
 >     case LABEL_REF:
 >       return (((x)->fld[0]). rtx) == (((y)->fld[0]). rtx);
 > 
 > >How-To-Repeat:
 > 
 > >Fix:
 > 
 > >Release-Note:
 > >Audit-Trail:
 > >Unformatted:
 
 Is this fixed by http://gcc.gnu.org/ml/gcc-patches/2002-05/msg00886.html?
 
 Janis


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: bootstrap/6619: irix cc chokes on rtl_check macros?
@ 2002-05-12 16:29 billingd
  0 siblings, 0 replies; 3+ messages in thread
From: billingd @ 2002-05-12 16:29 UTC (permalink / raw)
  To: David.Billinghurst, gcc-bugs, gcc-prs, janis187, nobody

Synopsis: irix cc chokes on rtl_check macros?

State-Changed-From-To: open->closed
State-Changed-By: billingd
State-Changed-When: Sun May 12 16:29:25 2002
State-Changed-Why:
    http://gcc.gnu.org/ml/gcc-patches/2002-05/msg00886.html

http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=6619


^ permalink raw reply	[flat|nested] 3+ messages in thread

* bootstrap/6619: irix cc chokes on rtl_check macros?
@ 2002-05-09 17:56 David.Billinghurst
  0 siblings, 0 replies; 3+ messages in thread
From: David.Billinghurst @ 2002-05-09 17:56 UTC (permalink / raw)
  To: gcc-gnats; +Cc: janis187


>Number:         6619
>Category:       bootstrap
>Synopsis:       irix cc chokes on rtl_check macros?
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    unassigned
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Thu May 09 17:56:00 PDT 2002
>Closed-Date:
>Last-Modified:
>Originator:     David Billinghurst
>Release:        gcc-3.2
>Organization:
>Environment:
mips-sgi-irix6.5
>Description:
gcc-3.2 on irix6.5 using cc fails in rtl.c.  It got past this point yesterday.  

The problem may be related to 

2002-05-08  Janis Johnson  <janis187@us.ibm.com>

	* rtl.h (RTL_FLAG_CHECK*): Add an argument for the macro name,
	and use it in all invocations of these macros.  Clean up comments.
	* rtl.c (rtl_check_failed_flag): Add an argument for the name
	of the flag access macro whose check failed.
	* doc/rtl.texi (Flags): Document additional flag uses.


The error is
"/exd4/billingd/src/gcc/gcc/rtl.c", line 474: error(1029): expected an
          expression
                  || REG_FUNCTION_VALUE_P (x) == REG_FUNCTION_VALUE_P (y)));
                     ^

"/exd4/billingd/src/gcc/gcc/rtl.c", line 474: error(1029): expected an
          expression
                  || REG_FUNCTION_VALUE_P (x) == REG_FUNCTION_VALUE_P (y)));
                                                 ^
2 errors detected in the compilation of "/exd4/billingd/src/gcc/gcc/rtl.c".

The code fragment is

  switch (code)
    {
    case REG:
      /* Until rtl generation is complete, don't consider a reference
	 to the return register of the current function the same as
	 the return from a called function.  This eases the job of
	 function integration.  Once the distinction is no longer
	 needed, they can be considered equivalent.  */
      return (REGNO (x) == REGNO (y)
	      && (! rtx_equal_function_value_matters
		  || REG_FUNCTION_VALUE_P (x) == REG_FUNCTION_VALUE_P (y)));

    case LABEL_REF:
      return XEXP (x, 0) == XEXP (y, 0);



Looking at the preprocessed file I see

  switch (code)
    {
    case REG: 
      return ((((x)->fld[0]). rtuint) == (((y)->fld[0]). rtuint)
	      && (! rtx_equal_function_value_matters
		  || ( ({ rtx const _rtx = ((x)); if (((enum rtx_code) (_rtx)->code) != REG) rtl_check_failed_flag ("REG_FUNCTION_VALUE_P", _rtx, "/exd4/billingd/src/gcc/gcc/rtl.c", 474, "?"); _rtx; })->integrated) == ( ({ rtx const _rtx = ((y)); if (((enum rtx_code) (_rtx)->code) != REG) rtl_check_failed_flag ("REG_FUNCTION_VALUE_P", _rtx, "/exd4/billingd/src/gcc/gcc/rtl.c", 474, "?"); _rtx; })->integrated)));

    case LABEL_REF:
      return (((x)->fld[0]). rtx) == (((y)->fld[0]). rtx);

>How-To-Repeat:

>Fix:

>Release-Note:
>Audit-Trail:
>Unformatted:


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2002-05-12 23:29 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-05-10  8:56 bootstrap/6619: irix cc chokes on rtl_check macros? Janis Johnson
  -- strict thread matches above, loose matches on Subject: below --
2002-05-12 16:29 billingd
2002-05-09 17:56 David.Billinghurst

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).