public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug middle-end/37921] __builtin_constant_p seems to be giving false positives
       [not found] <bug-37921-4@http.gcc.gnu.org/bugzilla/>
@ 2014-02-05  9:46 ` mpolacek at gcc dot gnu.org
  0 siblings, 0 replies; 3+ messages in thread
From: mpolacek at gcc dot gnu.org @ 2014-02-05  9:46 UTC (permalink / raw)
  To: gcc-bugs

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

Marek Polacek <mpolacek at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|REOPENED                    |RESOLVED
                 CC|                            |mpolacek at gcc dot gnu.org
         Resolution|---                         |FIXED

--- Comment #10 from Marek Polacek <mpolacek at gcc dot gnu.org> ---
Seems to be fixed a long time ago.


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

* [Bug middle-end/37921] __builtin_constant_p seems to be giving false positives
  2008-10-26 18:17 [Bug c/37921] New: " arjan at linux dot intel dot com
  2010-01-02 19:35 ` [Bug middle-end/37921] " rguenth at gcc dot gnu dot org
@ 2010-01-02 20:33 ` manu at gcc dot gnu dot org
  1 sibling, 0 replies; 3+ messages in thread
From: manu at gcc dot gnu dot org @ 2010-01-02 20:33 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #9 from manu at gcc dot gnu dot org  2010-01-02 20:33 -------
(In reply to comment #8)
> Re-confirmed.  The issue is that we fold __builtin_constant_p only after
> VRP1 so the dead code remains and we warn about it.

Perhaps this is the root cause of both PR35392 and PR35903.



-- 


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


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

* [Bug middle-end/37921] __builtin_constant_p seems to be giving false positives
  2008-10-26 18:17 [Bug c/37921] New: " arjan at linux dot intel dot com
@ 2010-01-02 19:35 ` rguenth at gcc dot gnu dot org
  2010-01-02 20:33 ` manu at gcc dot gnu dot org
  1 sibling, 0 replies; 3+ messages in thread
From: rguenth at gcc dot gnu dot org @ 2010-01-02 19:35 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #8 from rguenth at gcc dot gnu dot org  2010-01-02 19:35 -------
Re-confirmed.  The issue is that we fold __builtin_constant_p only after
VRP1 so the dead code remains and we warn about it.


-- 

rguenth at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
          Component|c                           |middle-end
           Keywords|                            |diagnostic
      Known to fail|                            |4.5.0
   Last reconfirmed|2008-10-26 22:40:30         |2010-01-02 19:35:34
               date|                            |


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


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

end of thread, other threads:[~2014-02-05  9:46 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <bug-37921-4@http.gcc.gnu.org/bugzilla/>
2014-02-05  9:46 ` [Bug middle-end/37921] __builtin_constant_p seems to be giving false positives mpolacek at gcc dot gnu.org
2008-10-26 18:17 [Bug c/37921] New: " arjan at linux dot intel dot com
2010-01-02 19:35 ` [Bug middle-end/37921] " rguenth at gcc dot gnu dot org
2010-01-02 20:33 ` manu 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).