public inbox for java-prs@sourceware.org
help / color / mirror / Atom feed
* [Bug java/23315] New: java produces mismatch types in MODIFY_EXPR, down cast
@ 2005-08-10 11:43 pinskia at gcc dot gnu dot org
2005-08-10 11:46 ` [Bug java/23315] " pinskia at gcc dot gnu dot org
2005-08-11 16:50 ` pinskia at gcc dot gnu dot org
0 siblings, 2 replies; 3+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-08-10 11:43 UTC (permalink / raw)
To: java-prs
Testcase:
class t1
{
native t2 getParent();
void gg(t1 t5)
{
t5 = t5.getParent();
}
}
class t2 extends t1 { }
The other testcase reduced from gnu/awt/LightweightRedirector.java.
Again use the first patch in PR 22368.
--
Summary: java produces mismatch types in MODIFY_EXPR, down cast
Product: gcc
Version: 4.1.0
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: java
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: pinskia at gcc dot gnu dot org
CC: aph at gcc dot gnu dot org,gcc-bugs at gcc dot gnu dot
org,java-prs at gcc dot gnu dot org
OtherBugsDependingO 22368
nThis:
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23315
^ permalink raw reply [flat|nested] 3+ messages in thread
* [Bug java/23315] java produces mismatch types in MODIFY_EXPR, down cast
2005-08-10 11:43 [Bug java/23315] New: java produces mismatch types in MODIFY_EXPR, down cast pinskia at gcc dot gnu dot org
@ 2005-08-10 11:46 ` pinskia at gcc dot gnu dot org
2005-08-11 16:50 ` pinskia at gcc dot gnu dot org
1 sibling, 0 replies; 3+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-08-10 11:46 UTC (permalink / raw)
To: java-prs
------- Additional Comments From pinskia at gcc dot gnu dot org 2005-08-10 11:46 -------
Forgot to say this is to native from source.
t.2.java: In class 't1':
t.2.java: In method 't1.gg(t1)':
t.2.java:1: error: statement types mismatch
t5D.369 = D.410;
struct t1D.364 *
struct t2D.370 *
t.2.java:1: internal compiler error: verify_stmts failed
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://gcc.gnu.org/bugs.html> for instructions.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23315
^ permalink raw reply [flat|nested] 3+ messages in thread
* [Bug java/23315] java produces mismatch types in MODIFY_EXPR, down cast
2005-08-10 11:43 [Bug java/23315] New: java produces mismatch types in MODIFY_EXPR, down cast pinskia at gcc dot gnu dot org
2005-08-10 11:46 ` [Bug java/23315] " pinskia at gcc dot gnu dot org
@ 2005-08-11 16:50 ` pinskia at gcc dot gnu dot org
1 sibling, 0 replies; 3+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-08-11 16:50 UTC (permalink / raw)
To: java-prs
------- Additional Comments From pinskia at gcc dot gnu dot org 2005-08-11 16:50 -------
This was fixed by:
2005-08-10 Andrew Haley <aph@redhat.com>
* java-gimplify.c (java_gimplify_modify_expr): Fix any pointer
type mismatches to make legal GIMPLE.
--
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
Resolution| |FIXED
Target Milestone|--- |4.1.0
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23315
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2005-08-11 16:50 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-08-10 11:43 [Bug java/23315] New: java produces mismatch types in MODIFY_EXPR, down cast pinskia at gcc dot gnu dot org
2005-08-10 11:46 ` [Bug java/23315] " pinskia at gcc dot gnu dot org
2005-08-11 16:50 ` pinskia at gcc dot gnu dot org
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).