[Bug target/33256] internal compiler error: in print_operand_reloc, at config/mips/mips.c:5579

2007-09-02 Thread tbm at cyrius dot com


--- Comment #1 from tbm at cyrius dot com  2007-09-02 08:40 ---
I can reproduce this with
  gcc-4.1 -c -mabi=64 -msym32 -mno-abicalls  -O  
using Debian's gcc.


-- 


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

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


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



[Bug target/33256] internal compiler error: in print_operand_reloc, at config/mips/mips.c:5579

2007-09-02 Thread tbm at gcc dot gnu dot org


--- Comment #2 from tbm at gcc dot gnu dot org  2007-09-02 09:08 ---
I can confirm this with FSF gcc 4.1.3 20070902


-- 

tbm at gcc dot gnu dot org changed:

   What|Removed |Added

 Status|UNCONFIRMED |NEW
 Ever Confirmed|0   |1
   Last reconfirmed|-00-00 00:00:00 |2007-09-02 09:08:07
   date||


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

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


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



[Bug target/33256] internal compiler error: in print_operand_reloc, at config/mips/mips.c:5579

2007-09-02 Thread tbm at gcc dot gnu dot org


-- 

tbm at gcc dot gnu dot org changed:

   What|Removed |Added

 CC||daney at gcc dot gnu dot org


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

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


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



[Bug target/33256] internal compiler error: in print_operand_reloc, at config/mips/mips.c:5579

2007-09-02 Thread tbm at gcc dot gnu dot org


-- 

tbm at gcc dot gnu dot org changed:

   What|Removed |Added

 CC||rsandifo at gcc dot gnu dot
   ||org


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

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


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



[Bug target/33256] internal compiler error: in print_operand_reloc, at config/mips/mips.c:5579

2007-09-02 Thread tbm at gcc dot gnu dot org


--- Comment #3 from tbm at gcc dot gnu dot org  2007-09-02 09:26 ---
This happens with 4.0 - 4.3.  gcc 3.4 didn't have the -msym32 option.


-- 


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

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


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



[Bug target/33256] internal compiler error: in print_operand_reloc, at config/mips/mips.c:5579

2007-09-02 Thread tbm at gcc dot gnu dot org


--- Comment #4 from tbm at gcc dot gnu dot org  2007-09-02 09:27 ---
Created an attachment (id=14149)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=14149&action=view)
testcase


-- 


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

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


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



[Bug target/33277] [4.3 Regression] Bootstrap check failures ICE's

2007-09-02 Thread pinskia at gcc dot gnu dot org


--- Comment #1 from pinskia at gcc dot gnu dot org  2007-09-02 11:36 ---
I saw this also asn asked about it on IRC.  Note please don't CC anyone unless
you know that they caused the bug.  They don't want to be getting all bug
reports.


-- 

pinskia at gcc dot gnu dot org changed:

   What|Removed |Added

 CC|dje at watson dot ibm dot   |
   |com, debian-gcc at lists dot|
   |debian dot org, fxcoudert at|
   |gcc dot gnu dot org |
  Component|c   |target
  GCC build triplet|rs600   |
   GCC host triplet|rs600   |
 GCC target triplet|rs600   |powerpc-linux-gnu
Summary|[4.3.0 Regression]  |[4.3 Regression]  Bootstrap
   |Bootstrap check failures|check failures ICE's
   |ICE's   |
   Target Milestone|--- |4.3.0


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

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


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Bug#173513: [Bug tree-optimization/3713] Pointers to functions or member functions are not folded or inlined

2007-09-02 Thread guillaume dot melquiond at ens-lyon dot fr


--- Comment #14 from guillaume dot melquiond at ens-lyon dot fr  2007-09-02 
11:56 ---
Created an attachment (id=14150)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=14150&action=view)
Implements folding of "(&function & 1)"

I encountered the same issue with some heavy template code: GCC was generating
some really awful code, while it should have been optimized to almost anything.
It basically comes down to this kind of C++ code:

  struct A { void a(); };
  template < void (A::*f)() >
  void g(A *t) { (t->*f)(); }
  void h(A *t) { g<&A::a>(t); }

After instantiation, it is somehow transformed to:

  struct A { void a(); };
  void h(A *t) { (t->*(&A::a))(); }

And GCC is unable to optimize it. So I played a bit with the attached patch,
which does fix the issue for my template code.

Note that GCC does inline the member function for my code (just add an empty
body to A::a to test it), but it doesn't inline it in Andrew Pinski's last
testcase. I have no idea why; perhaps because the address goes through a
variable. But at least the generated code no longer contain any crap and it
directly calls the correct function, even if it doesn't inline it.

(As for why the C++ front-end generates this code in the first place, it is
because the lower bit of the pointer indicates whether an extra indirection is
needed when calling the function through the pointer to member. The C++
front-end actually assumes that functions have an alignment of 2 at least, so
that this trick can work.)


-- 


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

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


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Processing of gdc-4.1_0.24-4.1.2-16exp1_multi.changes

2007-09-02 Thread Archive Administrator
gdc-4.1_0.24-4.1.2-16exp1_multi.changes uploaded successfully to localhost
along with the files:
  gdc-4.1_0.24-4.1.2-16exp1.dsc
  gdc-4.1_0.24-4.1.2-16exp1.diff.gz
  gdc-4.1_0.24-4.1.2-16exp1_i386.deb
  gdc-4.1_0.24-4.1.2-16exp1_amd64.deb
  gdc-4.1_0.24-4.1.2-16exp1_powerpc.deb
  gdc-4.1_0.24-4.1.2-16exp1_sparc.deb

Greetings,

Your Debian queue daemon


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



gdc-4.1_0.24-4.1.2-16exp1_multi.changes ACCEPTED

2007-09-02 Thread Debian Installer
Warning: gdc-4.1_0.24-4.1.2-16exp1_amd64.deb control file lists priority as 
`optional', but changes file has `standard'.
Warning: gdc-4.1_0.24-4.1.2-16exp1_sparc.deb control file lists priority as 
`optional', but changes file has `standard'.
Warning: gdc-4.1_0.24-4.1.2-16exp1_powerpc.deb control file lists priority as 
`optional', but changes file has `standard'.
Warning: gdc-4.1_0.24-4.1.2-16exp1_i386.deb control file lists priority as 
`optional', but changes file has `standard'.

Accepted:
gdc-4.1_0.24-4.1.2-16exp1.diff.gz
  to pool/main/g/gdc-4.1/gdc-4.1_0.24-4.1.2-16exp1.diff.gz
gdc-4.1_0.24-4.1.2-16exp1.dsc
  to pool/main/g/gdc-4.1/gdc-4.1_0.24-4.1.2-16exp1.dsc
gdc-4.1_0.24-4.1.2-16exp1_amd64.deb
  to pool/main/g/gdc-4.1/gdc-4.1_0.24-4.1.2-16exp1_amd64.deb
gdc-4.1_0.24-4.1.2-16exp1_i386.deb
  to pool/main/g/gdc-4.1/gdc-4.1_0.24-4.1.2-16exp1_i386.deb
gdc-4.1_0.24-4.1.2-16exp1_powerpc.deb
  to pool/main/g/gdc-4.1/gdc-4.1_0.24-4.1.2-16exp1_powerpc.deb
gdc-4.1_0.24-4.1.2-16exp1_sparc.deb
  to pool/main/g/gdc-4.1/gdc-4.1_0.24-4.1.2-16exp1_sparc.deb


Override entries for your package:
gdc-4.1_0.24-4.1.2-16exp1.dsc - source devel
gdc-4.1_0.24-4.1.2-16exp1_amd64.deb - optional devel
gdc-4.1_0.24-4.1.2-16exp1_i386.deb - optional devel
gdc-4.1_0.24-4.1.2-16exp1_powerpc.deb - optional devel
gdc-4.1_0.24-4.1.2-16exp1_sparc.deb - optional devel

Announcing to [EMAIL PROTECTED]


Thank you for your contribution to Debian.


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



gdc-4.1 override disparity

2007-09-02 Thread Debian Installer
There are disparities between your recently accepted upload and the
override file for the following file(s):

gdc-4.1_0.24-4.1.2-16exp1_amd64.deb: package says priority is standard, 
override says optional.
gdc-4.1_0.24-4.1.2-16exp1_i386.deb: package says priority is standard, override 
says optional.
gdc-4.1_0.24-4.1.2-16exp1_powerpc.deb: package says priority is standard, 
override says optional.
gdc-4.1_0.24-4.1.2-16exp1_sparc.deb: package says priority is standard, 
override says optional.

Either the package or the override file is incorrect.  If you think
the override is correct and the package wrong please fix the package
so that this disparity is fixed in the next upload.  If you feel the
override is incorrect then please reply to this mail and explain why.

[NB: this is an automatically generated mail; if you replied to one
like it before and have not received a response yet, please ignore
this mail.  Your reply needs to be processed by a human and will be in
due course, but until then the installer will send these automated
mails; sorry.]

--
Debian distribution maintenance software

(This message was generated automatically; if you believe that there
is a problem with it please contact the archive administrators by
mailing [EMAIL PROTECTED])


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Bug#440545: Miscompilation casting signed long to void* in 64bit system

2007-09-02 Thread Marko Lindqvist
Package: gcc
Version: 4:4.2.1-5

Debian GNU/Linux lenny/sid
amd64

> gcc -v
Using built-in specs.
Target: x86_64-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
--disable-werror --enable-checking=release --build=x86_64-linux-gnu
--host=x86_64-linux-gnu --target=x86_64-linux-gnu
Thread model: posix
gcc version 4.2.1 (Debian 4.2.1-4)


Output from attached program, if compiled with optimization level -O2:
>From 0 to 2:
 0 - In: -1, -1 (0x), Out: -1
 1 - In: 0, 0 (0x), Out: 0
 2 - In: 1, 1 (0x), Out: 1
>From 1 to 3:
 1 - In: 0, 0 ((nil)), Out: 0
 2 - In: 1, 1 (0x1), Out: 1
 3 - In: 2, 2 (0x2), Out: 2

 Should be
>From 0 to 2:
 0 - In: -1, -1 (0x), Out: -1
 1 - In: 0, 0 ((nil)), Out: 0
 2 - In: 1, 1 (0x1), Out: 1
>From 1 to 3:
 1 - In: 0, 0 ((nil)), Out: 0
 2 - In: 1, 1 (0x1), Out: 1
 3 - In: 2, 2 (0x2), Out: 2


 This problem hit me when glib GINT_TO_POINTER() returned wrong values.


 - ML

#include 
#include 

int main()
{
  int i = 0;

  printf("From 0 to 2:\n");
  for (i = 0; i < 3; i++) {
int iin = i - 1;
signed long lin = iin;
void *pin = (void *) lin;
signed long iout = (signed long) pin;
  
printf(" %d - In: %d, %d (%p), Out: %d\n", i, iin, lin, pin, iout);
  }

  printf("From 1 to 3:\n");
  for (i = 1; i < 4; i++) {
int iin = i - 1;
signed long lin = iin;
void *pin = (void *) lin;
signed long iout = (signed long) pin;
  
printf(" %d - In: %d, %d (%p), Out: %d\n", i, iin, lin, pin, iout);
  }

  return EXIT_SUCCESS;
}


Bug#440569: gappletviewer-4.2: package seems to be empty (libgcjwebplugin.so missing)

2007-09-02 Thread Patrik Hagglund
Package: gappletviewer-4.2
Version: 4.2.1-3
Severity: grave
Justification: renders package unusable


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

Kernel: Linux 2.6.22-1-amd64 (SMP w/2 CPU cores)
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)
Shell: /bin/sh linked to /bin/bash

Versions of packages gappletviewer-4.2 depends on:
ii  gcj-4.2-base  4.2.1-3The GNU Compiler Collection (gcj b
ii  gij-4.2   4.2.1-3The GNU Java bytecode interpreter
ii  libgcj8-1-awt 4.2.1-3AWT peer runtime libraries for use

gappletviewer-4.2 recommends no packages.

-- no debconf information


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Processed: reassign 440545 to gcc-4.2

2007-09-02 Thread Debian Bug Tracking System
Processing commands for [EMAIL PROTECTED]:

> # Automatically generated email from bts, devscripts version 2.10.7
> reassign 440545 gcc-4.2 4.2.1-4
Bug#440545: Miscompilation casting signed long to void* in 64bit system
Bug reassigned from package `gcc' to `gcc-4.2'.

>
End of message, stopping processing here.

Please contact me if you need assistance.

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


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Processed: bug 414178 is forwarded to http://gcc.gnu.org/PR27574

2007-09-02 Thread Debian Bug Tracking System
Processing commands for [EMAIL PROTECTED]:

> # Automatically generated email from bts, devscripts version 2.10.7
> forwarded 414178 http://gcc.gnu.org/PR27574
Bug#414178: No debugging symbols of local variables in constructor and 
destructors.
Noted your statement that Bug has been forwarded to http://gcc.gnu.org/PR27574.

>
End of message, stopping processing here.

Please contact me if you need assistance.

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


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Bug#408888: closed by Matthias Klose <[EMAIL PROTECTED]> (Bug#408888: fixed in gcc-4.1 4.1.2-15)

2007-09-02 Thread Samuel Thibault
Hi,

Again, could you please apply the attached patch?  Some of the
hurd-specific fixes got merged in the latest snapshot you took of gcc.

Samuel
Index: debian/patches/libjava-hurdfix.dpatch
===
--- debian/patches/libjava-hurdfix.dpatch   (révision 2466)
+++ debian/patches/libjava-hurdfix.dpatch   (copie de travail)
@@ -48,34 +48,6 @@
 +#endif
caseSensitive = true;
  }
 gcc-4.1.1/libjava/java/net/natVMInetAddressPosix.cc.orig   2007-01-26 
15:27:19.0 +
-+++ gcc-4.1.1/libjava/java/net/natVMInetAddressPosix.cc2007-01-26 
15:45:53.0 +
-@@ -47,10 +47,25 @@
- {
-   char *chars;
- #ifdef HAVE_GETHOSTNAME
-+#ifdef MAXHOSTNAMELEN
-   char buffer[MAXHOSTNAMELEN];
-   if (gethostname (buffer, MAXHOSTNAMELEN))
- return NULL;
-   chars = buffer;
-+#else
-+  size_t size = 256;
-+  while (1) {
-+char buffer[size];
-+if (!gethostname (buffer, size-1))
-+  {
-+  buffer[size-1] = 0;
-+  return JvNewStringUTF (buffer);
-+  }
-+else if (errno != ENAMETOOLONG)
-+  return NULL;
-+size *= 2;
-+  }
-+#endif
- #elif HAVE_UNAME
-   struct utsname stuff;
-   if (uname (&stuff) != 0)
 diff -ur gcj-4.1.1/libjava/libltdl/acinclude.m4 
gcj-4.1.1/libjava/libltdl/acinclude.m4
 --- gcj-4.1.1/libjava/libltdl/acinclude.m4 2006-05-12 13:35:07.0 
+0200
 +++ gcj-4.1.1/libjava/libltdl/acinclude.m4 2006-05-12 11:07:03.0 
+0200


Bug#408888: closed by Matthias Klose <[EMAIL PROTECTED]> (Bug#408888: fixed in gcc-4.1 4.1.2-15)

2007-09-02 Thread Matthias Klose
Samuel Thibault writes:
> Hi,
> 
> Again, could you please apply the attached patch?  Some of the
> hurd-specific fixes got merged in the latest snapshot you took of gcc.

again, please follow the SVN.

the patch is now applied for 4.1.  please check the 4.2 and 4.3
branches as well.

what is the upstream status of libjava-hurdfix.dpatch? I didn't see
the libltdl changes forwarded upstream.

  Matthias


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Bug#408888: closed by Matthias Klose <[EMAIL PROTECTED]> (Bug#408888: fixed in gcc-4.1 4.1.2-15)

2007-09-02 Thread Samuel Thibault
Matthias Klose, le Mon 03 Sep 2007 00:43:15 +0200, a écrit :
> Samuel Thibault writes:
> > Again, could you please apply the attached patch?  Some of the
> > hurd-specific fixes got merged in the latest snapshot you took of gcc.
> 
> again, please follow the SVN.

What do you mean?  The previous submission of this patch was already
against SVN.

> the patch is now applied for 4.1.

Thanks!

> please check the 4.2

It is already fine.

> and 4.3 branches as well.

I'll have a look (I hadn't noticed that that branch got opened).

> what is the upstream status of libjava-hurdfix.dpatch? I didn't see
> the libltdl changes forwarded upstream.

It looks like that one is not needed any more actually.  I'll check that
too.

Samuel



Processed: retitle 440046 to optimization generates warning for casts

2007-09-02 Thread Debian Bug Tracking System
Processing commands for [EMAIL PROTECTED]:

> # Automatically generated email from bts, devscripts version 2.10.7
> retitle 440046 optimization generates warning for casts
Bug#440046: optmization generates warning for casts
Changed Bug title to `optimization generates warning for casts' from 
`optmization generates warning for casts'.

>
End of message, stopping processing here.

Please contact me if you need assistance.

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


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



crt1.o & crti.o are missing in the gcc library

2007-09-02 Thread Chan Lee
Hi,
 
 After I did install Debian using DVD set from CheapBytes,
 I found that the gcc is not installed. Looking around what's
 the best way to install gcc, I found the 'apt' and did install
 the gcc using 'apt-get install gcc', which asked to mount the
 DVD1 and then the gcc installation was completed.
 
 But then using the gcc complains that the loader cannot
 find the crt stuffs - particular, the crt1.o & crti.o in the gcc
 library. This is strange as the library contains crtStart.o &
 crtEnd.o, but no crt1.o (nor crt0.o either). The host/target
 is AMD64 and I wonder if the loader/gcc are not in sync
 or if the gcc installation was not done properly (somehow
 the required crt lib module were not installed).
 
 Debian is the latest version built on July and the gcc is 4.2.1
 
 Any help will greatly be appreciated,
 
 Chan