Skip to content

llvm-gcc doesn't support nested functions #1287

@llvmbot

Description

@llvmbot
Bugzilla Link 915
Resolution FIXED
Resolved on Feb 22, 2010 12:48
Version 1.8
OS All
Blocks llvm/llvm-bugzilla-archive#1166
Reporter LLVM Bugzilla Contributor
CC @nlewycky

Extended Description

$ /usr/local/llvm/cfrontend/install/bin/llvm-gcc --emit-llvm -S foo.i -fnested-functions
foo.i: In function ?b?:
foo.i:3: internal compiler error: in lhd_set_decl_assembler_name, at langhooks.c:193
Please submit a full bug report,
with preprocessed source if appropriate.
See URL:http://llvm.org/bugs for instructions.
$ cat foo.i
static void a() {
int foo;
inline void b() {
foo = -1;
}
b();
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugzillaIssues migrated from bugzillaenhancementImproving things as opposed to bug fixing, e.g. new or missing featurellvm-toolsAll llvm tools that do not have corresponding tag

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions