public inbox for java-prs@sourceware.org
help / color / mirror / Atom feed
* [Bug java/24825]  New: Standard runtime methods that are known to not return null should not trigger null checks.
@ 2005-11-12 20:55 daney at gcc dot gnu dot org
  2005-11-12 22:14 ` [Bug java/24825] " pinskia at gcc dot gnu dot org
  2005-11-13  0:16 ` pinskia at gcc dot gnu dot org
  0 siblings, 2 replies; 4+ messages in thread
From: daney at gcc dot gnu dot org @ 2005-11-12 20:55 UTC (permalink / raw)
  To: java-prs

As pointed out in this thread:

http://gcc.gnu.org/ml/java/2005-11/msg00124.html

Once we have the capability to annotate methods as returning 'not null', we
have a win if standard runtime methods are so annotated as appropiate.


-- 
           Summary: Standard runtime methods that are known to not return
                    null should not trigger null checks.
           Product: gcc
           Version: 4.1.0
            Status: UNCONFIRMED
          Severity: enhancement
          Priority: P3
         Component: java
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: daney at gcc dot gnu dot org
 BugsThisDependsOn: 20318


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


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

* [Bug java/24825] Standard runtime methods that are known to not return null should not trigger null checks.
  2005-11-12 20:55 [Bug java/24825] New: Standard runtime methods that are known to not return null should not trigger null checks daney at gcc dot gnu dot org
@ 2005-11-12 22:14 ` pinskia at gcc dot gnu dot org
  2005-11-13  0:16 ` pinskia at gcc dot gnu dot org
  1 sibling, 0 replies; 4+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-11-12 22:14 UTC (permalink / raw)
  To: java-prs



------- Comment #1 from pinskia at gcc dot gnu dot org  2005-11-12 22:14 -------
Confirmed, this one is harder than the new operator.


-- 

pinskia at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
     Ever Confirmed|0                           |1
   Last reconfirmed|0000-00-00 00:00:00         |2005-11-12 22:14:44
               date|                            |


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


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

* [Bug java/24825] Standard runtime methods that are known to not return null should not trigger null checks.
  2005-11-12 20:55 [Bug java/24825] New: Standard runtime methods that are known to not return null should not trigger null checks daney at gcc dot gnu dot org
  2005-11-12 22:14 ` [Bug java/24825] " pinskia at gcc dot gnu dot org
@ 2005-11-13  0:16 ` pinskia at gcc dot gnu dot org
  1 sibling, 0 replies; 4+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-11-13  0:16 UTC (permalink / raw)
  To: java-prs



------- Comment #2 from pinskia at gcc dot gnu dot org  2005-11-13 00:16 -------
The way we can mark the function/function type is in build_method_invocation,
we have to change how BUILD_APPEND calls build_method_invocation and add a new
argument or something like that (we build the real call expression later on).


-- 


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


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

* [Bug java/24825] Standard runtime methods that are known to not return null should not trigger null checks.
       [not found] <bug-24825-8172@http.gcc.gnu.org/bugzilla/>
@ 2013-10-11 11:48 ` glisse at gcc dot gnu.org
  0 siblings, 0 replies; 4+ messages in thread
From: glisse at gcc dot gnu.org @ 2013-10-11 11:48 UTC (permalink / raw)
  To: java-prs

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

Bug 24825 depends on bug 20318, which changed state.

Bug 20318 Summary: RFE: add attribute to specify that a function never returns NULL
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20318

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


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

end of thread, other threads:[~2013-10-11 11:48 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-11-12 20:55 [Bug java/24825] New: Standard runtime methods that are known to not return null should not trigger null checks daney at gcc dot gnu dot org
2005-11-12 22:14 ` [Bug java/24825] " pinskia at gcc dot gnu dot org
2005-11-13  0:16 ` pinskia at gcc dot gnu dot org
     [not found] <bug-24825-8172@http.gcc.gnu.org/bugzilla/>
2013-10-11 11:48 ` glisse at gcc dot gnu.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).