[llvm-bugs] [Bug 25307] New: "fatal error: error in backend" code with exceptions in clang for msvc in Release x64 configuration

2015-10-24 Thread via llvm-bugs
https://llvm.org/bugs/show_bug.cgi?id=25307

Bug ID: 25307
   Summary: "fatal error: error in backend" code with exceptions
in clang for msvc in Release x64 configuration
   Product: clang
   Version: trunk
  Hardware: PC
OS: Windows NT
Status: NEW
  Severity: normal
  Priority: P
 Component: -New Bugs
  Assignee: unassignedclangb...@nondot.org
  Reporter: adam...@gmail.com
CC: llvm-bugs@lists.llvm.org
Classification: Unclassified

Created attachment 15151
  --> https://llvm.org/bugs/attachment.cgi?id=15151&action=edit
Sample code to reproduce the error

I used the most recent build available to download:
LLVM-3.8.0-r250698-win32.exe

If I try to compile attached code in Visual Studio 2010 (using Platform
Toolset: LLVM-vs2010, Configuration: Release and Platform: x64) then I get an
error:

CL : fatal error : error in backend: assembler label '.LBB0_-1' can not be
undefined

I can reproduce it only in configuration Release x64 with O2 flag.
I know exceptions aren't ready yet for MSVC, but maybe this scenario will be
helpful.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
___
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs


[llvm-bugs] [Bug 25307] "fatal error: error in backend" code with exceptions in clang for msvc in Release x64 configuration

2015-10-24 Thread via llvm-bugs
https://llvm.org/bugs/show_bug.cgi?id=25307

David Majnemer  changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 CC||david.majne...@gmail.com
 Resolution|--- |DUPLICATE

--- Comment #1 from David Majnemer  ---


*** This bug has been marked as a duplicate of bug 25168 ***

-- 
You are receiving this mail because:
You are on the CC list for the bug.
___
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs


[llvm-bugs] [Bug 25308] New: SROA introduces debug info verifier failure

2015-10-24 Thread via llvm-bugs
https://llvm.org/bugs/show_bug.cgi?id=25308

Bug ID: 25308
   Summary: SROA introduces debug info verifier failure
   Product: libraries
   Version: trunk
  Hardware: PC
OS: All
Status: NEW
  Severity: normal
  Priority: P
 Component: Scalar Optimizations
  Assignee: unassignedb...@nondot.org
  Reporter: kfisc...@college.harvard.edu
CC: llvm-bugs@lists.llvm.org
Classification: Unclassified

Created attachment 15153
  --> https://llvm.org/bugs/attachment.cgi?id=15153&action=edit
Reduced testcase

See the attached test case:
```
$opt -o out.bc -verify bugpoint-reduced-simplified.ll 
$opt -o out.bc -sroa bugpoint-reduced-simplified.ll
piece covers entire variable
  call void @llvm.dbg.value(metadata i64 1, i64 0, metadata !1, metadata !29),
!dbg !14
!1 = !DILocalVariable(name: "#s328", scope: !2, file: !3, line: 331, type: !6)
!29 = !DIExpression(DW_OP_bit_piece, 0, 64)
LLVM ERROR: Broken module found, compilation aborted!
```

-- 
You are receiving this mail because:
You are on the CC list for the bug.
___
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs


[llvm-bugs] [Bug 25309] New: Miscompilation with K&R function prototype

2015-10-24 Thread via llvm-bugs
https://llvm.org/bugs/show_bug.cgi?id=25309

Bug ID: 25309
   Summary: Miscompilation with K&R function prototype
   Product: libraries
   Version: trunk
  Hardware: PC
OS: Linux
Status: NEW
  Severity: normal
  Priority: P
 Component: Backend: PowerPC
  Assignee: unassignedb...@nondot.org
  Reporter: an...@samba.org
CC: llvm-bugs@lists.llvm.org
Classification: Unclassified

creduce gave me the following cut down testcase:

#include 

static int i;
static int *volatile m = &i, *o = &i;

static void zot(void)
{
assert(*o);
}

void blah() { }

int main(void)
{
*o = 0;
*m = 1;
blah(&o);
zot();

return 0;
}

I was somewhat surprised clang accepts K&R function prototypes, but it does,
and we miscompile the testcase at -O2.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
___
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs


[llvm-bugs] [Bug 25047] clang crashes on valid code at -O1 and above on x86_64-linux-gnu

2015-10-24 Thread via llvm-bugs
https://llvm.org/bugs/show_bug.cgi?id=25047

Sanjoy Das  changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution|--- |FIXED

--- Comment #2 from Sanjoy Das  ---
Should have been fixed since rL249575.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
___
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs