public inbox for gcc-prs@sourceware.org
help / color / mirror / Atom feed
* java/3417: Downcast on integral types.
@ 2001-06-25 16:46 apbianco
  0 siblings, 0 replies; 5+ messages in thread
From: apbianco @ 2001-06-25 16:46 UTC (permalink / raw)
  To: gcc-gnats; +Cc: fmedio

>Number:         3417
>Category:       java
>Synopsis:       Downcast on integral types.
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    unassigned
>State:          open
>Class:          accepts-illegal
>Submitter-Id:   net
>Arrival-Date:   Mon Jun 25 16:46:01 PDT 2001
>Closed-Date:
>Last-Modified:
>Originator:     Alex
>Release:        all.
>Organization:
>Environment:
all.
>Description:
java/decl.c:build_result_decl widen integral return type
to int_type_node, for better cooperation with C++. It
prevents jc1 from catching the error in this code:

class Foobar { char func (int i) { return i; } }
>How-To-Repeat:
Compile class Foobar.
>Fix:
Not yet.
>Release-Note:
>Audit-Trail:
>Unformatted:


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

* Re: java/3417: Downcast on integral types.
@ 2001-12-20  9:52 tromey
  0 siblings, 0 replies; 5+ messages in thread
From: tromey @ 2001-12-20  9:52 UTC (permalink / raw)
  To: apbianco, fmedio, gcc-bugs, gcc-prs, java-prs, tromey

Synopsis: Downcast on integral types.

State-Changed-From-To: analyzed->closed
State-Changed-By: tromey
State-Changed-When: Thu Dec 20 09:52:38 2001
State-Changed-Why:
    I've checked in a fix for this.
    It will appear in gcj 3.1.
    If you are using the current cvs trunk, and it still
    fails for you, please tell me and I will reopen this PR.
    Thanks.

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


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

* Re: java/3417: Downcast on integral types.
@ 2001-12-20  9:46 Tom Tromey
  0 siblings, 0 replies; 5+ messages in thread
From: Tom Tromey @ 2001-12-20  9:46 UTC (permalink / raw)
  To: tromey; +Cc: gcc-prs

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

From: Tom Tromey <tromey@redhat.com>
To: apbianco@cygnus.com
Cc: fmedio@mandrakesoft.com, gcc-bugs@gcc.gnu.org, gcc-gnats@gcc.gnu.org
Subject: Re: java/3417: Downcast on integral types.
Date: 20 Dec 2001 10:50:36 -0700

 Alex> OK, so the code handling boolean was removed because your patch
 Alex> generalizes the promotion of the type of returned values, right?
 
 Exactly.
 
 Alex> The patch seems to be fine, although I don't have the time to
 Alex> run tests myself. You can check it in. Thank you for handling
 Alex> this.
 
 Thanks.
 
 Tom


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

* Re: java/3417: Downcast on integral types.
@ 2001-12-20  8:46 Alexandre Petit-Bianco
  0 siblings, 0 replies; 5+ messages in thread
From: Alexandre Petit-Bianco @ 2001-12-20  8:46 UTC (permalink / raw)
  To: tromey; +Cc: gcc-prs

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

From: Alexandre Petit-Bianco <apbianco@cygnus.com>
To: tromey@gcc.gnu.org, fmedio@mandrakesoft.com, gcc-bugs@gcc.gnu.org,
        gcc-prs@gcc.gnu.org, java-prs@gcc.gnu.org, nobody@gcc.gnu.org,
        gcc-gnats@gcc.gnu.org
Cc:  
Subject: Re: java/3417: Downcast on integral types.
Date: Thu, 20 Dec 2001 08:42:15 -0800 (PST)

 tromey@gcc.gnu.org writes:
 
 >     I submitted a patch, which is pending review:
 >     http://gcc.gnu.org/ml/gcc-patches/2001-12/msg02037.html
 
 OK, so the code handling boolean was removed because your patch
 generalizes the promotion of the type of returned values, right?
 
 The patch seems to be fine, although I don't have the time to run
 tests myself. You can check it in. Thank you for handling this.
 
 ./A


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

* Re: java/3417: Downcast on integral types.
@ 2001-12-20  8:08 tromey
  0 siblings, 0 replies; 5+ messages in thread
From: tromey @ 2001-12-20  8:08 UTC (permalink / raw)
  To: apbianco, fmedio, gcc-bugs, gcc-prs, java-prs, nobody, tromey

Synopsis: Downcast on integral types.

Responsible-Changed-From-To: unassigned->tromey
Responsible-Changed-By: tromey
Responsible-Changed-When: Thu Dec 20 08:08:45 2001
Responsible-Changed-Why:
    I'm handling this.
State-Changed-From-To: open->analyzed
State-Changed-By: tromey
State-Changed-When: Thu Dec 20 08:08:45 2001
State-Changed-Why:
    I submitted a patch, which is pending review:
    http://gcc.gnu.org/ml/gcc-patches/2001-12/msg02037.html

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


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

end of thread, other threads:[~2001-12-20 17:52 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-06-25 16:46 java/3417: Downcast on integral types apbianco
2001-12-20  8:08 tromey
2001-12-20  8:46 Alexandre Petit-Bianco
2001-12-20  9:46 Tom Tromey
2001-12-20  9:52 tromey

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