Processed: found 729022 in 4.8.2-4, affects 727097, affects 729022, user debian...@lists.debian.org ...

2013-11-14 Thread Debian Bug Tracking System
Processing commands for cont...@bugs.debian.org:

> found 729022 4.8.2-4
Bug #729022 [libgcj14,gcj-4.8-jre-headless] libgcj14: File conflict between 
libgcj14 and gcj-4.8-jre-headless
Marked as found in versions gcc-4.8/4.8.2-4.
> affects 727097 + transcode
Bug #727097 [mjpegtools] mjpegtools: trying to overwrite errors for library 
dependencies of mjpegtools
Added indication that 727097 affects transcode
> affects 729022 + ecj-gcj
Bug #729022 [libgcj14,gcj-4.8-jre-headless] libgcj14: File conflict between 
libgcj14 and gcj-4.8-jre-headless
Added indication that 729022 affects ecj-gcj
> user debian...@lists.debian.org
Setting user to debian...@lists.debian.org (was a...@debian.org).
> usertags 729343 piuparts
There were no usertags set.
Usertags are now: piuparts.
> unarchive 684178
Bug #684178 {Done: Neil Williams } [gpe-tetris] 
gpe-tetris: creates world writable directory /var/games/gpe
Unarchived Bug 684178
> # for piuparts to mark the disappeared packages as bugged
> found 684178 sid/none
Bug #684178 {Done: Neil Williams } [gpe-tetris] 
gpe-tetris: creates world writable directory /var/games/gpe
The source sid and version none do not appear to match any binary packages
Marked as found in versions sid/none and reopened.
> found 684178 jessie/None
Bug #684178 [gpe-tetris] gpe-tetris: creates world writable directory 
/var/games/gpe
The source jessie and version None do not appear to match any binary packages
Marked as found in versions jessie/None.
> close 684178
Bug #684178 [gpe-tetris] gpe-tetris: creates world writable directory 
/var/games/gpe
Marked Bug as done
> found 645713 gnome/1:3.4+7+deb7u1
Bug #645713 {Done: Michael Vogt } [apt] many squeeze->wheezy 
upgrades fail with "Could not perform immediate configuration"
Bug #701048 {Done: Michael Vogt } [apt] many squeeze->wheezy 
upgrades fail with "Could not perform immediate configuration"
The source gnome and version 1:3.4+7+deb7u1 do not appear to match any binary 
packages
Marked as found in versions gnome/1:3.4+7+deb7u1 and reopened.
Marked as found in versions gnome/1:3.4+7+deb7u1 and reopened.
> found 645713 gnome-accessibility/None
Bug #645713 [apt] many squeeze->wheezy upgrades fail with "Could not perform 
immediate configuration"
Bug #701048 [apt] many squeeze->wheezy upgrades fail with "Could not perform 
immediate configuration"
The source gnome-accessibility and version None do not appear to match any 
binary packages
Marked as found in versions gnome-accessibility/None.
Marked as found in versions gnome-accessibility/None.
> found 645713 wheezy/None
Bug #645713 [apt] many squeeze->wheezy upgrades fail with "Could not perform 
immediate configuration"
Bug #701048 [apt] many squeeze->wheezy upgrades fail with "Could not perform 
immediate configuration"
The source wheezy and version None do not appear to match any binary packages
Marked as found in versions wheezy/None.
Marked as found in versions wheezy/None.
> close 645713
Bug #645713 [apt] many squeeze->wheezy upgrades fail with "Could not perform 
immediate configuration"
Bug #701048 [apt] many squeeze->wheezy upgrades fail with "Could not perform 
immediate configuration"
Marked Bug as done
Marked Bug as done
> found 725199 7u3-2.1.7-1
Bug #725199 [icedtea-7-jre-cacao] icedtea-7-jre-cacao: broken package does not 
install
Marked as found in versions openjdk-7/7u3-2.1.7-1.
> severity 725199 serious
Bug #725199 [icedtea-7-jre-cacao] icedtea-7-jre-cacao: broken package does not 
install
Severity set to 'serious' from 'normal'
> usertags 725199 piuparts
There were no usertags set.
Usertags are now: piuparts.
> thanks
Stopping processing here.

Please contact me if you need assistance.
-- 
645713: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=645713
684178: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=684178
701048: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=701048
725199: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=725199
727097: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=727097
729022: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=729022
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems


--
To UNSUBSCRIBE, email to debian-gcc-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/handler.s.c.138442093429946.transcr...@bugs.debian.org



Results for 4.8.2 (Debian 4.8.2-4) testsuite on x86_64-pc-kfreebsd-gnu

2013-11-14 Thread Matthias Klose
LAST_UPDATED: Tue Nov 12 15:08:55 UTC 2013 (revision 204704)

Target: x86_64-kfreebsd-gnu
gcc version 4.8.2 (Debian 4.8.2-4) 
Native configuration is x86_64-pc-kfreebsd-gnu

=== g++ tests ===


Running target unix

=== g++ Summary for unix ===

# of expected passes51800
# of expected failures  290
# of unsupported tests  844

Running target unix/-fstack-protector

=== g++ Summary for unix/-fstack-protector ===

# of expected passes51800
# of expected failures  290
# of unsupported tests  844

Running target unix/-m32

=== g++ Summary for unix/-m32 ===

# of expected passes51016
# of expected failures  290
# of unsupported tests  614

=== g++ Summary ===

# of expected passes154616
# of expected failures  870
# of unsupported tests  2302
/build/gcc-4.8-jQkPR7/gcc-4.8-4.8.2/build/gcc/testsuite/g++/../../xg++  version 
4.8.2 (Debian 4.8.2-4) 

=== gcc tests ===


Running target unix
FAIL: largefile.c  -O0 -g -I. -Dwith_PCH (internal compiler error)
FAIL: largefile.c  -O0 -g -I. -Dwith_PCH (test for excess errors)
FAIL: gcc.dg/pch/largefile.c  -O0 -g assembly comparison
FAIL: largefile.c   -O0  -I. -Dwith_PCH (internal compiler error)
FAIL: largefile.c   -O0  -I. -Dwith_PCH (test for excess errors)
FAIL: gcc.dg/pch/largefile.c   -O0  assembly comparison
FAIL: largefile.c   -O1  -I. -Dwith_PCH (internal compiler error)
FAIL: largefile.c   -O1  -I. -Dwith_PCH (test for excess errors)
FAIL: gcc.dg/pch/largefile.c   -O1  assembly comparison
FAIL: largefile.c   -O2  -I. -Dwith_PCH (internal compiler error)
FAIL: largefile.c   -O2  -I. -Dwith_PCH (test for excess errors)
FAIL: gcc.dg/pch/largefile.c   -O2  assembly comparison
FAIL: largefile.c   -O3 -fomit-frame-pointer  -I. -Dwith_PCH (internal compiler 
error)
FAIL: largefile.c   -O3 -fomit-frame-pointer  -I. -Dwith_PCH (test for excess 
errors)
FAIL: gcc.dg/pch/largefile.c   -O3 -fomit-frame-pointer  assembly comparison
FAIL: largefile.c   -O3 -g  -I. -Dwith_PCH (internal compiler error)
FAIL: largefile.c   -O3 -g  -I. -Dwith_PCH (test for excess errors)
FAIL: gcc.dg/pch/largefile.c   -O3 -g  assembly comparison
FAIL: largefile.c   -Os  -I. -Dwith_PCH (internal compiler error)
FAIL: largefile.c   -Os  -I. -Dwith_PCH (test for excess errors)
FAIL: gcc.dg/pch/largefile.c   -Os  assembly comparison

=== gcc Summary for unix ===

# of expected passes92307
# of unexpected failures21
# of expected failures  265
# of unsupported tests  1412

Running target unix/-fstack-protector
FAIL: gcc.dg/stack-usage-1.c scan-file foo\\t(256|264)\\tstatic
FAIL: gcc.dg/superblock.c scan-rtl-dump-times sched2 "ADVANCING TO" 2
FAIL: largefile.c  -O0 -g -I. -Dwith_PCH (internal compiler error)
FAIL: largefile.c  -O0 -g -I. -Dwith_PCH (test for excess errors)
FAIL: gcc.dg/pch/largefile.c  -O0 -g assembly comparison
FAIL: largefile.c   -O0  -I. -Dwith_PCH (internal compiler error)
FAIL: largefile.c   -O0  -I. -Dwith_PCH (test for excess errors)
FAIL: gcc.dg/pch/largefile.c   -O0  assembly comparison
FAIL: largefile.c   -O1  -I. -Dwith_PCH (internal compiler error)
FAIL: largefile.c   -O1  -I. -Dwith_PCH (test for excess errors)
FAIL: gcc.dg/pch/largefile.c   -O1  assembly comparison
FAIL: largefile.c   -O2  -I. -Dwith_PCH (internal compiler error)
FAIL: largefile.c   -O2  -I. -Dwith_PCH (test for excess errors)
FAIL: gcc.dg/pch/largefile.c   -O2  assembly comparison
FAIL: largefile.c   -O3 -fomit-frame-pointer  -I. -Dwith_PCH (internal compiler 
error)
FAIL: largefile.c   -O3 -fomit-frame-pointer  -I. -Dwith_PCH (test for excess 
errors)
FAIL: gcc.dg/pch/largefile.c   -O3 -fomit-frame-pointer  assembly comparison
FAIL: largefile.c   -O3 -g  -I. -Dwith_PCH (internal compiler error)
FAIL: largefile.c   -O3 -g  -I. -Dwith_PCH (test for excess errors)
FAIL: gcc.dg/pch/largefile.c   -O3 -g  assembly comparison
FAIL: largefile.c   -Os  -I. -Dwith_PCH (internal compiler error)
FAIL: largefile.c   -Os  -I. -Dwith_PCH (test for excess errors)
FAIL: gcc.dg/pch/largefile.c   -Os  assembly comparison

=== gcc Summary for unix/-fstack-protector ===

# of expected passes92305
# of unexpected failures23
# of expected failures  265
# of unsupported tests  1412

Running target unix/-m32
FAIL: gcc.dg/pr45352-1.c (test for excess errors)
FAIL: largefile.c  -O0 -g -I. -Dwith_PCH (internal compiler error)
FAIL: largefile.c  -O0 -g -I. -Dwith_PCH (test for excess errors)
FAIL: gcc.dg/pch/largefile.c  -O0 -g assembly comparison
FAIL: largefile.c   -O0  -I. -Dwith_PCH (internal compiler error)
FAIL: largefile.c   -O0  -I. -Dwith_PCH (test for excess errors)
FAIL: gcc.dg/pch/largefile.c   -O0  assembly comparison
FAIL: largefile.c   -O1  -I. -Dwith_PCH (internal compiler error)
FAIL: largefile.c   -O1  -I. -

Processed: Bug#716635: gcc-4.8: Miscompilation at optimization -O1

2013-11-14 Thread Debian Bug Tracking System
Processing commands for cont...@bugs.debian.org:

> tag 716635 - help
Bug #716635 [gcc-4.8] gcc-4.8: Miscompilation at optimization -O1
Removed tag(s) help.
> tag 716635 + upstream
Bug #716635 [gcc-4.8] gcc-4.8: Miscompilation at optimization -O1
Added tag(s) upstream.
> forwarded 716635 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59137
Bug #716635 [gcc-4.8] gcc-4.8: Miscompilation at optimization -O1
Set Bug forwarded-to-address to 
'http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59137'.
> retitle 716635 gcc-4.8: Miscompilation at optimization -O1 on mips/mipsel
Bug #716635 [gcc-4.8] gcc-4.8: Miscompilation at optimization -O1
Changed Bug title to 'gcc-4.8: Miscompilation at optimization -O1 on 
mips/mipsel' from 'gcc-4.8: Miscompilation at optimization -O1'
> thanks
Stopping processing here.

Please contact me if you need assistance.
-- 
716635: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=716635
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems


--
To UNSUBSCRIBE, email to debian-gcc-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/handler.s.c.138446100812658.transcr...@bugs.debian.org



Bug#716635: gcc-4.8: Miscompilation at optimization -O1

2013-11-14 Thread Aurelien Jarno
tag 716635 - help
tag 716635 + upstream
forwarded 716635 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59137 
retitle 716635 gcc-4.8: Miscompilation at optimization -O1 on mips/mipsel
thanks

On Wed, Jul 10, 2013 at 04:28:46PM -0400, Camm Maguire wrote:
> 
> Package: gcc-4.8
> Version: 4.8.1-5
> Severity: important
> 
> The following code
> 
> type_of(x0)==t_cons
> 
> from 
> 
> DEFUNO_NEW("LISTP",object,fLlistp,LISP
>,1,1,NONE,OO,OO,OO,OO,void,Llistp,(object x0),"")
> 
> {
>   /* 1 args */
> 
>   if (x0 == Cnil || type_of(x0) == t_cons)
>   x0 = Ct;
>   else
>   x0 = Cnil;
>   RETURN1(x0);
> }
> 
> where type_of(x0) is fully expanded as
> 
> ({register object _z=(object)(x0); ufixnum)(_z))>=0x8000) ?
> t_fixnum : ((!(_z)->d.e || (((ufixnum)((*(object *)(_z>=0x8000))
> ? (_z==((object)&Cnil_body) ? t_symbol : t_cons) : _z->d.t));})
> 
> incorrectly gives true when compiled at O1, and correctly gives false
> when compiled at -O0 (only on mips).
> 
> The following is a gdb session followed by the full preprocessed source.
> 

Attached is a reduced testcase. The problem does appear at -O1, but not
at -O0 nor -O2. It is reproducible with GCC 4.7, 4.8 or snapshot, but
not with 4.6 or older. I have reported it upstream as issue #59137.

-- 
Aurelien Jarno  GPG: 1024D/F1BCDB73
aurel...@aurel32.net http://www.aurel32.net
struct lispstruct
{
int e;
int t;
};

struct lispstruct Cnil_body;
struct lispstruct Ct_body;
int nvalues;

struct lispstruct * fLlistp (struct lispstruct *x0)
{
  if (x0 == &Cnil_body || (((unsigned long) x0 >= 0x8000) ? 0 : (!x0->e ? (x0 != &Cnil_body) : x0->t)))
x0 = &Ct_body;
  else
x0 = &Cnil_body;
  nvalues = 1;
  return x0;
}

int main ()
{
  return fLlistp((struct lispstruct *) 0xa001) == &Cnil_body;
}


Bug#726867: marked as done (ICE while building Linux dvb_demux.c for IA64 or MIPS64 with -Os)

2013-11-14 Thread Debian Bug Tracking System
Your message dated Thu, 14 Nov 2013 23:00:50 +0100
with message-id <20131114220049.ga12...@ohm.rr44.fr>
and subject line Re: Bug#726867: ICE while building Linux dvb_demux.c for 
MIPS64 with -Os
has caused the Debian Bug report #726867,
regarding ICE while building Linux dvb_demux.c for IA64 or MIPS64 with -Os
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 this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact ow...@bugs.debian.org
immediately.)


-- 
726867: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=726867
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Package: gcc-4.8
Version: 4.8.2-1
Severity: important

linux 3.11.5-1 failed to build on both mips and mipsel:

  CC [M]  drivers/media/dvb-core/dvb_demux.o
/«PKGBUILDDIR»/drivers/media/dvb-core/dvb_demux.c: In function 
'dvb_dmx_swfilter_packet':
/«PKGBUILDDIR»/drivers/media/dvb-core/dvb_demux.c:474:1: internal compiler 
error: in do_SUBST, at combine.c:711
 }
 ^

Notably, this only occurred for flavours built with -Os.
Here's a reduced test case:

/* Compile with: gcc-4.8 -nostdinc -mabi=64  -Os -c test.c */

typedef unsigned char u8;

static int a(u8 len)
{
 static int i;
 i += len;
 return 0;
}

int b(u8 *p)
{
 u8 count = 184 - p[4];

 if (count == 0)
  return -1;

 if (*p < count)
   a(*p);

 return 0;
}

/* END */

Ben.

-- System Information:
Debian Release: jessie/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing'), (1, 'experimental')
Architecture: i386 (x86_64)
Foreign Architectures: amd64

Kernel: Linux 3.11-1-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_GB.utf8, LC_CTYPE=en_GB.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages gcc-4.8 depends on:
ii  binutils2.23.90.20130927-1
ii  cpp-4.8 4.8.2-1
ii  gcc-4.8-base4.8.2-1
ii  libc6   2.17-93
ii  libcloog-isl4   0.18.0-2
ii  libgcc-4.8-dev  4.8.2-1
ii  libgmp102:5.1.2+dfsg-3
ii  libisl100.11.2-1
ii  libmpc3 1.0.1-1
ii  libmpfr43.1.1-2
ii  zlib1g  1:1.2.8.dfsg-1

Versions of packages gcc-4.8 recommends:
ii  libc6-dev  2.17-93

Versions of packages gcc-4.8 suggests:
ii  binutils [binutils-gold]  2.23.90.20130927-1
pn  gcc-4.8-doc   
pn  gcc-4.8-locales   
ii  gcc-4.8-multilib  4.8.2-1
pn  libasan0-dbg  
pn  libatomic1-dbg
pn  libbacktrace1-dbg 
pn  libgcc1-dbg   
pn  libgomp1-dbg  
pn  libitm1-dbg   
pn  libmudflap0-4.8-dev   
pn  libmudflap0-dbg   
pn  libquadmath0-dbg  
pn  libtsan0-dbg  

-- no debconf information
--- End Message ---
--- Begin Message ---
Version: 4.8.2-2

On Fri, Nov 01, 2013 at 11:42:48AM +0100, Stephen Kitt wrote:
> Hi,
> 
> On Tue, Oct 29, 2013 at 02:34:59PM +, Ben Hutchings wrote:
> > The same function caused ICE on ia64, and the test case also causes ICE
> > at all optimisation levels except -O0.
> 
> This ICE affects a number of other packages, and is fixed upstream in
> the gcc-4.8 branch as of r204165.
> 

This has been fixed in version 4.8.2-2. Closing the bug.

-- 
Aurelien Jarno  GPG: 1024D/F1BCDB73
aurel...@aurel32.net http://www.aurel32.net--- End Message ---


Bug#729611: GCC 4.8 -Wconversion raises false positive on shift operation

2013-11-14 Thread E.L. Eckter
Package: gcc
Version: 4.8.2-1

The following are all false positive warnings produced by -Wconversion.
 It should be smart enough to see that there is no problem.  It usually
it, but not in these cases.

gcc-4.8 -Wall -Wextra -Wconversion false.c
false.c: In function ‘main’:
false.c:18:26: warning: conversion to ‘unsigned char’ from ‘unsigned
int’ may alter its value [-Wconversion]
 unsigned char b6 = u >> 24;  /* warning (false positive) */
  ^
false.c:19:26: warning: conversion to ‘unsigned char’ from ‘unsigned
int’ may alter its value [-Wconversion]
 unsigned char b7 = u >> 24u; /* warning (false positive) */
  ^
false.c:20:26: warning: conversion to ‘unsigned char’ from ‘unsigned
int’ may alter its value [-Wconversion]
 unsigned char b8 = u >> 31;  /* warning (false positive) */
  ^
false.c:21:34: warning: conversion to ‘unsigned char’ from ‘unsigned
int’ may alter its value [-Wconversion]
 unsigned char b9 = (u >> 24) & 0xff; /* warning (false positive) */
  ^

C code to trigger the problem:

false.c:
// -*- Mode: C -*-
//
// Trigger false positive warnings with -Wconversion.
//
// gcc-4.8 -Wall -Wextra -Wconversion false.c

int main(int argc, char **argv)
{
(void)argv;
unsigned int u = (unsigned)argc;

unsigned int u2 = u >> 24;
unsigned char b1 = u2 & 0xff;/* no warning */
unsigned char b2 = u & 0xff; /* no warning */
unsigned char b3 = (u >> 23) & 0xff; /* no warning */
unsigned char b4 = (u >> 24) & 0x7f; /* no warning */
unsigned char b5 = (u >> 24) & 0xfe; /* no warning */
unsigned char b6 = u >> 24;  /* warning (false positive) */
unsigned char b7 = u >> 24u; /* warning (false positive) */
unsigned char b8 = u >> 31;  /* warning (false positive) */
unsigned char b9 = (u >> 24) & 0xff; /* warning (false positive) */
// false.c: In function ‘main’:
// false.c:47:33: warning: conversion to ‘unsigned char’ from
// ‘unsigned int’ may alter its value [-Wconversion]
// unsigned char b9 = (u >> 24) & 0xff; /* warning */
// ^

return b1+b2+b3+b4+b5+b6+b7+b8+b9;
}
// The same happens for other types, e.g. shifting 'unsigned long long'
// by at least 32 bits, assigning to 'unsigned', or shifting 'unsigned'
// by 16 bits, assigning to 'unsigned short'.

// GCC Version:
// Using built-in specs.
// COLLECT_GCC=gcc-4.8
// COLLECT_LTO_WRAPPER=/usr/lib/gcc/i486-linux-gnu/4.8/lto-wrapper
// Target: i486-linux-gnu
// Configured with: ../src/configure -v --with-pkgversion='Debian
// 4.8.2-1' --with-bugurl=file:///usr/share/doc/gcc-4.8/README.Bugs
// --enable-languages=c,c++,java,go,d,fortran,objc,obj-c++
// --prefix=/usr --program-suffix=-4.8 --enable-shared
// --enable-linker-build-id --libexecdir=/usr/lib
// --without-included-gettext --enable-threads=posix
// --with-gxx-include-dir=/usr/include/c++/4.8 --libdir=/usr/lib
// --enable-nls --with-sysroot=/ --enable-clocale=gnu
// --enable-libstdcxx-debug --enable-libstdcxx-time=yes
// --enable-gnu-unique-object --enable-plugin --with-system-zlib
// --disable-browser-plugin --enable-java-awt=gtk --enable-gtk-cairo
// --with-java-home=/usr/lib/jvm/java-1.5.0-gcj-4.8-i386/jre
// --enable-java-home
// --with-jvm-root-dir=/usr/lib/jvm/java-1.5.0-gcj-4.8-i386
// --with-jvm-jar-dir=/usr/lib/jvm-exports/java-1.5.0-gcj-4.8-i386
// --with-arch-directory=i386
// --with-ecj-jar=/usr/share/java/eclipse-ecj.jar --enable-objc-gc
// --enable-targets=all --enable-multiarch --with-arch-32=i586
// --with-multilib-list=m32,m64,mx32 --with-tune=generic
// --enable-checking=release --build=i486-linux-gnu
// --host=i486-linux-gnu --target=i486-linux-gnu
// Thread model: posix
// gcc version 4.8.2 (Debian 4.8.2-1)


-- 
To UNSUBSCRIBE, email to debian-gcc-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/52854f7d.60...@ndwun.de



Bug#729611: GCC 4.8 -Wconversion raises false positive on shift operation

2013-11-14 Thread Bastian Blank
On Thu, Nov 14, 2013 at 11:32:29PM +0100, E.L. Eckter wrote:
> The following are all false positive warnings produced by -Wconversion.
>  It should be smart enough to see that there is no problem.  It usually
> it, but not in these cases.

The warning is correct.  The C standard does not define sizeof(unsigned
int) == 4, nor does it define it with a size 32 bit.  You assume both
given in your example.

Bastian

-- 
Many Myths are based on truth
-- Spock, "The Way to Eden",  stardate 5832.3


-- 
To UNSUBSCRIBE, email to debian-gcc-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20131114230610.ga...@mail.waldi.eu.org