public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug tree-optimization/43817]  New: Runtime endian-ness check is not optimized on the tree level
@ 2010-04-20 13:06 rguenth at gcc dot gnu dot org
  2010-04-20 18:02 ` [Bug tree-optimization/43817] " pinskia at gcc dot gnu dot org
  0 siblings, 1 reply; 2+ messages in thread
From: rguenth at gcc dot gnu dot org @ 2010-04-20 13:06 UTC (permalink / raw)
  To: gcc-bugs

bool tell_endian() {
  unsigned x = 1;
  return *(char*)&x;
}

optimized on the RTL level only, split out from PR26069.


-- 
           Summary: Runtime endian-ness check is not optimized on the tree
                    level
           Product: gcc
           Version: 4.6.0
            Status: UNCONFIRMED
          Keywords: missed-optimization, TREE
          Severity: enhancement
          Priority: P3
         Component: tree-optimization
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: rguenth at gcc dot gnu dot org


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


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

* [Bug tree-optimization/43817] Runtime endian-ness check is not optimized on the tree level
  2010-04-20 13:06 [Bug tree-optimization/43817] New: Runtime endian-ness check is not optimized on the tree level rguenth at gcc dot gnu dot org
@ 2010-04-20 18:02 ` pinskia at gcc dot gnu dot org
  0 siblings, 0 replies; 2+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2010-04-20 18:02 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #1 from pinskia at gcc dot gnu dot org  2010-04-20 18:01 -------
Confirmed.


-- 

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         |2010-04-20 18:01:51
               date|                            |


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


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

end of thread, other threads:[~2010-04-20 18:02 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-04-20 13:06 [Bug tree-optimization/43817] New: Runtime endian-ness check is not optimized on the tree level rguenth at gcc dot gnu dot org
2010-04-20 18:02 ` [Bug tree-optimization/43817] " 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).