[Bug gcov-profile/30258] [4.1.0] undefined reference to `__gcov_one_value_profiler'

2007-01-19 Thread marion dot deveaud at siemens dot com
--- Comment #2 from marion dot deveaud at siemens dot com 2007-01-19 10:38 --- I finally found out that the inhibit_libc flag was set during the gcc compilation because I'm building a cross-compiler without sysroot and headers. As a consequence _gcov_* functions aren't defined in

[Bug libobjc/30445] Fix for FIXME in gcc-4_2-branch/libobjc/Makefile.in

2007-01-19 Thread rob1weld at aol dot com
--- Comment #2 from rob1weld at aol dot com 2007-01-19 12:48 --- Thank you for your assistance. I've looked into this and found the new names. If someone wished to either fix or delete (hopefully not) the libobjc.dll support I'd consider this resolved (for me) and this complaint could

[Bug c++/30509] New: ice for legal code with -O3

2007-01-19 Thread dcb314 at hotmail dot com
I just tried to compile Suse Linux package hydrogen-0.9.3-41 with the GNU C++ compiler version 4.3 snapshot 20070112. The compiler said src/lib/Object.cpp:306: internal compiler error: in calc_dfs_tree, at dominance.c:374 Please submit a full bug report, with preprocessed source if appropriate.

[Bug c++/30509] ice for legal code with -O3

2007-01-19 Thread dcb314 at hotmail dot com
--- Comment #1 from dcb314 at hotmail dot com 2007-01-19 13:54 --- Created an attachment (id=12923) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=12923action=view) C++ source code -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30509

[Bug middle-end/30447] Evaluate complex math functions at compile-time

2007-01-19 Thread ghazi at gcc dot gnu dot org
--- Comment #5 from ghazi at gcc dot gnu dot org 2007-01-19 14:45 --- Patch for __complex__ builtins infrastructure and csin posted here: http://gcc.gnu.org/ml/gcc-patches/2007-01/msg01610.html -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30447

[Bug target/26792] [4.2 Regression] need to use autoconf when using newly-added libgcc functions

2007-01-19 Thread aph at gcc dot gnu dot org
--- Comment #29 from aph at gcc dot gnu dot org 2007-01-19 15:25 --- Subject: Bug 26792 Author: aph Date: Fri Jan 19 15:25:34 2007 New Revision: 120968 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=120968 Log: 2006-07-21 Steve Ellcey [EMAIL PROTECTED] PR target/26792

[Bug c++/17947] bad warning with implicit conversion and __attribute__((deprecated))

2007-01-19 Thread manu at gcc dot gnu dot org
--- Comment #4 from manu at gcc dot gnu dot org 2007-01-19 16:05 --- Subject: Bug 17947 Author: manu Date: Fri Jan 19 16:04:57 2007 New Revision: 120969 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=120969 Log: 2007-01-19 Manuel Lopez-Ibanez [EMAIL PROTECTED] PR

[Bug c++/17947] bad warning with implicit conversion and __attribute__((deprecated))

2007-01-19 Thread manu at gcc dot gnu dot org
--- Comment #5 from manu at gcc dot gnu dot org 2007-01-19 16:10 --- Fixed for GCC 4.3. -- manu at gcc dot gnu dot org changed: What|Removed |Added

[Bug bootstrap/30510] New: Gcc failed to bootstrap

2007-01-19 Thread hjl at lucon dot org
cc1: warnings being treated as errors /export/gnu/src/gcc/gcc/gcc/cp/parser.c: In function #226;cp_parser_type_specifier#226;: /export/gnu/src/gcc/gcc/gcc/cp/parser.c:13206: warning: #226;bases#226; may be used uninitialized in this function /export/gnu/src/gcc/gcc/gcc/cp/parser.c:13206: note:

[Bug bootstrap/30511] New: False array bound check causes gcc failed to boostrap

2007-01-19 Thread hjl at lucon dot org
With revision 120976, I got cc1: warnings being treated as errors /export/gnu/src/gcc/gcc/gcc/fortran/symbol.c: In function ‘gfc_get_namespace’: /export/gnu/src/gcc/gcc/gcc/fortran/symbol.c:1842: warning: array subscript is above array bounds There are 1838 /* Initialize default implicit

addresses for 3 Objective-C maintainers no longer work

2007-01-19 Thread Omari Stephens
I received errors when trying to send mail to [EMAIL PROTECTED], [EMAIL PROTECTED], and [EMAIL PROTECTED], all of whom are listed in MAINTAINERS for the Objective-C frontend as of r120973. This is the Postfix program at host smtp1.cup.hp.com. ... [EMAIL PROTECTED] (expanded from [EMAIL

[Bug target/30497] compiling binutils 2.17 on aix fails with gcc 4.1.1

2007-01-19 Thread pinskia at gcc dot gnu dot org
-- pinskia at gcc dot gnu dot org changed: What|Removed |Added Severity|major |normal http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30497

[Bug bootstrap/30511] False array bound check causes gcc failed to boostrap

2007-01-19 Thread mueller at gcc dot gnu dot org
--- Comment #1 from mueller at gcc dot gnu dot org 2007-01-19 20:04 --- this patch fixes / works around it. I don't like it yet, I'm trying to find a better solution. --- tree-vrp.c (revision 120953) +++ tree-vrp.c (working copy) @@ -3583,6 +3583,25 @@ check_array_bounds (tree *tp,

[Bug bootstrap/30511] False array bound check causes gcc failed to boostrap

2007-01-19 Thread roger at eyesopen dot com
--- Comment #2 from roger at eyesopen dot com 2007-01-19 20:55 --- It looks like the ivopts pass is creating dubious? array references. The symbol.c.053t.vrp1 D.12252_12 = (long unsigned int) i_2; D.12255_15 = ns_4-default_type[D.12252_12]; ts_16 = D.12255_15 + -2328B; i.e. we

[Bug fortran/30389] ACHAR() intrinsic gives erroneous errors in constant-folding.

2007-01-19 Thread tkoenig at gcc dot gnu dot org
--- Comment #3 from tkoenig at gcc dot gnu dot org 2007-01-19 21:35 --- In order to fix this, we should know what we would prefer :-) Constant folding maps a lot of characters (all ASCII characters 127, and a lot of control characters) to zero. In the rest of the library, we treat the

[Bug bootstrap/30511] False array bound check causes gcc failed to boostrap

2007-01-19 Thread mrs at apple dot com
--- Comment #3 from mrs at apple dot com 2007-01-19 22:02 --- Testcase from delta, compile with: $ ./xgcc -B./ t.c -O2 -S -Wall t.c: In function 'gfc_get_namespace': t.c:10: warning: array subscript is above array bounds typedef struct { int kind; } gfc_typespec; typedef struct

[Bug bootstrap/30511] False array bound check causes gcc failed to boostrap

2007-01-19 Thread pinskia at gcc dot gnu dot org
--- Comment #4 from pinskia at gcc dot gnu dot org 2007-01-19 22:05 --- (In reply to comment #3) Testcase from delta, compile with: Hmm, in the non reduced testcase, is default_type last? Since in the reduced testcase, default_type is last, it seems like we should not warn about that

[Bug bootstrap/30511] False array bound check causes gcc failed to boostrap

2007-01-19 Thread mueller at gcc dot gnu dot org
--- Comment #5 from mueller at gcc dot gnu dot org 2007-01-19 22:15 --- the ivopts problem is a duplicate of bug 26726. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30511

[Bug c++/30504] Error when linking. Trying to create a library

2007-01-19 Thread dams_napp at hotmail dot com
--- Comment #2 from dams_napp at hotmail dot com 2007-01-19 22:16 --- Subject: RE: Error when linking. Trying to create a library Is there a better way to do that then, I do want to create a static library. Take Care, Dams From: pinskia at gcc dot gnu dot org [EMAIL PROTECTED]

[Bug c++/30504] Error when linking. Trying to create a library

2007-01-19 Thread pinskia at gcc dot gnu dot org
--- Comment #3 from pinskia at gcc dot gnu dot org 2007-01-19 22:18 --- Is there a better way to do that then, I do want to create a static library. You should use ar to create a static library. I think we can declare this issue as invalid as you are using the wrong options for a

[Bug debug/29558] [4.2/4.3 Regression] ICE in set_variable_part, at var-tracking.c:2140

2007-01-19 Thread bergner at gcc dot gnu dot org
--- Comment #5 from bergner at gcc dot gnu dot org 2007-01-19 22:30 --- The src we seem to be having problems with is: temp[0] |= bit; After local-alloc, we have the following RTL: (insn 143 28 29 6 pr29558.c:7 (set (reg:QI 142) (const_int -128 [0xff80])) 327

[Bug debug/29558] [4.2/4.3 Regression] ICE in set_variable_part, at var-tracking.c:2140

2007-01-19 Thread bergner at gcc dot gnu dot org
--- Comment #6 from bergner at gcc dot gnu dot org 2007-01-19 22:32 --- I should mention, I'm using current mainline on powerpc64-linux using -g -O -m64. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29558

[Bug fortran/30321] program crash for SUM applied to zero-size array

2007-01-19 Thread tkoenig at gcc dot gnu dot org
--- Comment #7 from tkoenig at gcc dot gnu dot org 2007-01-19 22:38 --- Fixed on trunk and 4.2. Closing. -- tkoenig at gcc dot gnu dot org changed: What|Removed |Added

[Bug bootstrap/29889] jc1 segfaults while bootstrap

2007-01-19 Thread tromey at gcc dot gnu dot org
--- Comment #1 from tromey at gcc dot gnu dot org 2007-01-19 22:51 --- This is an odd stack trace... it is hard to see how that code could fail this way. Perhaps building gcj without -O would help; I notice some other oddities in the stack trace. Also the date here is from before the

[Bug bootstrap/29482] libcpp/configure - no usable dependency style found

2007-01-19 Thread tromey at gcc dot gnu dot org
--- Comment #4 from tromey at gcc dot gnu dot org 2007-01-19 22:57 --- checking dependency style of gcc... none This is a weird message (from comment #2 and comment #3). It suggests to me that something else is going on -- something unrelated to the original bug filed in this PR. For

[Bug java/30035] libjava cannot be built when objdir != srcdir

2007-01-19 Thread tromey at gcc dot gnu dot org
--- Comment #3 from tromey at gcc dot gnu dot org 2007-01-19 22:59 --- Is this still a bug? I always build GCC with a separate objdir, and I don't see this problem. Furthermore my 4.1 tree has a copy of config.{guess,sub} in libjava/libltdl. I believe these are used by the libltdl

[Bug bootstrap/30510] Gcc failed to bootstrap

2007-01-19 Thread andreast at gcc dot gnu dot org
--- Comment #1 from andreast at gcc dot gnu dot org 2007-01-19 23:07 --- This works here: Index: parser.c === --- parser.c(revision 120949) +++ parser.c(working copy) @@ -13203,7 +13203,7 @@ bool

Found Error in link-script for R8C

2007-01-19 Thread Olaf Kaluza
Hello to everyone, I found an Error with gcc-4.1.1 and binutils-2.17 when using it for crosscompiling source for Renesas R8C Microcontroller. (m32c-elf) In the file r8c.ld you can find this line: RESETVEC (r) : ORIGIN = 0xfffc, LENGTH = 4 But this is wrong. The Resetvektor for R8C is only

Re: Found Error in link-script for R8C

2007-01-19 Thread DJ Delorie
Hello to everyone, Wrong list. The R8C link scripts are part of newlib (libgloss), not gcc. RESETVEC (r) : ORIGIN = 0xfffc, LENGTH = 4 But this is wrong. The Resetvektor for R8C is only 16Bit and not 32bit. The REJ09B0169-0100 page 61 shows the reset vector as being 0FFFCh to 0h.

[Bug fortran/30512] New: MAXVAL() incorrect for zero-size int arrays, and for -HUGE-1 maximum values.

2007-01-19 Thread brooks at gcc dot gnu dot org
Consider the following program: debian-gfortran:~/test cat maxval.f90 integer(1) :: i(3) logical :: msk(3) i = -huge(i) i = i - 1 write(*,*) i write(*,*) maxval(i) msk = .false. i = 1 write(*,*) i write(*,*) -huge(i), maxval(i, msk) end In both of these cases, the result of the MAXVAL call

[Bug bootstrap/30510] Gcc failed to bootstrap

2007-01-19 Thread hjl at lucon dot org
--- Comment #2 from hjl at lucon dot org 2007-01-20 00:24 --- I also got /export/gnu/src/gcc/gcc/gcc/fortran/resolve.c: In function ‘gfc_resolve_expr’: /export/gnu/src/gcc/gcc/gcc/fortran/resolve.c:1541: warning: ‘name’ may be used uninitialized in this function

[Bug middle-end/29335] transcendental functions with constant arguments should be resolved at compile-time

2007-01-19 Thread ghazi at gcc dot gnu dot org
--- Comment #38 from ghazi at gcc dot gnu dot org 2007-01-20 00:33 --- Subject: Bug 29335 Author: ghazi Date: Sat Jan 20 00:33:00 2007 New Revision: 120993 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=120993 Log: PR middle-end/29335 * builtins.c

[Bug libgcj/30513] New: Bootstrap failure with libgcj on sparc-sun-solaris2.10

2007-01-19 Thread ghazi at gcc dot gnu dot org
Current mainline bootstrap fails with the following error when building libjava. I haven't built mainline for about two weeks so I don't know when it started failing exactly. /caip/u12/kishgcc/tmpdisk/gcc-testing/43/build/./gcc/xgcc -shared-libgcc

[Bug libgcj/30513] Bootstrap failure with libgcj on sparc-sun-solaris2.10

2007-01-19 Thread tromey at gcc dot gnu dot org
--- Comment #1 from tromey at gcc dot gnu dot org 2007-01-20 01:22 --- It looks as though your build is choosing sysdep/generic as the sysdep dir. But, that is wrong, it should be choosing sparc. I'll attach a patch; if you could try it that would be great. Most likely, this patch will

[Bug libgcj/30513] Bootstrap failure with libgcj on sparc-sun-solaris2.10

2007-01-19 Thread tromey at gcc dot gnu dot org
--- Comment #2 from tromey at gcc dot gnu dot org 2007-01-20 01:24 --- Well, bugzilla would not let me make an attachment. So, here it is inline. Index: configure.host === --- configure.host (revision 120900) +++

[Bug libgcj/30513] [4.3 Regression] Bootstrap failure with libgcj on sparc-sun-solaris2.10

2007-01-19 Thread pinskia at gcc dot gnu dot org
--- Comment #3 from pinskia at gcc dot gnu dot org 2007-01-20 01:30 --- I remember Andreas T. mentioned this before. -- pinskia at gcc dot gnu dot org changed: What|Removed |Added

[Bug preprocessor/30468] [4.0/4.1/4.2/4.3 Regression] -M not fully chops dirname

2007-01-19 Thread tromey at gcc dot gnu dot org
--- Comment #2 from tromey at gcc dot gnu dot org 2007-01-20 04:23 --- I'm testing a patch. -- tromey at gcc dot gnu dot org changed: What|Removed |Added

[Bug driver/12448] -MT / -MQ don't behave as documented.

2007-01-19 Thread tromey at gcc dot gnu dot org
--- Comment #8 from tromey at gcc dot gnu dot org 2007-01-20 06:19 --- The patch in this PR looks correct to me. -- tromey at gcc dot gnu dot org changed: What|Removed |Added

[Bug driver/30246] -ggdb3 does not cause -dD to be passed to cc1 for preprocessing

2007-01-19 Thread tromey at gcc dot gnu dot org
--- Comment #4 from tromey at gcc dot gnu dot org 2007-01-20 06:23 --- I'm testing a patch to add -dD when -ggdb3 is passed. -- tromey at gcc dot gnu dot org changed: What|Removed |Added