Displaying 2 results from an estimated 2 matches for "debug_str_section_flags".
2006 Dec 03
0
[LLVMdev] problem building gcc4 front end on fedora core 5
...===============
--- gcc/dwarf2out.c (revision 120589)
+++ gcc/dwarf2out.c (working copy)
@@ -14361,9 +14361,8 @@
s->refcount++;
/* Avoid unnecessarily putting strings that are used less than
twice in the hash table. */
- if (s->refcount == 2
- || (s->refcount == 1
- && (DEBUG_STR_SECTION_FLAGS & SECTION_MERGE) != 0))
+ if (s->refcount
+ == ((DEBUG_STR_SECTION_FLAGS & SECTION_MERGE) ? 1 : 2))
{
void ** slot;
slot = htab_find_slot_with_hash (debug_str_hash, s->str,
Cheers,
-- Jim
On Dec 3, 2006, at 9:20 AM, Ram Bhamidipaty wrote:
> ../../llvm-gcc4-1.9...
2006 Dec 03
3
[LLVMdev] problem building gcc4 front end on fedora core 5
I'm getting a build error when trying to build gcc4 from sources. This is
for the recent 1.9 release.
How I built llvm-1.9:
-----------------------------
tar zxf llvm-1.9.tar.gz
cd llvm-1.9/
./configure --prefix=/custom/llvm-1.9
make ENABLE_OPTIMIZED=1 OPTIMIZE_OPTION='-O2' tools-only
make install
How I built gcc4:
-----------------------------
export