[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#437939: gcc-snapshot: ICE: canonical types differ for identical types



Package: gcc-snapshot
Version: 20070811-1
Severity: normal

ICE is triggered by attached code (simplified code from systemtap):
% /usr/lib/gcc-snapshot/bin/g++ 2.ii
2.ii: In member function 'void dwflpp::translate_location()':
2.ii:18: internal compiler error: canonical types differ for identical types void ()(const char*, ...) and void ()(const char*, ...)
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>.

-- System Information:
Debian Release: lenny/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.23-rc2-me (SMP w/2 CPU cores; PREEMPT)
Locale: LANG=uk_UA.UTF-8, LC_CTYPE=uk_UA.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages gcc-snapshot depends on:
ii  binutils              2.18~cvs20070812-1 The GNU assembler, linker and bina
ii  lib32gcc1             1:4.2.1-2          GCC support library (32 bit Versio
ii  libasound2            1.0.14a-2          ALSA library
ii  libatk1.0-0           1.18.0-2           The ATK accessibility toolkit
ii  libc6                 2.6.1-1            GNU C Library: Shared libraries
ii  libc6-dev             2.6.1-1            GNU C Library: Development Librari
ii  libc6-i386            2.6.1-1            GNU C Library: 32bit shared librar
ii  libcairo2             1.4.10-1+b2        The Cairo 2D vector graphics libra
ii  libfontconfig1        2.4.2-1.2          generic font configuration library
ii  libfreetype6          2.3.5-1+b1         FreeType 2 font engine, shared lib
ii  libgcc1               1:4.2.1-2          GCC support library
ii  libglib2.0-0          2.12.13-1          The GLib library of C routines
ii  libgmp3c2             2:4.2.1+dfsg-5     Multiprecision arithmetic library
ii  libgtk2.0-0           2.10.13-1          The GTK+ graphical user interface 
ii  libice6               2:1.0.3-3          X11 Inter-Client Exchange library
ii  libmpfr1ldbl          2.3.0~rc1.dfsg.1-2 multiple precision floating-point 
ii  libpango1.0-0         1.16.5-1           Layout and rendering of internatio
ii  libpng12-0            1.2.15~beta5-2     PNG library - runtime
ii  libsm6                2:1.0.3-1+b1       X11 Session Management library
ii  libx11-6              2:1.0.3-7          X11 client-side library
ii  libxcursor1           1:1.1.8-2          X cursor management library
ii  libxext6              1:1.0.3-2          X11 miscellaneous extension librar
ii  libxfixes3            1:4.0.3-2          X11 miscellaneous 'fixes' extensio
ii  libxi6                2:1.1.2-1          X11 Input extension library
ii  libxinerama1          1:1.0.2-1          X11 Xinerama extension library
ii  libxrandr2            2:1.2.1-1          X11 RandR extension library
ii  libxrender1           1:0.9.2-1          X Rendering Extension client libra
ii  libxtst6              1:1.0.2-1          X11 Testing -- Resource extension 
ii  zlib1g                1:1.2.3.3.dfsg-5   compression library - runtime

gcc-snapshot recommends no packages.

-- debconf-show failed
void c_translate_location (
           void (*fail) (
           const char *fmt, ...)
           __attribute__ ((noreturn,
             format (printf, 1, 2)))
           );


struct dwflpp
{
  static void loc2c_error (const char *fmt, ...)
  {
  }

  void
  translate_location()
  {
    return c_translate_location (&loc2c_error);
  }
};


Reply to: