Crash after your recent commits

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Crash after your recent commits

Duncan Sands
Hi Meador, this buildbot started failing last night and I think it was
probably you!

   http://lab.llvm.org:8011/builders/dragonegg-x86_64-linux-gcc-4.6-test/builds/887

Here's a testcase.  You can reproduce with "opt -instcombine".  (The problem is
that the code isn't expecting printf to return void).

Ciao, Duncan.

@.cst = linker_private unnamed_addr constant [8 x i8] c"A::A()\0A\00", align 8

define void @main() {
   call void (i8*, ...)* @printf(i8* getelementptr inbounds ([8 x i8]* @.cst,
i64 0, i64 0))
   ret void
}

declare void @printf(i8* nocapture, ...) nounwind
_______________________________________________
LLVM Developers mailing list
[hidden email]         http://llvm.cs.uiuc.edu
http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev
Reply | Threaded
Open this post in threaded view
|

Re: Crash after your recent commits

Meador Inge-2
Hi Duncan,

On Nov 27, 2012, at 4:17 AM, Duncan Sands wrote:

> Hi Meador, this buildbot started failing last night and I think it was
> probably you!
>
>  http://lab.llvm.org:8011/builders/dragonegg-x86_64-linux-gcc-4.6-test/builds/887
>
> Here's a testcase.  You can reproduce with "opt -instcombine".  (The problem is
> that the code isn't expecting printf to return void).
>
> Ciao, Duncan.

I will look into it ASAP.  Thanks for the heads up.

--
Meador Inge
CodeSourcery / Mentor Embedded
http://www.mentor.com/embedded-software


_______________________________________________
LLVM Developers mailing list
[hidden email]         http://llvm.cs.uiuc.edu
http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev