Skip to content

dragonegg svn on FSF gcc 4.6.1 fails to compile himenoBMTxpa.c #10533

@llvmbot

Description

@llvmbot
Bugzilla Link 10161
Resolution FIXED
Resolved on Jun 26, 2011 14:43
Version trunk
OS MacOS X
Reporter LLVM Bugzilla Contributor

Extended Description

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugzillaIssues migrated from bugzilla

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions