[Bug libstdc++/25608] g++ miscompiles gcjx

2006-10-24 Thread gdr at integrable-solutions dot net
--- Comment #21 from gdr at integrable-solutions dot net 2006-10-24 06:18 --- Subject: Re: g++ miscompiles gcjx pcarlini at suse dot de [EMAIL PROTECTED] writes: | Gaby, any news about this issue? gcjx has been declared dead. I never got to have the issue fixed. So, it is up to

[Bug c++/29455] Issues with -Wchar-subscripts

2006-10-24 Thread gdr at integrable-solutions dot net
--- Comment #6 from gdr at integrable-solutions dot net 2006-10-24 06:32 --- Subject: Re: New: Issues with -Wchar-subscripts h dot b dot furuseth at usit dot uio dot no [EMAIL PROTECTED] writes: | [This is both a C and C++ bug report, not sure how to classify that.] | | int

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

2006-10-24 Thread Gabriel Dos Reis
mark at codesourcery dot com [EMAIL PROTECTED] writes: | --- Comment #22 from mark at codesourcery dot com 2006-10-04 05:39 --- | Subject: Re: [4.0/4.1/4.2 Regression] placement new | does not change the dynamic type as it should | | ian at airs dot com wrote: | --- Comment #21

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

2006-10-24 Thread gdr at integrable-solutions dot net
--- Comment #24 from gdr at integrable-solutions dot net 2006-10-24 06:53 --- Subject: Re: [4.0/4.1/4.2 Regression] placement new does not change the dynamic type as it should mark at codesourcery dot com [EMAIL PROTECTED] writes: | --- Comment #22 from mark at codesourcery dot

[Bug target/29560] Poor optimization for character shifts on Atmel AVR

2006-10-24 Thread r dot leitgeb at x-pin dot com
--- Comment #2 from r dot leitgeb at x-pin dot com 2006-10-24 07:31 --- Here's an excerpt of the assembly code obtained with -Os -S with some comments from me: setpin: /* prologue: frame size=0 */ /* prologue end (size=0) */

[Bug fortran/29321] [4.1/4.2 Regression] optional arguments+derived types = segmentation fault

2006-10-24 Thread fxcoudert at gcc dot gnu dot org
--- Comment #5 from fxcoudert at gcc dot gnu dot org 2006-10-24 08:06 --- Subject: Bug 29321 Author: fxcoudert Date: Tue Oct 24 08:05:55 2006 New Revision: 117996 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=117996 Log: A bunch of backports: PR fortran/29284

[Bug fortran/29284] [4.1/4.2 Regression] ICE for optional subroutine argument

2006-10-24 Thread fxcoudert at gcc dot gnu dot org
--- Comment #8 from fxcoudert at gcc dot gnu dot org 2006-10-24 08:06 --- Subject: Bug 29284 Author: fxcoudert Date: Tue Oct 24 08:05:55 2006 New Revision: 117996 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=117996 Log: A bunch of backports: PR fortran/29284

[Bug fortran/29322] [4.1/4.2 Regression] ICE with character optional arg

2006-10-24 Thread fxcoudert at gcc dot gnu dot org
--- Comment #5 from fxcoudert at gcc dot gnu dot org 2006-10-24 08:06 --- Subject: Bug 29322 Author: fxcoudert Date: Tue Oct 24 08:05:55 2006 New Revision: 117996 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=117996 Log: A bunch of backports: PR fortran/29284

[Bug fortran/25091] Results do not conform at different entries

2006-10-24 Thread fxcoudert at gcc dot gnu dot org
--- Comment #6 from fxcoudert at gcc dot gnu dot org 2006-10-24 08:06 --- Subject: Bug 25091 Author: fxcoudert Date: Tue Oct 24 08:05:55 2006 New Revision: 117996 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=117996 Log: A bunch of backports: PR fortran/29284

[Bug fortran/25092] Result lengths different at different entries

2006-10-24 Thread fxcoudert at gcc dot gnu dot org
--- Comment #5 from fxcoudert at gcc dot gnu dot org 2006-10-24 08:06 --- Subject: Bug 25092 Author: fxcoudert Date: Tue Oct 24 08:05:55 2006 New Revision: 117996 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=117996 Log: A bunch of backports: PR fortran/29284

[Bug tree-optimization/29567] [4.3 regression] ICE in build2_stat, at tree.c:2963

2006-10-24 Thread rguenth at gcc dot gnu dot org
--- Comment #3 from rguenth at gcc dot gnu dot org 2006-10-24 08:12 --- Subject: Bug 29567 Author: rguenth Date: Tue Oct 24 08:12:04 2006 New Revision: 117997 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=117997 Log: 2006-10-24 Richard Guenther [EMAIL PROTECTED] PR

[Bug target/29255] [4.2/4.3 regression] ICE on valid code

2006-10-24 Thread pinskia at gcc dot gnu dot org
-- pinskia at gcc dot gnu dot org changed: What|Removed |Added CC||pinskia at gcc dot gnu dot |

[Bug middle-end/29301] [4.2/4.3 Regression] ICE in check_cfg, at haifa-sched .c:4657 while compiling openssl

2006-10-24 Thread pinskia at gcc dot gnu dot org
-- pinskia at gcc dot gnu dot org changed: What|Removed |Added CC||pinskia at gcc dot gnu dot |

[Bug target/29206] [4.2/4.3 regression] gcj-dbtool segfaults

2006-10-24 Thread pinskia at gcc dot gnu dot org
-- pinskia at gcc dot gnu dot org changed: What|Removed |Added Keywords||wrong-code Target Milestone|--- |4.2.0

[Bug target/29472] [4.0/4.1/4.2/4.3 Regression] in reload, at reload1.c:1081 on m68k with -O2 -fPIC

2006-10-24 Thread pinskia at gcc dot gnu dot org
-- pinskia at gcc dot gnu dot org changed: What|Removed |Added CC||pinskia at gcc dot gnu dot |

[Bug target/29474] [4.1/4.2/4.3 Regression] reload_cse_simplify_operands, at postreload.c:393 on m68k with -O -fPIC

2006-10-24 Thread pinskia at gcc dot gnu dot org
-- pinskia at gcc dot gnu dot org changed: What|Removed |Added CC||pinskia at gcc dot gnu dot |

[Bug other/29049] possible problem: building gcc = 4.2 on i686 GNU/Linux|SMP (non-64bit) platform fails

2006-10-24 Thread pinskia at gcc dot gnu dot org
--- Comment #29 from pinskia at gcc dot gnu dot org 2006-10-24 08:19 --- This works for me and many many other people. -- pinskia at gcc dot gnu dot org changed: What|Removed |Added

[Bug tree-optimization/29567] [4.3 regression] ICE in build2_stat, at tree.c:2963

2006-10-24 Thread rguenth at gcc dot gnu dot org
--- Comment #4 from rguenth at gcc dot gnu dot org 2006-10-24 08:20 --- Fixed. -- rguenth at gcc dot gnu dot org changed: What|Removed |Added Status|ASSIGNED

[Bug c++/29455] Issues with -Wchar-subscripts

2006-10-24 Thread h dot b dot furuseth at usit dot uio dot no
--- Comment #7 from h dot b dot furuseth at usit dot uio dot no 2006-10-24 08:20 --- Subject: Re: Issues with -Wchar-subscripts gdr at integrable-solutions dot net writes: The absence of warning in C is OK -- literal characters have type int in C. Yes, but see previous comments.

[Bug libstdc++/20647] Wrong typeid for incomplete types

2006-10-24 Thread nathan at gcc dot gnu dot org
--- Comment #17 from nathan at gcc dot gnu dot org 2006-10-24 08:38 --- Subject: Bug 20647 Author: nathan Date: Tue Oct 24 08:38:26 2006 New Revision: 117999 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=117999 Log: cp/ PR c++/20647 * rtti.c (tinfo_base_init):

[Bug libstdc++/20647] Wrong typeid for incomplete types

2006-10-24 Thread nathan at gcc dot gnu dot org
--- Comment #18 from nathan at gcc dot gnu dot org 2006-10-24 08:38 --- fixed on mainline, 4.1 4.2 -- nathan at gcc dot gnu dot org changed: What|Removed |Added

[Bug middle-end/28796] __builtin_nan() and __builtin_unordered() inconsistent

2006-10-24 Thread rguenth at gcc dot gnu dot org
--- Comment #19 from rguenth at gcc dot gnu dot org 2006-10-24 09:15 --- Subject: Bug 28796 Author: rguenth Date: Tue Oct 24 09:15:07 2006 New Revision: 118001 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=118001 Log: 2006-10-24 Richard Guenther [EMAIL PROTECTED] PR

[Bug middle-end/28796] __builtin_nan() and __builtin_unordered() inconsistent

2006-10-24 Thread rguenth at gcc dot gnu dot org
--- Comment #20 from rguenth at gcc dot gnu dot org 2006-10-24 09:19 --- This is now nearly fixed. What is remaining is that specifying the -mno-ieee-fp target option does not set flag_finite_math_only, but I am not sure if it should so. This causes [ollmia:/tmp] iano% gcc main3.c

[Bug middle-end/28796] __builtin_nan() and __builtin_unordered() inconsistent

2006-10-24 Thread rguenth at gcc dot gnu dot org
--- Comment #21 from rguenth at gcc dot gnu dot org 2006-10-24 09:23 --- Ah well, this seems to be documented as such: -mieee-fp -mno-ieee-fp Control whether or not the compiler uses IEEE floating point comparisons. These handle correctly the case where the result of a comparison

[Bug libstdc++/20647] Wrong typeid for incomplete types

2006-10-24 Thread rguenth at gcc dot gnu dot org
--- Comment #19 from rguenth at gcc dot gnu dot org 2006-10-24 09:48 --- Adjust target milestone. -- rguenth at gcc dot gnu dot org changed: What|Removed |Added

[Bug c++/8781] Pessimization of C++ (functional) code

2006-10-24 Thread rguenth at gcc dot gnu dot org
--- Comment #22 from rguenth at gcc dot gnu dot org 2006-10-24 12:16 --- Still bogus at the tree level as in comment #11, but fixed by RTL optimizers: _Z1xv: .LFB5: pushl %ebp .LCFI0: movl%esp, %ebp .LCFI1: subl$24, %esp .LCFI2: movl

[Bug fortran/29578] New: inquire(...) returns formatted==YES for unreadable and unformatted files

2006-10-24 Thread tobias dot burnus at physik dot fu-berlin dot de
Inquire returns for formatted YES for the following cases: - not opened file, which is not readable. How should gfortran know? - opened or unopend, finite-size unformatted file. This is clearly wrong. Test program attached -- Summary: inquire(...) returns formatted==YES for

[Bug fortran/29578] inquire(...) returns formatted==YES for unreadable and unformatted files

2006-10-24 Thread tobias dot burnus at physik dot fu-berlin dot de
--- Comment #1 from tobias dot burnus at physik dot fu-berlin dot de 2006-10-24 12:27 --- Created an attachment (id=12482) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=12482action=view) Test case -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29578

[Bug c++/13954] [tree-ssa] SRA does not work for classes that use inheritance with an empty base

2006-10-24 Thread rguenth at gcc dot gnu dot org
--- Comment #13 from rguenth at gcc dot gnu dot org 2006-10-24 12:34 --- We now get bb 2: # param_2 = V_MAY_DEF param_1; param.f1 = 0; # param_6 = V_MAY_DEF param_2; # SFT.0_7 = V_MAY_DEF SFT.0_3; # NONLOCAL.6_8 = V_MAY_DEF NONLOCAL.6_5; # NONLOCAL.12_13 =

[Bug tree-optimization/17687] sincos tree representation causes extra addressable vars

2006-10-24 Thread rguenth at gcc dot gnu dot org
--- Comment #14 from rguenth at gcc dot gnu dot org 2006-10-24 12:55 --- This PR is only about a non-optimal tree-representation for __builtin_sincos. See also http://gcc.gnu.org/ml/gcc-patches/2005-12/msg01151.html for an alternative and some discussion. (The other patch was

[Bug tree-optimization/18031] OR of a bitfield and a constant is not optimized at tree level

2006-10-24 Thread rguenth at gcc dot gnu dot org
--- Comment #9 from rguenth at gcc dot gnu dot org 2006-10-24 13:07 --- We should at least fold b-bit = (unnamed type) (unsigned char) ((signed char) b-bit | 1); to b-bit = (unnamed type) ((signed char) b-bit | 1); -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18031

[Bug tree-optimization/19719] missed optimization on boolean operation with boolean arguments

2006-10-24 Thread rguenth at gcc dot gnu dot org
--- Comment #9 from rguenth at gcc dot gnu dot org 2006-10-24 13:14 --- Tree if-conversion is now converting one jump. Andrew, I guess you are not working on this anymore? ;) -- rguenth at gcc dot gnu dot org changed: What|Removed |Added

[Bug c++/29579] New: gcc uses sil register in inline asm statement in 32bit mode

2006-10-24 Thread adam at os dot inf dot tu-dresden dot de
The below referenced preprocessed code cannot be compiled due to invalid asm statements: ... Making thread-io.o /tmp/cc1rd17V.s: Assembler messages: /tmp/cc1rd17V.s:788: Error: bad register name `%sil' /tmp/cc1rd17V.s:829: Error: bad register name `%sil' make[2]: *** [thread-io.o] Error 1$

[Bug c++/29579] gcc uses sil register in inline asm statement in 32bit mode

2006-10-24 Thread adam at os dot inf dot tu-dresden dot de
--- Comment #1 from adam at os dot inf dot tu-dresden dot de 2006-10-24 13:23 --- Created an attachment (id=12483) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=12483action=view) preprocessed files which cannot be compiled -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29579

[Bug rtl-optimization/19780] Floating point computation far slower for -mfpmath=sse

2006-10-24 Thread rguenth at gcc dot gnu dot org
--- Comment #5 from rguenth at gcc dot gnu dot org 2006-10-24 13:28 --- With more registers (x86_64) the stack moves are gone, but: (!) [EMAIL PROTECTED]:/abuild/rguenther/trunk-g/gcc ./xgcc -B. -O2 -o t t.c -mfpmath=387 [EMAIL PROTECTED]:/abuild/rguenther/trunk-g/gcc /usr/bin/time ./t

[Bug fortran/29578] inquire(...) returns formatted==YES for unreadable and unformatted files

2006-10-24 Thread tobias dot burnus at physik dot fu-berlin dot de
--- Comment #2 from tobias dot burnus at physik dot fu-berlin dot de 2006-10-24 13:31 --- I'm actually not any more sure what is meant by formatted in inquire(). The Fortran 2003 standard says: The scalar-default-char-variable in the FORMATTED= specifier is assigned the value YES if

[Bug middle-end/29478] [4.2/4.3 Regression] optmization generates warning for casts

2006-10-24 Thread amylaar at gcc dot gnu dot org
--- Comment #9 from amylaar at gcc dot gnu dot org 2006-10-24 13:50 --- (In reply to comment #8) Hmm, This is one of the language hooks which really need to go away for LTO as I understand it. Also I the real problem comes from the inliner or the gimplifier (I am betting the

[Bug tree-optimization/23855] loop header should also be pulled out of the inner loop too

2006-10-24 Thread rguenth at gcc dot gnu dot org
--- Comment #20 from rguenth at gcc dot gnu dot org 2006-10-24 13:56 --- So, where do we want to go? -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23855

[Bug tree-optimization/23855] loop header should also be pulled out of the inner loop too

2006-10-24 Thread rakdver at gcc dot gnu dot org
--- Comment #21 from rakdver at gcc dot gnu dot org 2006-10-24 13:58 --- (In reply to comment #20) So, where do we want to go? Unless the basic patch is approved (which did not happen so far, despite of several pings), I do not know. I will try to resend the patch, perhaps that

[Bug libgomp/29494] [4.2/4.3 Regression] libgomp build fails with missing pthread_mutexattr_settype

2006-10-24 Thread ebotcazou at gcc dot gnu dot org
--- Comment #4 from ebotcazou at gcc dot gnu dot org 2006-10-24 13:59 --- Subject: Bug 29494 Author: ebotcazou Date: Tue Oct 24 13:59:06 2006 New Revision: 118004 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=118004 Log: PR libgomp/29494 * configure.tgt: Use

[Bug libgomp/29494] [4.2/4.3 Regression] libgomp build fails with missing pthread_mutexattr_settype

2006-10-24 Thread ebotcazou at gcc dot gnu dot org
--- Comment #5 from ebotcazou at gcc dot gnu dot org 2006-10-24 13:59 --- Subject: Bug 29494 Author: ebotcazou Date: Tue Oct 24 13:59:39 2006 New Revision: 118005 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=118005 Log: PR libgomp/29494 * configure.tgt: Use

[Bug libgomp/29494] [4.2/4.3 Regression] libgomp build fails with missing pthread_mutexattr_settype

2006-10-24 Thread ebotcazou at gcc dot gnu dot org
--- Comment #6 from ebotcazou at gcc dot gnu dot org 2006-10-24 14:01 --- Fixed everywhere. My latest results on SPARC/Solaris 2.6 are: === libgomp tests === Running target unix WARNING: program timed out. FAIL: libgomp.c/appendix-a/a.18.1.c execution test WARNING:

[Bug c++/29579] gcc uses sil register in inline asm statement in 32bit mode

2006-10-24 Thread adam at os dot inf dot tu-dresden dot de
--- Comment #2 from adam at os dot inf dot tu-dresden dot de 2006-10-24 14:04 --- The problem happens with 4.0 and 4.1 but not with 4.2 or trunk (all 20061022 versions). -O2 is needed. Does not happen with -O1. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29579

[Bug fortran/23232] DATA implied DO variables

2006-10-24 Thread happydeer at gmail dot com
--- Comment #6 from happydeer at gmail dot com 2006-10-24 14:05 --- Fortran runtime error: Bad real number in item 1 of list input My READ statement is: READ(2,*)(JM(I,IQ),IQ=0,MQ) JM(I,IQ) got from an input file. JM(I,IQ) defined :DOUBLE PRECISION JM(NSDMAX,0:MQ),JB(0:LMAX,0:MB)

[Bug tree-optimization/23928] Exceptions require an excessive amount of compile-time memory

2006-10-24 Thread rguenth at gcc dot gnu dot org
--- Comment #5 from rguenth at gcc dot gnu dot org 2006-10-24 14:10 --- Fixed in 4.2. Numbers are reasonable now: [EMAIL PROTECTED]:/space/rguenther/tramp3d /usr/bin/time ~/bin/maxmem.sh ./install/bin/g++ -O2 -S -o /dev/null tramp3d-v4.cpp -Dleafify=flatten total: 903456 kB 159.28user

[Bug fortran/29580] New: integer -2147483648 out of range: bug or feature?

2006-10-24 Thread kloedej at knmi dot nl
In the gfortran version of 20060914 it was still legal to use the integer value -2147483648 for 4 byte (kind=4) integers. In the gfortran version of 20061023 this seems no longer possible, I get the compilation error: Error: Integer too big for its kind at (1) Does this mean the integer

[Bug tree-optimization/23855] loop header should also be pulled out of the inner loop too

2006-10-24 Thread dberlin at gcc dot gnu dot org
--- Comment #22 from dberlin at gcc dot gnu dot org 2006-10-24 14:23 --- (In reply to comment #19) So it is indeed chicken and egg ;) load-PRE does not PRE the loads if the loop is not in do-while form, and we won't hoist the loop header copies until the loads are PREd. As to

[Bug fortran/29580] integer -2147483648 out of range: bug or feature?

2006-10-24 Thread kargl at gcc dot gnu dot org
--- Comment #1 from kargl at gcc dot gnu dot org 2006-10-24 14:47 --- It is not a bug. i = - 2147483648 is a unary minus operation on the number 2147483648. This number overflows the range. If you want the most negative number for an integer use i = - huge(i) - 1. I've already

[Bug fortran/29580] integer -2147483648 out of range: bug or feature?

2006-10-24 Thread kloedej at knmi dot nl
--- Comment #2 from kloedej at knmi dot nl 2006-10-24 15:04 --- In my simple view as a physicist the minus sign is an integral part of the number and not an operation on it, but then I didn't have a formal computer science education. As a gfortran programmer you have a choice here I

[Bug middle-end/26899] Fold does not fold (i0 i1 + 1) || (i1 i0 - 1)

2006-10-24 Thread rguenth at gcc dot gnu dot org
--- Comment #1 from rguenth at gcc dot gnu dot org 2006-10-24 15:07 --- Actually folding (i0 i1 + 1) || (i1 i0 - 1) is not possible, but I have a patch that is able to fold (i0 i1 + 1) || (i1 i0 - 1) to i1 = i0. The original one is not possible due to overflow issues. --

[Bug tree-optimization/29581] New: Latent bug in 4.1/4.2/4.3 lambda-code.c

2006-10-24 Thread jakub at gcc dot gnu dot org
SUBROUTINE FOO (K) INTEGER I, J, K, A(5,5), B COMMON A A(1,1) = 1 10 B = 0 DO 30 I = 1, K DO 20 J = 1, K B = B + A(I,J) 20 CONTINUE A(I,I) = A(I,I) * 2 30 CONTINUE IF (B.GE.3) RETURN GO TO 10 END SUBROUTINE

[Bug fortran/29580] integer -2147483648 out of range: bug or feature?

2006-10-24 Thread kargl at gcc dot gnu dot org
--- Comment #3 from kargl at gcc dot gnu dot org 2006-10-24 15:25 --- (In reply to comment #2) In my simple view as a physicist the minus sign is an integral part of the number and not an operation on it, but then I didn't have a formal computer science education. As a gfortran

[Bug c++/29582] New: Parameter pushed to stack too soon

2006-10-24 Thread oder at eleks dot lviv dot ua
Given class COtherClass having methods class COtherClass { ... inline COtherClass(unsigned int uiParam1, const char *pszParam2, const char *pszParam3, unsigned long ulParam4, const char *pszParam5) {...} ~COtherClass(); COtherClass Method1(); COtherClass

[Bug fortran/29580] integer -2147483648 out of range: bug or feature?

2006-10-24 Thread pinskia at gcc dot gnu dot org
--- Comment #4 from pinskia at gcc dot gnu dot org 2006-10-24 15:57 --- You should note that C has the same issue really. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29580

[Bug c++/29582] Parameter pushed to stack too soon

2006-10-24 Thread schwab at suse dot de
--- Comment #1 from schwab at suse dot de 2006-10-24 16:02 --- The evaluation order of function arguments is not specified. If you depend on side effects to be carried out at a specific point you must make sure there is a sequence point at the appropriate place. -- schwab at suse

[Bug c++/29582] Parameter pushed to stack too soon

2006-10-24 Thread oder at eleks dot lviv dot ua
--- Comment #2 from oder at eleks dot lviv dot ua 2006-10-24 16:09 --- (In reply to comment #1) The evaluation order of function arguments is not specified. If you depend on side effects to be carried out at a specific point you must make sure there is a sequence point at the

[Bug c++/29579] gcc uses sil register in inline asm statement in 32bit mode

2006-10-24 Thread pinskia at gcc dot gnu dot org
--- Comment #3 from pinskia at gcc dot gnu dot org 2006-10-24 16:14 --- *** This bug has been marked as a duplicate of 10153 *** -- pinskia at gcc dot gnu dot org changed: What|Removed |Added

[Bug inline-asm/10153] [3.3/3.4 regression] selection of %dil or %sil on ia32 by valid C source

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

[Bug rtl-optimization/29583] New: reorg.c checks insns for delay slots in the wrong order sometimes

2006-10-24 Thread ersmith at hfx dot eastlink dot ca
fill_simple_delay_slots, in reorg.c, scans backwards for instructions to put in delay slots. It fills the slots in reverse order, i.e. if it finds an instruction A it first puts it in slot 1, if it finds a second one B then A is bumped down to slot 2, and B in slot 1; etc. However, the check

[Bug rtl-optimization/29583] reorg.c checks insns for delay slots in the wrong order sometimes

2006-10-24 Thread ersmith at hfx dot eastlink dot ca
--- Comment #1 from ersmith at hfx dot eastlink dot ca 2006-10-24 16:30 --- Created an attachment (id=12484) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=12484action=view) proposed patch to fix delay slot scheduling problems Here is my proposed patch. It checks the existing

[Bug fortran/29393] Vector subscript rejected

2006-10-24 Thread eedelman at gcc dot gnu dot org
--- Comment #1 from eedelman at gcc dot gnu dot org 2006-10-24 17:01 --- Subject: Bug 29393 Author: eedelman Date: Tue Oct 24 17:01:30 2006 New Revision: 118008 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=118008 Log: fortran/ 2006-10-24 Erik Edelmann [EMAIL PROTECTED]

[Bug c/29584] New: internal compiler error on optimization

2006-10-24 Thread k dot shutemov at gmail dot com
Internal compiler error when optimization is enabled(not -O0): arm-linux-uclibcgnueabi-gcc -O1 -c test.c include/asm/arch/io.h: In function 'imu_dev_init': include/asm/arch/io.h:43: internal compiler error: Segmentation fault Please submit a full bug report, with preprocessed source if

[Bug c/29584] internal compiler error on optimization

2006-10-24 Thread k dot shutemov at gmail dot com
--- Comment #1 from k dot shutemov at gmail dot com 2006-10-24 17:17 --- Created an attachment (id=12485) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=12485action=view) preprocessed source -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29584

[Bug middle-end/29584] internal compiler error on optimization

2006-10-24 Thread pinskia at gcc dot gnu dot org
-- pinskia at gcc dot gnu dot org changed: What|Removed |Added Severity|critical|normal Component|c |middle-end

[Bug c++/13954] [tree-ssa] SRA does not work for classes that use inheritance with an empty base

2006-10-24 Thread dberlin at gcc dot gnu dot org
--- Comment #14 from dberlin at gcc dot gnu dot org 2006-10-24 18:31 --- (In reply to comment #13) We now get bb 2: # param_2 = V_MAY_DEF param_1; param.f1 = 0; # param_6 = V_MAY_DEF param_2; # SFT.0_7 = V_MAY_DEF SFT.0_3; # NONLOCAL.6_8 = V_MAY_DEF

[Bug middle-end/29584] [4.0/4.1 Regression] internal compiler error on optimization

2006-10-24 Thread tbm at gcc dot gnu dot org
--- Comment #2 from tbm at gcc dot gnu dot org 2006-10-24 18:56 --- This also happens on amd64. Segfaults with 4.0 and 4.1, works with 3.4 and 4.2. -- tbm at gcc dot gnu dot org changed: What|Removed |Added

[Bug middle-end/29584] [4.0/4.1 Regression] internal compiler error on optimization

2006-10-24 Thread tbm at gcc dot gnu dot org
--- Comment #3 from tbm at gcc dot gnu dot org 2006-10-24 18:56 --- Created an attachment (id=12486) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=12486action=view) reduced testcase -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29584

[Bug middle-end/29584] [4.0/4.1 Regression] internal compiler error on optimization

2006-10-24 Thread tbm at gcc dot gnu dot org
--- Comment #4 from tbm at gcc dot gnu dot org 2006-10-24 19:02 --- (gdb) where #0 expand_case (exp=Variable exp is not available. ) at /home/tbm/scratch/gcc-4.1/gcc/stmt.c:2106 #1 0x00533ee7 in expand_expr_real_1 (exp=Variable exp is not available. ) at

[Bug target/29319] ICE unrecognizable insn: offset too large for larl (breaks glibc)

2006-10-24 Thread uweigand at gcc dot gnu dot org
--- Comment #3 from uweigand at gcc dot gnu dot org 2006-10-24 19:03 --- Sorry for missing that bug. The proposed patch is OK -- thanks for catching this. As to the general problem, I think you're right that we need to further constrain the range of accepted offsets. However,

[Bug middle-end/29584] [4.0/4.1 Regression] internal compiler error on optimization

2006-10-24 Thread pinskia at gcc dot gnu dot org
--- Comment #5 from pinskia at gcc dot gnu dot org 2006-10-24 19:04 --- 0x8000UL ... (0x8000UL + 0x3a00UL - 1): I think this is a case of an overflow. -- pinskia at gcc dot gnu dot org changed: What|Removed |Added

[Bug tree-optimization/29585] New: [4.3 Regression] tree check: expected ssa_name, have var_decl in is_old_name, at tree-into-ssa.c:558

2006-10-24 Thread tbm at cyrius dot com
This didn't happen with 4.2 20061015. It happens with mainline but I cannot check the 4.2 branch right now. (sid)978:[EMAIL PROTECTED]: ~] /usr/lib/gcc-snapshot/bin/gcc -c pasmo-asm.cc pasmo-asm.cc:77: warning: 'Asm::In' has a field 'Asm::In::nullout' whose type uses the anonymous namespace

[Bug tree-optimization/29585] [4.3 Regression] tree check: expected ssa_name, have var_decl in is_old_name, at tree-into-ssa.c:558

2006-10-24 Thread tbm at cyrius dot com
--- Comment #1 from tbm at cyrius dot com 2006-10-24 19:12 --- Created an attachment (id=12487) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=12487action=view) testcase -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29585

[Bug preprocessor/29586] New: [4.1 Regression] CPP doesn't handle ticks in #warning

2006-10-24 Thread aldot at gcc dot gnu dot org
$ cat blah.c #warning (that's not C?) $ gcc-4.1 -c -o blah.o blah.c blah.c:1:2: warning: #warning (that's not C?) $ gcc-4.3-HEAD -c -o blah.o blah.c blah.c:1:2: warning: #warning (thatblah.c:1:15: warning: missing terminating ' character 's not C?) Fails with: gcc version 4.3.0 20061024

[Bug preprocessor/29586] [4.1 Regression] CPP doesn't handle ticks in #warning

2006-10-24 Thread pinskia at gcc dot gnu dot org
--- Comment #1 from pinskia at gcc dot gnu dot org 2006-10-24 20:26 --- No this is not valid and in fact was rejected in GCC before 3.4.0. In fact this is undefined behavior at compile time. SEE PR 12743 for more discussion about this. *** This bug has been marked as a duplicate of

[Bug preprocessor/14634] Unterminated literals not diagnosed

2006-10-24 Thread pinskia at gcc dot gnu dot org
--- Comment #11 from pinskia at gcc dot gnu dot org 2006-10-24 20:26 --- *** Bug 29586 has been marked as a duplicate of this bug. *** -- pinskia at gcc dot gnu dot org changed: What|Removed |Added

[Bug fortran/29393] Vector subscript rejected

2006-10-24 Thread eedelman at gcc dot gnu dot org
--- Comment #2 from eedelman at gcc dot gnu dot org 2006-10-24 20:40 --- Subject: Bug 29393 Author: eedelman Date: Tue Oct 24 20:40:19 2006 New Revision: 118010 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=118010 Log: fortran/ 2006-10-24 Erik Edelmann [EMAIL PROTECTED]

[Bug preprocessor/14634] Unterminated literals not diagnosed

2006-10-24 Thread aldot at gcc dot gnu dot org
--- Comment #12 from aldot at gcc dot gnu dot org 2006-10-24 20:41 --- (In reply to comment #11) *** Bug 29586 has been marked as a duplicate of this bug. *** Fair enough. Still pr29586 seems to be a diagnostic bug since the warning is mangled: $ cat blah.c #warning (that's not

[Bug fortran/29393] Vector subscript rejected

2006-10-24 Thread eedelman at gcc dot gnu dot org
--- Comment #3 from eedelman at gcc dot gnu dot org 2006-10-24 20:45 --- Subject: Bug 29393 Author: eedelman Date: Tue Oct 24 20:45:29 2006 New Revision: 118011 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=118011 Log: fortran/ 2006-10-24 Erik Edelmann [EMAIL PROTECTED]

[Bug fortran/29393] Vector subscript rejected

2006-10-24 Thread fxcoudert at gcc dot gnu dot org
--- Comment #4 from fxcoudert at gcc dot gnu dot org 2006-10-24 22:51 --- Fixed. -- fxcoudert at gcc dot gnu dot org changed: What|Removed |Added

[Bug java/29587] New: jc1: out of memory allocating 4072 bytes after a total of 708630224 bytes

2006-10-24 Thread danglin at gcc dot gnu dot org
/mnt/gnu/gcc/objdir/gcc/gcj -B/mnt/gnu/gcc/objdir/hppa2.0w-hp-hpux11.11/libjava/ -B/mnt/gnu/gcc/objdir/gcc/ -fclasspath= -fbootclasspath=/mnt/gnu/gcc/objdir/hpp a2.0w-hp-hpux11.11/libjava/classpath/lib --encoding=UTF-8 -Wno-deprecated -fboot strap-classes -g -O2 -fjni -findirect-dispatch

[Bug preprocessor/29588] New: /usr/local/include should not be in the default include path

2006-10-24 Thread vincent at vinc17 dot org
Because /usr/local/include is in the default include path, the include path and the library path are not consistent. The consequence is that (unless the user has modified the search paths with environment variables or switches) when some version of a library is installed in /usr (e.g., provided by

[Bug rtl-optimization/29589] New: incorrect conversion of (ior (ashiftrt (plus ...))) in combine.c

2006-10-24 Thread cqfu at transmeta dot com
We add an optimization phase in GCC, and our changes trigger GCC generates incorrect code during the combine phase. GCC incorrectly combine three instructions into two intructions: from: insn_1set (SI reg_a) (plus:SI (SI: reg_b) (const_int -1)) insn_2set (SI reg_c)

[Bug rtl-optimization/29589] incorrect conversion of (ior (ashiftrt (plus ...))) in combine.c

2006-10-24 Thread dje at transmeta dot com
--- Comment #1 from dje at transmeta dot com 2006-10-25 02:23 --- Re: We think may be what wanted is: ... That's just off the cuff speculation. The curious things are: - op1 is shifted outside the mode of the operation (0x3c 31) (HOST_WIDE_INT is 64 bits) and this value is the value

[Bug rtl-optimization/29589] incorrect conversion of (ior (ashiftrt (plus ...))) in combine.c

2006-10-24 Thread dje at transmeta dot com
--- Comment #2 from dje at transmeta dot com 2006-10-25 02:41 --- Thinking about it some more, disregard this (I think): - nonzero_bits returns bits that may be one, not bits that are one, so it's not clear this optimization is valid regardless of anything else I _think_ this is the

[Bug rtl-optimization/29589] incorrect conversion of (ior (ashiftrt (plus ...))) in combine.c

2006-10-24 Thread pinskia at gcc dot gnu dot org
--- Comment #3 from pinskia at gcc dot gnu dot org 2006-10-25 03:07 --- Revision 1.169 / (download) - annotate - [select for diffs] , Fri May 6 16:42:40 1994 UTC (12 years, 5 months ago) by kenner Branch: MAIN Changes since 1.168: +123 -91 lines Diff to previous 1.168 (colored)

[Bug preprocessor/29588] /usr/local/include should not be in the default include path

2006-10-24 Thread pinskia at gcc dot gnu dot org
--- Comment #1 from pinskia at gcc dot gnu dot org 2006-10-25 03:08 --- Actually it is a bug that the library is not picking up and not a GCC bug. The library path is consistent with GCC's include path by default unless you messed up something. So this sounds like a bug in your

[Bug tree-optimization/29585] [4.3 Regression] tree check: expected ssa_name, have var_decl in is_old_name, at tree-into-ssa.c:558

2006-10-24 Thread pinskia at gcc dot gnu dot org
--- Comment #2 from pinskia at gcc dot gnu dot org 2006-10-25 04:55 --- Here is a more reduced (and cleaned up) testcase: class ios_base{}; struct basic_ostream : virtual ios_base{}; namespace { struct Nullostream : basic_ostream{}; } class In { In (); Nullostream nullout; };

[Bug tree-optimization/29585] [4.2/4.3 Regression] tree check: expected ssa_name, have var_decl in is_old_name, at tree-into-ssa.c:558

2006-10-24 Thread pinskia at gcc dot gnu dot org
-- pinskia at gcc dot gnu dot org changed: What|Removed |Added Keywords||ice-checking Summary|[4.3 Regression] tree

[Bug tree-optimization/29585] [4.2/4.3 Regression] tree check: expected ssa_name, have var_decl in is_old_name, at tree-into-ssa.c:558

2006-10-24 Thread pinskia at gcc dot gnu dot org
--- Comment #3 from pinskia at gcc dot gnu dot org 2006-10-25 05:09 --- Confirmed. -- pinskia at gcc dot gnu dot org changed: What|Removed |Added

[Bug fortran/29563] Internal read loses data.

2006-10-24 Thread jvdelisle at gcc dot gnu dot org
--- Comment #3 from jvdelisle at gcc dot gnu dot org 2006-10-25 05:17 --- I have isolated the problem in list_read.c and am working on a patch. It will be a day or two. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29563

[Bug tree-optimization/29585] [4.2/4.3 Regression] tree check: expected ssa_name, have var_decl in is_old_name, at tree-into-ssa.c:558

2006-10-24 Thread pinskia at gcc dot gnu dot org
--- Comment #4 from pinskia at gcc dot gnu dot org 2006-10-25 05:22 --- _ZTCN33_GLOBAL__N_t.cc__2292CFAC11NullostreamE0_13basic_ostream # _ZTI13basic_ostream = V_MAY_DEF _ZTI13basic_ostream_16; # _ZTIN33_GLOBAL__N_t.cc__2292CFAC11NullostreamE = V_MAY_DEF

[Bug middle-end/29519] [4.2/4.3 Regression] Bad code on MIPS with -fnon-call-exceptions

2006-10-24 Thread daney at gcc dot gnu dot org
--- Comment #9 from daney at gcc dot gnu dot org 2006-10-25 05:49 --- Subject: Bug 29519 Author: daney Date: Wed Oct 25 05:49:43 2006 New Revision: 118023 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=118023 Log: PR middle-end/29519 * rtlanal.c