public inbox for java-prs@sourceware.org
help / color / mirror / Atom feed
* [Bug java/23314] New: java produces mismatch types in MODIFY_EXPR
@ 2005-08-10 11:21 pinskia at gcc dot gnu dot org
2005-08-10 11:22 ` [Bug java/23314] " pinskia at gcc dot gnu dot org
` (3 more replies)
0 siblings, 4 replies; 5+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-08-10 11:21 UTC (permalink / raw)
To: java-prs
Testcase, compile to native from source:
class t
{
void f(Object[] releaseTargets)
{
releaseTargets[0] = null;
}
}
t.2.java: In method 't.f(java.lang.Object[])':
t.2.java:1: error: statement types mismatch
releaseTargets.0D.397->dataD.387[D.405] = 0B;
struct *
voidD.8 *
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.
Again use the first patch in PR 22368.
--
Summary: java produces mismatch types in MODIFY_EXPR
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=23314
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug java/23314] java produces mismatch types in MODIFY_EXPR
2005-08-10 11:21 [Bug java/23314] New: java produces mismatch types in MODIFY_EXPR pinskia at gcc dot gnu dot org
@ 2005-08-10 11:22 ` pinskia at gcc dot gnu dot org
2005-08-10 11:41 ` pinskia at gcc dot gnu dot org
` (2 subsequent siblings)
3 siblings, 0 replies; 5+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-08-10 11:22 UTC (permalink / raw)
To: java-prs
------- Additional Comments From pinskia at gcc dot gnu dot org 2005-08-10 11:22 -------
This was reduced from gnu/awt/LightweightRedirector.java
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23314
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug java/23314] java produces mismatch types in MODIFY_EXPR
2005-08-10 11:21 [Bug java/23314] New: java produces mismatch types in MODIFY_EXPR pinskia at gcc dot gnu dot org
2005-08-10 11:22 ` [Bug java/23314] " pinskia at gcc dot gnu dot org
@ 2005-08-10 11:41 ` pinskia at gcc dot gnu dot org
2005-08-10 11:44 ` aph at gcc dot gnu dot org
2005-08-11 16:50 ` pinskia at gcc dot gnu dot org
3 siblings, 0 replies; 5+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-08-10 11:41 UTC (permalink / raw)
To: java-prs
------- Additional Comments From pinskia at gcc dot gnu dot org 2005-08-10 11:41 -------
More reduced testcase:
class t1
{
void getParent(){t1 tt = null;}
}
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23314
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug java/23314] java produces mismatch types in MODIFY_EXPR
2005-08-10 11:21 [Bug java/23314] New: java produces mismatch types in MODIFY_EXPR pinskia at gcc dot gnu dot org
2005-08-10 11:22 ` [Bug java/23314] " pinskia at gcc dot gnu dot org
2005-08-10 11:41 ` pinskia at gcc dot gnu dot org
@ 2005-08-10 11:44 ` aph at gcc dot gnu dot org
2005-08-11 16:50 ` pinskia at gcc dot gnu dot org
3 siblings, 0 replies; 5+ messages in thread
From: aph at gcc dot gnu dot org @ 2005-08-10 11:44 UTC (permalink / raw)
To: java-prs
------- Additional Comments From aph at gcc dot gnu dot org 2005-08-10 11:43 -------
It's okay, your first testcase was adequately reduced.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23314
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug java/23314] java produces mismatch types in MODIFY_EXPR
2005-08-10 11:21 [Bug java/23314] New: java produces mismatch types in MODIFY_EXPR pinskia at gcc dot gnu dot org
` (2 preceding siblings ...)
2005-08-10 11:44 ` aph at gcc dot gnu dot org
@ 2005-08-11 16:50 ` pinskia at gcc dot gnu dot org
3 siblings, 0 replies; 5+ 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 -------
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=23314
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2005-08-11 16:50 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-08-10 11:21 [Bug java/23314] New: java produces mismatch types in MODIFY_EXPR pinskia at gcc dot gnu dot org
2005-08-10 11:22 ` [Bug java/23314] " pinskia at gcc dot gnu dot org
2005-08-10 11:41 ` pinskia at gcc dot gnu dot org
2005-08-10 11:44 ` aph 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).