public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c/35661]  New: __attribute__((cold)) generates wrong code
@ 2008-03-21 20:15 zuxy dot meng at gmail dot com
  2008-03-21 20:18 ` [Bug target/35661] " pinskia at gcc dot gnu dot org
                   ` (10 more replies)
  0 siblings, 11 replies; 12+ messages in thread
From: zuxy dot meng at gmail dot com @ 2008-03-21 20:15 UTC (permalink / raw)
  To: gcc-bugs

On MinGW32, GCC 4.3.0 marks the .text.unlikely section as "w"(writable) instead
of "x"(executable), which makes the assembler to pad the section with zeros
instead of NOPs. Runtime behavior is almost always incorrect and in many cases
an application will crash.


-- 
           Summary: __attribute__((cold)) generates wrong code
           Product: gcc
           Version: 4.3.0
            Status: UNCONFIRMED
          Severity: major
          Priority: P3
         Component: c
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: zuxy dot meng at gmail dot com
 GCC build triplet: i686-pc-mingw32
  GCC host triplet: i686-pc-mingw32
GCC target triplet: i686-pc-mingw32


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


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

end of thread, other threads:[~2008-05-11 21:10 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-03-21 20:15 [Bug c/35661] New: __attribute__((cold)) generates wrong code zuxy dot meng at gmail dot com
2008-03-21 20:18 ` [Bug target/35661] " pinskia at gcc dot gnu dot org
2008-03-21 20:19 ` zuxy dot meng at gmail dot com
2008-03-21 20:21 ` zuxy dot meng at gmail dot com
2008-03-21 20:22 ` pinskia at gcc dot gnu dot org
2008-03-21 20:24 ` zuxy dot meng at gmail dot com
2008-04-07  2:01 ` pinskia at gcc dot gnu dot org
2008-04-07  6:01 ` zuxy dot meng at gmail dot com
2008-04-13 12:19 ` zuxy dot meng at gmail dot com
2008-04-14 23:49 ` dannysmith at gcc dot gnu dot org
2008-05-11 21:04 ` dannysmith at gcc dot gnu dot org
2008-05-11 21:10 ` dannysmith at users dot sourceforge dot net

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