This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug c++/33322] New: internal compiler error: in make_rtl_for_nonlocal_decl, at cp/decl.c:4971


when compiling attached file, i'm getting the following ICE:

tim@laptop:~/workspace/nova_ladspa$ gcc-4.2 -o filters.os -c   -fPIC -DNDEBUG
-Inova/source filters.cpp
filters.cpp: In instantiation of â??const unsigned int
<unnamed>::filter_base<true>::freq_portâ??:
filters.cpp:277:   instantiated from
â??void<unnamed>::filter_base<low>::setport(long unsigned int, LADSPA_Data*)
[with bool low = true]â??
filters.cpp:491:   instantiated from here
filters.cpp:246: internal compiler error: in make_rtl_for_nonlocal_decl, at
cp/decl.c:4971
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>.

gcc version:
tim@laptop:~/workspace/nova_ladspa$ gcc-4.2 -v
Using built-in specs.
Target: i486-linux-gnu
Configured with: ../src/configure -v
--enable-languages=c,c++,fortran,objc,obj-c++,treelang --prefix=/usr
--enable-shared --with-system-zlib --libexecdir=/usr/lib
--without-included-gettext --enable-threads=posix --enable-nls
--with-gxx-include-dir=/usr/include/c++/4.2 --program-suffix=-4.2
--enable-clocale=gnu --enable-libstdcxx-debug --enable-mpfr
--enable-targets=all --disable-werror --enable-checking=release
--build=i486-linux-gnu --host=i486-linux-gnu --target=i486-linux-gnu
Thread model: posix
gcc version 4.2.1 (Debian 4.2.1-3)

this is related to the anonymous namespace, that is used


-- 
           Summary: internal compiler error: in make_rtl_for_nonlocal_decl,
                    at cp/decl.c:4971
           Product: gcc
           Version: 4.2.1
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c++
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: tim at klingt dot org
 GCC build triplet: i486-linux-gnu
  GCC host triplet: i486-linux-gnu
GCC target triplet: i486-linux-gnu


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33322


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]