public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c/11334] New: some warnings missed if optimization not on
@ 2003-06-26 17:37 lduncan at pillardata dot com
  2003-06-26 17:42 ` [Bug c/11334] " pinskia at physics dot uc dot edu
  0 siblings, 1 reply; 2+ messages in thread
From: lduncan at pillardata dot com @ 2003-06-26 17:37 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=11334

           Summary: some warnings missed if optimization not on
           Product: gcc
           Version: 3.2.2
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: c
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: lduncan at pillardata dot com
                CC: gcc-bugs at gcc dot gnu dot org
  GCC host triplet: SPARC, Solaris 5.9
GCC target triplet: same

The following function gets a warning if and only if the '-O" (optimization) optin is supplied to gcc

    void *some_funct(int a)
    {
        void *vaddr;
        return (vaddr + n);
    }


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

* [Bug c/11334] some warnings missed if optimization not on
  2003-06-26 17:37 [Bug c/11334] New: some warnings missed if optimization not on lduncan at pillardata dot com
@ 2003-06-26 17:42 ` pinskia at physics dot uc dot edu
  0 siblings, 0 replies; 2+ messages in thread
From: pinskia at physics dot uc dot edu @ 2003-06-26 17: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=11334


pinskia at physics dot uc dot edu changed:

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


------- Additional Comments From pinskia at physics dot uc dot edu  2003-06-26 17:42 -------
This is a dup of 7710 but it is not going to be fixed because it is too hard to do and will make 
compile time way slower.

*** This bug has been marked as a duplicate of 7710 ***


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

end of thread, other threads:[~2003-06-26 17:42 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-06-26 17:37 [Bug c/11334] New: some warnings missed if optimization not on lduncan at pillardata dot com
2003-06-26 17:42 ` [Bug c/11334] " 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).