[Bug fortran/24549] [4.1 only] ICE with invalid pseudo-declaration statement

2006-05-10 Thread fxcoudert at gcc dot gnu dot org
--- Comment #8 from fxcoudert at gcc dot gnu dot org 2006-05-11 06:08 --- (In reply to comment #7) > FX: Fixing gfortran's error recovery is not the answer to this PR, > but to the other one. Yes, I know. Since this PR was already used for tracking the ICE, I planned on opening a new P

[Bug fortran/27546] New: [F2003] IMPORT not implemented

2006-05-10 Thread fxcoudert at gcc dot gnu dot org
Reported by Harald Anlauf: --- Hi, the IMPORT statement of Fortran2003 is not yet implemented. Trying to use it provokes an ICE: module gfcbug29_import integer, parameter :: dp = kind (1d0) interface subroutine foo (x) import :: dp real (kind=dp) ::

[Bug middle-end/27536] [4.2 Regression] -fsection-anchors breaks Ada

2006-05-10 Thread ebotcazou at gcc dot gnu dot org
--- Comment #2 from ebotcazou at gcc dot gnu dot org 2006-05-11 05:39 --- > I can disable section anchors for Ada, similar to Objective C and Objective > C++, but this failure likely means that there is a bug in the Trees generated > by GNU Ada. It's only a wild guess until someone fir

[Bug gcov/profile/27545] Cannot generate profile information for DSO

2006-05-10 Thread pinskia at gcc dot gnu dot org
--- Comment #5 from pinskia at gcc dot gnu dot org 2006-05-11 02:58 --- This is a bug in libtool, look here: /bin/sh ../libtool --tag=CC --mode=link gcc -pthread -I/opt/gnome/include/glib-2.0 -I/opt/gnome/lib/glib-2.0/include -Wall -O2 -g -Wall -fprofile-generate -o libflow.la -rpath

[Bug gcov/profile/27545] Cannot generate profile information for DSO

2006-05-10 Thread hpj at copyleft dot no
--- Comment #4 from hpj at copyleft dot no 2006-05-11 02:53 --- Created an attachment (id=11437) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=11437&action=view) Build with -fprofile (breaks). -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27545

[Bug gcov/profile/27545] Cannot generate profile information for DSO

2006-05-10 Thread hpj at copyleft dot no
--- Comment #3 from hpj at copyleft dot no 2006-05-11 02:53 --- Created an attachment (id=11436) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=11436&action=view) Build without -fprofile. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27545

[Bug gcov/profile/27545] Cannot generate profile information for DSO

2006-05-10 Thread hpj at copyleft dot no
--- Comment #2 from hpj at copyleft dot no 2006-05-11 02:52 --- Yes, it's building with -fPIC and building/linking with -fprofile-generate. Without -fprofile-generate, it all builds fine. I'm using libtool. I'm attaching logs of builds with and without -fprofile-generate so you have all

[Bug gcov/profile/27545] Cannot generate profile information for DSO

2006-05-10 Thread pinskia at gcc dot gnu dot org
--- Comment #1 from pinskia at gcc dot gnu dot org 2006-05-11 02:43 --- Can you make sure that the library is still building with -fPIC, if it is not, then this is not a bug. And can you make sure that the library is linking with -fprofile-generate, if it is not, then this is not a bug.

[Bug gcov/profile/27545] New: Cannot generate profile information for DSO

2006-05-10 Thread hpj at copyleft dot no
I'm working on a shared library, and would like to build it with -fprofile-generate information generated from tests that are built with the library, so I can apply it with -fprofile-use. However, when I build the library with CFLAGS='-O2 -g -fprofile-generate', it fails to link the tests with the

[Bug target/1078] Problems with attributes documentation

2006-05-10 Thread pinskia at gcc dot gnu dot org
--- Comment #4 from pinskia at gcc dot gnu dot org 2006-05-11 02:16 --- PR 27544 is about a missing docs for an attribute for RS6000, altivec. PR 27543 is about ms_struct attribute on rs6000/PowerPC as it just says x86 supports it which is no longer true. -- pinskia at gcc dot gnu do

[Bug target/27544] [4.0/4.1/4.2 Regression] attribute altivec is not documented

2006-05-10 Thread pinskia at gcc dot gnu dot org
-- pinskia at gcc dot gnu dot org changed: What|Removed |Added Target Milestone|--- |4.0.4 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27544

[Bug target/27544] New: [4.0/4.1/4.2 Regression] attribute altivec is not documented

2006-05-10 Thread pinskia at gcc dot gnu dot org
It was added by: http://gcc.gnu.org/ml/gcc-patches/2004-01/msg0.html But it was not documented. Zem no longer works at Apple now either. -- Summary: [4.0/4.1/4.2 Regression] attribute altivec is not documented Product: gcc Version: 4.2.0

[Bug target/27543] [4.2 Regression] attribute ms_struct is now also for rs6000 but not documented

2006-05-10 Thread pinskia at gcc dot gnu dot org
-- pinskia at gcc dot gnu dot org changed: What|Removed |Added Target Milestone|--- |4.2.0 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27543

[Bug target/27543] New: [4.2 Regression] attribute ms_struct is now also for rs6000 but not documented

2006-05-10 Thread pinskia at gcc dot gnu dot org
According to: http://gcc.gnu.org/onlinedocs/gcc/Type-Attributes.html#Type-Attributes ms_struct is now support for also for the RS6000 back-end. -- Summary: [4.2 Regression] attribute ms_struct is now also for rs6000 but not documented Product: gcc

[Bug target/27542] [4.2 Regression] the ms_struct pragma is not documented

2006-05-10 Thread pinskia at gcc dot gnu dot org
-- pinskia at gcc dot gnu dot org changed: What|Removed |Added Target Milestone|--- |4.2.0 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27542

[Bug target/27542] New: [4.2 Regression] the ms_struct pragma is not documented

2006-05-10 Thread pinskia at gcc dot gnu dot org
When the ms_struct pragma was implemented, Documention was not added for it. -- Summary: [4.2 Regression] the ms_struct pragma is not documented Product: gcc Version: 4.2.0 Status: UNCONFIRMED Keywords: documentation Severity: norm

[Bug c++/24561] no static definition at -O0

2006-05-10 Thread sje at cup dot hp dot com
--- Comment #12 from sje at cup dot hp dot com 2006-05-10 22:54 --- I believe the patch checked in for this defect is causing g++.old-deja/g++.other/static14.C and g++.old-deja/g++.other/static20.C to fail. -- sje at cup dot hp dot com changed: What|Removed

[Bug other/27541] Support Cluster OpenMP (distributed-memory OpenMP)

2006-05-10 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-05-10 22:46 --- > Is there really a standard for this or just an extension of OpenMP? I'm not sure whether I understand the question. Directive wise it is OpenMP augmented by a single directive: "shareable". This

[Bug other/27156] SIGSEGV in operator delete() / wrong-code?

2006-05-10 Thread pluto at agmk dot net
--- Comment #12 from pluto at agmk dot net 2006-05-10 22:36 --- following reduced testcase works with libstdc++ and segv with stlport. #include #include struct A { }; int main() { std::list< A* > l; std::vector< A* > v( l.end(), l.end() ); return 0; } g++ test

[Bug other/27541] Support Cluster OpenMP (distributed-memory OpenMP)

2006-05-10 Thread pinskia at gcc dot gnu dot org
--- Comment #1 from pinskia at gcc dot gnu dot org 2006-05-10 22:09 --- Is there really a standard for this or just an extension of OpenMP? Though this is useful a little bit for the Cell where you don't really have a distrubuted machine but the memory will be distributed though. --

[Bug other/27541] New: Support Cluster OpenMP (distributed-memory OpenMP)

2006-05-10 Thread tobias dot burnus at physik dot fu-berlin dot de
Currently, GCC only supports OpenMP on shared-memory systems. It would be nice if it could be extended to support OpenMP via the ethernet, infiniband etc. (distributed-memory systems). There exists (at least) one implementation of distributed-memory OpenMP: The Intel Compilers 9.1's Cluster OpenMP

[Bug fortran/24549] [4.1 only] ICE with invalid pseudo-declaration statement

2006-05-10 Thread anlauf at gmx dot de
--- Comment #7 from anlauf at gmx dot de 2006-05-10 21:53 --- (In reply to comment #5) > *** Bug 27487 has been marked as a duplicate of this bug. *** Well, first of all I have to admit that I am only a Fortran user. But PR 27487 is only a duplicate because Tobias changed the subject of

[Bug middle-end/25512] [4.1/4.2 Regression] Overflow not handled in ptr arithmetic folding

2006-05-10 Thread rguenth at gcc dot gnu dot org
--- Comment #11 from rguenth at gcc dot gnu dot org 2006-05-10 21:43 --- Now, this is "fixed" at the moment (but still invalid code), but I have a "fix" that will "break" it again. -- rguenth at gcc dot gnu dot org changed: What|Removed |Added ---

[Bug fortran/27320] ICE with -fdump-parse-tree after error

2006-05-10 Thread fxcoudert at gcc dot gnu dot org
--- Comment #1 from fxcoudert at gcc dot gnu dot org 2006-05-10 21:36 --- Below is a patch for this ICE. I suspect that there a lots more ICEs lurking in dump-parse-tree.c, which looks like it's not really written to be fed with incomplete structures (as might happen during error recove

[Bug ada/27536] [4.2 Regression] -fsection-anchors breaks Ada

2006-05-10 Thread dje at gcc dot gnu dot org
--- Comment #1 from dje at gcc dot gnu dot org 2006-05-10 21:33 --- I can disable section anchors for Ada, similar to Objective C and Objective C++, but this failure likely means that there is a bug in the Trees generated by GNU Ada. -- dje at gcc dot gnu dot org changed:

[Bug c++/27315] [4.0/4.1/4.2 regression] ICE with ill-placed expression

2006-05-10 Thread patchapp at dberlin dot org
--- Comment #6 from patchapp at dberlin dot org 2006-05-10 21:31 --- Subject: Bug number PR c++/27315 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-05/msg00361.html -- http://gcc.gnu.org/bugzil

[Bug libgomp/26308] [4.2 Regression] libgomp bootstrap failure on Tru64 UNIX V4.0F

2006-05-10 Thread ro at techfak dot uni-bielefeld dot de
--- Comment #3 from ro at techfak dot uni-bielefeld dot de 2006-05-10 21:28 --- Subject: Re: [4.2 Regression] libgomp bootstrap failure on Tru64 UNIX V4.0F pinskia at gcc dot gnu dot org writes: > PR 26161 might had fixed this. No, the problem persists as of 20060503. Raine

[Bug target/27540] New: libgomp fails to configure on IRIX 5.3

2006-05-10 Thread gcc-bugzilla at gcc dot gnu dot org
Current mainline fails to bootstrap on IRIX 5.3: configure: error: Pthreads are required to build libgomp make[1]: *** [configure-target-libgomp] Error 1 Environment: System: IRIX lyra 5.3 11091812 IP22 mips host: mips-sgi-irix5.3 build: mips-sgi-irix5.3 target: mips-sgi-irix5.3 configured wi

[Bug ada/27536] [4.2 Regression] -fsection-anchors breaks Ada

2006-05-10 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/27537] XMM alignment fault when compiling for i386 with -Os

2006-05-10 Thread pinskia at gcc dot gnu dot org
--- Comment #3 from pinskia at gcc dot gnu dot org 2006-05-10 20:49 --- This is confirmed, this is an interaction between stack slots and -mpreferred-stack-boundary= which is what -Os sets. This is not a regression. Maybe the real question is why are you using -Os for code with SSE in

[Bug target/27537] XMM alignment fault when compiling for i386 with -Os. Needs ABI specification.

2006-05-10 Thread pinskia at gcc dot gnu dot org
--- Comment #2 from pinskia at gcc dot gnu dot org 2006-05-10 20:44 --- The SYSV x86 ABI says the stack is aligned 4 byte aligned. Remember the SYSV x86 ABI was done before MMX or SSE was around or even thought about back in the 486 days (and maybe even before then). -- http://gcc.

[Bug middle-end/27528] compiling linux kernels 2.6.16.14/15 2.6.17-rc3 on powerpc (7450) get error on long exixting code

2006-05-10 Thread pinskia at gcc dot gnu dot org
--- Comment #9 from pinskia at gcc dot gnu dot org 2006-05-10 20:41 --- This has nothing to do with the C standard or even standard code. This is inline-asm constraint which is failing and the inline-asm in the code is wrong. This is a bug in the code so report it to Linux instead of h

[Bug target/27537] XMM alignment fault when compiling for i386 with -Os. Needs ABI specification.

2006-05-10 Thread pinskia at gcc dot gnu dot org
--- Comment #1 from pinskia at gcc dot gnu dot org 2006-05-10 20:39 --- First so what darwin aligns the stack by default to 16bytes (that is demanded by their ABI since their ABI is newer than GNU/Linux's). GNU/Linux follows the SYSV x86 ABI which is documented, maybe you cannot find it

[Bug middle-end/27528] compiling linux kernels 2.6.16.14/15 2.6.17-rc3 on powerpc (7450) get error on long exixting code

2006-05-10 Thread malitzke at metronets dot com
--- Comment #8 from malitzke at metronets dot com 2006-05-10 20:17 --- Well Fellas: Either have the Steering Committee revise the Invitation to participate in testing; quoted iselectively below. Or,have a member from the Steering Committe ask me to refrain from further participation. I,

[Bug debug/26881] [4.1/4.2 Regression] internal compiler error in dwarf2out_finish

2006-05-10 Thread flash at pobox dot com
--- Comment #10 from flash at pobox dot com 2006-05-10 20:08 --- PalmSource bug #126750. -- flash at pobox dot com changed: What|Removed |Added CC|

[Bug target/27539] New: gcc.c-torture/execute/941014-2.c FAILs

2006-05-10 Thread kazu at gcc dot gnu dot org
FAIL: gcc.c-torture/execute/941014-2.c execution, -O1 FAIL: gcc.c-torture/execute/941014-2.c execution, -O2 FAIL: gcc.c-torture/execute/941014-2.c execution, -Os -- Summary: gcc.c-torture/execute/941014-2.c FAILs Product: gcc Version: unknown Statu

[Bug target/27538] New: execute/20030128-1.c FAILs

2006-05-10 Thread kazu at gcc dot gnu dot org
FAIL: gcc.c-torture/execute/20030128-1.c execution, -O1 FAIL: gcc.c-torture/execute/20030128-1.c execution, -O2 FAIL: gcc.c-torture/execute/20030128-1.c execution, -O3 -fomit-frame-pointer FAIL: gcc.c-torture/execute/20030128-1.c execution, -O3 -g FAIL: gcc.c-torture/execute/20030128-1.c execut

[Bug c++/27537] New: XMM alignment fault when compiling for i386 with -Os. Needs ABI specification.

2006-05-10 Thread agner at agner dot org
The g++ compiler for i386 target assumes that the stack is aligned by 16 when storing xmm registers to the stack. However, the stack is not aligned when compiling with option -Os (or with the Intel compiler). A misaligned memory operand to an XMM instruction causes a general protection exception. A

[Bug ada/27536] New: -fsection-anchors breaks Ada

2006-05-10 Thread schwab at suse dot de
$ /tmp/cvs/gcc-test-r113398/Build/./gcc/xgcc -B/tmp/cvs/gcc-test-r113398/Build/./gcc/ -B/tmp/cvs/gcc-test-r113398/Build/root/powerpc64-suse-linux/bin/ -B/tmp/cvs/gcc-test-r113398/Build/root/powerpc64-suse-linux/lib/ -isystem /tmp/cvs/gcc-test-r113398/Build/root/powerpc64-suse-linux/include -isystem

[Bug tree-optimization/27532] __builtin_object_size does not handle &a + b.

2006-05-10 Thread rguenth at gcc dot gnu dot org
--- Comment #5 from rguenth at gcc dot gnu dot org 2006-05-10 19:42 --- Fixed. -- rguenth at gcc dot gnu dot org changed: What|Removed |Added Status|ASSIGNED

[Bug tree-optimization/27532] __builtin_object_size does not handle &a + b.

2006-05-10 Thread rguenth at gcc dot gnu dot org
--- Comment #4 from rguenth at gcc dot gnu dot org 2006-05-10 19:41 --- Subject: Bug 27532 Author: rguenth Date: Wed May 10 19:41:46 2006 New Revision: 113682 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=113682 Log: 2006-05-10 Richard Guenther <[EMAIL PROTECTED]> PR

[Bug rtl-optimization/27535] ICE with -O2 -fsee

2006-05-10 Thread pinskia at gcc dot gnu dot org
--- Comment #1 from pinskia at gcc dot gnu dot org 2006-05-10 19:06 --- Oh, this is no longer a regression as -fsee is not enabled by default in newer versions of 4.2 (a day after it was enabled by default for -O3, it was turned off to fix some regressions at -O3). -- pinskia at gcc

[Bug c/27535] New: ICE, Regression from gcc-4.1.0

2006-05-10 Thread kminola at eng dot umd dot edu
/* ICE using gcc-4.2-20060506 on x86_64-unknown-linux-gnu Regression from gcc-4.1.0 Source cut down from gmp-4.2.1/tests/refmpf.c % gcc-4.2-20060506 -O3 -c foo.c foo.c: In function âfooâ: foo.c:27: internal compiler error: Segmentation fault Please submit a full bug report, with preprocessed so

[Bug fortran/27470] [4.1/4.2 regression] wrong memory allocator for derived types

2006-05-10 Thread tkoenig at gcc dot gnu dot org
--- Comment #6 from tkoenig at gcc dot gnu dot org 2006-05-10 18:27 --- Subject: Bug 27470 Author: tkoenig Date: Wed May 10 18:26:51 2006 New Revision: 113680 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=113680 Log: 2005-05-10 Thomas Koenig <[EMAIL PROTECTED]> PR fo

[Bug bootstrap/18058] [4.2 Regression] Bootstrap fails with BOOTCFLAGS="-O0"

2006-05-10 Thread pinskia at gcc dot gnu dot org
--- Comment #29 from pinskia at gcc dot gnu dot org 2006-05-10 17:48 --- Since Honza's patch to emit static and inline functions at -O0, this now fails with BOOTCFLAGS as -O0. -- pinskia at gcc dot gnu dot org changed: What|Removed |Added

[Bug java/12257] Inner classes with same name causes crash.

2006-05-10 Thread aph at gcc dot gnu dot org
--- Comment #3 from aph at gcc dot gnu dot org 2006-05-10 17:41 --- Xref: https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=191211 -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=12257

[Bug target/24949] FAIL: gcc.c-torture/compile/20000403-2.c -O0

2006-05-10 Thread kazu at gcc dot gnu dot org
--- Comment #2 from kazu at gcc dot gnu dot org 2006-05-10 17:35 --- Just checked in a patch. -- kazu at gcc dot gnu dot org changed: What|Removed |Added Stat

[Bug target/24949] FAIL: gcc.c-torture/compile/20000403-2.c -O0

2006-05-10 Thread kazu at gcc dot gnu dot org
--- Comment #1 from kazu at gcc dot gnu dot org 2006-05-10 17:35 --- Subject: Bug 24949 Author: kazu Date: Wed May 10 17:35:24 2006 New Revision: 113675 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=113675 Log: PR target/24949 * config/m68k/m68k.md (ashrdi_const

[Bug target/26415] [4.2 regression] m68k-linux bootstrap error during stage2

2006-05-10 Thread kazu at gcc dot gnu dot org
--- Comment #1 from kazu at gcc dot gnu dot org 2006-05-10 17:00 --- Could you submit a preprocessed testcase? Many of us do not have m68k hardware that can be used for bootstrap. Thanks, -- kazu at gcc dot gnu dot org changed: What|Removed |Added

[Bug c++/27384] [4.0/4.1/4.2 regression] ICE with invalid array size

2006-05-10 Thread reichelt at gcc dot gnu dot org
--- Comment #2 from reichelt at gcc dot gnu dot org 2006-05-10 16:55 --- Testing a patch. -- reichelt at gcc dot gnu dot org changed: What|Removed |Added Assigne

[Bug middle-end/27488] [4.1/4.2 regression] ICE in tree_expr_nonnegative_p

2006-05-10 Thread reichelt at gcc dot gnu dot org
--- Comment #2 from reichelt at gcc dot gnu dot org 2006-05-10 16:52 --- Testing a patch. -- reichelt at gcc dot gnu dot org changed: What|Removed |Added Assigne

[Bug c/27489] [4.1/4.2 regression] ICE on broken switch condition

2006-05-10 Thread kazu at gcc dot gnu dot org
--- Comment #4 from kazu at gcc dot gnu dot org 2006-05-10 16:49 --- Assigning to Volker as he posted a patch. -- kazu at gcc dot gnu dot org changed: What|Removed |Added

[Bug fortran/27229] char_transpose_1.f90 fails with ICE in gfc_conv_array_transpose

2006-05-10 Thread janis at gcc dot gnu dot org
--- Comment #4 from janis at gcc dot gnu dot org 2006-05-10 16:03 --- The test passes on both of my nightly builds now, so I'm closing this. -- janis at gcc dot gnu dot org changed: What|Removed |Added --

[Bug libstdc++/27530] Possible memory leak in std::vector::reserve() or std::vector::clear()

2006-05-10 Thread ksharenkov at ya dot ru
--- Comment #4 from ksharenkov at ya dot ru 2006-05-10 15:58 --- I have tried to create simple test case (about 200 rows) where I tried to reproduce key code fragments. In simple test case leak not reproduced. But I have easy reproduced it with very small application based on main projec

[Bug middle-end/27529] Does not fold (char *)(size_t)char_ptr or (size_t)(char *)size_t_var

2006-05-10 Thread pinskia at gcc dot gnu dot org
--- Comment #1 from pinskia at gcc dot gnu dot org 2006-05-10 15:47 --- Confirmed. -- pinskia at gcc dot gnu dot org changed: What|Removed |Added CC|

[Bug target/14557] va_list is automatically taken address-of when passed as argument

2006-05-10 Thread pinskia at gcc dot gnu dot org
--- Comment #18 from pinskia at gcc dot gnu dot org 2006-05-10 15:46 --- *** Bug 27534 has been marked as a duplicate of this bug. *** -- pinskia at gcc dot gnu dot org changed: What|Removed |Added -

[Bug c/27534] Warning on passing pointer to va_list

2006-05-10 Thread pinskia at gcc dot gnu dot org
--- Comment #1 from pinskia at gcc dot gnu dot org 2006-05-10 15:46 --- It is an object type. An array is an object type. *** This bug has been marked as a duplicate of 14557 *** -- pinskia at gcc dot gnu dot org changed: What|Removed |Added

[Bug c/27534] New: Warning on passing pointer to va_list

2006-05-10 Thread gcc at flash-gordon dot me dot uk
Attempting to pass a pointer to a va_list variable to a function expecting such a pointer causes a warning about passing a pointer of incompatible type. [EMAIL PROTECTED] ~/work/ffdev $ gcc -v -save-temps -ansi -pedantic -Wall -W -O -c t.c Reading specs from /usr/lib/gcc/powerpc-unknown-linux-gnu

[Bug c++/27533] wrong result after reinterpret_cast from float* to int*

2006-05-10 Thread pluto at agmk dot net
--- Comment #5 from pluto at agmk dot net 2006-05-10 15:26 --- (In reply to comment #0) > The code > > inline int almost_equal(float a, float b, int maxUlps = 16) { > int intDiff = *(reinterpret_cast(&a)) - > *(reinterpret_cast(&b)); if you really need such castin

[Bug target/27531] [4.2 regression] sparc: undefined reference to .LL226 with -O2

2006-05-10 Thread pinskia at gcc dot gnu dot org
-- pinskia at gcc dot gnu dot org changed: What|Removed |Added Keywords||link-failure Target Milestone|--- |4.2.0

[Bug tree-optimization/27532] __builtin_object_size does not handle &a + b.

2006-05-10 Thread pinskia at gcc dot gnu dot org
--- Comment #3 from pinskia at gcc dot gnu dot org 2006-05-10 15:10 --- Just to explain why "&"a"[0] + 2B" is valid gimple: &"a"[0] is a gimple invariant and likewise for 2b. Therefor the two sides of the Plus expression are going to valid for it. Therefor valid gimple. -- http://g

[Bug middle-end/27528] compiling linux kernels 2.6.16.14/15 2.6.17-rc3 on powerpc (7450) get error on long exixting code

2006-05-10 Thread pinskia at gcc dot gnu dot org
--- Comment #7 from pinskia at gcc dot gnu dot org 2006-05-10 15:06 --- (In reply to comment #5) > To A Pinski > While I am _not_ a C lawyer, the following seems pertinent: Why do you think this is related to the C standard? > > 1 __FUNCTION__ is _not_ a predefined macro. However __fu

[Bug rtl-optimization/27477] The H8 port doesn't build

2006-05-10 Thread kazu at gcc dot gnu dot org
--- Comment #6 from kazu at gcc dot gnu dot org 2006-05-10 15:00 --- The combiner seems to be doing something strange: (insn 13 12 16 2 (set (reg:HI 21) (eq:HI (cc0) (const_int 0 [0x0]))) 237 {*bstzhireg} (nil) (nil)) (insn 16 13 17 2 (set (cc0) (reg:HI

[Bug c/21920] alias violating

2006-05-10 Thread reichelt at gcc dot gnu dot org
--- Comment #96 from reichelt at gcc dot gnu dot org 2006-05-10 14:59 --- *** Bug 27533 has been marked as a duplicate of this bug. *** -- reichelt at gcc dot gnu dot org changed: What|Removed |Added ---

[Bug c++/27533] wrong result after reinterpret_cast from float* to int*

2006-05-10 Thread reichelt at gcc dot gnu dot org
--- Comment #4 from reichelt at gcc dot gnu dot org 2006-05-10 14:59 --- As Pawel already pointed out: Your code is brokan as you are violating the aliasing rules. Please read about this in the non-bug section of http://gcc.gnu.org/bugs.html : "Casting does not work as expected when op

[Bug fortran/20460] Nasty extensions that should always warn

2006-05-10 Thread fxcoudert at gcc dot gnu dot org
--- Comment #9 from fxcoudert at gcc dot gnu dot org 2006-05-10 14:58 --- Subject: Bug 20460 Author: fxcoudert Date: Wed May 10 14:58:48 2006 New Revision: 113672 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=113672 Log: PR fortran/20460 * resolve.c (gfc_resolv

[Bug fortran/27229] char_transpose_1.f90 fails with ICE in gfc_conv_array_transpose

2006-05-10 Thread paul dot richard dot thomas at cea dot fr
--- Comment #3 from paul dot richard dot thomas at cea dot fr 2006-05-10 14:58 --- (In reply to comment #2) > Very odd; I do nightly builds of mainline on two different systems. On one of > them this failure stopped on 20060430 and on the other it stopped on 20060503, > but failed on 2

[Bug middle-end/27528] compiling linux kernels 2.6.16.14/15 2.6.17-rc3 on powerpc (7450) get error on long exixting code

2006-05-10 Thread dje at gcc dot gnu dot org
--- Comment #6 from dje at gcc dot gnu dot org 2006-05-10 14:56 --- The section anchors feature does not like "__FUNCTION__" or "__func__" as an inlined asm argument. Also, "some rs6000 work" is not very informative or useful. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27528

[Bug tree-optimization/27039] [4.1/4.2 Regression] Unable to determine # of iterations for a simple loop

2006-05-10 Thread rguenth at gcc dot gnu dot org
--- Comment #10 from rguenth at gcc dot gnu dot org 2006-05-10 14:56 --- I have a patch that needs PR27529 fixed first, that needs PR27532 fixed first. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27039

[Bug c++/27533] wrong result after reinterpret_cast from float* to int*

2006-05-10 Thread ulrich dot lauther at siemens dot com
--- Comment #3 from ulrich dot lauther at siemens dot com 2006-05-10 14:55 --- Created an attachment (id=11435) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=11435&action=view) same as before, but stdio.h expanded -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27533

[Bug c++/27533] wrong result after reinterpret_cast from float* to int*

2006-05-10 Thread ulrich dot lauther at siemens dot com
--- Comment #2 from ulrich dot lauther at siemens dot com 2006-05-10 14:53 --- Created an attachment (id=11434) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=11434&action=view) Complete tiny example exposing the problem I submit this version that includes stdio.h for readability,

[Bug c++/27533] wrong result after reinterpret_cast from float* to int*

2006-05-10 Thread pluto at agmk dot net
--- Comment #1 from pluto at agmk dot net 2006-05-10 14:51 --- you're violating the aliasing rules, so use -fno-strict-aliasing option. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27533

[Bug fortran/24549] ICE with invalid pseudo-declaration statement

2006-05-10 Thread fxcoudert at gcc dot gnu dot org
--- Comment #6 from fxcoudert at gcc dot gnu dot org 2006-05-10 14:51 --- Subject: Bug 24549 Author: fxcoudert Date: Wed May 10 14:51:26 2006 New Revision: 113671 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=113671 Log: PR fortran/24549 * parse.c (reject_state

[Bug tree-optimization/27532] __builtin_object_size does not handle &a + b.

2006-05-10 Thread rguenth at gcc dot gnu dot org
--- Comment #2 from rguenth at gcc dot gnu dot org 2006-05-10 14:48 --- Looks more like a typo in tree-object-size.c:plus_expr_object_size Index: tree-object-size.c === *** tree-object-size.c (revision 113669) --- tree-obj

[Bug c++/27533] New: wrong result after reinterpret_cast from float* to int*

2006-05-10 Thread ulrich dot lauther at siemens dot com
The code inline int almost_equal(float a, float b, int maxUlps = 16) { int intDiff = *(reinterpret_cast(&a)) - *(reinterpret_cast(&b)); printf("intDiff %d\n",intDiff); return intDiff; } gives different results when compiled with and without -O2 (yes, floats are involved,

[Bug middle-end/27528] compiling linux kernels 2.6.16.14/15 2.6.17-rc3 on powerpc (7450) get error on long exixting code

2006-05-10 Thread malitzke at metronets dot com
--- Comment #5 from malitzke at metronets dot com 2006-05-10 14:43 --- To A Pinski While I am _not_ a C lawyer, the following seems pertinent: 1 __FUNCTION__ is _not_ a predefined macro. However __func__ a predefined identifier and I will take this up with the kernel people. However, e

[Bug tree-optimization/27532] CCP produces non-gimple statements

2006-05-10 Thread rguenth at gcc dot gnu dot org
--- Comment #1 from rguenth at gcc dot gnu dot org 2006-05-10 14:37 --- CCP produces this tree since forever. -- rguenth at gcc dot gnu dot org changed: What|Removed |Added ---

[Bug fortran/24549] ICE with invalid pseudo-declaration statement

2006-05-10 Thread fxcoudert at gcc dot gnu dot org
--- Comment #5 from fxcoudert at gcc dot gnu dot org 2006-05-10 14:37 --- *** Bug 27487 has been marked as a duplicate of this bug. *** -- fxcoudert at gcc dot gnu dot org changed: What|Removed |Added --

[Bug fortran/27487] [4.1/4.2 regression] ICE after invalid variable declaration

2006-05-10 Thread fxcoudert at gcc dot gnu dot org
--- Comment #2 from fxcoudert at gcc dot gnu dot org 2006-05-10 14:37 --- This is a duplicate of PR24549 (it's fixed by the same one-line patch). *** This bug has been marked as a duplicate of 24549 *** -- fxcoudert at gcc dot gnu dot org changed: What|Removed

[Bug tree-optimization/27532] New: CCP produces non-gimple statements

2006-05-10 Thread rguenth at gcc dot gnu dot org
Reduced testcase from gcc.dg/builtin-object-size-1.c: void abort(void); int main (void) { void *b = L"abcd"; if (__builtin_object_size (b + 2, 0) != sizeof (L"abcd") - 2) abort (); return 0; } now, CCP propagates the "constant" &L"abcd"[0] to the addition stmt: b_1 = &"a"[0]; D.152

[Bug rtl-optimization/27477] The H8 port doesn't build

2006-05-10 Thread kazu at gcc dot gnu dot org
--- Comment #5 from kazu at gcc dot gnu dot org 2006-05-10 14:21 --- Reduced down to: extern void bar (int); int foo (int a, int b) { int c = a == b; if (c) bar (c); } -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27477

[Bug tree-optimization/27003] [4.0 Regression] ivcanon bug

2006-05-10 Thread rakdver at gcc dot gnu dot org
-- rakdver at gcc dot gnu dot org changed: What|Removed |Added AssignedTo|unassigned at gcc dot gnu |rakdver at gcc dot gnu dot |dot org

[Bug fortran/23375] show location for runtime errors

2006-05-10 Thread jjcogliati-r1 at yahoo dot com
--- Comment #3 from jjcogliati-r1 at yahoo dot com 2006-05-10 13:54 --- (In reply to comment #1) > Confirmed. Though sometimes I wonder if this is an over use of printf style > debugging. > Well, I have a fortran program. It ran fine for the first 10 and a half hours. Then it died

[Bug target/27531] [4.2 regression] sparc: undefined reference to .LL226 with -O2

2006-05-10 Thread tbm at cyrius dot com
--- Comment #3 from tbm at cyrius dot com 2006-05-10 13:52 --- Created an attachment (id=11433) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=11433&action=view) assembler with -O2 (fails) - .LL226 is not defined -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27531

[Bug target/25514] [m68k] internal consistency failure

2006-05-10 Thread patchapp at dberlin dot org
--- Comment #7 from patchapp at dberlin dot org 2006-05-10 13:52 --- Subject: Bug number PR25514 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-04/msg00958.html -- http://gcc.gnu.org/bugzilla/sh

[Bug target/27531] [4.2 regression] sparc: undefined reference to .LL226 with -O2

2006-05-10 Thread tbm at cyrius dot com
--- Comment #2 from tbm at cyrius dot com 2006-05-10 13:52 --- Created an attachment (id=11432) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=11432&action=view) assembler with -O1 (works) -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27531

[Bug target/27531] [4.2 regression] sparc: undefined reference to .LL226 with -O2

2006-05-10 Thread tbm at cyrius dot com
--- Comment #1 from tbm at cyrius dot com 2006-05-10 13:51 --- Created an attachment (id=11431) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=11431&action=view) preprocessed source -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27531

[Bug target/27531] New: [4.2 regression] sparc: undefined reference to .LL226 with -O2

2006-05-10 Thread tbm at cyrius dot com
I get a "undefined reference to `.LL226'" error when compiling RCS with -O2 on sparc using gcc 4.2. This problem goes away when I use -O2. The assembler output shows that .LL226 is referenced but not defined anywhere. I'll attach the .i file and the .s file with -O1 (works) and -O2 (fails). Unf

[Bug target/27521] internal compiler error: in rs6000_split_multireg_move, at config/rs6000/rs6000.c:10613

2006-05-10 Thread christophe dot gengembre at paris dot ensam dot fr
--- Comment #3 from christophe dot gengembre at paris dot ensam dot fr 2006-05-10 13:49 --- the bug is trigged in Subroutine RecupValLuesDsCmdLC. A .f source file with only Subroutine RecupValLuesDsCmdLC code trigger the error. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27521

[Bug fortran/17741] ICE in gfc_free_namespace, at fortran/symbol.c:2208

2006-05-10 Thread paul dot richard dot thomas at cea dot fr
--- Comment #3 from paul dot richard dot thomas at cea dot fr 2006-05-10 12:59 --- I think that it is not correct to emit an ICE on this one. The patch below emits an error and bails out. I will submit in the next 24hours. Paul Index: gcc/fortran/symbol.c ===

[Bug libstdc++/27530] Possible memory leak in std::vector::reserve() or std::vector::clear()

2006-05-10 Thread ksharenkov at ya dot ru
--- Comment #3 from ksharenkov at ya dot ru 2006-05-10 12:48 --- Ok, i will try to create a short program -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27530

[Bug tree-optimization/26435] [4.1/4.2 regression] ICE with -O1 -ftree-loop-linear and higher optimization

2006-05-10 Thread sebastian dot pop at cri dot ensmp dot fr
--- Comment #5 from sebastian dot pop at cri dot ensmp dot fr 2006-05-10 12:32 --- Created an attachment (id=11430) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=11430&action=view) first shot at fixing this didn't tested the patch, other than with RUNTESTFLAGS="tree-ssa.exp" and

[Bug tree-optimization/27332] [4.2 Regression] ICE in try_interchange_loops with -ftree-loop-linear

2006-05-10 Thread sebastian dot pop at cri dot ensmp dot fr
--- Comment #3 from sebastian dot pop at cri dot ensmp dot fr 2006-05-10 12:26 --- Created an attachment (id=11429) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=11429&action=view) fix proposed fix. I didn't tested it other than making sure it fixed the bug. -- http://gcc.g

[Bug libstdc++/27530] Possible memory leak in std::vector::reserve() or std::vector::clear()

2006-05-10 Thread pcarlini at suse dot de
--- Comment #2 from pcarlini at suse dot de 2006-05-10 12:10 --- Chris is right. Certainly we are not aware of any problem in that code, in particular the 3.4.5 version, very close to the original HP/SGI code and very well tested from that point of view (at least). Please provide a self-

[Bug fortran/27524] -fbounds-check interracts *strangely* with an array of size 1

2006-05-10 Thread P dot Schaffnit at access dot rwth-aachen dot de
--- Comment #1 from P dot Schaffnit at access dot rwth-aachen dot de 2006-05-10 11:34 --- Sorry, I missed it before, but this could definitly be a dupplicate of 19777. Philippe -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27524

[Bug libstdc++/27530] Polible memory leak in std::vector::reserve() or std::vector::clear()

2006-05-10 Thread chris at bubblescope dot net
--- Comment #1 from chris at bubblescope dot net 2006-05-10 11:31 --- Can you provide a complete program which demonstrates this link? I've tried looking at the code in question myself, and cannot observe a memory leak myself. -- chris at bubblescope dot net changed: What

[Bug libstdc++/27530] New: Polible memory leak in std::vector::reserve() or std::vector::clear()

2006-05-10 Thread ksharenkov at ya dot ru
Hello. We have Client/server socket application (multiple clients and servers). Servers are multiplatform can be compiled for Windows (MSVC) and for Linux (GCC). Recently we detected memory leak in one of kinde of our servers. At the start it uses only 15m (that is normally). Then it slowly grows

[Bug middle-end/27302] Fold does not fold (i < j) == (j > i) to 1

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

[Bug middle-end/27302] Fold does not fold (i < j) == (j > i) to 1

2006-05-10 Thread rguenth at gcc dot gnu dot org
--- Comment #3 from rguenth at gcc dot gnu dot org 2006-05-10 10:22 --- Subject: Bug 27302 Author: rguenth Date: Wed May 10 10:22:39 2006 New Revision: 113670 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=113670 Log: 2006-05-10 Richard Guenther <[EMAIL PROTECTED]> PR

[Bug target/27521] internal compiler error: in rs6000_split_multireg_move, at config/rs6000/rs6000.c:10613

2006-05-10 Thread christophe dot gengembre at paris dot ensam dot fr
--- Comment #2 from christophe dot gengembre at paris dot ensam dot fr 2006-05-10 08:28 --- Created an attachment (id=11427) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=11427&action=view) source that triggered the error -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27521

  1   2   >