public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug middle-end/60546] New: [4.8 and 4.9] O2 & asan enable generates wrong insns
@ 2014-03-17  5:38 manjian2006 at gmail dot com
  2014-03-17  7:33 ` [Bug middle-end/60546] " pinskia at gcc dot gnu.org
                   ` (21 more replies)
  0 siblings, 22 replies; 23+ messages in thread
From: manjian2006 at gmail dot com @ 2014-03-17  5:38 UTC (permalink / raw)
  To: gcc-bugs

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

            Bug ID: 60546
           Summary: [4.8 and 4.9] O2 & asan enable generates wrong insns
           Product: gcc
           Version: 4.9.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: middle-end
          Assignee: unassigned at gcc dot gnu.org
          Reporter: manjian2006 at gmail dot com

Created attachment 32366
  --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=32366&action=edit
source that causes bug

My attachment gives a testcase to this bug.
To compile,modify the first argument of 1.sh to the path of your GCC (>=
4.8.1).
Then run 1.sh to compile.
As you can see the differences between line #1 and #2 is just -O2 or -Os.
And ./1 reports an error,but ./2 don't.
So I am sure currently asan with -O2 will generates wrong insn in middle end.I
have not located where goes wrong, please help.


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

end of thread, other threads:[~2014-08-18  7:45 UTC | newest]

Thread overview: 23+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-03-17  5:38 [Bug middle-end/60546] New: [4.8 and 4.9] O2 & asan enable generates wrong insns manjian2006 at gmail dot com
2014-03-17  7:33 ` [Bug middle-end/60546] " pinskia at gcc dot gnu.org
2014-03-17  8:34 ` pinskia at gcc dot gnu.org
2014-03-17  9:34 ` [Bug middle-end/60546] [4.8/4.9] " rguenth at gcc dot gnu.org
2014-03-17 10:23 ` rguenth at gcc dot gnu.org
2014-03-17 10:45 ` manjian2006 at gmail dot com
2014-03-17 11:53 ` rguenth at gcc dot gnu.org
2014-03-17 12:33 ` rguenth at gcc dot gnu.org
2014-03-17 12:42 ` manjian2006 at gmail dot com
2014-03-17 12:45 ` manjian2006 at gmail dot com
2014-03-17 13:46 ` manjian2006 at gmail dot com
2014-03-17 13:51 ` rguenth at gcc dot gnu.org
2014-03-17 14:27 ` manjian2006 at gmail dot com
2014-03-17 14:29 ` rguenther at suse dot de
2014-03-17 14:33 ` manjian2006 at gmail dot com
2014-03-17 14:39 ` mpolacek at gcc dot gnu.org
2014-03-17 14:45 ` manjian2006 at gmail dot com
2014-03-17 15:33 ` manjian2006 at gmail dot com
2014-03-17 16:54 ` pinskia at gcc dot gnu.org
2014-03-18  0:00 ` manjian2006 at gmail dot com
2014-03-18  6:05 ` jakub at gcc dot gnu.org
2014-03-18  6:13 ` manjian2006 at gmail dot com
2014-08-18  7:45 ` cand at gmx dot com

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