[Bug c++/20547] undefined reference to "static const" fields of classes

2005-03-19 Thread Hu dot YuehWei at gmail dot com
--- Additional Comments From Hu dot YuehWei at gmail dot com 2005-03-20 07:59 --- so the "... = 3;" initialization statement below is a definition or a declaration? According to the C++ standard, its a definition. Should the compiler allocate a memory space for it? struct T { static

[Bug middle-end/19454] [4.0 Regression] bad code generated with gcc.c-torture/execute/bf64-1.c at -O1

2005-03-19 Thread jsm28 at gcc dot gnu dot org
--- Additional Comments From jsm28 at gcc dot gnu dot org 2005-03-20 02:53 --- These test failures are fixed on mainline by: 2005-03-01 Paolo Bonzini <[EMAIL PROTECTED]> * combine.c (gen_binary): Remove. (known_cond, simplify_shift_const, find_split_point,

[Bug target/20051] ICE when compiling SSE intrinics

2005-03-19 Thread commie1 at gmx dot net
--- Additional Comments From commie1 at gmx dot net 2005-03-20 02:08 --- Testacse reduces to: == void SSEFunc(float* pDataIn) { float __attribute__ ((__mode__(__V4SF__))) accum; accum = __builtin_ia32_xorps(accum,accum); __builtin_ia32_storeaps(pDataIn, ac

[Bug c++/20563] [3.4/4.0/4.1 Regression] Infinite loop in diagnostic (and ice after error message)

2005-03-19 Thread pinskia at gcc dot gnu dot org
--- Additional Comments From pinskia at gcc dot gnu dot org 2005-03-20 02:00 --- With checking enabled we get an ICE: t.cc: In function `int foo(int)': t.cc:5: error: expected identifier before '*' token t.cc:5: internal compiler error: tree check: expected identifier_node, have error_m

[Bug c++/20563] New: Infinite loop in diagnostic

2005-03-19 Thread giovannibajo at libero dot it
The following program: int foo(int dest) { int x = 0; __label__ l1, l2, l3; __label__ *lb[] = { &&l1, &&l2, &&l3 }; goto **lb[dest]; l1: x += 1; l2: x += 1; l3: x += 1; return x; } produce an infinite loop

[Bug ada/19526] Windows errorcodes wrong in Ada when tasking

2005-03-19 Thread dannysmith at users dot sourceforge dot net
--- Additional Comments From dannysmith at users dot sourceforge dot net 2005-03-20 01:26 --- Oops, I had split up the patch into a non-critical (as far as this bug report is concerned) part and a critical part, but messed up when I pasted into bug report. Following is the part for Self

[Bug target/20561] Error compiling jdtcore.jar on powerpc

2005-03-19 Thread kahing at gmail dot com
--- Additional Comments From kahing at gmail dot com 2005-03-20 01:16 --- That works. Thanks. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20561

[Bug tree-optimization/14627] [4.0/4.1 regression] extra assignment inserted on the tree level

2005-03-19 Thread steven at gcc dot gnu dot org
--- Additional Comments From steven at gcc dot gnu dot org 2005-03-20 00:58 --- int b; void foo (int a) { if (a) a = 3; b = a; } GCC 3.3.5 (hammer-branch) on AMD64 -O2: foo: .LFB3: testl %edi, %edi movl$3, %eax

[Bug target/20561] Error compiling jdtcore.jar on powerpc

2005-03-19 Thread pinskia at physics dot uc dot edu
--- Additional Comments From pinskia at physics dot uc dot edu 2005-03-20 00:46 --- Subject: Re: Error compiling jdtcore.jar on powerpc I had meant -mlongcall. -- Pinski -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20561

Re: [Bug target/20561] Error compiling jdtcore.jar on powerpc

2005-03-19 Thread Andrew Pinski
I had meant -mlongcall. -- Pinski

[Bug target/20561] Error compiling jdtcore.jar on powerpc

2005-03-19 Thread kahing at gmail dot com
--- Additional Comments From kahing at gmail dot com 2005-03-20 00:43 --- $ gcj-4.0 -mlong-branch -shared -findirect-dispatch -fjni -fPIC -o ./plugins/org.eclipse.jdt.core_3.0.1/jdtcore.jar.so ./plugins/org.eclipse.jdt.core_3.0.1/jdtcore.jar jc1: error: invalid option ‘long-branch’ $ gc

[Bug libstdc++/20559] cannot link program which uses std::(vector. deque) in SuSE AMDx86_64

2005-03-19 Thread dkouroun at cc dot uoi dot gr
--- Additional Comments From dkouroun at cc dot uoi dot gr 2005-03-20 00:38 --- Subject: Re: cannot link program which uses std::(vector. deque) in SuSE AMDx86_64 I did everything you said. I installed gcc once again! and I also removed gcc-3.4.3 from the .bashrc(PATH, LD_LIBRARY_PATH

[Bug libstdc++/20559] cannot link program which uses std::(vector. deque) in SuSE AMDx86_64

2005-03-19 Thread dkouroun at cc dot uoi dot gr
--- Additional Comments From dkouroun at cc dot uoi dot gr 2005-03-19 23:47 --- Subject: Re: cannot link program which uses std::(vector. deque) in SuSE AMDx86_64 Quoting pcarlini at suse dot de <[EMAIL PROTECTED]>: > > --- Additional Comments From pcarlini at suse dot de 2005-

[Bug c/20562] no unused warning for static arrays

2005-03-19 Thread mueller at kde dot org
--- Additional Comments From mueller at kde dot org 2005-03-19 23:32 --- whoops, wrong frontend. -- What|Removed |Added Status|RESOLVED|UNCO

[Bug c++/20562] no unused warning for static arrays

2005-03-19 Thread pinskia at gcc dot gnu dot org
--- Additional Comments From pinskia at gcc dot gnu dot org 2005-03-19 23:19 --- (In reply to comment #1) > (In reply to comment #0) > > There should be a "defined but not used" warning. > > Why, this is a constant array so it is removed right? Never mind, but I can tell you this wa

[Bug libstdc++/20559] cannot link program which uses std::(vector. deque) in SuSE AMDx86_64

2005-03-19 Thread pcarlini at suse dot de
--- Additional Comments From pcarlini at suse dot de 2005-03-19 23:17 --- > Do you really think is an installation problem? Definitely. Those bash lines must *not* go inside .bashrc! Otherwise, are in effect also when you use your system compiler and the wrong (3.4.3) library is wronlgy

[Bug c++/20562] no unused warning for static arrays

2005-03-19 Thread pinskia at gcc dot gnu dot org
--- Additional Comments From pinskia at gcc dot gnu dot org 2005-03-19 23:16 --- (In reply to comment #0) > There should be a "defined but not used" warning. Why, this is a constant array so it is removed right? -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20562

[Bug c++/20562] New: no unused warning for static arrays

2005-03-19 Thread mueller at kde dot org
given this code: === Cut === static const char * const tcvnlocales[] = { "vi", 0 }; === Cut === There should be a "defined but not used" warning. -- Summary: no unused warning for static arrays Product: gcc Version: 4.0.0 Status: UNCONFIR

[Bug libstdc++/20559] cannot link program which uses std::(vector. deque) in SuSE AMDx86_64

2005-03-19 Thread dkouroun at cc dot uoi dot gr
--- Additional Comments From dkouroun at cc dot uoi dot gr 2005-03-19 23:07 --- Subject: Re: cannot link program which uses std::(vector. deque) in SuSE AMDx86_64 Quoting pcarlini at suse dot de <[EMAIL PROTECTED]>: > > --- Additional Comments From pcarlini at suse dot de 2005-

[Bug libstdc++/20559] cannot link program which uses std::(vector. deque) in SuSE AMDx86_64

2005-03-19 Thread pcarlini at suse dot de
--- Additional Comments From pcarlini at suse dot de 2005-03-19 22:45 --- ...and also, at minimum, for the example: 'LD_LIBRARY_PATH="/usr/local/gcc34/lib:$LD_LIBRARY_PATH"; export LD_LIBRARY_PATH' Unfortunately, I think you had better removing completely the current gcc3.4.3 installat

[Bug target/20561] Error compiling jdtcore.jar on powerpc

2005-03-19 Thread pinskia at gcc dot gnu dot org
--- Additional Comments From pinskia at gcc dot gnu dot org 2005-03-19 22:44 --- try compiling with -mlong-branch. -- What|Removed |Added Component|java

[Bug java/20561] New: Error compiling jdtcore.jar on powerpc

2005-03-19 Thread kahing at gmail dot com
I followed the instruction on http://developer.classpath.org/mediation/ClasspathShowcase to compile eclipse. Here's the error: Compiling ./plugins/org.eclipse.jdt.core_3.0.1/jdtcore.jar to native /tmp/cccNhHCN.s: Assembler messages: /tmp/cccNhHCN.s:1952484: Error: operand out of range (fff

[Bug ada/20548] [4.1 Regression] ACATS c52103x segfault at runtime on x86_64

2005-03-19 Thread laurent at guerby dot net
--- Additional Comments From laurent at guerby dot net 2005-03-19 22:38 --- The bug is 4.1 only, it works on 4.0, consistent with front end problem. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20548

[Bug libstdc++/20559] cannot link program which uses std::(vector. deque) in SuSE AMDx86_64

2005-03-19 Thread pcarlini at suse dot de
--- Additional Comments From pcarlini at suse dot de 2005-03-19 22:38 --- > Yes I have also installed gcc-3.4.3! > GCC-3.4.3 has no problem at all compiling that program! > What can I do? Ok, therefore this is only an installation problem, not a bug anywhere (I'm going to close your rep

Re: verify_stmts failed.

2005-03-19 Thread Andrew Pinski
On Mar 19, 2005, at 5:27 PM, Demo Account wrote: Hi, my gcc isn't working. [EMAIL PROTECTED]:/mnt/lfs/sources$ gcc -v Using built-in specs. Target: i686-pc-linux-gnu Configured with: ../gcc-4.1-20050313/configure --prefix=/tools --libexecdir=/tools/lib --with-local-prefix=/tools --enable-clocale=gn

verify_stmts failed.

2005-03-19 Thread Demo Account
Hi, my gcc isn't working. [EMAIL PROTECTED]:/mnt/lfs/sources$ gcc -v Using built-in specs. Target: i686-pc-linux-gnu Configured with: ../gcc-4.1-20050313/configure --prefix=/tools --libexecdir=/tools/lib --with-local-prefix=/tools --enable-clocale=gnu --enable-shared --enable-threads=posix --enabl

[Bug libstdc++/20559] cannot link program which uses std::(vector. deque) in SuSE AMDx86_64

2005-03-19 Thread dkouroun at cc dot uoi dot gr
--- Additional Comments From dkouroun at cc dot uoi dot gr 2005-03-19 22:07 --- Subject: Re: cannot link program which uses std::(vector. deque) in SuSE AMDx86_64 Quoting pcarlini at suse dot de <[EMAIL PROTECTED]>: > > --- Additional Comments From pcarlini at suse dot de 2005-

[Bug libstdc++/20559] cannot link program which uses std::(vector. deque) in SuSE AMDx86_64

2005-03-19 Thread dkouroun at cc dot uoi dot gr
--- Additional Comments From dkouroun at cc dot uoi dot gr 2005-03-19 22:03 --- Subject: Re: cannot link program which uses std::(vector. deque) in SuSE AMDx86_64 Quoting pcarlini at suse dot de <[EMAIL PROTECTED]>: > > --- Additional Comments From pcarlini at suse dot de 2005-

[Bug c++/11624] -Wnon-virtual-dtor doesn't always work

2005-03-19 Thread pinskia at gcc dot gnu dot org
--- Additional Comments From pinskia at gcc dot gnu dot org 2005-03-19 21:07 --- *** Bug 20560 has been marked as a duplicate of this bug. *** -- What|Removed |Added

[Bug c++/20560] RFE: -Wnon-virtual-dtor/-Wall should warn when a class appears to be polymorphic and there is no destructor at all

2005-03-19 Thread pinskia at gcc dot gnu dot org
--- Additional Comments From pinskia at gcc dot gnu dot org 2005-03-19 21:07 --- I had meant PR 11624. *** This bug has been marked as a duplicate of 11624 *** -- What|Removed |Added ---

[Bug c++/20560] RFE: -Wnon-virtual-dtor/-Wall should warn when a class appears to be polymorphic and there is no destructor at all

2005-03-19 Thread pinskia at gcc dot gnu dot org
--- Additional Comments From pinskia at gcc dot gnu dot org 2005-03-19 21:07 --- Woops wrong bug. -- What|Removed |Added Status|RESOLVED|UNCO

[Bug c++/16190] -Wnon-virtual-dtor, in -Wall, silenced only by pessimizing code

2005-03-19 Thread pinskia at gcc dot gnu dot org
--- Additional Comments From pinskia at gcc dot gnu dot org 2005-03-19 21:06 --- *** Bug 20560 has been marked as a duplicate of this bug. *** -- What|Removed |Added

[Bug c++/20560] RFE: -Wnon-virtual-dtor/-Wall should warn when a class appears to be polymorphic and there is no destructor at all

2005-03-19 Thread pinskia at gcc dot gnu dot org
--- Additional Comments From pinskia at gcc dot gnu dot org 2005-03-19 21:06 --- This is a dup of bug 16190. *** This bug has been marked as a duplicate of 16190 *** -- What|Removed |Added -

[Bug c++/20560] RFE: -Wnon-virtual-dtor/-Wall should warn when a class appears to be polymorphic and there is no destructor at all

2005-03-19 Thread pinskia at gcc dot gnu dot org
--- Additional Comments From pinskia at gcc dot gnu dot org 2005-03-19 21:05 --- Actually this is a dup, so reopening. -- What|Removed |Added Status|RESOLVED

[Bug c++/11624] -Wnon-virtual-dtor doesn't always work

2005-03-19 Thread pinskia at gcc dot gnu dot org
--- Additional Comments From pinskia at gcc dot gnu dot org 2005-03-19 21:05 --- Fixed in 4.0.0 and above already. -- What|Removed |Added Status|NEW

[Bug c++/20560] RFE: -Wnon-virtual-dtor/-Wall should warn when a class appears to be polymorphic and there is no destructor at all

2005-03-19 Thread pinskia at gcc dot gnu dot org
--- Additional Comments From pinskia at gcc dot gnu dot org 2005-03-19 21:04 --- Fixed in 4.0.0 and above. -- What|Removed |Added Status|UNCONFIRMED

[Bug c++/20560] New: RFE: -Wnon-virtual-dtor/-Wall should warn when a class appears to be polymorphic and there is no destructor at all

2005-03-19 Thread andyreif at studcs dot uni-sb dot de
At the moment it only warns, if there _is_ a non-virtual destructor: -Wnon-virtual-dtor (C++ only) Warn when a class appears to be polymorphic, thereby requiring a virtual destructor, yet it declares a non-virtual one. This warning is enabled by -Wall. It doesn't warn

[Bug ada/20515] "stdcall" imports are not handled correctly

2005-03-19 Thread dannysmith at users dot sourceforge dot net
--- Additional Comments From dannysmith at users dot sourceforge dot net 2005-03-19 20:54 --- In reply to comment #3 >From gnat_ugn.texi: @findex Stdcall @cindex Convention Stdcall @item Stdcall This is relevant only to NT/Win95 implementations of GNAT, and specifies that the Stdcall c

[Bug libstdc++/20559] cannot link program which uses std::(vector. deque) in SuSE AMDx86_64

2005-03-19 Thread pcarlini at suse dot de
--- Additional Comments From pcarlini at suse dot de 2005-03-19 20:52 --- Sorry about the apparently not-so-helpful reply, but really I think something is broken with your specific setup: if this were a real bug, then basically no non-trivial c++ program would work on x86_64, and this i

[Bug c++/20559] New: cannot link program which uses std::(vector. deque) in SuSE AMDx86_64

2005-03-19 Thread dkouroun at cc dot uoi dot gr
cannot link program which uses std::(vector. deque) in SuSE AMDx86_64 The compiler version is the default which comes with SuSE 9.2. gcc (GCC) 3.3.4 (pre 3.3.5 20040809). The same program on SuSE 9.2 for i386 has no problem linking! here it is: --- #include using namespace std; #

[Bug fortran/18525] ICE on valid code in gfc_get_symbol_decl()

2005-03-19 Thread tobi at gcc dot gnu dot org
--- Additional Comments From tobi at gcc dot gnu dot org 2005-03-19 19:54 --- Fixed. -- What|Removed |Added Status|ASSIGNED|RESOLVED

[Bug fortran/18525] ICE on valid code in gfc_get_symbol_decl()

2005-03-19 Thread cvs-commit at gcc dot gnu dot org
--- Additional Comments From cvs-commit at gcc dot gnu dot org 2005-03-19 19:53 --- Subject: Bug 18525 CVSROOT:/cvs/gcc Module name:gcc Branch: gcc-4_0-branch Changes by: [EMAIL PROTECTED] 2005-03-19 19:52:53 Modified files: gcc/fortran: Change

[Bug fortran/18525] ICE on valid code in gfc_get_symbol_decl()

2005-03-19 Thread cvs-commit at gcc dot gnu dot org
--- Additional Comments From cvs-commit at gcc dot gnu dot org 2005-03-19 19:45 --- Subject: Bug 18525 CVSROOT:/cvs/gcc Module name:gcc Changes by: [EMAIL PROTECTED] 2005-03-19 19:45:46 Modified files: gcc/fortran: ChangeLog dump-parse-tree.c resolve.c

[Bug tree-optimization/14627] [tree-ssa] extra assignment inserted on the tree level

2005-03-19 Thread steven at gcc dot gnu dot org
--- Additional Comments From steven at gcc dot gnu dot org 2005-03-19 19:33 --- FWIW this bug is a major source of ifcvt1 opportunities, so fixing it has positive downstream effects too. -- What|Removed |Added ---

[Bug tree-optimization/14627] [tree-ssa] extra assignment inserted on the tree level

2005-03-19 Thread steven at gcc dot gnu dot org
--- Additional Comments From steven at gcc dot gnu dot org 2005-03-19 18:58 --- Actually you can get this from any trivial "implicit set"-like code, for example: int b; void foo (int a) { if (a) a = 3; b = a; } The out-of-ssa pass turns that in

[Bug middle-end/20558] variadic __builtin_isinf broken

2005-03-19 Thread pinskia at gcc dot gnu dot org
--- Additional Comments From pinskia at gcc dot gnu dot org 2005-03-19 18:38 --- Confirmed. -- What|Removed |Added Status|UNCONFIRMED |NEW E

[Bug c++/20547] undefined reference to "static const" fields of classes

2005-03-19 Thread pinskia at gcc dot gnu dot org
--- Additional Comments From pinskia at gcc dot gnu dot org 2005-03-19 18:35 --- Bacause T::A is a lvalue. -- What|Removed |Added Status|UNCONFIRMED

[Bug middle-end/20558] New: variadic __builtin_isinf broken

2005-03-19 Thread jsm28 at gcc dot gnu dot org
__builtin_isinf, __builtin_isnan and the various __builtin_is* functions for unordered comparisons are declared as functions taking variable arguments so they can be used directly to implement the corresponding C99 type-generic macros. However, __builtin_isinf does not work properly as type-generi

[Bug c++/20547] undefined reference to "static const" fields of classes

2005-03-19 Thread Hu dot YuehWei at gmail dot com
--- Additional Comments From Hu dot YuehWei at gmail dot com 2005-03-19 18:25 --- I see. But why compiler doesn't also make a temporary variable for the constant defined in a class scope? Such as following codes: struct T { static int const a = 3; }; void fff(int const &a) { } int m

[Bug middle-end/20493] [4.0/4.1 Regression] Bootstrap failure because of aliased symbols

2005-03-19 Thread pinskia at gcc dot gnu dot org
-- What|Removed |Added Target Milestone|4.1.0 |4.0.0 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20493

[Bug c++/20556] Non-ambiguous member in multiple inheritance reported ambiguous (All Versions)

2005-03-19 Thread pinskia at gcc dot gnu dot org
--- Additional Comments From pinskia at gcc dot gnu dot org 2005-03-19 17:50 --- Name lookup happens before accessibility happens. They are not tied together. This is invalid. You can use a using statement in class C to remove the ambigous. -- What|Removed

[Bug middle-end/20557] New: FAIL: gcc.dg/pr18628.c

2005-03-19 Thread danglin at gcc dot gnu dot org
Executing on host: /home/dave/gcc-4.1/objdir/gcc/xgcc -B/home/dave/gcc-4.1/objdi r/gcc/ /home/dave/gcc-4.1/gcc/gcc/testsuite/gcc.dg/pr18628.c -O2 -lm -o pr1 8628.exe(timeout = 300) /home/dave/gcc-4.1/gcc/gcc/testsuite/gcc.dg/pr18628.c: In function 'main': /home/dave/gcc-4.1/gcc/gcc/testsui

[Bug middle-end/20493] [4.0/4.1 Regression] Bootstrap failure because of aliased symbols

2005-03-19 Thread danglin at gcc dot gnu dot org
--- Additional Comments From danglin at gcc dot gnu dot org 2005-03-19 17:38 --- Fixed in CVS. -- What|Removed |Added Status|NEW |RESOLV

[Bug middle-end/20493] [4.0/4.1 Regression] Bootstrap failure because of aliased symbols

2005-03-19 Thread cvs-commit at gcc dot gnu dot org
--- Additional Comments From cvs-commit at gcc dot gnu dot org 2005-03-19 17:30 --- Subject: Bug 20493 CVSROOT:/cvs/gcc Module name:gcc Branch: gcc-4_0-branch Changes by: [EMAIL PROTECTED] 2005-03-19 17:29:54 Modified files: gcc: Change

[Bug middle-end/20524] [4.0/4.1 regression] cris-axis-elf testsuite failures: gcc.c-torture/compile/20011119-1.c and -2

2005-03-19 Thread danglin at gcc dot gnu dot org
--- Additional Comments From danglin at gcc dot gnu dot org 2005-03-19 17:25 --- The last comment needs qualification. The technique doesn't work for common symbols because of the special assembler semantics used for these symbols on 32-bit hpux. However, it does work for other code an

[Bug c++/20556] New: Non-ambiguous member in multiple inheritance reported ambiguous (All Versions)

2005-03-19 Thread hrbattenfeld at gmx dot de
Hi. I'm writing a lookuptable container derived from 2 std::vectors (one public, one private). The issue I came across can be witnessed by trying to compile: [CODE] #include #include using namespace std; struct A {

[Bug middle-end/20493] [4.0/4.1 Regression] Bootstrap failure because of aliased symbols

2005-03-19 Thread cvs-commit at gcc dot gnu dot org
--- Additional Comments From cvs-commit at gcc dot gnu dot org 2005-03-19 16:46 --- Subject: Bug 20493 CVSROOT:/cvs/gcc Module name:gcc Changes by: [EMAIL PROTECTED] 2005-03-19 16:46:04 Modified files: gcc: ChangeLog fold-const.c Log message:

[Bug bootstrap/20537] [4.1 Regression] GCC install libstdc++ headers in wrong dir

2005-03-19 Thread pinskia at gcc dot gnu dot org
--- Additional Comments From pinskia at gcc dot gnu dot org 2005-03-19 16:39 --- *** Bug 20555 has been marked as a duplicate of this bug. *** -- What|Removed |Added

[Bug bootstrap/20555] C code fails to link and Ada fails to find its runtime after make install on x86_64

2005-03-19 Thread pinskia at gcc dot gnu dot org
--- Additional Comments From pinskia at gcc dot gnu dot org 2005-03-19 16:39 --- *** This bug has been marked as a duplicate of 20537 *** -- What|Removed |Added

[Bug middle-end/20524] [4.0/4.1 regression] cris-axis-elf testsuite failures: gcc.c-torture/compile/20011119-1.c and -2

2005-03-19 Thread danglin at gcc dot gnu dot org
--- Additional Comments From danglin at gcc dot gnu dot org 2005-03-19 16:15 --- What I was trying to indicate in the previous comment is that aliases can be created on targets that don't support ASM_OUTPUT_DEF by emitting the labels at the same time as the target label. This happens in

[Bug driver/20555] New: C code fails to link and Ada fails to find its runtime after make install on x86_64

2005-03-19 Thread laurent at guerby dot net
After make install, PATH=... with mainline on x86_64 as of 20050319: For C : $ gcc z.c /usr/bin/ld: crtbegin.o: No such file: No such file or directory collect2: ld returned 1 exit status For Ada: $ gnatmake t.adb fatal error, run-time library not installed correctly cannot locate file

[Bug middle-end/20524] [4.0/4.1 regression] cris-axis-elf testsuite failures: gcc.c-torture/compile/20011119-1.c and -2

2005-03-19 Thread danglin at gcc dot gnu dot org
--- Additional Comments From danglin at gcc dot gnu dot org 2005-03-19 15:50 --- On hppa2.0w-hp-hpux* (32-bit SOM targets), there is no assembler support to create an alias except by emitting a label for the alias at the same time as the target label. There is no way to defer emitting a

[Bug target/18251] unable to find a register to spill in class `POINTER_REGS'

2005-03-19 Thread cvs-commit at gcc dot gnu dot org
--- Additional Comments From cvs-commit at gcc dot gnu dot org 2005-03-19 15:45 --- Subject: Bug 18251 CVSROOT:/cvs/gcc Module name:gcc Branch: gcc-3_4-branch Changes by: [EMAIL PROTECTED] 2005-03-19 15:45:41 Modified files: gcc: Change

[Bug target/18251] unable to find a register to spill in class `POINTER_REGS'

2005-03-19 Thread cvs-commit at gcc dot gnu dot org
--- Additional Comments From cvs-commit at gcc dot gnu dot org 2005-03-19 15:44 --- Subject: Bug 18251 CVSROOT:/cvs/gcc Module name:gcc Branch: gcc-4_0-branch Changes by: [EMAIL PROTECTED] 2005-03-19 15:44:26 Modified files: gcc: Change

[Bug testsuite/20554] New testsuite fails: error: alias definitions not supported in this configuration

2005-03-19 Thread pinskia at gcc dot gnu dot org
--- Additional Comments From pinskia at gcc dot gnu dot org 2005-03-19 15:42 --- 2009-[12].c is a dup of bug 20524. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20554

[Bug middle-end/20524] [4.0/4.1 regression] cris-axis-elf testsuite failures: gcc.c-torture/compile/20011119-1.c and -2

2005-03-19 Thread pinskia at gcc dot gnu dot org
--- Additional Comments From pinskia at gcc dot gnu dot org 2005-03-19 15:41 --- *** Bug 20553 has been marked as a duplicate of this bug. *** -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20524

[Bug c/20553] FAIL: gcc.c-torture/compile/20011119-2.c -O1 on sparc-linux

2005-03-19 Thread pinskia at gcc dot gnu dot org
--- Additional Comments From pinskia at gcc dot gnu dot org 2005-03-19 15:41 --- *** This bug has been marked as a duplicate of 20524 *** -- What|Removed |Added

[Bug c/20553] FAIL: gcc.c-torture/compile/20011119-2.c -O1 on sparc-linux

2005-03-19 Thread danglin at gcc dot gnu dot org
--- Additional Comments From danglin at gcc dot gnu dot org 2005-03-19 15:40 --- Just a guess, but I would suspect this is caused by the following change: 2005-03-16 Richard Henderson <[EMAIL PROTECTED]> PR middle-end/15700 * varasm.c (struct alias_pair): Rename from

[Bug ada/20548] [4.1 Regression] ACATS c52103x segfault at runtime on x86_64

2005-03-19 Thread ebotcazou at gcc dot gnu dot org
--- Additional Comments From ebotcazou at gcc dot gnu dot org 2005-03-19 15:38 --- Uncovered by a front-end change. Not sure it can work on 64-bit machines now. -- What|Removed |Added -

[Bug middle-end/20524] [4.0/4.1 regression] cris-axis-elf testsuite failures: gcc.c-torture/compile/20011119-1.c and -2

2005-03-19 Thread christian dot joensson at gmail dot com
--- Additional Comments From christian dot joensson at gmail dot com 2005-03-19 15:37 --- I guess this is related to http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20553 and http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20554 -- What|Removed |Added -

[Bug testsuite/20554] New testsuite fails: error: alias definitions not supported in this configuration

2005-03-19 Thread christian dot joensson at gmail dot com
-- What|Removed |Added CC||christian dot joensson at ||gmail dot com http://gcc.gnu.org/bu

[Bug c/20553] FAIL: gcc.c-torture/compile/20011119-2.c -O1 on sparc-linux

2005-03-19 Thread danglin at gcc dot gnu dot org
--- Additional Comments From danglin at gcc dot gnu dot org 2005-03-19 15:34 --- This also occurs on hppa64-hp-hpux11.11 (4.1.0) -- What|Removed |Added CC|

[Bug testsuite/20554] New: New testsuite fails: error: alias definitions not supported in this configuration

2005-03-19 Thread danglin at gcc dot gnu dot org
FAIL: gcc.c-torture/compile/2009-1.c -O0 (test for excess errors) FAIL: gcc.c-torture/compile/2009-1.c -O1 (test for excess errors) FAIL: gcc.c-torture/compile/2009-1.c -O2 (test for excess errors) FAIL: gcc.c-torture/compile/2009-1.c -O3 -fomit-frame-pointer (test for ex ce

[Bug c/20553] FAIL: gcc.c-torture/compile/20011119-2.c -O1 on sparc-linux

2005-03-19 Thread christian dot joensson at gmail dot com
--- Additional Comments From christian dot joensson at gmail dot com 2005-03-19 15:20 --- This also happens on mainline, see http://gcc.gnu.org/ml/gcc-testresults/2005-03/msg01267.html -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20553

[Bug c/20553] FAIL: gcc.c-torture/compile/20011119-2.c -O1 on sparc-linux

2005-03-19 Thread christian dot joensson at gmail dot com
--- Additional Comments From christian dot joensson at gmail dot com 2005-03-19 15:18 --- [EMAIL PROTECTED] branch]$ /usr/local/src/branch/objdir32/gcc/xgcc -v -save-temps -B/usr/local/src/branch/objdir32/gcc/ -O1 -w -c -o 2009-2.o /usr/local/src/branch/gcc/gcc/testsuite/gcc.c- t

[Bug c/20553] New: FAIL: gcc.c-torture/compile/20011119-2.c -O1 on sparc-linux

2005-03-19 Thread christian dot joensson at gmail dot com
Aurora SPARC Linux release 2.0 (Kashmir FC3) UltraSparc IIi (Sabre) sun4u: binutils-2.15.94.0.2-1.sparc bison-1.875c-2.sparc dejagnu-1.4.4-2.noarch expect-5.42.1-1.sparc gcc-3.4.2-6.fc3.sparc gcc4-4.0.0-0.8sparc.sparc glibc-2.3.3-99.sparcv9 glibc-2.3.3-99.sparc64 glibc-devel-2.3.3-99.sparc64 glibc

[Bug ada/20548] [4.1 Regression] ACATS c52103x segfault at runtime on x86_64

2005-03-19 Thread laurent at guerby dot net
--- Additional Comments From laurent at guerby dot net 2005-03-19 14:59 --- I haven't tested x86_64 on current 4.0, will try this weekend. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20548

[Bug ada/20515] "stdcall" imports are not handled correctly

2005-03-19 Thread p dot obry at wanadoo dot fr
--- Additional Comments From p dot obry at wanadoo dot fr 2005-03-19 14:52 --- I had a closer look. In GCC 3.4.x we have TARGET_IS_PE_COFF. So changing _WIN32 by TARGET_IS_PE_COFF is ok. In GCC 4.x we have: #define TARGET_DLLIMPORT_DECL_ATTRIBUTES 1 So instead of using TARGET_IS_PE_C

[Bug other/20510] [4.0/4.1 Regression] target libiberty multilibs built with configure --disable-multilibs

2005-03-19 Thread pinskia at gcc dot gnu dot org
--- Additional Comments From pinskia at gcc dot gnu dot org 2005-03-19 14:49 --- Do you know if this happens on say x86_64 (so it will then be targeted towards 4.0.0 and someone can look into it)? -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20510

[Bug ada/20548] [4.1 Regression] ACATS c52103x segfault at runtime on x86_64

2005-03-19 Thread pinskia at gcc dot gnu dot org
--- Additional Comments From pinskia at gcc dot gnu dot org 2005-03-19 14:43 --- The following patches might be the cause: +2005-03-18 Jan Hubicka <[EMAIL PROTECTED]> + + PR middle-end/20225 + * cgraph.c (cgraph_mark_reachable_node): Assert that it is not called + too

[Bug c++/20547] undefined reference to "static const" fields of classes

2005-03-19 Thread pinskia at gcc dot gnu dot org
--- Additional Comments From pinskia at gcc dot gnu dot org 2005-03-19 14:34 --- (In reply to comment #5) > I understand what you mean. > But why the following codes works: > > #include > #include > > struct T > { > static char const a = 3; > }; > > std::vector ddd; > > int > mai

[Bug ada/20530] gnatlink does not respect -mno-cygwin

2005-03-19 Thread ericw at evcohs dot com
-- What|Removed |Added CC||ericw at evcohs dot com http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20530

[Bug c++/20547] undefined reference to "static const" fields of classes

2005-03-19 Thread Hu dot YuehWei at gmail dot com
--- Additional Comments From Hu dot YuehWei at gmail dot com 2005-03-19 14:15 --- I understand what you mean. But why the following codes works: #include #include struct T { static char const a = 3; }; std::vector ddd; int main() { ddd.push_back(static_cast(T::a)); // <

[Bug c++/20240] [3.3 Regression] invalid using-redeclaration accepted

2005-03-19 Thread lerdsuwa at gcc dot gnu dot org
--- Additional Comments From lerdsuwa at gcc dot gnu dot org 2005-03-19 14:15 --- Fixed in 3.4/4.0/4.1. -- What|Removed |Added AssignedTo|lerdsuwa at gcc dot gnu dot

[Bug c++/20547] undefined reference to "static const" fields of classes

2005-03-19 Thread pinskia at gcc dot gnu dot org
--- Additional Comments From pinskia at gcc dot gnu dot org 2005-03-19 14:03 --- (In reply to comment #2) > But according the standard, 'const static' data members of an intergral type > can > now be initialized _inside_ their class. In this case, the initialization is > _also_ a defini

[Bug c++/20240] [3.3/3.4/4.0/4.1 Regression] invalid using-redeclaration accepted

2005-03-19 Thread cvs-commit at gcc dot gnu dot org
--- Additional Comments From cvs-commit at gcc dot gnu dot org 2005-03-19 14:01 --- Subject: Bug 20240 CVSROOT:/cvs/gcc Module name:gcc Branch: gcc-3_4-branch Changes by: [EMAIL PROTECTED] 2005-03-19 14:01:02 Modified files: gcc/cp : Change

[Bug c++/20547] undefined reference to "static const" fields of classes

2005-03-19 Thread Hu dot YuehWei at gmail dot com
--- Additional Comments From Hu dot YuehWei at gmail dot com 2005-03-19 14:01 --- #include struct T { static char const a = 3; }; void fff(char a) { } std::vector b; int main() { fff(T::a); /* this line of codes is fine. */ b.push_back(T::a); /* however, this line of codes is

[Bug ada/19526] Windows errorcodes wrong in Ada when tasking

2005-03-19 Thread charlet at adacore dot com
--- Additional Comments From charlet at adacore dot com 2005-03-19 13:54 --- Subject: Re: Windows errorcodes wrong in Ada when tasking > IMO, resetting the error code set by the kernel whenever the internal Ada > tasking functions are called successfully is a bug. So you are saying th

[Bug c++/20547] undefined reference to "static const" fields of classes

2005-03-19 Thread Hu dot YuehWei at gmail dot com
--- Additional Comments From Hu dot YuehWei at gmail dot com 2005-03-19 13:53 --- But according the standard, 'const static' data members of an intergral type can now be initialized _inside_ their class. In this case, the initialization is _also_ a definition, so _no_ further definitions

[Bug c++/6709] typeof() cannot be used with the :: operator

2005-03-19 Thread pinskia at gcc dot gnu dot org
--- Additional Comments From pinskia at gcc dot gnu dot org 2005-03-19 13:48 --- *** Bug 20551 has been marked as a duplicate of this bug. *** -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=6709

[Bug c++/20551] "typeof" fails as qualifier

2005-03-19 Thread pinskia at gcc dot gnu dot org
--- Additional Comments From pinskia at gcc dot gnu dot org 2005-03-19 13:48 --- *** This bug has been marked as a duplicate of 6709 *** -- What|Removed |Added

[Bug c++/20547] undefined reference to "static const" fields of classes

2005-03-19 Thread pinskia at gcc dot gnu dot org
--- Additional Comments From pinskia at gcc dot gnu dot org 2005-03-19 13:45 --- No you need to add the following to your code: const char T::a; Since you don't supply the memory location otherwise (which is required by the standard). -- What|Removed

[Bug c/20368] [4.0/4.1 Regression] internal compiler error: tree check: expected function_type or method_type, have integer_type in start_function, at c-decl.c:5777

2005-03-19 Thread pinskia at gcc dot gnu dot org
--- Additional Comments From pinskia at gcc dot gnu dot org 2005-03-19 13:39 --- (In reply to comment #2) > Confirmed; compile the following reduced testcase with -Wstrict-prototypes > to see the bug. I don't have --enable-checking release branch compilers > (4.0 and previous releases)

[Bug c++/20552] ICE

2005-03-19 Thread pinskia at gcc dot gnu dot org
-- What|Removed |Added Keywords||ice-on-invalid-code Known to work||4.0.0 4.1.0 http://gcc.gnu.org/bugzilla/s

[Bug c/9072] -Wconversion should be split into two distinct flags

2005-03-19 Thread jsm28 at gcc dot gnu dot org
--- Additional Comments From jsm28 at gcc dot gnu dot org 2005-03-19 13:34 --- *** Bug 20535 has been marked as a duplicate of this bug. *** -- What|Removed |Added

[Bug c/20535] add warning or error if storage size mismatch

2005-03-19 Thread jsm28 at gcc dot gnu dot org
--- Additional Comments From jsm28 at gcc dot gnu dot org 2005-03-19 13:34 --- What you want is a better -Wconversion, "warn for any implicit conversion that may change a value"; see bug 9072 (and also bug 6614). Bug 9072 effectively tracks the need for a better -Wconversion while bug 6

[Bug c++/20552] ICE

2005-03-19 Thread pinskia at gcc dot gnu dot org
-- What|Removed |Added Attachment #8423|application/octet-stream|text/plain mime type|| http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20552

[Bug c++/20549] [3.4/4.0/4.1 Regression] ICE on invalid code, typename outside of a template

2005-03-19 Thread pinskia at gcc dot gnu dot org
--- Additional Comments From pinskia at gcc dot gnu dot org 2005-03-19 13:30 --- Reduced testcase: template t1 unique(t1 v1, t1 v2, t2 v3){} struct row { int begin() const ; int end() const; }; template void popSlot() { row ops; unique(ops.begin, ops.end); } This is invalid c

[Bug fortran/20538] compiling -finline-functions -O2 and we crash at runtime

2005-03-19 Thread pinskia at gcc dot gnu dot org
--- Additional Comments From pinskia at gcc dot gnu dot org 2005-03-19 13:24 --- (In reply to comment #10) > (In reply to comment #8) > > > Due to general gfortran lameness only contained functions are ever inlined. > > > > Top-level functions are never inlined. > > Why? I think P

[Bug c/18166] top const stripped in structs for C

2005-03-19 Thread jsm28 at gcc dot gnu dot org
--- Additional Comments From jsm28 at gcc dot gnu dot org 2005-03-19 13:23 --- Could someone with a Darwin build to hand check whether this bug is indeed fixed as I suggest in my previous comment? -- What|Removed |Added --

  1   2   >