[prev in list] [next in list] [prev in thread] [next in thread] 

List:       llvm-bugs
Subject:    [LLVMbugs] [Bug 64] New: [constmerge] Constant merging pass merges constants with external linkage
From:       bugzilla-daemon () zion ! cs ! uiuc ! edu
Date:       2003-10-29 5:53:00
Message-ID: 200310290553.XAA12784 () zion ! cs ! uiuc ! edu
[Download RAW message or body]

http://llvm.cs.uiuc.edu/bugs/show_bug.cgi?id=64

           Summary: [constmerge] Constant merging pass merges constants with
                    external linkage
           Product: libraries
           Version: 1.0
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Interprocedural Optimizations
        AssignedTo: sabre@nondot.org
        ReportedBy: sabre@nondot.org


The constant merging pass has no qualms about merging constants with external
linkage, which causes link errors later.  It should only merge constants away
that have internal linkage.

This is tested as:
test/Regression/Transforms/ConstantMerge/2003-10-28-MergeExternalConstants.ll

This causes undefined symbols in libstdc++, specifically "std::ios_base::badbit".



------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic