[Bug c++/22597] pure attribute produces incorrect results

2005-07-21 Thread eda-qa at disemia dot com
--- Additional Comments From eda-qa at disemia dot com 2005-07-21 19:55 --- Created an attachment (id=9325) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=9325&action=view) demostration of the error -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=22597

[Bug target/22576] [4.0/4.1 regression] ICE with simple factorial program compiled with -ffast-math on gcc 4.0.2

2005-07-21 Thread cvs-commit at gcc dot gnu dot org
--- Additional Comments From cvs-commit at gcc dot gnu dot org 2005-07-21 19:56 --- Subject: Bug 22576 CVSROOT:/cvs/gcc Module name:gcc Branch: gcc-4_0-branch Changes by: [EMAIL PROTECTED] 2005-07-21 19:56:30 Modified files: gcc: Change

[Bug tree-optimization/22598] New: 23_containers/set/explicit_instantiation/3.cc fails

2005-07-21 Thread jsm28 at gcc dot gnu dot org
FAIL: 23_containers/set/explicit_instantiation/3.cc (test for excess errors) is still present on mainline on i686-pc-linux-gnu on 20050721 (07:00 UTC). This was related to bugs 22444, 22416, 22483 which have been closed (1.cc and 2.cc do indeed now pass). /scratch/gcc/nightly-2005-07-21

[Bug target/21149] invalid code generation for _mm_movehl_ps SSE intrisinc

2005-07-21 Thread cvs-commit at gcc dot gnu dot org
--- Additional Comments From cvs-commit at gcc dot gnu dot org 2005-07-21 19:58 --- Subject: Bug 21149 CVSROOT:/cvs/gcc Module name:gcc Branch: gcc-4_0-branch Changes by: [EMAIL PROTECTED] 2005-07-21 19:58:31 Modified files: gcc: Change

[Bug target/21149] invalid code generation for _mm_movehl_ps SSE intrisinc

2005-07-21 Thread cvs-commit at gcc dot gnu dot org
--- Additional Comments From cvs-commit at gcc dot gnu dot org 2005-07-21 19:59 --- Subject: Bug 21149 CVSROOT:/cvs/gcc Module name:gcc Changes by: [EMAIL PROTECTED] 2005-07-21 19:59:09 Modified files: gcc: ChangeLog gcc/config/i386: s

[Bug tree-optimization/22598] [4.1 Regression] 23_containers/set/explicit_instantiation/3.cc fails

2005-07-21 Thread pinskia at gcc dot gnu dot org
-- What|Removed |Added Keywords||ice-on-valid-code Summary|23_containers/set/explicit_i|[4.1 Regression] |nstantia

[Bug c/22599] New: Segfault with invalid asm usage

2005-07-21 Thread schodet at efrei dot fr
I triggered a segfault on a i386 target with a piece of code intented to be compiled for avr target. I get a more descriptive message by modifiying the code a little bit. Here is the source, messages and versions : typedef unsigned long uint32_t; typedef unsigned char uint8_t; int main (void) {

[Bug c++/22597] [4.1 Regression] pure attribute produces incorrect results

2005-07-21 Thread pinskia at gcc dot gnu dot org
--- Additional Comments From pinskia at gcc dot gnu dot org 2005-07-21 20:14 --- Confirmed, reduced testcase: extern "C" void abort(void); int t = 0; struct point { point( const point& o ) {} explicit point(){} point __attribute__((pure)) operator/(const double m

[Bug target/22599] Segfault with invalid asm usage

2005-07-21 Thread pinskia at gcc dot gnu dot org
-- What|Removed |Added Component|c |target Keywords||ice-on-invalid-code http://gcc.gnu.org/bugzilla/show_b

[Bug c++/2922] [DR 197] two-stage lookup for unqualified function calls with type-dependent arguments

2005-07-21 Thread sebor at roguewave dot com
--- Additional Comments From sebor at roguewave dot com 2005-07-21 20:33 --- (In reply to comment #13) ... > * g++.dg/lookup/two-stage2.C: New. FWIW, the following comment in this patch is wrong: + g(2);// f(char) followed by f(int) ^^

[Bug target/22576] [4.0/4.1 regression] ICE with simple factorial program compiled with -ffast-math on gcc 4.0.2

2005-07-21 Thread pinskia at gcc dot gnu dot org
--- Additional Comments From pinskia at gcc dot gnu dot org 2005-07-21 20:33 --- Fixed. -- What|Removed |Added Status|NEW |RESOLVED

[Bug target/21149] invalid code generation for _mm_movehl_ps SSE intrisinc

2005-07-21 Thread pinskia at gcc dot gnu dot org
--- Additional Comments From pinskia at gcc dot gnu dot org 2005-07-21 20:33 --- Fixed. -- What|Removed |Added Status|NEW |RESOLVED

[Bug target/22599] ICE with invalid asm usage

2005-07-21 Thread pinskia at gcc dot gnu dot org
--- Additional Comments From pinskia at gcc dot gnu dot org 2005-07-21 20:38 --- Confirmed, only the second example fails from 4.0.0 upwards. -- What|Removed |Added

[Bug inline-asm/20718] "+r" constraint with uninitialized value

2005-07-21 Thread pbrook at gcc dot gnu dot org
--- Additional Comments From pbrook at gcc dot gnu dot org 2005-07-21 21:06 --- gcc4 behaviour seems fine to me. A slightly simpler example int foo(int a) { int b; asm ("" : "+r" (b) : "r" (a)); return b; } Can be (and is) legitimately be transformed into

[Bug target/20191] [3.4 Regression] ICE in reload_cse_simplify_operands, on powerpc linux

2005-07-21 Thread cvs-commit at gcc dot gnu dot org
: ChangeLog gcc/config/rs6000: rs6000.md gcc/testsuite : ChangeLog Added files: gcc/testsuite/gcc.c-torture/compile: 20050721-1.c Log message: PR target/20191 Backport from mainline: 2004-04-23 Dale Johannesen <[EMAIL PROTEC

[Bug driver/22600] New: Exit code should be different from 1 for internal compiler error

2005-07-21 Thread flash at pobox dot com
Steps: 93> /opt/gcc401chk/bin/g++ -pass-exit-codes ../cpp/bugfiles/error/EckelRob_104822.ii … ../jammed/Barney/eckel.cpp:2039: internal compiler error: Segmentation fault Please submit a full bug report, with preprocessed source if appropriate. See http://gcc.gnu.org/bugs.html> for inst

[Bug driver/22600] Exit code should be different from 1 for internal compiler error

2005-07-21 Thread pinskia at gcc dot gnu dot org
--- Additional Comments From pinskia at gcc dot gnu dot org 2005-07-21 22:12 --- I don't see why it should be different than 1. It would only be helpful when you have automated builds but even then you need to look at the errors. and for recursive crash testing you need to look for a

[Bug driver/22600] Exit code should be different from 1 for internal compiler error

2005-07-21 Thread pinskia at gcc dot gnu dot org
--- Additional Comments From pinskia at gcc dot gnu dot org 2005-07-21 22:14 --- One more thing usually ICEs have better error messages than just Segmentation fault. some give the line number in GCC's source where it occurred. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=22600

[Bug target/20191] [3.4 Regression] ICE in reload_cse_simplify_operands, on powerpc linux

2005-07-21 Thread janis at gcc dot gnu dot org
--- Additional Comments From janis at gcc dot gnu dot org 2005-07-21 22:25 --- Fixed on the 3.4 branch. -- What|Removed |Added Status|ASSIGNED

[Bug c++/22575] immutable object placed in .bss section.

2005-07-21 Thread bangerth at dealii dot org
--- Additional Comments From bangerth at dealii dot org 2005-07-21 23:00 --- No, icc puts it into bss and runs code to initialize it with 7: .bss .align 4 .globl _ZN3obj5sevenE _ZN3obj5sevenE: .type _ZN3obj5sevenE,@object .size _ZN3obj5

[Bug c++/22590] parser does not recover well after error

2005-07-21 Thread bangerth at dealii dot org
--- Additional Comments From bangerth at dealii dot org 2005-07-21 23:11 --- With Andrew's little testcase, I get g/x> cat > x.cc include "core.hh" typedef unsigned int size_t; namespace std { using ::size_t; } g/x> /home/bangerth/bin/gcc-4.1-pre/bin/c++ -c x.cc x.cc:1: er

[Bug c++/22596] Impossible to explicitly instantiate particular overloaded function

2005-07-21 Thread bangerth at dealii dot org
--- Additional Comments From bangerth at dealii dot org 2005-07-21 23:17 --- Your explicit instantiation template int foo< A_class >(A_class a); obviously matches both the declarations of foo. I'm unsure which one the compiler should choose, but if you want to instantiate the secon

[Bug target/22577] [4.1 Regression] PA bootstrap fails

2005-07-21 Thread danglin at gcc dot gnu dot org
--- Additional Comments From danglin at gcc dot gnu dot org 2005-07-21 23:19 --- I won't have time to test until early next week. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=22577

[Bug debug/21828] [4.0/4.1 Regression] debug info omitted for uninitialized variables

2005-07-21 Thread mmitchel at gcc dot gnu dot org
--- Additional Comments From mmitchel at gcc dot gnu dot org 2005-07-21 23:26 --- Jakub -- Thank you for finding the patch that fixed this problem. Richard's patch changed things to mark the problematic variable as DECL_IGNORED_P earlier, so my patch is no longer necessary. As for J

[Bug c++/22596] Impossible to explicitly instantiate particular overloaded function

2005-07-21 Thread phenning at lanl dot gov
--- Additional Comments From phenning at lanl dot gov 2005-07-21 23:26 --- (In reply to comment #5) > Your explicit instantiation > template int foo< A_class >(A_class a); > obviously matches both the declarations of foo. I'm unsure which > one the compiler should choose, but if you

[Bug ada/22601] New: GNAT Command lists many commands as available that are not

2005-07-21 Thread jeff at thecreems dot com
Typing the command "gnat" results in the following output (note this is Centos 4.1 but I am pretty sure this is not target specific) : GNAT 3.4.3 20050227 (Red Hat 3.4.3-22.1) Copyright 1996-2004 Free Software Found ation, Inc. List of available commands GNAT BIND gnatbind GNAT CH

[Bug c++/22591] std::swap() followed by list::erase() produces incorrect list::begin()

2005-07-21 Thread pcarlini at suse dot de
--- Additional Comments From pcarlini at suse dot de 2005-07-21 23:34 --- > The test case passes for me on powerpc-linux with GCC 3.4.x and fails with > everything later. Mainline doesn't fail for me on x86-linux, but I have it configured with a different allocator (new).

[Bug c++/22596] Impossible to explicitly instantiate particular overloaded function

2005-07-21 Thread bangerth at dealii dot org
--- Additional Comments From bangerth at dealii dot org 2005-07-22 00:18 --- Oh, I apparently didn't read closely enough. I see the problem now. For others -- take this: - template void f(T) {} template void f(T) {} template void f (int); -

[Bug tree-optimization/22504] [4.1 Regression] benchmark - galgel fails at runtime with miscompare output

2005-07-21 Thread cvs-commit at gcc dot gnu dot org
--- Additional Comments From cvs-commit at gcc dot gnu dot org 2005-07-22 00:33 --- Subject: Bug 22504 CVSROOT:/cvs/gcc Module name:gcc Changes by: [EMAIL PROTECTED] 2005-07-22 00:33:48 Modified files: gcc: ChangeLog tree-complex.c Log messag

[Bug c++/22602] New: I can't enter a bug here

2005-07-21 Thread jacob dot navia at ants dot com
Because there is a size limitation to 64K in this software. I prepared a single file with no includes that faithfully reproduced the bug: bug0.cpp: In member function 'double AtomicDouble::CompareExchange(double, double) volatile': bug0.cpp:4999: internal compiler error: in create_tmp_var, at gimp

Re: [Bug c++/22602] New: I can't enter a bug here

2005-07-21 Thread Daniel Berlin
On Fri, 2005-07-22 at 00:57 +, jacob dot navia at ants dot com wrote: > Because there is a size limitation to 64K in this software. > I prepared a single file with no includes that faithfully reproduced the bug: > bug0.cpp: In member function 'double AtomicDouble::CompareExchange(double, > dou

[Bug c++/22602] I can't enter a bug here

2005-07-21 Thread dberlin at dberlin dot org
--- Additional Comments From dberlin at gcc dot gnu dot org 2005-07-22 00:59 --- Subject: Re: New: I can't enter a bug here On Fri, 2005-07-22 at 00:57 +, jacob dot navia at ants dot com wrote: > Because there is a size limitation to 64K in this software. > I prepared a single file

[Bug c++/22602] I can't enter a bug here

2005-07-21 Thread pinskia at gcc dot gnu dot org
--- Additional Comments From pinskia at gcc dot gnu dot org 2005-07-22 01:01 --- Are you filing via the web? If so attach the preprocessed source after you submitted the bug. The reason for the limit is so we don't get the preprocessed source inlined and have to copy and paste. I see yo

[Bug c++/22591] std::swap() followed by list::erase() produces incorrect list::begin()

2005-07-21 Thread pcarlini at suse dot de
--- Additional Comments From pcarlini at suse dot de 2005-07-22 01:24 --- For the moment, I give up: in my opinion, a miscompilation is still the most likely possibility. Meaningless behaviors are taking place: for instance, the testcase passes if I exchange the arguments of swap to (my_

[Bug c++/22590] parser does not recover well after error

2005-07-21 Thread igodard at pacbell dot net
--- Additional Comments From igodard at pacbell dot net 2005-07-22 01:25 --- Then Andrew's test case is not showing the problem. In the original, although the message is the same as Andrew's, the line/file reference is deep inside a system include that contains the first program text aft

[Bug c++/22603] New: internal compiler error: in pop_binding, at cp/name-lookup.c:380

2005-07-21 Thread flash at pobox dot com
The invalid code below results in "internal compiler error: in pop_binding, at cp/name-lookup.c:380" with a checking version of GCC 4.0.1. Does not happen with GCC 3.3.4. class NameOne : public static_small_value { inline NameOne(T v) { } { }; template class NameTwo : private NameThree {

[Bug c++/22603] internal compiler error: in pop_binding, at cp/name-lookup.c:380

2005-07-21 Thread flash at pobox dot com
--- Additional Comments From flash at pobox dot com 2005-07-22 02:32 --- Created an attachment (id=9326) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=9326&action=view) 104911_HtmlView_min.ii -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=22603

[Bug c++/22603] internal compiler error: in pop_binding, at cp/name-lookup.c:380

2005-07-21 Thread flash at pobox dot com
--- Additional Comments From flash at pobox dot com 2005-07-22 02:35 --- This sounds like bugs 9777 and 5402, but those were supposedly fixed. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=22603

[Bug c++/22603] [4.0 Regression] internal compiler error: in pop_binding, at cp/name-lookup.c:380

2005-07-21 Thread pinskia at gcc dot gnu dot org
--- Additional Comments From pinskia at gcc dot gnu dot org 2005-07-22 02:43 --- Confirmed, only a 4.0 regression. We do not get an ICE on the mainline. -- What|Removed |Added --

[Bug c++/22590] parser does not recover well after error

2005-07-21 Thread bangerth at dealii dot org
--- Additional Comments From bangerth at dealii dot org 2005-07-22 03:16 --- I believe you, though I can't reproduce with a simple set of include files. Can you try to reduce your program to something more reasonable that still shows the same problem? W. -- http://gcc.gnu.org/b

[Bug c++/22604] New: "internal compiler error: Segmentation fault" with invalid nested classes

2005-07-21 Thread flash at pobox dot com
The invalid code below results in "internal compiler error: Segmentation fault" with a checking version of GCC 4.0.1. Does not happen with GCC 3.3.4 or Apple GCC 4.0.0. Like the code for bug 22603, this is a greatly-reduced and anonymized excerpt, found by Daniel Wilkerson's Delta, from a real

[Bug c++/22604] "internal compiler error: Segmentation fault" with invalid nested classes

2005-07-21 Thread flash at pobox dot com
--- Additional Comments From flash at pobox dot com 2005-07-22 03:38 --- Created an attachment (id=9327) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=9327&action=view) BBinder_segfault.ii -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=22604

[Bug c++/22604] [4.0/4.1 Regression] "internal compiler error" after invalid covariant return

2005-07-21 Thread pinskia at gcc dot gnu dot org
--- Additional Comments From pinskia at gcc dot gnu dot org 2005-07-22 03:53 --- Confirmed. Here is the backtrace: #0 0x080b94b6 in dfs_modify_vtables (binfo=0xb7d11840, data=0xb7cbe398) at /home/peshtigo/ pinskia/src/gnu/gcc/src/gcc/cp/class.c:2032 #1 0x08122b40 in dfs_walk_all (binf

[Bug target/22599] ICE with invalid asm usage

2005-07-21 Thread gnu at the-meissners dot org
--- Additional Comments From gnu at the-meissners dot org 2005-07-22 03:54 --- I forgot to mention, the patch was against the mainline, sources current as of July 20th. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=22599

[Bug c++/22604] [4.0/4.1 Regression] "internal compiler error" after invalid covariant return

2005-07-21 Thread pinskia at gcc dot gnu dot org
--- Additional Comments From pinskia at gcc dot gnu dot org 2005-07-22 03:58 --- I should mention this started to happen after 20041124 but before 20050225. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=22604

[Bug c++/22603] [4.0 Regression] internal compiler error: in pop_binding, at cp/name-lookup.c:380

2005-07-21 Thread pinskia at gcc dot gnu dot org
--- Additional Comments From pinskia at gcc dot gnu dot org 2005-07-22 04:00 --- I should mention this was started after 20050225 which was when the branch happened. And here is the backtrace: #0 fancy_abort (file=0x1197880 "../../gcc/cp/name-lookup.c", line=380, function=0x1197904 "

[Bug bootstrap/20737] Build fails in target-libiberty

2005-07-21 Thread pinskia at gcc dot gnu dot org
--- Additional Comments From pinskia at gcc dot gnu dot org 2005-07-22 04:03 --- No feedback in 3 months. -- What|Removed |Added Status|WAITING

[Bug c/22605] New: Allocation of structures across stack slots

2005-07-21 Thread ianw at gelato dot unsw dot edu dot au
Hi, gcc 4 seems quite a bit smarter at keeping the stack smaller, and as you can see below allocates the 8 byte structure across two stack slots. It did break something, which drew this to my attention, and James Wilson already some analsysis in http://www.gelato.unsw.edu.au/archives/linux-ia64/0

[Bug middle-end/22284] [4.1 Regression] ia64 exception handling broken

2005-07-21 Thread hjl at lucon dot org
--- Additional Comments From hjl at lucon dot org 2005-07-22 05:45 --- I have identified that http://gcc.gnu.org/ml/gcc-patches/2005-06/msg01149.html is the cause. -- What|Removed |Added ---

[Bug target/22585] [4.0 only] ICE in redirect_branch_edge

2005-07-21 Thread uros at kss-loka dot si
--- Additional Comments From uros at kss-loka dot si 2005-07-22 05:46 --- I was trying to trigger the "unrecognizable insn" bug with gcc-4.1, because this bug should be fixed by the patch in PR22576. I have tested: gcc -O2 -mno-ieee-fp fractal.c gcc -O2 -ffast-math fractal.c gcc -O2 fr

[Bug c++/22590] parser does not recover well after error

2005-07-21 Thread igodard at pacbell dot net
--- Additional Comments From igodard at pacbell dot net 2005-07-22 05:50 --- # 1 "opClock.cc" # 1 "/home/ivan/ootbc/members/src//" # 1 "" # 1 "" # 1 "opClock.cc" include "core.hh" # 1 "../../members/include/opClock.hh" 1 # 1 "/mnt/export/local/bin/../lib/gcc/i686-pc-linux-gnu/3.4.0/../..

[Bug middle-end/22284] [4.1 Regression] ia64 exception handling broken

2005-07-21 Thread hjl at lucon dot org
--- Additional Comments From hjl at lucon dot org 2005-07-22 05:51 --- It looks like the unwind info in libstdc++.so is bad. (gdb) r Starting program: /export/build/gnu/gcc-next/build-ia64-linux/gcc/testsuite/cond1.exe Program received signal SIGSEGV, Segmentation fault. 0x201b9

[Bug debug/21828] [4.0/4.1 Regression] debug info omitted for uninitialized variables

2005-07-21 Thread mark at codesourcery dot com
--- Additional Comments From mark at codesourcery dot com 2005-07-22 06:25 --- Subject: Re: [4.0/4.1 Regression] debug info omitted for uninitialized variables mmitchel at gcc dot gnu dot org wrote: > I will try a test run with my patch reverted; if that passes, and still fixes > the

[Bug debug/21828] [4.0/4.1 Regression] debug info omitted for uninitialized variables

2005-07-21 Thread mark at codesourcery dot com
--- Additional Comments From mark at codesourcery dot com 2005-07-22 06:52 --- Subject: Re: [4.0/4.1 Regression] debug info omitted for uninitialized variables mark at codesourcery dot com wrote: > Unfortunately, it failed -- gcc.dg/pch/global-1.c fails at -O3. > > I have not yet fi

<    1   2