Processed: retitle gcc report

2003-09-06 Thread Debian Bug Tracking System
Processing commands for [EMAIL PROTECTED]:

> retitle 169862 [fixed in 3.4, optimization/1823] -ftrapv aborts with pointer 
> difference due to division optimization
Bug#169862: [PR c++/9067] vectors of vectors break with -ftrapv
Changed Bug title.

> thanks
Stopping processing here.

Please contact me if you need assistance.

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




Installation broke..

2003-09-06 Thread Thomas Zander
Recently I tried to compile a (c++) package which then borked at me that
libstdc++-devel was not installed.
After fishing the application that failed from the config.log I distilled
that the following c++ application does not compile for me:
#include 
using namespace std;

int main () {
  string astring="Hello World";
  astring.remove(0, 6);
  return 0;
}

I removed any and all gcc, g++, and libstd stuff from my machine and did new
apt-get's for g++ gcc etc. (all from testing)
So I now have a pretty default gcc 3.3.1 installation, INCLUDING
libstdc++5-3.3-dev (3.3.1-0pre0), but I still cant compile the above simple
application.

[EMAIL PROTECTED]:arts$g++ test.cpp
test.cpp: In function `int main()':
test.cpp:6: error: `remove' undeclared (first use this function)
test.cpp:6: error: (Each undeclared identifier is reported only once for 
each
   function it appears in.)

Is this a known problem?  Do you have any suggestions to further investigate?
Any help is appreciated..

Please cc answers; as I am not subscribed to the list.

-- 
Thomas Zander




Bug#208981: gcc-3.3: typeof(nonconst+const) is const

2003-09-06 Thread Kalle Olavi Niemitalo
Package: gcc-3.3
Version: 1:3.3.2-0pre1
Severity: minor

Try compiling the following function with "gcc-3.3 -c const.c".
GCC gives "assignment of read-only variable" warnings on the
indicated lines.  This shows that __typeof__ treats the
corresponding arguments as const.

void fn(void)
{
  int n;
  const int c;

  { __typeof__(n) a1; a1=0; }
  { __typeof__(c) a2; a2=0; }   /* warning */

  { __typeof__(n+n) b0; b0=0; }
  { __typeof__(n+c) b1; b1=0; } /* warning */
  { __typeof__(c+n) b2; b2=0; }
  { __typeof__(c+c) b3; b3=0; } /* warning */

  { __typeof__(1+n) c0; c0=0; }
  { __typeof__(1+c) c1; c1=0; } /* warning */
  { __typeof__(n+1) c2; c2=0; }
  { __typeof__(c+1) c3; c3=0; }

  { __typeof__(((int)n)+((int)n)) d0; d0=0; }
  { __typeof__(((int)n)+((int)c)) d1; d1=0; } /* warning */
  { __typeof__(((int)c)+((int)n)) d2; d2=0; }
  { __typeof__(((int)c)+((int)c)) d3; d3=0; } /* warning */

  { __typeof__(((const int)n)+((const int)n)) e0; e0=0; }
  { __typeof__(((const int)n)+((const int)c)) e1; e1=0; } /* warning */
  { __typeof__(((const int)c)+((const int)n)) e2; e2=0; }
  { __typeof__(((const int)c)+((const int)c)) e3; e3=0; } /* warning */
}

The behavior at b1 and b2 seems inconsistent.  If n+c is const,
then surely c+n should be as well, given that the addition
operator is commutative in all other respects.

Cases c0 to c3 show that GCC treats an integer constant as a
non-const rvalue.  Cases d0 to d3 and e0 to e3 show that casts
have no effect on the constness of the result; that can't be
right either.

I think it would be cleanest to make the addition operator always
return a non-const rvalue, regardless of whether the operands are
const.  After all, the result is supposed to be freshly computed.

-- System Information:
Debian Release: testing/unstable
Architecture: i386
Kernel: Linux Astalo 2.4.21-kon.astalo.1 #1 la elokuun 23. 01:05:31 EEST 2003 
i686
Locale: [EMAIL PROTECTED], [EMAIL PROTECTED]

Versions of packages gcc-3.3 depends on:
ii  binutils 2.14.90.0.4-0.1 The GNU assembler, linker and bina
ii  cpp-3.3  1:3.3.2-0pre1   The GNU C preprocessor
ii  gcc-3.3-base 1:3.3.2-0pre1   The GNU Compiler Collection (base 
ii  libc62.3.2-2 GNU C Library: Shared libraries an
ii  libgcc1  1:3.3.2-0pre1   GCC support library

-- no debconf information




Results for 3.2.3 (Debian) testsuite on powerpc-unknown-linux-gnu

2003-09-06 Thread Matthias Klose
LAST_UPDATED: 
Native configuration is powerpc-unknown-linux-gnu

=== g++ tests ===


Running target unix
XPASS: g++.other/init5.C  Execution test

=== g++ Summary ===

# of expected passes7349
# of unexpected successes   1
# of expected failures  88
# of untested testcases 23
# of unsupported tests  6
/build/buildd/gcc-3.2-3.2.3ds9/build/gcc/testsuite/../g++ version 3.2.3 (Debian)

=== g77 tests ===


Running target unix

=== g77 Summary ===

# of expected passes1458
# of unsupported tests  8
/build/buildd/gcc-3.2-3.2.3ds9/build/gcc/testsuite/../g77 version 3.2.3 (Debian)

=== gcc tests ===


Running target unix
FAIL: gcc.dg/20020103-1.c scan-assembler-not LC
FAIL: gcc.dg/20020118-1.c execution test

=== gcc Summary ===

# of expected passes18863
# of unexpected failures2
# of expected failures  66
# of unsupported tests  119
/build/buildd/gcc-3.2-3.2.3ds9/build/gcc/xgcc version 3.2.3 (Debian)

=== objc tests ===


Running target unix

=== objc Summary ===

# of expected passes1035
# of expected failures  6
/build/buildd/gcc-3.2-3.2.3ds9/build/gcc/xgcc version 3.2.3 (Debian)

=== libstdc++-v3 tests ===


Running target unix
XPASS: 22_locale/collate_byname.cc execution test
XPASS: 22_locale/collate_members_char.cc execution test
XPASS: 22_locale/collate_members_wchar_t.cc execution test
XPASS: 22_locale/ctype_is_char.cc execution test
XPASS: 22_locale/ctype_is_wchar_t.cc execution test
XPASS: 22_locale/members.cc execution test
XPASS: 22_locale/messages_byname.cc execution test
XPASS: 22_locale/messages_members_char.cc execution test
XPASS: 22_locale/moneypunct_byname.cc execution test
XPASS: 22_locale/moneypunct_members_char.cc execution test
XPASS: 22_locale/moneypunct_members_wchar_t.cc execution test
XPASS: 22_locale/numpunct_byname.cc execution test
XPASS: 22_locale/numpunct_members_char.cc execution test
XPASS: 22_locale/numpunct_members_wchar_t.cc execution test
FAIL: 26_numerics/c99_classification_macros_c.cc (test for excess errors)

=== libstdc++-v3 Summary ===

# of expected passes432
# of unexpected failures1
# of unexpected successes   14
# of expected failures  12

Compiler version: 3.2.3 (Debian) 
Platform: powerpc-unknown-linux-gnu
configure flags: --host=powerpc-linux -v --enable-languages=c,c++,f77,objc,ada 
--prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info 
--with-gxx-include-dir=/usr/include/c++/3.2 --enable-shared --with-system-zlib 
--enable-nls --without-included-gettext --enable-__cxa_atexit 
--enable-clocale=gnu --enable-objc-gc
BOOT_CFLAGS=-O2 

Patches that Debian applied in this version:

gcc-names:
  versioned gcc names

gcc-version:
  Add "(Debian)" to the gcc version string

fastjar-doc:
  Add fastjar(1) and grepjar(1) documentation

libstdc++-incdir:
  Propagate gxx_include_dir to the libstdc++ subdirectory.

libstdc++-pic:
  Build and install libstdc++_pic.a library.

libstdc++-doclink:
  link local libstdc++ documentation to local source-level documentation 

gcc-line-numbers:
  Richard Henderson 
  * integrate.c (output_inline_function): Reset input_filename
  and lineno from the decl before rest_of_compilation.

gccbug:
  Use sensible-editor instead of vi as fallback editor

arm-update:
  2002-09-21  Richard Earnshaw  ([EMAIL PROTECTED])
  
PR opt/7930
* cse.c (fold_rtx): Calculate old_cost before we fold each
operand.

hppa-fptr:
  Handle function pointer comparisions on hppa properly
  Backported from gcc-3.3 branch
  http://gcc.gnu.org/ml/gcc-cvs/2002-12/msg00157.html
  http://gcc.gnu.org/ml/gcc-cvs/2002-12/msg00195.html

libobjc:
  Find header file for Boehm garbage collector.

g77-names:
  versioned g77 names

ada-gcc-name:
  use gcc-3.2 instead of gcc and gnatXXX-3.15 instead of gnatXXX
  as the command names.

reporting:
   --help gives hint to /usr/share/doc/debian/bug-reporting.txt

autoreconf:
  autoreconf several directories for proper mipsen libtool support

Counting all warnings,
there are 79 warnings in stage3 of this bootstrap.

Number of warnings per file:
 18 gcc/combine.c
 10 gcc/regclass.c
 10 gcc/gcc.c
  6 ./ffe.texi
  4 insn-emit.c
  4 gcc/config/rs6000/rs6000.md
  4 ./intdoc.texi
  3 gcc/reload1.c
  2 gcc/unwind-dw2.c
  2 gcc/reload.c
  2 gcc/fold-const.c
  2 gcc/ada/a-except.adb
  1 gcc/varasm.c
  1 gcc/sched-deps.c
  1 gcc/regmove.c
  1 gcc/profile.c
  1 gcc/objc/lang-specs.h
  1 gcc/expr.c
  1 gcc/emit-rtl.c
  1 gcc/cp/lang-specs.h
  1 gcc/cp/init.c
  1 gcc/cp/class.c
  1 gcc/config/rs6000/rs6000.c
  1 gcc/calls.c

Number of warning types:
 32 comparison between signed and unsigned
 12 string length `???'

[Bug target/11983] ICE in dwarf-2 on code using altivec

2003-09-06 Thread pinskia at gcc dot gnu dot org
PLEASE REPLY TO [EMAIL PROTECTED] ONLY, *NOT* [EMAIL PROTECTED]

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


pinskia at gcc dot gnu dot org changed:

   What|Removed |Added

   Target Milestone|3.4 |---





--- You are receiving this mail because: ---
You are on the CC list for the bug, or are watching someone who is.