[Bug c++/43116] New: ICE when using attributes in a function alias declaration
bruno at clisp dot org
gcc-bugzilla@gcc.gnu.org
Thu Feb 18 23:21:00 GMT 2010
$ g++ -v
Using built-in specs.
Target: i686-pc-linux-gnu
Configured with: ../gcc-4.4.2/configure --build=i686-pc-linux-gnu
--host=i686-pc-linux-gnu --target=i686-pc-linux-gnu
--prefix=/arch/x86-linux/gnu-inst-gcc/4.4.2 --enable-shared
--enable-version-specific-runtime-libs --enable-nls --enable-threads=posix
--enable-__cxa_atexit --with-as=/arch/x86-linux/gnu/bin/as32
--with-gmp=/arch/x86-linux/gnu-inst-gcc/4.4.2
--with-mpfr=/arch/x86-linux/gnu-inst-gcc/4.4.2
--with-ecj-jar=/gfs/petix/Volumes/ExtData/source/gnu/gcc/sourceware.org-ecj/ecj-latest.jar
Thread model: posix
gcc version 4.4.2 (GCC)
$ g++ -S bug.cc
bug.cc:5: internal compiler error: in start_decl, at cp/decl.c:4231
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.
Here is the contents of bug.cc (also attached):
============================= bug.cc =============================
extern "C" int rpl_open (const char *filename, int flags, ...) __attribute__
((__nonnull__ (1)));
namespace gnulib
{
int (*const open) (const char *filename, int flags, ...) __attribute__
((__nonnull__ (1))) = rpl_open;
}
==================================================================
--
Summary: ICE when using attributes in a function alias
declaration
Product: gcc
Version: 4.4.2
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: c++
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: bruno at clisp dot org
GCC build triplet: i686-pc-linux-gnu
GCC host triplet: i686-pc-linux-gnu
GCC target triplet: i686-pc-linux-gnu
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43116
More information about the Gcc-bugs
mailing list