public inbox for java-prs@sourceware.org
help / color / mirror / Atom feed
* [Bug java/16181] New: dequeue_and_dump: accessed operand 1 of this with 0 operands
@ 2004-06-24 18:57 cconway at lucent dot com
  2004-06-24 18:58 ` [Bug java/16181] " cconway at lucent dot com
                   ` (7 more replies)
  0 siblings, 8 replies; 9+ messages in thread
From: cconway at lucent dot com @ 2004-06-24 18:57 UTC (permalink / raw)
  To: java-prs

I'm seeing the following error when I try to dump the parse tree from a java
program (the syntax errors are irrelevant and can be ignored):

% gcj -v -fsyntax-only -fdump-translation-unit ParametersDialog.java
Reading specs from
/n/nbu/nbu/kedar/gcc/builds/linux_pc/bin/../lib/gcc/i686-pc-linux-gnu/3.5.0/specs
Configured with: ../../../src/configure --prefix=/nbu/kedar/gcc/builds/linux_pc
--disable-nls --enable-languages=c,c++,java
Thread model: posix
gcc version 3.5.0 20040607 (experimental)
 /n/nbu/nbu/kedar/gcc/builds/linux_pc/bin/../libexec/gcc/i686-pc-linux-gnu/3.5.0/jc1
ParametersDialog.java -quiet -dumpbase ParametersDialog.java -mtune=pentiumpro
-auxbase ParametersDialog -g1 -version -fsyntax-only -fdump-translation-unit -o
/dev/null
GNU Java version 3.5.0 20040607 (experimental) (i686-pc-linux-gnu)
        compiled by GNU C version 3.5.0 20040607 (experimental).
GGC heuristics: --param ggc-min-expand=30 --param ggc-min-heapsize=4096
Class path starts here:
    ./
   
/n/nbu/nbu/kedar/gcc/builds/linux_pc/bin/../lib/gcc/../../share/java/libgcj-3.5.0.jar/
(system) (zip)
ParametersDialog.java:22: error: Class or interface
`tsafe.engine.EngineParameters' not found in import.
   import tsafe.engine.EngineParameters;
          ^
ParametersDialog.java:36: error: Type `EngineParameters' not found in
declaration of field `parameters'.
       private EngineParameters parameters;
               ^
ParametersDialog.java:64: error: Type `TsafeClient' not found in the declaration
of the argument `client' of method `<init>'.
       public ParametersDialog(TsafeClient client, EngineParameters parameters) {
                               ^
ParametersDialog.java:64: error: Type `EngineParameters' not found in the
declaration of the argument `parameters' of method `<init>'.
       public ParametersDialog(TsafeClient client, EngineParameters parameters) {
                                                   ^
4 errors
ParametersDialog.java:0: internal compiler error: tree check: accessed operand 1
of this with 0 operands in dequeue_and_dump, at tree-dump.c:431
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://gcc.gnu.org/bugs.html> for instructions.

I can't figure out how to attach a .java file, so I'll commit this bug and try
to attach it post facto.

-- 
           Summary: dequeue_and_dump: accessed operand 1 of this with 0
                    operands
           Product: gcc
           Version: 3.5.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: java
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: cconway at lucent dot com
                CC: gcc-bugs at gcc dot gnu dot org,java-prs at gcc dot gnu
                    dot org


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=16181


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

* [Bug java/16181] dequeue_and_dump: accessed operand 1 of this with 0 operands
  2004-06-24 18:57 [Bug java/16181] New: dequeue_and_dump: accessed operand 1 of this with 0 operands cconway at lucent dot com
@ 2004-06-24 18:58 ` cconway at lucent dot com
  2004-06-24 19:06 ` cconway at lucent dot com
                   ` (6 subsequent siblings)
  7 siblings, 0 replies; 9+ messages in thread
From: cconway at lucent dot com @ 2004-06-24 18:58 UTC (permalink / raw)
  To: java-prs


------- Additional Comments From cconway at lucent dot com  2004-06-24 18:57 -------
Created an attachment (id=6621)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=6621&action=view)
The .java file that causes the error


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=16181


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

* [Bug java/16181] dequeue_and_dump: accessed operand 1 of this with 0 operands
  2004-06-24 18:57 [Bug java/16181] New: dequeue_and_dump: accessed operand 1 of this with 0 operands cconway at lucent dot com
  2004-06-24 18:58 ` [Bug java/16181] " cconway at lucent dot com
@ 2004-06-24 19:06 ` cconway at lucent dot com
  2004-06-24 20:40 ` pinskia at gcc dot gnu dot org
                   ` (5 subsequent siblings)
  7 siblings, 0 replies; 9+ messages in thread
From: cconway at lucent dot com @ 2004-06-24 19:06 UTC (permalink / raw)
  To: java-prs


------- Additional Comments From cconway at lucent dot com  2004-06-24 18:58 -------
Created an attachment (id=6622)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=6622&action=view)
The .tu file (truncated at "this")


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=16181


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

* [Bug java/16181] dequeue_and_dump: accessed operand 1 of this with 0 operands
  2004-06-24 18:57 [Bug java/16181] New: dequeue_and_dump: accessed operand 1 of this with 0 operands cconway at lucent dot com
  2004-06-24 18:58 ` [Bug java/16181] " cconway at lucent dot com
  2004-06-24 19:06 ` cconway at lucent dot com
@ 2004-06-24 20:40 ` pinskia at gcc dot gnu dot org
  2004-06-25 19:56 ` mckinlay at redhat dot com
                   ` (4 subsequent siblings)
  7 siblings, 0 replies; 9+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-06-24 20:40 UTC (permalink / raw)
  To: java-prs


------- Additional Comments From pinskia at gcc dot gnu dot org  2004-06-24 19:06 -------
I think you need a new prelease as I cannot reproduce it on <gcc version 3.5.0 20040624 
(experimental)>.

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |WAITING


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=16181


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

* [Bug java/16181] dequeue_and_dump: accessed operand 1 of this with 0 operands
  2004-06-24 18:57 [Bug java/16181] New: dequeue_and_dump: accessed operand 1 of this with 0 operands cconway at lucent dot com
                   ` (2 preceding siblings ...)
  2004-06-24 20:40 ` pinskia at gcc dot gnu dot org
@ 2004-06-25 19:56 ` mckinlay at redhat dot com
  2004-06-27  8:39 ` mckinlay at redhat dot com
                   ` (3 subsequent siblings)
  7 siblings, 0 replies; 9+ messages in thread
From: mckinlay at redhat dot com @ 2004-06-25 19:56 UTC (permalink / raw)
  To: java-prs


------- Additional Comments From mckinlay at redhat dot com  2004-06-25 19:47 -------
GCJ does not support tree dumping for a source file that has syntax errors.

-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=16181


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

* [Bug java/16181] dequeue_and_dump: accessed operand 1 of this with 0 operands
  2004-06-24 18:57 [Bug java/16181] New: dequeue_and_dump: accessed operand 1 of this with 0 operands cconway at lucent dot com
                   ` (3 preceding siblings ...)
  2004-06-25 19:56 ` mckinlay at redhat dot com
@ 2004-06-27  8:39 ` mckinlay at redhat dot com
  2004-06-28 16:11 ` cconway at lucent dot com
                   ` (2 subsequent siblings)
  7 siblings, 0 replies; 9+ messages in thread
From: mckinlay at redhat dot com @ 2004-06-27  8:39 UTC (permalink / raw)
  To: java-prs


------- Additional Comments From mckinlay at redhat dot com  2004-06-27 00:58 -------
Valid syntax required to dump trees.

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|WAITING                     |RESOLVED
         Resolution|                            |WONTFIX


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=16181


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

* [Bug java/16181] dequeue_and_dump: accessed operand 1 of this with 0 operands
  2004-06-24 18:57 [Bug java/16181] New: dequeue_and_dump: accessed operand 1 of this with 0 operands cconway at lucent dot com
                   ` (4 preceding siblings ...)
  2004-06-27  8:39 ` mckinlay at redhat dot com
@ 2004-06-28 16:11 ` cconway at lucent dot com
  2004-06-29  3:33 ` pinskia at gcc dot gnu dot org
  2004-07-10  0:33 ` pinskia at gcc dot gnu dot org
  7 siblings, 0 replies; 9+ messages in thread
From: cconway at lucent dot com @ 2004-06-28 16:11 UTC (permalink / raw)
  To: java-prs


------- Additional Comments From cconway at lucent dot com  2004-06-28 13:35 -------
The syntax errors are an artifact of pulling the source file out of its project
context. The same error occurs when the class is compiled alongside other
project files and there are no syntax errors. If you need to see the class in
situ to verify the bug, I will have to attach a significant chunk of source
code. (The whole project is open source and freely available:
http://sdg.lcs.mit.edu/TSAFE/downloads/) 

What can I do to provide you with the information you need? "-save-temps"
doesn't seem to work.




-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |UNCONFIRMED
         Resolution|WONTFIX                     |


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=16181


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

* [Bug java/16181] dequeue_and_dump: accessed operand 1 of this with 0 operands
  2004-06-24 18:57 [Bug java/16181] New: dequeue_and_dump: accessed operand 1 of this with 0 operands cconway at lucent dot com
                   ` (5 preceding siblings ...)
  2004-06-28 16:11 ` cconway at lucent dot com
@ 2004-06-29  3:33 ` pinskia at gcc dot gnu dot org
  2004-07-10  0:33 ` pinskia at gcc dot gnu dot org
  7 siblings, 0 replies; 9+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-06-29  3:33 UTC (permalink / raw)
  To: java-prs


------- Additional Comments From pinskia at gcc dot gnu dot org  2004-06-28 16:11 -------
Try a new compiler it works for me.

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|                            |FIXED


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=16181


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

* [Bug java/16181] dequeue_and_dump: accessed operand 1 of this with 0 operands
  2004-06-24 18:57 [Bug java/16181] New: dequeue_and_dump: accessed operand 1 of this with 0 operands cconway at lucent dot com
                   ` (6 preceding siblings ...)
  2004-06-29  3:33 ` pinskia at gcc dot gnu dot org
@ 2004-07-10  0:33 ` pinskia at gcc dot gnu dot org
  7 siblings, 0 replies; 9+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-07-10  0:33 UTC (permalink / raw)
  To: java-prs



-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|---                         |3.5.0


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=16181


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

end of thread, other threads:[~2004-07-10  0:33 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-06-24 18:57 [Bug java/16181] New: dequeue_and_dump: accessed operand 1 of this with 0 operands cconway at lucent dot com
2004-06-24 18:58 ` [Bug java/16181] " cconway at lucent dot com
2004-06-24 19:06 ` cconway at lucent dot com
2004-06-24 20:40 ` pinskia at gcc dot gnu dot org
2004-06-25 19:56 ` mckinlay at redhat dot com
2004-06-27  8:39 ` mckinlay at redhat dot com
2004-06-28 16:11 ` cconway at lucent dot com
2004-06-29  3:33 ` pinskia at gcc dot gnu dot org
2004-07-10  0:33 ` 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).