First Last Prev Next    No search results available
Details
: Variables used to define non-printable FP constants are e...
Bug#: 258
: libraries
: Backend: C
Status: RESOLVED
Resolution: FIXED
: PC
: Linux
: trunk
: P2
: minor
: 1.2

:
: compile-fail
:
:
  Show dependency tree - Show dependency graph
People
Reporter: John T. Criswell <criswell@uiuc.edu>
Assigned To: John T. Criswell <criswell@uiuc.edu>

Attachments


Note

You need to log in before you can comment on or make changes to this bug.

Related actions


Description:   Opened: 2004-02-26 16:11
When the CBE needs to generate floating point constants that cannot be
represented in C (NaN, Infinity, etc), it creates a hexadecimal value and places
it in a global variable.

Since these global variables are not declared static, they are visible to other
translation units generated by the CBE which may have constants of the same name
with different values.

To fix this, these global constants should be declared static.
------- Comment #1 From John T. Criswell 2004-02-26 16:12:47 -------
This will be fixed for LLVM 1.2.  I've assigned myself to it.

First Last Prev Next    No search results available