[LLVMbugs] [Bug 7184] New: compiler command failed due to signal 6

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Thu May 20 20:51:14 PDT 2010


http://llvm.org/bugs/show_bug.cgi?id=7184

           Summary: compiler command failed due to signal 6
           Product: new-bugs
           Version: trunk
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: new bugs
        AssignedTo: unassignedbugs at nondot.org
        ReportedBy: nomura at netapp.com
                CC: llvmbugs at cs.uiuc.edu


Created an attachment (id=4916)
 --> (http://llvm.org/bugs/attachment.cgi?id=4916)
output from clang -v

Using clang+llvm at svnversion 104310

/x/eng/build2/scratch/nomura/clang-LATEST/bin/clang -c -x c++ xx.i
clang: error: compiler command failed due to signal 6 (use -v to see
invocation)

Here's the testcase as reduced by 'delta' - a wonderful timesaver!

(Curiously enough, the original program was well-formed, but delta
reduced it to a syntactically incorrect fragment.)


[bldlsvl102]$ cat xx.i
typedef struct spinnp_repl_result_t
{
}
namespace util
{
  class __Callback
  {
    typedef void (__Callback::*MemFunPtr) ();
  };
    template < typename TArg1, typename TArg2,
    typename TArg3 > class Callback3:public __Callback
  {
  };
  template < typename T, typename Arg1, typename Arg2,
    typename Arg3 > util::Callback3 < Arg1, Arg2,
    Arg3 > create_callback (void (T::*mem_fun) (Arg1, Arg2, Arg3), T * t_p)
  {
    typedef void (T::*TMemFun) (Arg1, Arg2, Arg3);
    void staticAssertDummyFunction (int
                                    _staticAssertReason__[((sizeof
                                                            (__Callback::
                                                             MemFunPtr) ==
                                                            sizeof (TMemFun)))
                                                          ? 1 : -1]);
  }
  class Request;
  class Response;
  class repl_spinnp::Response:virtual protected util::Noncopyable
  {
  public:class Callback:virtual protected util::Noncopyable,
      public ResponseCallback
    {
    private:void _callback (Request & request, spinnp_repl_result_t result,
                      Response * response_p)
      {
      }
    protected:  Callback ():ResponseCallback (util::
                                      create_callback (&Callback::_callback,
                                                       this))
      {

-- 
Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.



More information about the llvm-bugs mailing list