[Bug fortran/24633] MODULE attribute conflicts with PROCEDURE attribute

2007-04-29 Thread anglade at gmail dot com
--- Comment #4 from anglade at gmail dot com 2007-04-30 07:37 --- > > subroutine abc() > 1 > Error: MODULE attribute of 'abc' conflicts with PROCEDURE attribute at (1) Hi, Yes this is already much more clear. Yet I wonder if "MODULE attribute of 'abc'" could be changed in

[Bug preprocessor/31763] cc1plus fails to find some headers when include paths are duplicated

2007-04-29 Thread pinskia at gcc dot gnu dot org
--- Comment #1 from pinskia at gcc dot gnu dot org 2007-04-30 06:09 --- C_INCLUDE_PATH="$GCC_PATH/include:$GCC_PATH/lib/gcc/x86_64-linux/4.3.0/include" CPLUS_INCLUDE_PATH="$C_INCLUDE_PATH" This is a bad idea, they are automatically included already. -- http://gcc.gnu.org/bugzilla/s

[Bug tree-optimization/30252] [4.2 regression] miscompilation of sigc++-2.0 based code with -fstrict-aliasing

2007-04-29 Thread bangerth at dealii dot org
--- Comment #9 from bangerth at dealii dot org 2007-04-30 03:25 --- I can't reproduce this with neither r124272 nor r124284. What flags exactly do you use? W. -- bangerth at dealii dot org changed: What|Removed |Added -

[Bug fortran/24633] MODULE attribute conflicts with PROCEDURE attribute

2007-04-29 Thread dfranke at gcc dot gnu dot org
--- Comment #3 from dfranke at gcc dot gnu dot org 2007-04-30 01:11 --- Pierre, using your example from comment #2, would you consider subroutine abc() 1 Error: MODULE attribute of 'abc' conflicts with PROCEDURE attribute at (1) an improvem

[Bug fortran/31251] Non-integer character length leads to segfault

2007-04-29 Thread jvdelisle at gcc dot gnu dot org
--- Comment #3 from jvdelisle at gcc dot gnu dot org 2007-04-30 00:53 --- I see why we are getting two error messages. There is a recursive call going on here, Probably not a good idea. I will see if I can sort this out. -- jvdelisle at gcc dot gnu dot org changed: W

[Bug fortran/22359] fseek intrinsic appears to be unimplemented

2007-04-29 Thread dfranke at gcc dot gnu dot org
-- dfranke at gcc dot gnu dot org changed: What|Removed |Added CC||dfranke at gcc dot gnu dot |

[Bug c++/31761] Build fails with "exception.hpp:84: internal compiler error: Segmentation fault"

2007-04-29 Thread rob1weld at aol dot com
--- Comment #3 from rob1weld at aol dot com 2007-04-30 00:14 --- Did some more testing. The results that follow are from the output of a shell script to catch each error and defeat it. I have edited it down for this report. There is a bug in gcc-4_2 in that it won't let you make a new A

[Bug c++/31757] Name arguments in warnings when their names are known

2007-04-29 Thread bangerth at dealii dot org
--- Comment #1 from bangerth at dealii dot org 2007-04-30 00:01 --- I believe the current approach is pretty much the only thing that can be implemented reliably, because you could write code like this: --- int f(int i, int j); int f(int j, int i); int g = f(1,2); --

[Bug fortran/31251] Non-integer character length leads to segfault

2007-04-29 Thread jvdelisle at gcc dot gnu dot org
--- Comment #2 from jvdelisle at gcc dot gnu dot org 2007-04-29 23:41 --- I am not getting a segfault on this. Maybe it fixed itself? :) [EMAIL PROTECTED] test]$ gfc pr31251.f90 pr31251.f90:1.16: character(len=2.3) :: s 1 Error: Expression at (1) must be of INTEGER t

[Bug target/30663] [4.1/4.2 regression] m68k-uclinux-20060615 compiler fault

2007-04-29 Thread schwab at suse dot de
--- Comment #5 from schwab at suse dot de 2007-04-29 23:17 --- That was fixed in mainline at revision 122520. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30663

[Bug libfortran/31760] missing elemental applicability

2007-04-29 Thread dfranke at gcc dot gnu dot org
--- Comment #4 from dfranke at gcc dot gnu dot org 2007-04-29 22:21 --- These functions are correctly marked as ELEMENTAL, but the assigned check functions make sure that only scalars are passed. The patch is simple and currently regtesting. -- http://gcc.gnu.org/bugzilla/show_bug.c

[Bug fortran/31732] [4.3 regression] Assignment to array slice affects whole array

2007-04-29 Thread tkoenig at gcc dot gnu dot org
--- Comment #5 from tkoenig at gcc dot gnu dot org 2007-04-29 21:59 --- Created an attachment (id=13464) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=13464&action=view) Proposed patch This fixes the test case. Currently regtesting. -- http://gcc.gnu.org/bugzilla/show_bug.cg

[Bug middle-end/31493] FAIL: gcc.c-torture/execute/991118-1.c execution at -Os and -O3

2007-04-29 Thread dave at hiauly1 dot hia dot nrc dot ca
--- Comment #3 from dave at hiauly1 dot hia dot nrc dot ca 2007-04-29 21:46 --- Subject: Re: New: FAIL: gcc.c-torture/execute/bf64-1.c execution at -Os and -O3 See report of similar failures spu-elf: http://gcc.gnu.org/ml/gcc-patches/2007-04/msg01036.html Dave -- http://gcc.gnu

[Bug middle-end/31492] FAIL: gcc.c-torture/execute/20040709-2.c execution at -O1 and above

2007-04-29 Thread dave at hiauly1 dot hia dot nrc dot ca
--- Comment #2 from dave at hiauly1 dot hia dot nrc dot ca 2007-04-29 21:45 --- Subject: Re: FAIL: gcc.c-torture/execute/20040709-2.c execution at -O1 and above > This failure was introduced between revisions 123512 and 123536. See report of similar failures spu-elf: http://gcc.gnu.o

[Bug libfortran/31760] missing elemental applicability

2007-04-29 Thread dfranke at gcc dot gnu dot org
-- dfranke at gcc dot gnu dot org changed: What|Removed |Added CC||dfranke at gcc dot gnu dot |

[Bug target/30663] [4.1/4.2 regression] m68k-uclinux-20060615 compiler fault

2007-04-29 Thread schwab at suse dot de
--- Comment #4 from schwab at suse dot de 2007-04-29 20:37 --- This is no longer reproducible with current mainline. -- schwab at suse dot de changed: What|Removed |Added

[Bug tree-optimization/31756] Doesn't optimize the following (obvious) sequence

2007-04-29 Thread dberlin at dberlin dot org
--- Comment #3 from dberlin at gcc dot gnu dot org 2007-04-29 20:31 --- Subject: Re: Doesn't optimize the following (obvious) sequence On 29 Apr 2007 15:21:40 -, spop at gcc dot gnu dot org <[EMAIL PROTECTED]> wrote: > > > --- Comment #2 from spop at gcc dot gnu dot org 2007-0

[Bug fortran/31732] [4.3 regression] Assignment to array slice affects whole array

2007-04-29 Thread tkoenig at gcc dot gnu dot org
--- Comment #4 from tkoenig at gcc dot gnu dot org 2007-04-29 20:23 --- I think I know what causes this, and I'll take this on. An expedition into the front-end :-) -- tkoenig at gcc dot gnu dot org changed: What|Removed |Added ---

[Bug middle-end/31710] [4.2/4.3 Regression] ICE in in set_value_range, at tree-vrp.c:278

2007-04-29 Thread mstein at phenix dot rootshell dot be
--- Comment #8 from mstein at phenix dot rootshell dot be 2007-04-29 20:19 --- (In reply to comment #6) > Fixed on mainline and 4.2 branch. Hi Ian, I still get this bug on the mainline(124261) for the avr,frv,h8300,m32c,m68hc11 and mips. -- http://gcc.gnu.org/bugzilla/show_bug.cgi

[Bug middle-end/31750] Suboptimal builtin_memset on x86 with SSE

2007-04-29 Thread jb at gcc dot gnu dot org
--- Comment #3 from jb at gcc dot gnu dot org 2007-04-29 20:19 --- Hmm, try e.g. the following (with gfortran the fixed sized arrays can use builtin_memset whereas the allocatable arrays are done with a loop. Save as .F90 (capital F) to force preprocessing to set the SZ macro. ! Test pe

[Bug preprocessor/31763] New: cc1plus fails to find some headers when include paths are duplicated

2007-04-29 Thread grokbrsm at free dot fr
when compiling this program with gcc 4.3 snapshot 2007/04/27, #include int main(){ std::cout << "Hello world!" << std::endl; } cc1plus failed to locate the headers stddef.h and stdargs.h: Using built-in specs. Target: x86_64-linux Configured with: ../gcc-4.3-20070427/configure --prefix

[Bug tree-optimization/31762] ICE in tree-dfa.c:791 with -ftree-loop-linear (and -O1 -ffast-math)

2007-04-29 Thread rguenth at gcc dot gnu dot org
--- Comment #1 from rguenth at gcc dot gnu dot org 2007-04-29 20:06 --- Confirmed. That ICE is from the TODO of . -ftree-loop-linear doesn't change any code ("Won't transform loop. Optimal transform is the identity transform"), but still seems to have this side-effect. -- rguenth at

[Bug middle-end/31750] Suboptimal builtin_memset on x86 with SSE

2007-04-29 Thread rguenth at gcc dot gnu dot org
--- Comment #2 from rguenth at gcc dot gnu dot org 2007-04-29 19:58 --- Do you have a testcase that shows this behavior gcc vs. other? -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31750

[Bug c/31734] optimizer looses ops for with aliasing

2007-04-29 Thread ebotcazou at gcc dot gnu dot org
--- Comment #3 from ebotcazou at gcc dot gnu dot org 2007-04-29 19:58 --- > Given that "A character type may alias any other type.", > I suppose I should be able to use (it works): > > memcpy(&out->fraction, &value, 4); > memcpy(&out->mantissa, 4+(char*)&value, 4); > out->mantissa &= 0

[Bug target/30663] m68k-uclinux-20060615 compiler fault

2007-04-29 Thread schwab at suse dot de
--- Comment #3 from schwab at suse dot de 2007-04-29 19:56 --- Created an attachment (id=13463) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=13463&action=view) Reduced testcase -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30663

[Bug c/31734] optimizer looses ops for with aliasing

2007-04-29 Thread ajrobb at bigfoot dot com
--- Comment #2 from ajrobb at bigfoot dot com 2007-04-29 19:51 --- Thanks, I'd forgotten that you can only alias through char* (or types related to the operand). Given that "A character type may alias any other type.", I suppose I should be able to use (it works): memcpy(&out->fraction

[Bug c++/31761] Build fails with "exception.hpp:84: internal compiler error: Segmentation fault"

2007-04-29 Thread dannysmith at users dot sourceforge dot net
--- Comment #2 from dannysmith at users dot sourceforge dot net 2007-04-29 19:43 --- Your configure options may be at fault. In particular you '--disable-sjlj-exceptions'. Well, sjlj is the only kind of exceptions that cygwin supports, unless you modified gcc sources. Danny -- h

[Bug target/30663] m68k-uclinux-20060615 compiler fault

2007-04-29 Thread schwab at suse dot de
--- Comment #2 from schwab at suse dot de 2007-04-29 19:20 --- Confirmed. Only happens with -Os. -- schwab at suse dot de changed: What|Removed |Added Status

[Bug c++/31761] Build fails with "exception.hpp:84: internal compiler error: Segmentation fault"

2007-04-29 Thread pcarlini at suse dot de
--- Comment #1 from pcarlini at suse dot de 2007-04-29 19:13 --- Being an ICE, cannot be a library issue. -- pcarlini at suse dot de changed: What|Removed |Added

[Bug bootstrap/31746] Broken ./configure sed scripting affecting "*gcc/configargs.h" construction.

2007-04-29 Thread schwab at suse dot de
--- Comment #4 from schwab at suse dot de 2007-04-29 19:06 --- It looks like you have modified configure. Please try again with an unmodified configure. -- schwab at suse dot de changed: What|Removed |Added

[Bug tree-optimization/31762] New: ICE in tree-dfa.c:791 with -ftree-loop-linear (and -O1 -ffast-math)

2007-04-29 Thread jb at gcc dot gnu dot org
jmin = jmin + NPY(i) + 1 ENDDO ENDDO END Compiler version: gcc version 4.3.0 20070429 (experimental) -- Summary: ICE in tree-dfa.c:791 with -ftree-loop-linear (and -O1 - ffast-math) Product: gcc Version: 4.3

[Bug bootstrap/31746] Broken ./configure sed scripting affecting "*gcc/configargs.h" construction.

2007-04-29 Thread rob1weld at aol dot com
--- Comment #3 from rob1weld at aol dot com 2007-04-29 18:19 --- The problem seems to be that the ./configure script is including "--enable-languages" TWO times and the second time it is NOT quoting it - thus breaking sed. # grep _configargs ../gcc-4_2-build/config.log build_configargs

[Bug libfortran/31760] missing elemental applicability

2007-04-29 Thread kargl at gcc dot gnu dot org
--- Comment #3 from kargl at gcc dot gnu dot org 2007-04-29 18:12 --- This falls into the enhancement request category, and I agree that these functions should be elemental. I'll also note that the gfortran documentation claims that these functions are already elemental. -- kargl at

[Bug libfortran/31760] missing elemental applicability

2007-04-29 Thread highegg at gmail dot com
-- highegg at gmail dot com changed: What|Removed |Added Severity|normal |enhancement http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31760

[Bug libfortran/31760] missing elemental applicability

2007-04-29 Thread highegg at gmail dot com
--- Comment #2 from highegg at gmail dot com 2007-04-29 18:03 --- (In reply to comment #1) > Why is this a bug in your opinion? ERF and the Bessel functions are MIL/GNU > extensions. I don't think there's a standard that requires these functions to > be elemental. Do you think this is

[Bug libfortran/31760] missing elemental applicability

2007-04-29 Thread steven at gcc dot gnu dot org
--- Comment #1 from steven at gcc dot gnu dot org 2007-04-29 17:50 --- Why is this a bug in your opinion? ERF and the Bessel functions are MIL/GNU extensions. I don't think there's a standard that requires these functions to be elemental. Do you think this is a bug because the functio

[Bug fortran/31591] UBOUND as initialization expression (lacking simplification)

2007-04-29 Thread fxcoudert at gcc dot gnu dot org
--- Comment #13 from fxcoudert at gcc dot gnu dot org 2007-04-29 17:36 --- Fixed on mainline. -- fxcoudert at gcc dot gnu dot org changed: What|Removed |Added

[Bug libstdc++/31761] New: Build fails with "exception.hpp:84: internal compiler error: Segmentation fault"

2007-04-29 Thread rob1weld at aol dot com
Make fails near the end of a three stage build with an internal compiler error. $ gcc/xgcc -v Using built-in specs. Target: i686-pc-cygwin Configured with: ../gcc-4_2-branch/configure --verbose --enable-languages=c,ada,c++,fortran,java,objc,obj-c++ --with-tune=athlon-xp --prefix=/usr --enable-objc

[Bug bootstrap/31746] Broken ./configure sed scripting affecting "*gcc/configargs.h" construction.

2007-04-29 Thread rob1weld at aol dot com
--- Comment #2 from rob1weld at aol dot com 2007-04-29 17:12 --- # sed --version GNU sed version 4.1.5 -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31746

[Bug fortran/31591] UBOUND as initialization expression (lacking simplification)

2007-04-29 Thread fxcoudert at gcc dot gnu dot org
--- Comment #12 from fxcoudert at gcc dot gnu dot org 2007-04-29 17:04 --- Subject: Bug 31591 Author: fxcoudert Date: Sun Apr 29 17:03:58 2007 New Revision: 124281 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=124281 Log: PR fortran/31591 * simplify.c (simplif

[Bug bootstrap/31746] Broken ./configure sed scripting affecting "*gcc/configargs.h" construction.

2007-04-29 Thread pinskia at gcc dot gnu dot org
--- Comment #1 from pinskia at gcc dot gnu dot org 2007-04-29 16:59 --- What version of sed do you have? I don't have this issue on i686-linux-gnu or powerpc64-linux-gnu boxes at all. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31746

[Bug libfortran/31760] New: missing elemental applicability

2007-04-29 Thread highegg at gmail dot com
The gfortran intrinsics ERF,BESXX cannot be used as elemental. -- Summary: missing elemental applicability Product: gcc Version: 4.3.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: libfortran Assigne

[Bug c++/31724] [4.3 Regression] More "same canonical type node" fun

2007-04-29 Thread pinskia at gcc dot gnu dot org
--- Comment #4 from pinskia at gcc dot gnu dot org 2007-04-29 16:56 --- I have a fix: Index: init.c === --- init.c (revision 124182) +++ init.c (working copy) @@ -1624,6 +1624,7 @@ if (nelts) { tree

[Bug c++/31724] [4.3 Regression] More "same canonical type node" fun

2007-04-29 Thread pinskia at gcc dot gnu dot org
--- Comment #3 from pinskia at gcc dot gnu dot org 2007-04-29 16:55 --- A reduced testcase not from the attached testcase but from understanding where the array type is being created: struct ac {ac();}; ac spline_rep1(void) { typedef ac at[2]; ac * b = new ac[2]; at *a = (at*)b;

[Bug other/31758] Issue warning about missing include directories specified on command line

2007-04-29 Thread pinskia at gcc dot gnu dot org
--- Comment #1 from pinskia at gcc dot gnu dot org 2007-04-29 16:47 --- There is already an option for this which was added in 4.0.0: -Wmissing-include-dirs -- pinskia at gcc dot gnu dot org changed: What|Removed |Added

[Bug other/31754] Include column number along line in error messages main.cpp:5:38

2007-04-29 Thread pinskia at gcc dot gnu dot org
-- pinskia at gcc dot gnu dot org changed: What|Removed |Added Severity|normal |enhancement Summary|Include character count |Include c

[Bug c++/28300] In-class partial specialization of class accepted

2007-04-29 Thread reichelt at gcc dot gnu dot org
--- Comment #2 from reichelt at gcc dot gnu dot org 2007-04-29 16:31 --- Expanding the testcase a little one can also trigger ICEs, e.g.: == template struct A { template struct A { template void foo() {} }; }; ==

[Bug c++/31759] [4.3 regression] ICE with OpenMP and exceptions

2007-04-29 Thread reichelt at gcc dot gnu dot org
-- reichelt at gcc dot gnu dot org changed: What|Removed |Added Target Milestone|--- |4.3.0 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31759

[Bug fortran/31591] UBOUND as initialization expression (lacking simplification)

2007-04-29 Thread fxcoudert at gcc dot gnu dot org
-- fxcoudert at gcc dot gnu dot org changed: What|Removed |Added URL||http://gcc.gnu.org/ml/gcc- |

[Bug tree-optimization/31756] Doesn't optimize the following (obvious) sequence

2007-04-29 Thread spop at gcc dot gnu dot org
--- Comment #2 from spop at gcc dot gnu dot org 2007-04-29 16:21 --- Subject: Re: Doesn't optimize the following (obvious) sequence > PRE optimized the "offset" and "stride" variables. > SCEV doesn't know how to create an offset or step out of these optimized > operations. I remember

[Bug c++/31759] New: [4.3 regression] ICE with OpenMP and exceptions

2007-04-29 Thread reichelt at gcc dot gnu dot org
The following testcase (similar to PR26913) triggers an ICE on mainline: = struct A { ~A() throw(); }; void foo(A); void bar() { #pragma omp parallel { A a; foo(a); } } = bug.cc: In function 'void _Z3barv.omp_fn

[Bug tree-optimization/31756] Doesn't optimize the following (obvious) sequence

2007-04-29 Thread dberlin at gcc dot gnu dot org
--- Comment #1 from dberlin at gcc dot gnu dot org 2007-04-29 16:05 --- PRE optimized the "offset" and "stride" variables. SCEV doesn't know how to create an offset or step out of these optimized operations. We used to at some point, but I believe these are "peeled_chrec's" that we remo

[Bug c++/27129] [4.1/4.2 Regression] ICE in get_expr_operands

2007-04-29 Thread reichelt at gcc dot gnu dot org
--- Comment #9 from reichelt at gcc dot gnu dot org 2007-04-29 15:55 --- Closing as fixed in GCC 4.1.2. -- reichelt at gcc dot gnu dot org changed: What|Removed |Added

[Bug c++/27129] [4.1/4.2 Regression] ICE in get_expr_operands

2007-04-29 Thread reichelt at gcc dot gnu dot org
--- Comment #8 from reichelt at gcc dot gnu dot org 2007-04-29 15:54 --- This bug is already fixed on the 4.1 branch since GCC 4.1.2, whereas PR 20103 is still open on the 4.1 branch, so this is not quite a duplicate of PR 20103. -- reichelt at gcc dot gnu dot org changed:

[Bug other/31758] New: Issue warning about missing include directories specified on command line

2007-04-29 Thread jg at jguk dot org
GCC presently does not issue a warning for missing include directories specified. Could one be added? Or perhaps there is a reason it is not being checked at present that I am not aware of This compiles fine: g++ -Wall -I./MissingIncludeDir main.cpp -- Summary: Issue warning about mi

[Bug c++/31757] New: Name arguments in warnings when their names are know

2007-04-29 Thread jg at jguk dot org
Could argument names be included in warning messages when they are available? This is the present output: $ g++ -Wall -o t main.cpp main.cpp: In function ‘int main()’: main.cpp:12: warning: passing NULL to non-pointer argument 2 of ‘void f(int, bool, bool, int, unsigned int)’ main.cpp:12: warning:

[Bug tree-optimization/31756] New: Doesn't optimize the following (obvious) sequence

2007-04-29 Thread toon at moene dot indiv dot nluug dot nl
Given the following Fortran source: SUBROUTINE SUB(A, B, N, M) DIMENSION A(N, M), B(N, M) DO I = 1, N DO J = 1, M A(I, J) = B(I, J) ENDDO ENDDO END It should be vectorized using the following compile time options: -O2 -ftree-vectorize -

[Bug c++/31755] New: Clarify NULL pointer conversion to other types in initialiser

2007-04-29 Thread jg at jguk dot org
Could the warning message below be revised to include a warning that NULL will evaluate to false or zero? In addition, is there a way to add the member name which is being initialised to the warning? The line numbers are not accurate too, so it needs some inspection to figure out the members conce

[Bug other/31754] New: Include character count along line in error messages main.cpp:5:38

2007-04-29 Thread jg at jguk dot org
Often we have compile errors on long lines of code, it is time-consuming to find the actual character offset on the long line which is causing the error. Sometimes it is even necessary to separate out long if(..) statements, so we can figure out which part of the long line has the problem in the er

[Bug target/31403] wrong branch instructions generated with -m2a on sh-elf

2007-04-29 Thread kkojima at gcc dot gnu dot org
--- Comment #7 from kkojima at gcc dot gnu dot org 2007-04-29 13:41 --- Fixed. -- kkojima at gcc dot gnu dot org changed: What|Removed |Added Status|NEW

[Bug middle-end/31095] [4.3 Regression] ICE in expand_expr_real_1, at expr.c:8786

2007-04-29 Thread tbm at cyrius dot com
--- Comment #3 from tbm at cyrius dot com 2007-04-29 13:36 --- Janis, can you do a regression hunt on this one? -- tbm at cyrius dot com changed: What|Removed |Added

[Bug middle-end/31753] ICE while compiling qemu 0.9.0 with -O1 or higher

2007-04-29 Thread bero at arklinux dot org
--- Comment #1 from bero at arklinux dot org 2007-04-29 12:40 --- Created an attachment (id=13462) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=13462&action=view) Preprocessed source Attaching preprocessed source -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31753

[Bug middle-end/31753] New: ICE while compiling qemu 0.9.0 with -O1 or higher

2007-04-29 Thread bero at arklinux dot org
$gcc -Wall -O1 -g -fno-strict-aliasing -mpreferred-stack-boundary=2 -fomit-frame-pointer -falign-functions=0 -fno-gcse -fno-reorder-blocks -fno-optimize-sibling-calls -I. -I.. -I/usr/src/ark/BUILD/qemu-0.9.0/target-i386 -I/usr/src/ark/BUILD/qemu-0.9.0 -I/usr/src/ark/BUILD/qemu-0.9.0/linux-user -I/

[Bug fortran/31645] Error on reading Byte Order Mark

2007-04-29 Thread fxcoudert at gcc dot gnu dot org
--- Comment #3 from fxcoudert at gcc dot gnu dot org 2007-04-29 12:31 --- Fixed -- fxcoudert at gcc dot gnu dot org changed: What|Removed |Added Status|ASSIG

[Bug inline-asm/31752] New: ICE with member function in inline asm

2007-04-29 Thread reichelt at gcc dot gnu dot org
The following invalid code snippet triggers an ICE since at least GCC 2.95.3: == void foo() { struct { int bar(); } x; asm("" : "=m" (x.bar)); } == bug.cc: In function 'void foo()':

[Bug c++/31751] [4.1/4.2/4.3 regression] ICE with forgotten member declaration

2007-04-29 Thread reichelt at gcc dot gnu dot org
-- reichelt at gcc dot gnu dot org changed: What|Removed |Added Target Milestone|--- |4.1.3 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31751

[Bug c++/31751] New: [4.1/4.2/4.3 regression] ICE with forgotten member declaration

2007-04-29 Thread reichelt at gcc dot gnu dot org
The following invalid code snippet triggers an ICE since GCC 4.0.0: == struct A { int i; }; template int A::foo(int T::*) { return 0; } int j = A::foo(&A::i); == bug.cc:6: error: no

[Bug middle-end/31750] Suboptimal builtin_memset on x86 with SSE

2007-04-29 Thread jb at gcc dot gnu dot org
--- Comment #1 from jb at gcc dot gnu dot org 2007-04-29 12:14 --- Jakub made a related patch a while ago: http://gcc.gnu.org/ml/gcc-patches/2006-08/msg01134.html -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31750

[Bug c++/31749] [4.1/4.2/4.3 regression] ICE with invalid redeclaration of builtin

2007-04-29 Thread reichelt at gcc dot gnu dot org
-- reichelt at gcc dot gnu dot org changed: What|Removed |Added Target Milestone|--- |4.1.3 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31749

[Bug middle-end/31750] New: Suboptimal builtin_memset on x86 with SSE

2007-04-29 Thread jb at gcc dot gnu dot org
On the fatigue benchmark of the polyhedron benchmark suite, gfortran spends ~8% of the total runtime on the line 40215 7.8856 : generalized_constitutive_tensor(:,:) = 0.0_LONGreal (The numbers are oprofile data) generalized_constitutive tensor is a local 6x6 double precision array. No

[Bug c++/31749] New: [4.1/4.2/4.3 regression] ICE with invalid redeclaration of builtin

2007-04-29 Thread reichelt at gcc dot gnu dot org
The following invalid code snippet triggers a segfault since GCC 3.1: namespace std { union abort; } void abort(); using std::abort; bug.cc:8: internal compiler error: Segmentation fault Please submit a full bug report, [etc.] Compiling the c

[Bug c++/31748] [4.2/4.3 regression] bad diagnostic for invalid private clause

2007-04-29 Thread reichelt at gcc dot gnu dot org
-- reichelt at gcc dot gnu dot org changed: What|Removed |Added Target Milestone|--- |4.2.0 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31748

[Bug c++/31748] New: [4.2/4.3 regression] bad diagnostic for invalid private clause

2007-04-29 Thread reichelt at gcc dot gnu dot org
A bad diagnostic is issued on mainline and the 4.2 branch for the following code snippet (compile with -fopenmp): struct A; void foo() { #pragma omp parallel private(A) ; } bug.cc: In function 'void foo()': bug.cc:5: error: '#'type_decl' not su

[Bug c++/31747] [4.2/4.3 regression] ICE combining static and extern

2007-04-29 Thread reichelt at gcc dot gnu dot org
-- reichelt at gcc dot gnu dot org changed: What|Removed |Added Target Milestone|--- |4.2.0 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31747

[Bug fortran/31645] Error on reading Byte Order Mark

2007-04-29 Thread fxcoudert at gcc dot gnu dot org
--- Comment #2 from fxcoudert at gcc dot gnu dot org 2007-04-29 11:46 --- Subject: Bug 31645 Author: fxcoudert Date: Sun Apr 29 11:45:57 2007 New Revision: 124274 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=124274 Log: PR fortran/31645 * scanner.c (load_file

[Bug c++/31747] New: [4.2/4.3 regression] ICE combining static and extern

2007-04-29 Thread reichelt at gcc dot gnu dot org
The following invalid code snippet triggers an ICE on mainline and the 4.2 branch:: static extern int i; bug.cc:1: error: conflicting specifiers in declaration of 'i' bug.cc:1: internal compiler error: in start_decl, at cp/decl.c:3985 Please submi

[Bug fortran/31016] Use __buildin_memcpy and __memcpy for array assignment

2007-04-29 Thread jb at gcc dot gnu dot org
--- Comment #4 from jb at gcc dot gnu dot org 2007-04-29 11:46 --- I don't think you can use memset for populating real arrays except when the value is 0.0; the bit patterns would be different, as memset takes an int argument which is actually converted to unsigned char. AFAIK the libc

[Bug bootstrap/31746] New: Broken ./configure sed scripting affecting "*gcc/configargs.h" construction.

2007-04-29 Thread rob1weld at aol dot com
This occurs on platforms i686-pc-linux-gnu _AND_ i686-pc-cygwin but I can only choose to report for a single platform at a time. I will not file a second identical report for i686-pc-cygwin, just this one report. The file gcc/configargs.h does not get made properly. That causes the compiler to not

[Bug c++/31745] [4.3 regression] ICE on invalid use of namespace

2007-04-29 Thread reichelt at gcc dot gnu dot org
-- reichelt at gcc dot gnu dot org changed: What|Removed |Added Target Milestone|--- |4.3.0 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31745

[Bug c++/31745] New: [4.3 regression] ICE on invalid use of namespace

2007-04-29 Thread reichelt at gcc dot gnu dot org
The following invalid code snippet triggers an ICE on mainline: === void foo() { namespace N { === bug.cc: In function 'void foo()': bug.cc:3: error: 'namespace' definition is not allowed here bug.cc:3: internal compiler error: in cp_lexer_consume_token, at cp/pa

[Bug ada/31744] New: Ada has way TOO MANY "may be used uninitialized" warnings.

2007-04-29 Thread rob1weld at aol dot com
I recall Ada compiling with very few warnings on the Cygwin platform. I recently added Linux to my list of platforms (did not notice these warnings when compiling for Linux - may or may not be present on Linux platform): I compiled this on Cygwin with this GCC: $ gcc -v Reading specs from /usr/li

[Bug c++/31743] [4.1/4.2/4.3 regression] ICE with invalid use of new

2007-04-29 Thread reichelt at gcc dot gnu dot org
-- reichelt at gcc dot gnu dot org changed: What|Removed |Added Target Milestone|--- |4.1.3 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31743

[Bug c++/31743] New: [4.1/4.2/4.3 regression] ICE with invalid use of new

2007-04-29 Thread reichelt at gcc dot gnu dot org
The following invalid code snippet triggers an ICE since GCC 4.0.0: === typedef int A[]; A* p = new A; === bug.cc:2: internal compiler error: tree check: expected class 'type', have 'exceptional' (error_mark) in extract_muldiv_1, at fold-const.c:5661 Please submit

[Bug c/31741] dfp tests failing - internal compiler error

2007-04-29 Thread rob1weld at aol dot com
--- Comment #1 from rob1weld at aol dot com 2007-04-29 11:25 --- I completed all tests. Current SVN builds on Linux "OK", but has "internal compiler error" when build with "_similar_" (but not "same") options on Cygwin platform (when it gets to libstdc++-v3). Full results at this link:

[Bug libgcj/30448] libjava configure script mix up with .c / .java using gcj /gcc

2007-04-29 Thread rob1weld at aol dot com
--- Comment #3 from rob1weld at aol dot com 2007-04-29 11:13 --- I am going to change the resolution to "WORKSFORME". This does not mean that whatever problem that occurred at _that_ particular time was actually fixed, only that I am not able to reproduce it with the __current__ SVN (nor

[Bug libgcj/30448] libjava configure script mix up with .c / .java using gcj /gcc

2007-04-29 Thread rob1weld at aol dot com
--- Comment #2 from rob1weld at aol dot com 2007-04-29 11:05 --- Dear Andrew: I am sorry I did not include my "gcc -v" in the report. Judging from the date I _MIGHT_ have used one of these configure lines: /cygdrive/C/makecygwin/gcc-4_2-branch/configure --disable-werror --verbose --tar

[Bug libgcj/31650] gcc-4_2-branch uses class that has been removed - breaks make

2007-04-29 Thread rob1weld at aol dot com
--- Comment #2 from rob1weld at aol dot com 2007-04-29 10:51 --- Prevously I posted: "I will post the build-log shortly and put a link on this page ..." I finally got it compiled (using an enormous number of features) and got my best results yet for Java: === libjava Su

[Bug fortran/22282] [4.1 only] %loc is not implemented in gfortran

2007-04-29 Thread steven at gcc dot gnu dot org
--- Comment #11 from steven at gcc dot gnu dot org 2007-04-29 10:07 --- This will not be backported to GCC 4.1. Thanks for catching this, it's very helpful to find bugs that won't be resolved in released compilers. There are already enough bugs in Bugzilla that do have to be fixed, so

[Bug tree-optimization/30252] [4.2 regression] miscompilation of sigc++-2.0 based code with -fstrict-aliasing

2007-04-29 Thread belyshev at depni dot sinp dot msu dot ru
--- Comment #8 from belyshev at depni dot sinp dot msu dot ru 2007-04-29 09:58 --- Created an attachment (id=13461) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=13461&action=view) self contained preprocessed testcase (In reply to comment #7) > Can you try this again, I think thi

[Bug c++/31742] New: warn_unused_result prints no warning for return value with destructor

2007-04-29 Thread mec at google dot com
(This is similar to PR 27371) When a function or method has attribute warn_unused_result, and the return type has a destructor, gcc does not emit a warning. gcc 4.0.3 emitted a warning; gcc 4.1.2 does not; gcc 4.3-20070427 does not. [EMAIL PROTECTED]:~/exp-warn-unused-result$ cat warn.cc int Alp

[Bug tree-optimization/30252] [4.2 regression] miscompilation of sigc++-2.0 based code with -fstrict-aliasing

2007-04-29 Thread pinskia at gcc dot gnu dot org
--- Comment #7 from pinskia at gcc dot gnu dot org 2007-04-29 08:01 --- Can you try this again, I think this was related to PR 30567 which was just fixed? -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30252