[llvm-bugs] [Bug 25276] New: csmith fuzz testcase incorrectness on -O1+ without LLVM optimizations
via llvm-bugs
llvm-bugs at lists.llvm.org
Wed Oct 21 12:52:52 PDT 2015
https://llvm.org/bugs/show_bug.cgi?id=25276
Bug ID: 25276
Summary: csmith fuzz testcase incorrectness on -O1+ without
LLVM optimizations
Product: clang
Version: trunk
Hardware: PC
OS: Linux
Status: NEW
Severity: normal
Priority: P
Component: -New Bugs
Assignee: unassignedclangbugs at nondot.org
Reporter: alonzakai at gmail.com
CC: llvm-bugs at lists.llvm.org
Classification: Unclassified
Created attachment 15134
--> https://llvm.org/bugs/attachment.cgi?id=15134&action=edit
testcase
Attached is a csmith fuzz testcase that fails when clang is given -O1, *even
without LLVM optimizations*, so it seems like the issue is in clang and not the
LLVM optimizer?
clang newfail_27643_1.cpp -O0 -emit-llvm -o a.bc -c -w -disable-llvm-optzns ;
clang a.bc ; ./a.out
gives the same result as gcc, while replacing -O0 with -O1 in that command
yields a different and incorrect output.
tested on latest trunk as of right now,
=====
commit 333aedbc24d97c7927193a261a71491d69b77225
Author: Yaron Keren <yaron.keren at gmail.com>
Date: Wed Oct 21 18:16:01 2015 +0000
Rename clang config.h include guard from CONFIG_H to CLANG_CONFIG_H
to make it different from LLVM config.h include guard.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@250921
91177308-0d34-0410-b5e6-96231b3b80d8
=====
commit ba3f35ef578512993618c7e961bdd9132a8863f2
Author: Yaron Keren <yaron.keren at gmail.com>
Date: Wed Oct 21 18:36:52 2015 +0000
Revert r250923 as config.h is not an installed header.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@250924
91177308-0d34-0410-b5e6-96231b3b80d8
=====
--
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20151021/7421e79f/attachment.html>
More information about the llvm-bugs
mailing list