<html>
    <head>
      <base href="http://bugzilla.gdcproject.org/" />
    </head>
    <body><table border="1" cellspacing="0" cellpadding="8">
        <tr>
          <th>Bug ID</th>
          <td><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - cc1d locks up when specifying function instead of function pointer in an array"
   href="http://bugzilla.gdcproject.org/show_bug.cgi?id=178">178</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>cc1d locks up when specifying function instead of function pointer in an array
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>GDC
          </td>
        </tr>

        <tr>
          <th>Version</th>
          <td>4.9.x
          </td>
        </tr>

        <tr>
          <th>Hardware</th>
          <td>PPC
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>OSX
          </td>
        </tr>

        <tr>
          <th>Status</th>
          <td>NEW
          </td>
        </tr>

        <tr>
          <th>Severity</th>
          <td>critical
          </td>
        </tr>

        <tr>
          <th>Priority</th>
          <td>Normal
          </td>
        </tr>

        <tr>
          <th>Component</th>
          <td>gdc
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>ibuclaw@gdcproject.org
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>jens-bugzilla@gpio.dk
          </td>
        </tr></table>
      <p>
        <div>
        <pre>Created <span class=""><a href="attachment.cgi?id=83" name="attach_83" title="Example file. When compiling this, cc1d locks up.">attachment 83</a> <a href="attachment.cgi?id=83&action=edit" title="Example file. When compiling this, cc1d locks up.">[details]</a></span>
Example file. When compiling this, cc1d locks up.

By accident I forgot to add a '&' in front of Reset_Handler in this array:

Steps to reproduce:
Build the attachd file 'start.d'.

Results: cc1d locks up.

build: f378f9a, branch=gdc-4.9


Code:
VectorFunc [3] g_pfnVectors = [
    &Reset_Handler, /* If removing the '&' here, cc1d locks up. */
    ];

Speculation: This bug might relate to all platforms or perhaps a Big Endian
issue if it's not reproducible on for instance X86.

Note: Unfortunately, the tools that Apple provide for debugging locks up, when
I'm trying to sample the process, in order to find out where it locks up.</pre>
        </div>
      </p>
      <hr>
      <span>You are receiving this mail because:</span>
      
      <ul>
          <li>You are watching all bug changes.</li>
      </ul>
    </body>
</html>