[Bug libstdc++/29286] [4.0/4.1/4.2 Regression] placement new does not change the dynamic type as it should

2006-10-09 Thread rguenth at gcc dot gnu dot org
--- Comment #23 from rguenth at gcc dot gnu dot org 2006-10-09 08:22 --- One point to remember is that C does not allow re-using of storage with a different type (which is what PR29272 is about and why that testcase is invalid). The storage type is either the declared one or the one as

[Bug ada/29262] Adding tasking support for arm-linux

2006-10-09 Thread charlet at adacore dot com
--- Comment #7 from charlet at adacore dot com 2006-10-09 08:28 --- Subject: Re: Adding tasking support for arm-linux > ... well, I can see differences, but is there any definite way of finding out, > how the C structures actually look like? Do I have to hunt this up in the > glibc sou

[Bug libstdc++/29118] [4.2 Regression] Timeouts in libstdc++, libjava and libgomp testsuites

2006-10-09 Thread bkoz at gcc dot gnu dot org
--- Comment #23 from bkoz at gcc dot gnu dot org 2006-10-09 10:26 --- Created an attachment (id=12399) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=12399&action=view) patch for mutex init Can you try this? thanks. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29118

[Bug target/29347] i386 mode switching clobbers fp exception handling bits

2006-10-09 Thread rguenth at gcc dot gnu dot org
--- Comment #3 from rguenth at gcc dot gnu dot org 2006-10-09 10:28 --- Can you provide a testcase where something goes wrong? -- rguenth at gcc dot gnu dot org changed: What|Removed |Added --

[Bug libstdc++/29118] [4.2 Regression] Timeouts in libstdc++, libjava and libgomp testsuites

2006-10-09 Thread bkoz at gcc dot gnu dot org
--- Comment #24 from bkoz at gcc dot gnu dot org 2006-10-09 10:32 --- Hey Dave. Thanks for your persistence on this one: I think it's paid off. I can see what you are talking about WRT mutex initialization, and have high hopes for the attached patch. If you can try it, and let me know t

[Bug libstdc++/28277] __builtin_alloca with no limit in libstdc++

2006-10-09 Thread paolo at gcc dot gnu dot org
--- Comment #12 from paolo at gcc dot gnu dot org 2006-10-09 10:50 --- Subject: Bug 28277 Author: paolo Date: Mon Oct 9 10:49:50 2006 New Revision: 117571 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=117571 Log: 2006-10-09 Paolo Carlini <[EMAIL PROTECTED]> PR libst

[Bug fortran/29267] ICE in operand_subword_force, at emit-rtl.c:1353

2006-10-09 Thread tobi at gcc dot gnu dot org
--- Comment #7 from tobi at gcc dot gnu dot org 2006-10-09 11:14 --- (In reply to comment #6) > please try the testcase in the orignal PR with idental string lengths. It will > crash gfortran as well. Works for me. Please provide a testcase. [EMAIL PROTECTED]:~/src/pr/29267> cat t.f90

[Bug fortran/29373] implicit type declaration and contained function clash

2006-10-09 Thread tobi at gcc dot gnu dot org
--- Comment #2 from tobi at gcc dot gnu dot org 2006-10-09 11:34 --- As I said, I ran into this when playing around with PR29267, and it was ugly enough to warrant a PR of its own. Glad you share my opinion :-) Just to make this clear: I would never do something this ugly outside bugzi

[Bug fortran/29391] LBOUND(TRANSPOSE(I)) doesn't work

2006-10-09 Thread fxcoudert at gcc dot gnu dot org
--- Comment #1 from fxcoudert at gcc dot gnu dot org 2006-10-09 11:39 --- The same thing is true for all the array manipulation functions: integer :: i(-1:1,-1:1) = 0 integer :: j(-1:2) = 0 ! This is working correctly write(*,*) lbound(i(-1:1,-1:1)), ubound(i(-1:1,-1:1)) wri

[Bug target/26560] [4.0/4.1 regression] mips: unable to find a register to spill in class 'FP_REGS'

2006-10-09 Thread tbm at gcc dot gnu dot org
--- Comment #4 from tbm at gcc dot gnu dot org 2006-10-09 11:46 --- Confirmed. gcc 3.4 and 4.2 work, 4.0 and 4.1 fail. -- tbm at gcc dot gnu dot org changed: What|Removed |Added -

[Bug fortran/29400] New: ANY and COUNT used on parameter arrays

2006-10-09 Thread fxcoudert at gcc dot gnu dot org
I found that bug while reducing PR29391, so it might be related (but I doubt it). $ cat a6.f90 integer,parameter :: i(1,1) = 0 write(*,*) lbound(any(i==1,2)), ubound(any(i==1,2)) write(*,*) lbound(count(i==1,2)), ubound(count(i==1,2)) write(*,*) lbound(matmul(i,i)) end $ gfortran a6.f90

[Bug fortran/29400] ANY and COUNT used on parameter arrays

2006-10-09 Thread fxcoudert at gcc dot gnu dot org
-- fxcoudert at gcc dot gnu dot org changed: What|Removed |Added Status|UNCONFIRMED |NEW Ever Confirmed|0 |1 Last recon

[Bug middle-end/29254] [4.2 Regression] verify_cgraph_node failed (inlined_to pointer is set but no predecessors found)

2006-10-09 Thread rguenth at gcc dot gnu dot org
--- Comment #8 from rguenth at gcc dot gnu dot org 2006-10-09 12:24 --- The minimal fix is to not verify_cgraph_node if errorcount || sorrycount. Bailing out earlier has interesting side-effects it seems. -- rguenth at gcc dot gnu dot org changed: What|Removed

[Bug fortran/29400] ANY and COUNT used on parameter arrays

2006-10-09 Thread fxcoudert at gcc dot gnu dot org
--- Comment #1 from fxcoudert at gcc dot gnu dot org 2006-10-09 12:36 --- The generated code for: integer,parameter :: i(1,1) = 0 integer :: j(1) j = lbound(any(i==1,2)) end is weird: MAIN__ () { int4 j[1]; _gfortran_set_std (70, 127, 0); { int8 S.0; S.0 = 1;

[Bug fortran/29400] ANY and COUNT used on parameter arrays

2006-10-09 Thread fxcoudert at gcc dot gnu dot org
--- Comment #2 from fxcoudert at gcc dot gnu dot org 2006-10-09 12:44 --- And while I'm there, a few possibly related bugs: $ cat pr29400-2.f90 integer,parameter :: i(1,1) = 0 logical :: l(2) l = any(i==1,2) end $ gfortran pr29400-2.f90 && ./a.out Fortran runtime error: rank o

[Bug target/29401] New: [regression] missed-optimization (in unneeded code elimination)

2006-10-09 Thread Petr dot Salinger at seznam dot cz
Hi. There is a regression on i386 platforms. int f(int a, int b) {return (((long long) a) * b) >> 15;} The gcc 4.0/4.1 generates with "-O3 -fomit-frame-pointer" movl8(%esp), %eax imull 4(%esp) shrdl $15, %edx, %eax sarl$15, %edx ret While gc

[Bug target/29401] [regression] missed-optimization (in unneeded code elimination)

2006-10-09 Thread pluto at agmk dot net
--- Comment #1 from pluto at agmk dot net 2006-10-09 12:57 --- looks similar to PR26674. -- pluto at agmk dot net changed: What|Removed |Added CC|

[Bug target/29401] [regression] missed-optimization (in unneeded code elimination)

2006-10-09 Thread pluto at agmk dot net
--- Comment #2 from pluto at agmk dot net 2006-10-09 12:59 --- (In reply to comment #1) > looks similar to PR26674. > oops, please ignore this comment. -- pluto at agmk dot net changed: What|Removed |Added

[Bug middle-end/29299] [4.2 Regresion] gcc "used" attribute has no effect on local-scope static variables

2006-10-09 Thread rguenth at gcc dot gnu dot org
--- Comment #4 from rguenth at gcc dot gnu dot org 2006-10-09 13:04 --- We have bool decide_is_variable_needed (struct cgraph_varpool_node *node, tree decl) { /* If the user told us it is used, then it must be so. */ if (node->externally_visible || node->force_output) return tr

[Bug c++/5458] address of overloaded template function as argument for template

2006-10-09 Thread v dot haisman at sh dot cvut dot cz
--- Comment #10 from v dot haisman at sh dot cvut dot cz 2006-10-09 14:16 --- Shouldn't the "Known to fail" field get all the versions from its duplicates copied? Maybe that is why this rejects-valid bug is still not fixed even though most other rejects-valid bugs get a lot of attention

[Bug rtl-optimization/29323] [4.0/4.1/4.2 Regression] set_nothrow_function_flags does invalid analysis on weak functions

2006-10-09 Thread rguenth at gcc dot gnu dot org
--- Comment #5 from rguenth at gcc dot gnu dot org 2006-10-09 14:25 --- The frontend marks foo () TREE_STATIC in start_preparsed_function () and later TREE_NOTHROW in finish_function () because /* If this function can't throw any exceptions, remember that. */ if (!processing_templa

[Bug target/29401] [4.0/4.1/4.2 Regression] missed-optimization (in unneeded code elimination)

2006-10-09 Thread rguenth at gcc dot gnu dot org
--- Comment #3 from rguenth at gcc dot gnu dot org 2006-10-09 14:58 --- Confirmed. Ok for x86_64: f: .LFB2: movslq %edi,%rdi movslq %esi,%rsi imulq %rdi, %rsi sarq$15, %rsi movl%esi, %eax ret We are expanding (int) ((long lon

[Bug target/27880] [4.2 regression] undefined reference to `_Unwind_GetIPInfo'

2006-10-09 Thread sje at gcc dot gnu dot org
--- Comment #13 from sje at gcc dot gnu dot org 2006-10-09 15:55 --- Subject: Bug 27880 Author: sje Date: Mon Oct 9 15:55:38 2006 New Revision: 117576 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=117576 Log: PR target/27880 * unwind-c.c (PERSONALITY_FUNCTION):

[Bug middle-end/29241] [4.0/4.1/4.2 Regression] [non unit-at-a-time] ICE with always inline

2006-10-09 Thread hubicka at gcc dot gnu dot org
--- Comment #5 from hubicka at gcc dot gnu dot org 2006-10-09 16:06 --- Mine. -- hubicka at gcc dot gnu dot org changed: What|Removed |Added AssignedTo|unassigned

[Bug rtl-optimization/29323] [4.0/4.1/4.2 Regression] set_nothrow_function_flags does invalid analysis on weak functions

2006-10-09 Thread patchapp at dberlin dot org
--- Comment #6 from patchapp at dberlin dot org 2006-10-09 16:10 --- Subject: Bug number PR29323 A patch for this bug has been added to the patch tracker. The mailing list url for the patch is http://gcc.gnu.org/ml/gcc-patches/2006-10/msg00458.html -- http://gcc.gnu.org/bugzilla/sh

[Bug middle-end/29254] [4.2 Regression] verify_cgraph_node failed (inlined_to pointer is set but no predecessors found)

2006-10-09 Thread rguenth at gcc dot gnu dot org
--- Comment #9 from rguenth at gcc dot gnu dot org 2006-10-09 16:10 --- Subject: Bug 29254 Author: rguenth Date: Mon Oct 9 16:10:38 2006 New Revision: 117577 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=117577 Log: 2006-10-09 Richard Guenther <[EMAIL PROTECTED]> PR

[Bug middle-end/29254] [4.2 Regression] verify_cgraph_node failed (inlined_to pointer is set but no predecessors found)

2006-10-09 Thread rguenth at gcc dot gnu dot org
--- Comment #10 from rguenth at gcc dot gnu dot org 2006-10-09 16:11 --- Fixed. -- rguenth at gcc dot gnu dot org changed: What|Removed |Added Status|ASSIGNE

[Bug bootstrap/29402] New: Parallel make fails with --disable-bootstrap

2006-10-09 Thread ghazi at gcc dot gnu dot org
When I configure with --disable-bootstrap and I try a parallel make -j4, I get the following error inside the gcc directory: make[2]: *** No rule to make target `gt-c-pragma.h', needed by `c-pragma.o'. Stop. make[2]: *** Waiting for unfinished jobs If I do a "make -j4 -k" it still gets the e

[Bug libstdc++/29118] [4.2 Regression] Timeouts in libstdc++, libjava and libgomp testsuites

2006-10-09 Thread dave at hiauly1 dot hia dot nrc dot ca
--- Comment #25 from dave at hiauly1 dot hia dot nrc dot ca 2006-10-09 16:27 --- Subject: Re: [4.2 Regression] Timeouts in libstdc++, libjava and libgomp testsuites > Hey Dave. Thanks for your persistence on this one: I think it's paid off. I > can > see what you are talking about WR

[Bug fortran/29403] New: print ('(a)') not working, print '(a) works

2006-10-09 Thread tobias dot burnus at physik dot fu-berlin dot de
>From http://gcc.gnu.org/ml/fortran/2006-10/msg00274.html gfortran shows: print ('(z20.8)'), i 1 Error: Syntax error in PRINT statement at (1) The (optional) parentheses are allow (see below) and it works in ifort, NAG f95 and g95. >From Fortran 2003 standard Section 9.5 and 9.5.1.1: R91

[Bug rtl-optimization/29294] 4.1, 4.2 (possibly 4.0?) not finding postmodify address mode on ARM

2006-10-09 Thread ramana dot radhakrishnan at codito dot com
--- Comment #7 from ramana dot radhakrishnan at codito dot com 2006-10-09 16:33 --- (In reply to comment #5) flow.c is responsible for generating POST_INCs and POST_MODIFY's in 3.4 / 4.0 / 4.1 / 4.2 . I believe this is being replaced by the new data flow bits in the data flow branch. T

[Bug testsuite/29404] New: "make check" fails to compile library testcases

2006-10-09 Thread ghazi at gcc dot gnu dot org
When I run "make check" on a three-stage bootstrapped tree, I get errors from libiberty's testsuite: cc -DHAVE_CONFIG_H -g -I.. -I../../../egcc-SVN20061008/libiberty/testsuite/../../include -DHAVE_CONFIG_H -I.. -o test-pexecute ../../../egcc-SVN20061008/libiberty/testsuite/test-pexecute.c ../libi

[Bug testsuite/29404] "make check" fails to compile library testcases

2006-10-09 Thread howarth at nitro dot med dot uc dot edu
--- Comment #1 from howarth at nitro dot med dot uc dot edu 2006-10-09 17:00 --- What platform are you compiling on? -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29404

[Bug other/29405] New: GCC should include latest GMP/MPFR sources and always build libgmp.a/libmpfr.a

2006-10-09 Thread ghazi at gcc dot gnu dot org
I'm using this to track issues related to including GMP/MPFR in the GCC source tree and building these libraries as part of the bootstrap process. Initial discussion started here: http://gcc.gnu.org/ml/gcc/2006-10/msg00136.html -- Summary: GCC should include latest GMP/MPFR sources a

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

2006-10-09 Thread ghazi at gcc dot gnu dot org
--- Comment #9 from ghazi at gcc dot gnu dot org 2006-10-09 17:16 --- I decided to explore including GMP/MPFR in the GCC tree. Dependency PR 29405 opened to track that enhancement. -- ghazi at gcc dot gnu dot org changed: What|Removed |Added -

[Bug other/29405] GCC should include latest GMP/MPFR sources and always build libgmp.a/libmpfr.a

2006-10-09 Thread ghazi at gcc dot gnu dot org
--- Comment #1 from ghazi at gcc dot gnu dot org 2006-10-09 17:18 --- Initial patch posted here: http://gcc.gnu.org/ml/gcc-patches/2006-10/msg00416.html -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29405

[Bug testsuite/29404] "make check" fails to compile library testcases

2006-10-09 Thread pinskia at gcc dot gnu dot org
--- Comment #2 from pinskia at gcc dot gnu dot org 2006-10-09 17:22 --- --disable-bootstrap is not really supported and really has not been tested any more besides cross builds. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29404

[Bug testsuite/29404] "make check" fails to compile library testcases

2006-10-09 Thread ghazi at gcc dot gnu dot org
--- Comment #3 from ghazi at gcc dot gnu dot org 2006-10-09 17:25 --- (In reply to comment #1) > What platform are you compiling on? sorry, it's on sparc-sun-solaris2.10, using vendor's cc for stage1. You probably won't see this problem if stage1 cc is any version of gcc, whether vendo

[Bug testsuite/29404] "make check" fails to compile library testcases

2006-10-09 Thread ghazi at gcc dot gnu dot org
--- Comment #4 from ghazi at gcc dot gnu dot org 2006-10-09 17:28 --- (In reply to comment #2) > --disable-bootstrap is not really supported and really has not been tested any > more besides cross builds. Andrew please reread my initial report, I specifically talked about "three-stage b

[Bug c++/28793] Error while deducting template arg

2006-10-09 Thread pinskia at gcc dot gnu dot org
--- Comment #2 from pinskia at gcc dot gnu dot org 2006-10-09 17:57 --- Reopening for a second to ... -- pinskia at gcc dot gnu dot org changed: What|Removed |Added

[Bug c++/28793] Error while deducting template arg

2006-10-09 Thread pinskia at gcc dot gnu dot org
--- Comment #3 from pinskia at gcc dot gnu dot org 2006-10-09 17:57 --- Mark as a dup of bug 11407. *** This bug has been marked as a duplicate of 11407 *** -- pinskia at gcc dot gnu dot org changed: What|Removed |Added ---

[Bug c++/11407] [DR 115] Function cannot be resolved

2006-10-09 Thread pinskia at gcc dot gnu dot org
--- Comment #9 from pinskia at gcc dot gnu dot org 2006-10-09 17:57 --- *** Bug 28793 has been marked as a duplicate of this bug. *** -- pinskia at gcc dot gnu dot org changed: What|Removed |Added ---

[Bug libstdc++/28277] __builtin_alloca with no limit in libstdc++

2006-10-09 Thread paolo at gcc dot gnu dot org
--- Comment #13 from paolo at gcc dot gnu dot org 2006-10-09 18:04 --- Subject: Bug 28277 Author: paolo Date: Mon Oct 9 18:04:18 2006 New Revision: 117581 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=117581 Log: 2006-10-09 Paolo Carlini <[EMAIL PROTECTED]> PR libst

[Bug target/28490] [4.0/4.1 regression] ICE in ia64_expand_move, at config/ia64/ia64.c:1088

2006-10-09 Thread sje at gcc dot gnu dot org
--- Comment #20 from sje at gcc dot gnu dot org 2006-10-09 18:24 --- Subject: Bug 28490 Author: sje Date: Mon Oct 9 18:24:32 2006 New Revision: 117582 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=117582 Log: PR target/28490 Backport from mainline 2006-

[Bug target/28490] [4.0/4.1 regression] ICE in ia64_expand_move, at config/ia64/ia64.c:1088

2006-10-09 Thread sje at gcc dot gnu dot org
--- Comment #21 from sje at gcc dot gnu dot org 2006-10-09 18:26 --- Subject: Bug 28490 Author: sje Date: Mon Oct 9 18:26:35 2006 New Revision: 117583 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=117583 Log: PR target/28490 Backport from mainline 2006-

[Bug target/28490] [4.0/4.1 regression] ICE in ia64_expand_move, at config/ia64/ia64.c:1088

2006-10-09 Thread sje at cup dot hp dot com
--- Comment #22 from sje at cup dot hp dot com 2006-10-09 18:27 --- Backported the change to 4.1 and 4.0 branches. Closing as fixed. -- sje at cup dot hp dot com changed: What|Removed |Added

[Bug target/27880] [4.2 regression] undefined reference to `_Unwind_GetIPInfo'

2006-10-09 Thread sje at cup dot hp dot com
--- Comment #14 from sje at cup dot hp dot com 2006-10-09 18:31 --- With the patch I just checked in, I believe that this defect is now fixed. The uses of GetIPInfo in libstdc++ and libjava were fixed earlier, this latest patch fixes the use in unwind-c.c and that should be it. -- sj

[Bug c/29406] New: code generation / optimisation bug

2006-10-09 Thread fox at crisp dot demon dot co dot uk
I was writing a magic squares program for my sons homework and somewhat surprised/annoyed that gcc-4.1.1 and 4.0.3 have a horrible code generation bug. Compiled with -O or -O2 on gcc-4.0.3 the following code infinitely loops. gcc-4.1.1 with no optimisation works, but -O2 fails. Local variable "n" i

[Bug libgcj/29205] lib/pkgconfig/libgcj.pc needs to become version dependent

2006-10-09 Thread gerald at pfeifer dot com
--- Comment #2 from gerald at pfeifer dot com 2006-10-09 19:46 --- Making the major.minor number (4.1, 4.2,...) part of the name sounds quite fine to me! (Sorry for the delay in responding to your question, Tom. I've been out last week.) -- http://gcc.gnu.org/bugzilla/show_bug.cg

[Bug fortran/29373] implicit type declaration and contained function clash

2006-10-09 Thread paulthomas2 at wanadoo dot fr
--- Comment #3 from paulthomas2 at wanadoo dot fr 2006-10-09 20:11 --- Subject: Re: implicit type declaration and contained function clash tobi at gcc dot gnu dot org wrote: >(BTW I added you to the CC list, it is kinda hard to answer in the right place >otherwise) > > Oh s**t - ne

[Bug fortran/29407] New: namelist: overriding the host association does not work (rejects valid code)

2006-10-09 Thread tobias dot burnus at physik dot fu-berlin dot de
--- program main implicit none contains subroutine my end subroutine my subroutine bar integer :: my namelist /ops/ my end subroutine bar end program main --- gives in gfortran the error message: namelist /ops/ my 1 Error: PROCEDURE att

[Bug fortran/29312] Errors in subnormal calculation

2006-10-09 Thread kargl at gcc dot gnu dot org
--- Comment #3 from kargl at gcc dot gnu dot org 2006-10-09 20:55 --- Subject: Bug 29312 Author: kargl Date: Mon Oct 9 20:55:29 2006 New Revision: 117584 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=117584 Log: 2006-10-06 Steven G. Kargl <[EMAIL PROTECTED]> * gfort

[Bug fortran/15441] RRSPACING broken for denormals

2006-10-09 Thread kargl at gcc dot gnu dot org
--- Comment #10 from kargl at gcc dot gnu dot org 2006-10-09 20:55 --- Subject: Bug 15441 Author: kargl Date: Mon Oct 9 20:55:29 2006 New Revision: 117584 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=117584 Log: 2006-10-06 Steven G. Kargl <[EMAIL PROTECTED]> * gfor

[Bug fortran/15441] RRSPACING broken for denormals

2006-10-09 Thread kargl at gcc dot gnu dot org
--- Comment #11 from kargl at gcc dot gnu dot org 2006-10-09 20:57 --- Fixed on trunk (until someone tells me ldexp doesn't exist). -- kargl at gcc dot gnu dot org changed: What|Removed |Added ---

[Bug fortran/29312] Errors in subnormal calculation

2006-10-09 Thread kargl at gcc dot gnu dot org
--- Comment #4 from kargl at gcc dot gnu dot org 2006-10-09 20:58 --- Fixed on trunk (until someone tells me ldexp doesn't exist) -- kargl at gcc dot gnu dot org changed: What|Removed |Added -

[Bug target/28185] SIGBUS on IA64 maybe caused by memcpy I

2006-10-09 Thread sje at cup dot hp dot com
--- Comment #3 from sje at cup dot hp dot com 2006-10-09 20:58 --- William, can you reproduce this problem with a newer GCC? I have tried several versions of GCC and all I get is an error from shmget (Invalid argument). Given that the shmget fails, the memcpy is obviously going to be

[Bug middle-end/29406] code generation / optimisation bug

2006-10-09 Thread pcarlini at suse dot de
--- Comment #1 from pcarlini at suse dot de 2006-10-09 21:22 --- Undefined behavior, i.e., anything can happen: array sq has got positions 0..8 whereas d = n % 10 spans 0..9, thus the code writes beyond the end of sq. -- pcarlini at suse dot de changed: What|Removed

[Bug testsuite/28870] [4.2 Regression] configuring, over-riding timeout values in testsuite

2006-10-09 Thread bkoz at gcc dot gnu dot org
--- Comment #8 from bkoz at gcc dot gnu dot org 2006-10-09 21:45 --- Note this issue is not c++ or libstdc++ specific. I see timeouts on old hardware all over the testsuite on gcc-testresults. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28870

[Bug c/29406] code generation / optimisation bug

2006-10-09 Thread fox at crisp dot demon dot co dot uk
--- Comment #2 from fox at crisp dot demon dot co dot uk 2006-10-09 22:02 --- Sorry guys - yes a hopelessly stupid bug on my behalf. Feel free to remove this report! -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29406

[Bug libstdc++/29095] [4.0/4.1/4.2 Regression] cxxabi.h __cxa_cdtor_type not declared when included from "C"

2006-10-09 Thread bkoz at gcc dot gnu dot org
--- Comment #8 from bkoz at gcc dot gnu dot org 2006-10-09 23:53 --- Subject: Bug 29095 Author: bkoz Date: Mon Oct 9 23:53:35 2006 New Revision: 117589 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=117589 Log: 2006-10-09 Benjamin Kosnik <[EMAIL PROTECTED]> PR libstd

[Bug target/29384] internal compiler error: in insn_default_length, at insn-attrtab.c:1134

2006-10-09 Thread rpx at wp dot pl
--- Comment #2 from rpx at wp dot pl 2006-10-10 00:20 --- Created an attachment (id=12400) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=12400&action=view) the output of preprocessor the bug appears with -mips16 compilation option; the compiler seams to be sensitive on the number

[Bug c++/29408] New: [4.1 regression] parse error for valid code

2006-10-09 Thread debian-gcc at lists dot debian dot org
works with 4.0.4, 4.1.1, 4.2.0, fails with 4.1 branch 20061008 $ g++ -c -Wall -fPIC -fexceptions -frtti -I/usr/include/python2.3 -I/usr/share/python2.3/CXX -I/usr/include/subversion-1 -I/usr/include/apr-1.0 -I. -DNDEBUG -o pysvn.o pysvn.cpp /usr/include/python2.3/CXX/Objects.hxx:1932: error: parse

[Bug c++/29408] [4.1 regression] parse error for valid code

2006-10-09 Thread debian-gcc at lists dot debian dot org
--- Comment #1 from debian-gcc at lists dot debian dot org 2006-10-10 01:18 --- Created an attachment (id=12401) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=12401&action=view) preprocessed source -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29408

[Bug middle-end/29390] Bogus symbol inserted into valid C++ code at low optimization level

2006-10-09 Thread bangerth at dealii dot org
--- Comment #9 from bangerth at dealii dot org 2006-10-10 03:26 --- (In reply to comment #8) > (In reply to comment #7) > > 3.4.4 (or 3.4.6) are the system compilers on FreeBSD-5.x and FreeBSD-6.x > So what, we are talking about the FSF GCC and not freebsd and 3.4.x is no > longer mainta

[Bug c++/28990] const new: Inherited constructor accepted in lieu of user-defined constructor

2006-10-09 Thread bangerth at dealii dot org
--- Comment #2 from bangerth at dealii dot org 2006-10-10 03:36 --- This is in fact a duplicate of PR 20039. *** This bug has been marked as a duplicate of 20039 *** -- bangerth at dealii dot org changed: What|Removed |Added --

[Bug c++/20039] uninitialized const in `new' of `const struct'

2006-10-09 Thread bangerth at dealii dot org
--- Comment #2 from bangerth at dealii dot org 2006-10-10 03:36 --- *** Bug 28990 has been marked as a duplicate of this bug. *** -- bangerth at dealii dot org changed: What|Removed |Added ---

[Bug c++/29188] undocumented extension with ambiguous between conversion function/constructor. related to const

2006-10-09 Thread bangerth at dealii dot org
--- Comment #3 from bangerth at dealii dot org 2006-10-10 03:44 --- Confirmed. Not a useful extension because confusing: - struct A; struct B { B (const A&); }; struct A { operator B() const; }; A a; B b1 = a;// xpass --- g/x> /home/ban

[Bug c++/29234] Call to operator() of temporary object wrongly parsed

2006-10-09 Thread bangerth at dealii dot org
--- Comment #1 from bangerth at dealii dot org 2006-10-10 03:51 --- Confirmed: -- struct S { void operator () (); }; void foo () { ( S()() ); } -- g/x> /home/bangerth/bin/gcc-4.2-pre/bin/c++ -c x.cc x.cc: In function ‘void foo()’: x.cc:5: error: ‘type

[Bug c++/29365] Unnecessary anonymous namespace warnings

2006-10-09 Thread bangerth at dealii dot org
--- Comment #6 from bangerth at dealii dot org 2006-10-10 03:54 --- Confirmed. The code makes sense and we shouldn't unconditionally warn. W. -- bangerth at dealii dot org changed: What|Removed |Added ---

[Bug c++/29297] Segmentation fault on "invalid use of `::'"

2006-10-09 Thread bangerth at dealii dot org
--- Comment #1 from bangerth at dealii dot org 2006-10-10 03:56 --- Indeed can't reproduce on x86. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29297

[Bug c++/29008] Fails to accept templated constructor

2006-10-09 Thread bangerth at dealii dot org
--- Comment #3 from bangerth at dealii dot org 2006-10-10 04:00 --- The standard does not provide to explicitly specify the template arguments of a constructor invocation. The syntax name refers to a template class 'name' with template argument 'type', not to a template constructor 'n

[Bug c++/29236] [4.0/4.1/4.2? regression] Bogus ambiguity with templates + friend

2006-10-09 Thread bangerth at dealii dot org
--- Comment #3 from bangerth at dealii dot org 2006-10-10 04:11 --- Confirmed: -- template struct A {}; template class P> struct B { template class Q> friend bool foo (const B& a); }; template class Q> bool foo (const B& a); void bar () { B a; foo (a); } --

[Bug c++/29236] [4.0/4.1/4.2? regression] Bogus ambiguity with templates + friend

2006-10-09 Thread bangerth at dealii dot org
--- Comment #4 from bangerth at dealii dot org 2006-10-10 04:13 --- btw, this only happens if Q is really a template template argument. As noted by the original reporter, the problem goes away if Q is simply a template argument. W. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=292

gcc-bugs@gcc.gnu.org

2006-10-09 Thread bangerth at dealii dot org
--- Comment #4 from bangerth at dealii dot org 2006-10-10 04:24 --- Your expectations are wrong. You probably believe that here - void f3() { D d3; printf("3) getValue() -> %d,", d3.getValue()); { D d3 = d3; printf("getValue() -> %d\n", d3.getV

gcc-bugs@gcc.gnu.org

2006-10-09 Thread bangerth at dealii dot org
--- Comment #5 from bangerth at dealii dot org 2006-10-10 04:27 --- Here's the right combination of flags that warns (for f3() only): g/x> /home/bangerth/bin/gcc-4.2-pre/bin/c++ -Winit-self -Wuninitialized -O2 -c x.cc x.cc: In function ‘void f3()’: x.cc:42: warning: ‘d3$c$v’ is used uni

[Bug c++/29236] [4.0/4.1/4.2? regression] Bogus ambiguity with templates + friend

2006-10-09 Thread pinskia at gcc dot gnu dot org
--- Comment #5 from pinskia at gcc dot gnu dot org 2006-10-10 04:31 --- foo should not have been injected by the friend. Note the Priority should be only changed by the release manager. -- pinskia at gcc dot gnu dot org changed: What|Removed |Added

[Bug c++/28349] [4.0 regression] ICE with "undefined" va_arg and references

2006-10-09 Thread pinskia at gcc dot gnu dot org
--- Comment #8 from pinskia at gcc dot gnu dot org 2006-10-10 04:38 --- Subject: Bug 28349 Author: pinskia Date: Tue Oct 10 04:38:25 2006 New Revision: 117595 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=117595 Log: 2006-10-09 Andrew Pinski <[EMAIL PROTECTED]> PR C+

[Bug c++/28349] [4.0 regression] ICE with "undefined" va_arg and references

2006-10-09 Thread pinskia at gcc dot gnu dot org
--- Comment #9 from pinskia at gcc dot gnu dot org 2006-10-10 04:38 --- Fixed. -- pinskia at gcc dot gnu dot org changed: What|Removed |Added Status|ASSIGNED

[Bug bootstrap/29402] Parallel make fails with --disable-bootstrap

2006-10-09 Thread pinskia at gcc dot gnu dot org
--- Comment #1 from pinskia at gcc dot gnu dot org 2006-10-10 04:51 --- ALL_GTFILES_H should have included gt-c-pragma.h -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29402

[Bug c++/15795] No way to teach operator new anything about alignment requirements

2006-10-09 Thread mrs at apple dot com
--- Comment #37 from mrs at apple dot com 2006-10-10 04:54 --- Additionally, you can petition ISO/C++ to provide a more elegant solution for you. VxWorks also does 16-byte alignment on ppc (for altivec) as I recall. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=15795

[Bug target/29384] internal compiler error: in insn_default_length, at insn-attrtab.c:1134

2006-10-09 Thread pinskia at gcc dot gnu dot org
--- Comment #3 from pinskia at gcc dot gnu dot org 2006-10-10 04:57 --- Works in 4.0.x and above so closing as fixed. -- pinskia at gcc dot gnu dot org changed: What|Removed |Added ---

[Bug c++/29408] [4.1 regression] parse error for valid code

2006-10-09 Thread pinskia at gcc dot gnu dot org
--- Comment #2 from pinskia at gcc dot gnu dot org 2006-10-10 05:00 --- I don't think this is valid code, reduced testcase: template class a { ~a(); }; -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29408

[Bug c++/29048] [4.0/4.1/4.2 Regression] "`x' is private" error duplicated when scope specified

2006-10-09 Thread steven at gcc dot gnu dot org
--- Comment #2 from steven at gcc dot gnu dot org 2006-10-10 06:48 --- I'll look into this. -- steven at gcc dot gnu dot org changed: What|Removed |Added Assigned

[Bug c/29409] New: Avr-gcc 4.1.1 build fails

2006-10-09 Thread rumjantsev at papillon dot ru
I tried to build avr-gcc 4.1.1 but i got an error message: ../gcc-4.1.1/gcc/. -I../../gcc-4.1.1/gcc/../include -I../../gcc-4.1.1/gcc/../libcpp/include -DL_fixunssfsi -c ../../gcc-4.1.1/gcc/libgcc2.c -o libgcc/./_fixunssfsi.o ../../gcc-4.1.1/gcc/libgcc2.c: In function '__fixunssfsi': ../../gcc-4.1.