[LLVMbugs] [Bug 10161] New: dragonegg svn on FSF gcc 4.6.1 fails to compile himenoBMTxpa.c

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Mon Jun 20 05:48:50 PDT 2011


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

           Summary: dragonegg svn on FSF gcc 4.6.1 fails to compile
                    himenoBMTxpa.c
           Product: dragonegg
           Version: trunk
          Platform: PC
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P
         Component: New Bugs
        AssignedTo: baldrick at free.fr
        ReportedBy: howarth at nitro.med.uc.edu
                CC: llvmbugs at cs.uiuc.edu


The himenoBMTxpa.c benchmark, 

http://accc.riken.jp/HPC_e/himenobmt_e/download1_e.html
http://accc.riken.jp/assets/files/himenob_loadmodule/himenoBMTxpa.lzh

fails to compile using the dragonegg svn plugin against FSF gcc 4.6.1svn. The
compilation fails as...


[MacPro:~] howarth% /sw/lib/gcc4.6/bin/gcc-4
-fplugin=/sw/lib/gcc4.6/lib/dragonegg.so himenoBMTxpa.c
himenoBMTxpa.c: In function ‘main’:
himenoBMTxpa.c:79:5: warning: incompatible implicit declaration of built-in
function ‘strcpy’ [enabled by default]
himenoBMTxpa.c: In function ‘set_param’:
himenoBMTxpa.c:226:5: warning: incompatible implicit declaration of built-in
function ‘exit’ [enabled by default]
himenoBMTxpa.c: In function ‘newMat’:
himenoBMTxpa.c:239:5: warning: incompatible implicit declaration of built-in
function ‘malloc’ [enabled by default]
himenoBMTxpa.c: In function ‘clearMat’:
himenoBMTxpa.c:248:5: warning: incompatible implicit declaration of built-in
function ‘free’ [enabled by default]
 <mem_ref 0x100d9f850
    type <pointer_type 0x142828930
        type <integer_type 0x1428152a0 char sizes-gimplified public string-flag
QI
            size <integer_cst 0x1428014b0 constant 8>
            unit size <integer_cst 0x1428014d8 constant 1>
            align 8 symtab 0 alias set 0 canonical type 0x1428152a0 precision 8
min <integer_cst 0x142801460 -128> max <integer_cst 0x142801578 127>
            pointer_to_this <pointer_type 0x142828930>>
        unsigned DI
        size <integer_cst 0x1428017a8 constant 64>
        unit size <integer_cst 0x1428017d0 constant 8>
        align 64 symtab 0 alias set -1 canonical type 0x142828930
        pointer_to_this <pointer_type 0x1433a1930> reference_to_this
<reference_type 0x14333c540>>

    arg 0 <ssa_name 0x100dcea50
        type <pointer_type 0x1433a1930 type <pointer_type 0x142828930>
            public unsigned DI size <integer_cst 0x1428017a8 64> unit size
<integer_cst 0x1428017d0 8>
            align 64 symtab 0 alias set -1 canonical type 0x1433a1930>
        visited var <var_decl 0x100da38c0 D.4167>def_stmt D.4167_3 = argv_2(D)
+ 8;

        version 3>
    arg 1 <integer_cst 0x100da90f0 type <pointer_type 0x1433a1930> constant 0>
    himenoBMTxpa.c:79:11>
*** WARNING *** there are active plugins, do not report this as a bug unless
you can reproduce it without enabling any plugins.
Event                            | Plugins
PLUGIN_FINISH_UNIT               | dragonegg
PLUGIN_FINISH                    | dragonegg
PLUGIN_START_UNIT                | dragonegg
himenoBMTxpa.c: In function ‘main’:
himenoBMTxpa.c:70:1: internal compiler error: Segmentation fault: 11
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.

This problem doesn't exist with dragonegg svn using FSF gcc 4.5.4svn.

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