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

Bug#423407: marked as done (ICE in expand_builtin_expect, at builtins.c:5112)



Your message dated Mon, 02 Jul 2007 16:32:27 +0000
with message-id <E1I5Op9-0000Yk-Kn@ries.debian.org>
and subject line Bug#423407: fixed in gcc-snapshot 20070630-1
has caused the attached Bug report to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Debian bug tracking system administrator
(administrator, Debian Bugs database)

--- Begin Message ---
Package: gcc-snapshot
Version: 20070422-1
Severity: important

sample code:

=====================================
#include <stdio.h>
#include <stdint.h>
#include <stdlib.h>

static int bar(void *p)
{
    return (int)(intptr_t)p;
}

static int foo(const void *p)
{
    return bar((void *)p);
}

int main(void)
{
    printf("%d\n", foo(NULL));
    return 0;
}
=====================================

works:
  /usr/lib/gcc-snapshot/bin/gcc -o a.o a.c

does not work:
  /usr/lib/gcc-snapshot/bin/gcc -O2 -o a.o a.c
  a.c: In function 'main':
  a.c:12: warning: passing argument 1 of 'bar' discards qualifiers from pointer target type


  FWIW under other circumstances I even got an ICE, but I wasn't able to
reduce the testcase, and the code that generated it is not really ..
well open, so I can't give the full file sadly.



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

Kernel: Linux 2.6.20-1-amd64 (SMP w/2 CPU cores)
Locale: LANG=C, LC_CTYPE=fr_FR.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages gcc-snapshot depends on:
ii  binutils              2.17.20070210cvs-1 The GNU assembler, linker and bina
ii  libasound2            1.0.13-2           ALSA library
ii  libatk1.0-0           1.18.0-2           The ATK accessibility toolkit
ii  libc6                 2.5-7              GNU C Library: Shared libraries
ii  libc6-dev             2.5-7              GNU C Library: Development Librari
ii  libcairo2             1.4.6-1            The Cairo 2D vector graphics libra
ii  libfontconfig1        2.4.2-1.2          generic font configuration library
ii  libfreetype6          2.2.1-5            FreeType 2 font engine, shared lib
ii  libgcc1               1:4.1.2-6          GCC support library
ii  libgcj-bc             4.1.2-2            Link time only library for use wit
ii  libglib2.0-0          2.12.12-1          The GLib library of C routines
ii  libgmp3c2             2:4.2.1+dfsg-4     Multiprecision arithmetic library
ii  libgtk2.0-0           2.10.12-1          The GTK+ graphical user interface 
ii  libice6               1:1.0.3-2          X11 Inter-Client Exchange library
ii  libmpfr1              2.2.1.dfsg.1-2     multiple precision floating-point 
ii  libpango1.0-0         1.16.4-1           Layout and rendering of internatio
ii  libsm6                1:1.0.2-2          X11 Session Management library
ii  libstdc++6            4.1.2-6            The GNU Standard C++ Library v3
ii  libx11-6              2:1.1.1-1          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                1:1.0.1-4          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.1-5          X11 Testing -- Resource extension 
ii  zlib1g                1:1.2.3-13         compression library - runtime

gcc-snapshot recommends no packages.

-- no debconf information


--- End Message ---
--- Begin Message ---
Source: gcc-snapshot
Source-Version: 20070630-1

We believe that the bug you reported is fixed in the latest version of
gcc-snapshot, which is due to be installed in the Debian FTP archive:

gcc-snapshot_20070630-1.diff.gz
  to pool/main/g/gcc-snapshot/gcc-snapshot_20070630-1.diff.gz
gcc-snapshot_20070630-1.dsc
  to pool/main/g/gcc-snapshot/gcc-snapshot_20070630-1.dsc
gcc-snapshot_20070630-1_amd64.deb
  to pool/main/g/gcc-snapshot/gcc-snapshot_20070630-1_amd64.deb
gcc-snapshot_20070630-1_hppa.deb
  to pool/main/g/gcc-snapshot/gcc-snapshot_20070630-1_hppa.deb
gcc-snapshot_20070630-1_i386.deb
  to pool/main/g/gcc-snapshot/gcc-snapshot_20070630-1_i386.deb
gcc-snapshot_20070630-1_powerpc.deb
  to pool/main/g/gcc-snapshot/gcc-snapshot_20070630-1_powerpc.deb
gcc-snapshot_20070630-1_sparc.deb
  to pool/main/g/gcc-snapshot/gcc-snapshot_20070630-1_sparc.deb
gcc-snapshot_20070630.orig.tar.gz
  to pool/main/g/gcc-snapshot/gcc-snapshot_20070630.orig.tar.gz



A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 423407@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Matthias Klose <doko@debian.org> (supplier of updated gcc-snapshot package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Format: 1.7
Date: Sat, 30 Jun 2007 11:40:38 +0200
Source: gcc-snapshot
Binary: gcc-snapshot
Architecture: amd64 hppa i386 powerpc source sparc 
Version: 20070630-1
Distribution: unstable
Urgency: low
Maintainer: Debian GCC Maintainers <debian-gcc@lists.debian.org>
Changed-By: Matthias Klose <doko@debian.org>
Description: 
 gcc-snapshot - A SNAPSHOT of the GNU Compiler Collection
Closes: 413351 423407 424648 428871
Changes: 
 gcc-snapshot (20070630-1) unstable; urgency=low
 .
   * SVN 20070630, taken from the trunk, revision 126139.
      - PR target/32313: Fix bootstrap failure on MIPS running gengtype
        in stage 2.
      - ICE: tree check: expected tree that contains 'decl common'
        structure, have 'struct_field_tag' in ffan_walker, at
        tree-ssa-alias-warnings.c:638 (closes: #424648).
      - PR middle-end/30563: ICE in optimize_inline_calls, at
        tree-inline.c:2832 (closes: #413351).
      - PR rtl-optimization/32339: ICE in insert_save, at caller-save.c:726
        (closes: #428871).
      - PR middle-end/31959: ICE in expand_builtin_expect, at builtins.c:5112
        (closes: #423407).
      - PR middle-end/32374: in reload_cse_simplify_operands, at
        postreload.c:396
      - PR middle-end/32355: ICE in df_lr_verify_transfer_functions, at
        df-problems.c:1924
      - PR rtl-optimization/32366: Segfault in significand_size with
        -ftree-vectorize
      - PR middle-end/31541: Cannot take address of bit field.
      - PR middle-end/32437: Fix gcc.dg/cleanup-[8|9|10|11].c testcase.
      - PR target/32046: Fix nestfunc-6.c testcase at -O3 on MIPS.
 .
   * Snapshot specific changes:
     - Disable java on arm and hppa.
     - Disable biarch on i386.
     - Apply proposed fix for PR target/32522.
     - Apply proposed fix for PR rtl-optimization/32296.
Files: 
 d59d0ad0067a6c563e2284c867f2be78 3065 devel standard gcc-snapshot_20070630-1.dsc
 15fd2359a603e5f507413c86d5dde641 50142485 devel standard gcc-snapshot_20070630.orig.tar.gz
 2408b61adead921e281a36bc1a42c60b 37970652 devel extra gcc-snapshot_20070630-1_hppa.deb
 4eb04d0b09d8099a9f8ebd7c6237556d 90477188 devel extra gcc-snapshot_20070630-1_amd64.deb
 52f6f1483956011025dfcea1b3c9b4e0 66278608 devel extra gcc-snapshot_20070630-1_i386.deb
 8b0797fe59d9ef107d0a116a0b1c0067 94392890 devel extra gcc-snapshot_20070630-1_powerpc.deb
 b6c291c2fe7d142c25dbf1620280acb9 84006482 devel extra gcc-snapshot_20070630-1_sparc.deb
 e1a313e349b4a32fa124906cb2d3cfc5 308971 devel standard gcc-snapshot_20070630-1.diff.gz

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)

iD8DBQFGiSVeStlRaw+TLJwRAv9+AKCfkoZxxi2n9KmmlGHLziqlxXD0xgCeJmvd
IIi/Bc7ycBWwPHC/qNiDBGQ=
=xJuV
-----END PGP SIGNATURE-----


--- End Message ---

Reply to: