[LLVMbugs] [Bug 1809] New: CBE generates code that makes wrong use of __builtin_stack_restore/save

bugzilla-daemon at cs.uiuc.edu bugzilla-daemon at cs.uiuc.edu
Sat Nov 17 11:12:53 PST 2007


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

           Summary: CBE generates code that makes wrong use of
                    __builtin_stack_restore/save
           Product: new-bugs
           Version: unspecified
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: major
          Priority: P2
         Component: new bugs
        AssignedTo: unassignedbugs at nondot.org
        ReportedBy: edwintorok at gmail.com
                CC: llvmbugs at cs.uiuc.edu


When I compile oggenc.c from the llvm testsuite on x86-64 I get an ICE in gcc
when trying to compile the generated C code.
GCC developers say llvm got the pointer sizes wrong:

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34134#c3

$ llvm-gcc oggenc.c -c -emit-llvm -o -|opt -std-compile-opts|llc -march=c|gcc
-x c - -O1 -S
....
<stdin>: In function ‘_ve_envelope_search’:
<stdin>:48980: internal compiler error: in lhd_set_decl_assembler_name, at
langhooks.c:165
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://gcc.gnu.org/bugs.html> for instructions.
For Debian GNU/Linux specific bug reporting instructions,
see <URL:file:///usr/share/doc/gcc-4.2/README.Bugs>.


I am trying to get a reduced testcase with delta/bugpoint, but it is slow. I'll
attach it when done.


-- 
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