public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/11006] [CNI] ICE with use of __java_boolean
       [not found] <20030528003318.11006.pinskia@gcc.gnu.org>
@ 2004-06-08  3:29 ` pinskia at gcc dot gnu dot org
  0 siblings, 0 replies; 8+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-06-08  3:29 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From pinskia at gcc dot gnu dot org  2004-06-08 03:29 -------
I get a different ICE now on the mainline:
pr11006.cc: In function `void foo()':
pr11006.cc:4: internal compiler error: tree check: expected record_type, union_type or 
qual_union_type; have integer_type in build_java_class_ref, at cp/init.c:1868
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=11006


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

* [Bug c++/11006] [CNI] ICE with use of __java_boolean
       [not found] <bug-11006-4@http.gcc.gnu.org/bugzilla/>
  2013-11-06 20:21 ` paolo.carlini at oracle dot com
@ 2013-11-06 20:21 ` paolo at gcc dot gnu.org
  1 sibling, 0 replies; 8+ messages in thread
From: paolo at gcc dot gnu.org @ 2013-11-06 20:21 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #9 from paolo at gcc dot gnu.org <paolo at gcc dot gnu.org> ---
Author: paolo
Date: Wed Nov  6 20:19:10 2013
New Revision: 204469

URL: http://gcc.gnu.org/viewcvs?rev=204469&root=gcc&view=rev
Log:
/cp
2013-11-06  Paolo Carlini  <paolo.carlini@oracle.com>

    PR c++/11006
    * init.c (build_new_1): Don't call build_java_class_ref on non-class
    types.

/testsuite
2013-11-06  Paolo Carlini  <paolo.carlini@oracle.com>

    PR c++/11006
    * g++.dg/other/java3.C: New.

Added:
    trunk/gcc/testsuite/g++.dg/other/java3.C
Modified:
    trunk/gcc/cp/ChangeLog
    trunk/gcc/cp/init.c
    trunk/gcc/testsuite/ChangeLog


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

* [Bug c++/11006] [CNI] ICE with use of __java_boolean
       [not found] <bug-11006-4@http.gcc.gnu.org/bugzilla/>
@ 2013-11-06 20:21 ` paolo.carlini at oracle dot com
  2013-11-06 20:21 ` paolo at gcc dot gnu.org
  1 sibling, 0 replies; 8+ messages in thread
From: paolo.carlini at oracle dot com @ 2013-11-06 20:21 UTC (permalink / raw)
  To: gcc-bugs

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

Paolo Carlini <paolo.carlini at oracle dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
                 CC|gcc-bugs at gcc dot gnu.org        |
         Resolution|---                         |FIXED
   Target Milestone|---                         |4.9.0

--- Comment #10 from Paolo Carlini <paolo.carlini at oracle dot com> ---
Fixed.


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

* [Bug c++/11006] [CNI] ICE with use of __java_boolean
       [not found] <bug-11006-6528@http.gcc.gnu.org/bugzilla/>
  2006-06-23 16:22 ` reichelt at gcc dot gnu dot org
  2008-11-25 23:04 ` olsner at gmail dot com
@ 2008-11-25 23:41 ` pinskia at gcc dot gnu dot org
  2 siblings, 0 replies; 8+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2008-11-25 23:41 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #8 from pinskia at gcc dot gnu dot org  2008-11-25 23:40 -------
This only ICEs now with checking turned on:
t.cc: In function 'void foo()':
t.cc:28: internal compiler error: tree check: expected record_type or
union_type or qual_union_type, have integer_type in build_java_class_ref, at
cp/init.c:2426

Without checking turned on I get the following ICE:
t.cc: In function 'void foo()':
t.cc:28: error: can't find 'class$' in 'jboolean'
t.cc: At global scope:
t.cc:29: error: expected `}' at end of input


-- 

pinskia at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |ice-checking


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


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

* [Bug c++/11006] [CNI] ICE with use of __java_boolean
       [not found] <bug-11006-6528@http.gcc.gnu.org/bugzilla/>
  2006-06-23 16:22 ` reichelt at gcc dot gnu dot org
@ 2008-11-25 23:04 ` olsner at gmail dot com
  2008-11-25 23:41 ` pinskia at gcc dot gnu dot org
  2 siblings, 0 replies; 8+ messages in thread
From: olsner at gmail dot com @ 2008-11-25 23:04 UTC (permalink / raw)
  To: gcc-bugs

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 515 bytes --]



------- Comment #7 from olsner at gmail dot com  2008-11-25 23:02 -------
Original test case and test case from comment #1 both give this result (i.e. no
ICE) for me:

(Comment #1)
<stdin>: In function ‘void foo()’:
<stdin>:4: error: can't find ‘class$’ in ‘__java_boolean’

(Original test case)
<stdin>: In function ‘void foo()’:
<stdin>:28: error: can't find ‘class$’ in ‘jboolean’

(c++ --version gives c++ (Ubuntu 4.3.2-1ubuntu11) 4.3.2)


-- 


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


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

* [Bug c++/11006] [CNI] ICE with use of __java_boolean
       [not found] <bug-11006-6528@http.gcc.gnu.org/bugzilla/>
@ 2006-06-23 16:22 ` reichelt at gcc dot gnu dot org
  2008-11-25 23:04 ` olsner at gmail dot com
  2008-11-25 23:41 ` pinskia at gcc dot gnu dot org
  2 siblings, 0 replies; 8+ messages in thread
From: reichelt at gcc dot gnu dot org @ 2006-06-23 16:22 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #6 from reichelt at gcc dot gnu dot org  2006-06-23 16:08 -------
The ICE
  internal compiler error: can't find class$
has been fixed on mainline (see PR 11468), but the ICE mentioned in
commment #5 is still present.


-- 


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


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

* [Bug c++/11006] [CNI] ICE with use of __java_boolean
       [not found] <20030528003318.11006.pinskia@physics.uc.edu>
  2003-07-28  3:42 ` pinskia at physics dot uc dot edu
@ 2003-08-04 20:44 ` pinskia at physics dot uc dot edu
  1 sibling, 0 replies; 8+ messages in thread
From: pinskia at physics dot uc dot edu @ 2003-08-04 20:44 UTC (permalink / raw)
  To: gcc-bugs

PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.

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


pinskia at physics dot uc dot edu changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|3.4                         |---


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

* [Bug c++/11006] [CNI] ICE with use of __java_boolean
       [not found] <20030528003318.11006.pinskia@physics.uc.edu>
@ 2003-07-28  3:42 ` pinskia at physics dot uc dot edu
  2003-08-04 20:44 ` pinskia at physics dot uc dot edu
  1 sibling, 0 replies; 8+ messages in thread
From: pinskia at physics dot uc dot edu @ 2003-07-28  3:42 UTC (permalink / raw)
  To: gcc-bugs

PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.

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


pinskia at physics dot uc dot edu changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Last reconfirmed|2003-05-30 22:57:00         |2003-07-28 03:42:31
               date|                            |
            Summary|[3.3/3.4 regression] [CNI]  |[CNI] ICE with use of
                   |ICE with use of             |__java_boolean
                   |__java_boolean              |


------- Additional Comments From pinskia at physics dot uc dot edu  2003-07-28 03:42 -------
Not really a regression as the ICE should not really be an ICE but just an error.


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

end of thread, other threads:[~2013-11-06 20:21 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <20030528003318.11006.pinskia@gcc.gnu.org>
2004-06-08  3:29 ` [Bug c++/11006] [CNI] ICE with use of __java_boolean pinskia at gcc dot gnu dot org
     [not found] <bug-11006-4@http.gcc.gnu.org/bugzilla/>
2013-11-06 20:21 ` paolo.carlini at oracle dot com
2013-11-06 20:21 ` paolo at gcc dot gnu.org
     [not found] <bug-11006-6528@http.gcc.gnu.org/bugzilla/>
2006-06-23 16:22 ` reichelt at gcc dot gnu dot org
2008-11-25 23:04 ` olsner at gmail dot com
2008-11-25 23:41 ` pinskia at gcc dot gnu dot org
     [not found] <20030528003318.11006.pinskia@physics.uc.edu>
2003-07-28  3:42 ` pinskia at physics dot uc dot edu
2003-08-04 20:44 ` pinskia at physics dot uc dot edu

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