[Bug fortran/36689] PRINT and WRITE eat minus sign

2008-07-02 Thread dennis dot wassel at googlemail dot com
--- Comment #4 from dennis dot wassel at googlemail dot com 2008-07-02 08:54 --- > (In reply to myself) > The problem seems to remain the same, regardless of the type of array of XP, > that is allocatable or fixed-size (compile-time). > Stupid I didn't check this earlier... Out of curi

[Bug debug/36690] [4.3/4.4 Regression] .debug_line first line is behind the first instruction

2008-07-02 Thread jakub at gcc dot gnu dot org
--- Comment #2 from jakub at gcc dot gnu dot org 2008-07-02 09:22 --- This is caused by the implicit gotos at the end of basic blocks. See http://gcc.gnu.org/ml/gcc-patches/2007-04/msg01840.html During cfgexpand this can be IMHO fixed by setting curr_location before emitting the jump, no

[Bug middle-end/36691] [4.1/4.2/4.3/4.4 Regression] wrong value left in induction variable

2008-07-02 Thread rguenth at gcc dot gnu dot org
--- Comment #1 from rguenth at gcc dot gnu dot org 2008-07-02 09:36 --- This is SCCP. And then both ivcanon and ivopts. Thus, -fno-tree-scev-cprop -fno-ivopts -fno-tree-loop-ivcanon fixes it. Confirmed with -O. -- rguenth at gcc dot gnu dot org changed: What|Rem

[Bug c/36693] New: missed optimization for pointer access with offset on powerpc

2008-07-02 Thread rbuergel at web dot de
the following two equivalent functions are compiled into different asm-code. The bad thing is, that the more readable function (get_and_increment2) creates worse code. It is bigger and slower. This is because it uses one register more than the more optimized version get_and_increment1. struct Int

[Bug c/36692] _Complex __float128 doesn't work

2008-07-02 Thread jsm28 at gcc dot gnu dot org
--- Comment #5 from jsm28 at gcc dot gnu dot org 2008-07-02 10:31 --- *** This bug has been marked as a duplicate of 32187 *** -- jsm28 at gcc dot gnu dot org changed: What|Removed |Added --

[Bug target/32187] Complex __float128 is rejected

2008-07-02 Thread jsm28 at gcc dot gnu dot org
--- Comment #6 from jsm28 at gcc dot gnu dot org 2008-07-02 10:31 --- *** Bug 36692 has been marked as a duplicate of this bug. *** -- jsm28 at gcc dot gnu dot org changed: What|Removed |Added ---

[Bug c++/36694] New: g++-4.2 rejects code, that other versions of gcc accept

2008-07-02 Thread tim at klingt dot org
the attached preprocessed source does not compile with g++-4.2. it does compile with g++-4.0, 4.1 and 4.3, though, so i don't know whether there is any interest to work on a reduced test case and work on a bug fix ... from my reading of the compiler error, it has to do with the compiler-generated

[Bug c++/36694] g++-4.2 rejects code, that other versions of gcc accept

2008-07-02 Thread tim at klingt dot org
--- Comment #1 from tim at klingt dot org 2008-07-02 10:58 --- Created an attachment (id=15843) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=15843&action=view) compressed preprocessed source -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36694

[Bug fortran/36681] compiler error message with gfortran 4.3.1 but not with 4.2.1

2008-07-02 Thread tkoenig at gcc dot gnu dot org
--- Comment #3 from tkoenig at gcc dot gnu dot org 2008-07-02 12:34 --- I caused this. Here's an obvious patch: Index: iresolve.c === --- iresolve.c (revision 137255) +++ iresolve.c (working copy) @@ -106,7 +106,7 @@ res

[Bug fortran/36590] internal error: Can't convert LOGICAL(1) to LOGICAL(1)

2008-07-02 Thread tkoenig at gcc dot gnu dot org
-- tkoenig at gcc dot gnu dot org changed: What|Removed |Added AssignedTo|unassigned at gcc dot gnu |tkoenig at gcc dot gnu dot |dot org

[Bug c++/36695] New: [4.4 Regression] Value-initialization of reference type is allowed.

2008-07-02 Thread chris dot fairles at gmail dot com
int main() { typedef int& T; T a = T(); } Compiling the snippet above produces no diagnostic with gcc 4.4.0 20080701 or gcc 4.1.2. However, reading n2691, 8.5 paragraph 6: A program that calls for default-initialization or value-initialization of an entity of reference type is ill-formed. I'm pr

[Bug fortran/36681] compiler error message with gfortran 4.3.1 but not with 4.2.1

2008-07-02 Thread jvdelisle at gcc dot gnu dot org
--- Comment #4 from jvdelisle at gcc dot gnu dot org 2008-07-02 14:20 --- OK to commit after testing. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36681

[Bug c++/36696] New: Default constructor instance definition with empty argument list quietly ignored

2008-07-02 Thread mike dot allen at facsim dot org
Compile following with -Wall: #include class Raii { public: Raii () throw () { std::cout << "Raii::Raii () called..." << std::endl; } public: ~Raii () throw () { std::cout << "Raii::~Raii () called..." << std:: endl; } }; int main (int /*argc*/, char** /*

[Bug fortran/36689] PRINT and WRITE eat minus sign

2008-07-02 Thread jvdelisle at gcc dot gnu dot org
--- Comment #5 from jvdelisle at gcc dot gnu dot org 2008-07-02 14:27 --- To debug this we will probably need to get remote ssh access to a machine like this. I can think of three possible causes of the problem at the moment. 1) The executable is accessing the wrong version of libgfor

[Bug fortran/36681] compiler error message with gfortran 4.3.1 but not with 4.2.1

2008-07-02 Thread tkoenig at gcc dot gnu dot org
--- Comment #5 from tkoenig at gcc dot gnu dot org 2008-07-02 14:38 --- Subject: Bug 36681 Author: tkoenig Date: Wed Jul 2 14:36:58 2008 New Revision: 137355 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=137355 Log: 2008-07-02 Thomas Koenig <[EMAIL PROTECTED]> PR fo

[Bug fortran/36590] internal error: Can't convert LOGICAL(1) to LOGICAL(1)

2008-07-02 Thread tkoenig at gcc dot gnu dot org
--- Comment #7 from tkoenig at gcc dot gnu dot org 2008-07-02 14:38 --- Subject: Bug 36590 Author: tkoenig Date: Wed Jul 2 14:36:58 2008 New Revision: 137355 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=137355 Log: 2008-07-02 Thomas Koenig <[EMAIL PROTECTED]> PR fo

[Bug fortran/36689] PRINT and WRITE eat minus sign

2008-07-02 Thread dennis dot wassel at googlemail dot com
--- Comment #6 from dennis dot wassel at googlemail dot com 2008-07-02 14:39 --- (In reply to comment #5) > 1) The executable is accessing the wrong version of libgfortran. You might > need to set LD_LIBRARY_PATH. Nope, everything in order here, as far as I can tell: isaac:/tmp$ ldd

[Bug fortran/36590] internal error: Can't convert LOGICAL(1) to LOGICAL(1)

2008-07-02 Thread tkoenig at gcc dot gnu dot org
--- Comment #8 from tkoenig at gcc dot gnu dot org 2008-07-02 14:40 --- Fixed. Closing. -- tkoenig at gcc dot gnu dot org changed: What|Removed |Added Status

[Bug fortran/36681] compiler error message with gfortran 4.3.1 but not with 4.2.1

2008-07-02 Thread tkoenig at gcc dot gnu dot org
--- Comment #6 from tkoenig at gcc dot gnu dot org 2008-07-02 14:41 --- Fixed. Closing. -- tkoenig at gcc dot gnu dot org changed: What|Removed |Added Status

[Bug c++/36696] Default constructor instance definition with empty argument list quietly ignored

2008-07-02 Thread mike dot allen at facsim dot org
--- Comment #1 from mike dot allen at facsim dot org 2008-07-02 14:41 --- Is the line: Raii raii(); being interpreted by the compiler as the declaration of a function that takes no arguments and returns a Raii instance? -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36696

[Bug fortran/36632] OpenMP code with access to module variable causes Fortran compiler to crash

2008-07-02 Thread wirawan0 at gmail dot com
--- Comment #3 from wirawan0 at gmail dot com 2008-07-02 14:43 --- This problem also occurs with gfortran 4.3.1. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36632

[Bug fortran/36689] PRINT and WRITE eat minus sign

2008-07-02 Thread dennis dot wassel at googlemail dot com
--- Comment #7 from dennis dot wassel at googlemail dot com 2008-07-02 15:00 --- (In reply to comment #5) > > 2) The system has a broken printf or memory allocation. > printf seems to be fine. If I compile and link this snippet of C #include void cprint_(float *x) { printf("with pr

[Bug c/36697] New: SIGSEGV on program exit with gcc 4.3.1

2008-07-02 Thread benny at ammitzboell-consult dot dk
I get SIGSEGV when my C and C++ programs exits. I have tracked it down to the __do_global_dtors_aux function. The newly added code under HIDDEN_DTOR_LIST_END does not check if the function ptr from the list is 0 - which the old code below does. On my platform (no-mmu ARM, uclibc, uclinux) at least

[Bug target/36698] New: gcc.c-torture/compile/20001226-1.c exceeds SPU local store size with -O0

2008-07-02 Thread uweigand at gcc dot gnu dot org
The gcc.c-torture/compile/20001226-1.c test case, when compiled with -O0 on the spu-elf target, results in a single function that exceeds local store size (256 KB) on the SPU. This cannot run (cannot even be linked!); and because it is a single function, overlay support does not help either. Thi

[Bug target/36698] gcc.c-torture/compile/20001226-1.c exceeds SPU local store size with -O0

2008-07-02 Thread uweigand at gcc dot gnu dot org
--- Comment #1 from uweigand at gcc dot gnu dot org 2008-07-02 15:57 --- Subject: Bug 36698 Author: uweigand Date: Wed Jul 2 15:56:31 2008 New Revision: 137367 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=137367 Log: PR target/36698 * gcc.c-torture/compile/20

[Bug target/36698] gcc.c-torture/compile/20001226-1.c exceeds SPU local store size with -O0

2008-07-02 Thread uweigand at gcc dot gnu dot org
--- Comment #2 from uweigand at gcc dot gnu dot org 2008-07-02 15:59 --- Subject: Bug 36698 Author: uweigand Date: Wed Jul 2 15:58:09 2008 New Revision: 137368 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=137368 Log: PR target/36698 * gcc.c-torture/compile/20

[Bug target/36669] Wrong versioning for __float128

2008-07-02 Thread hjl at gcc dot gnu dot org
--- Comment #22 from hjl at gcc dot gnu dot org 2008-07-02 16:00 --- Subject: Bug 36669 Author: hjl Date: Wed Jul 2 15:59:19 2008 New Revision: 137369 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=137369 Log: gcc/ 2008-07-02 H.J. Lu <[EMAIL PROTECTED]> PR target/36

[Bug target/36622] 4.3.1 failed to compile gcse.c file.

2008-07-02 Thread rwild at gcc dot gnu dot org
--- Comment #19 from rwild at gcc dot gnu dot org 2008-07-02 16:11 --- (In reply to comment #7) > > >So, you are suggesting that I should remove fPIC option, correct? > > Yes. Is there a reason why you have CFLAGS set anyways? > 2. -fPIC has always been set in all the other gcc versio

[Bug c++/36694] g++-4.2 rejects code, that other versions of gcc accept

2008-07-02 Thread rwild at gcc dot gnu dot org
--- Comment #2 from rwild at gcc dot gnu dot org 2008-07-02 16:12 --- Please post the compile command and the error. -- rwild at gcc dot gnu dot org changed: What|Removed |Added --

[Bug c++/36694] g++-4.2 rejects code, that other versions of gcc accept

2008-07-02 Thread tim at klingt dot org
--- Comment #3 from tim at klingt dot org 2008-07-02 16:15 --- compiled via: g++-4.2 server_dsp_thread_test.ii error message: libs/boost/boost/concept_check.hpp: In instantiation of ‘boost::CopyConstructible::dummy_runnable>*>’: libs/boost/boost/concept_check.hpp:154: instantiate

[Bug target/36622] 4.3.1 failed to compile gcse.c file.

2008-07-02 Thread imam dot toufique at intel dot com
--- Comment #20 from imam dot toufique at intel dot com 2008-07-02 16:17 --- (In reply to comment #19) > (In reply to comment #7) > > > >So, you are suggesting that I should remove fPIC option, correct? > > > Yes. Is there a reason why you have CFLAGS set anyways? > > 2. -fPIC has alw

[Bug c++/36699] New: not compile code, but must

2008-07-02 Thread yeolahim at gmail dot com
try compile: #include template inline size_t countof ( const T (&) [Count] ) { return Count; } int main(int argc, char* argv[]) { struct { int x1; int x2;} x [100]; std::cout << countof(x) << std::endl; int y [101]; std::cout << countof(y) << std::endl; struct Z { int x1; int x2;

[Bug target/36622] 4.3.1 failed to compile gcse.c file.

2008-07-02 Thread Ralf dot Wildenhues at gmx dot de
--- Comment #21 from Ralf dot Wildenhues at gmx dot de 2008-07-02 16:46 --- Subject: Re: 4.3.1 failed to compile gcse.c file. * imam dot toufique at intel dot com wrote on Wed, Jul 02, 2008 at 06:17:59PM CEST: > well... when libstdc and other shared libs are built, are they all built

[Bug fortran/36700] New: ICE on calling a function

2008-07-02 Thread terry at chem dot gu dot se
I mistakenly called a function, and broke the compiler: [EMAIL PROTECTED] ~/MD]$ cat diatoms.f90 module Diatoms implicit none contains function InitialDiatomicX() result (v4) real(kind=8),dimension(4)::v4 v4=1 end function InitialDiatomicX subroutine FindDiatomicPeriod call InitialDiatomicX() e

[Bug target/36701] New: [4.4 Regression] unaligned access in gcc.c-torture/execute/complex-7.c

2008-07-02 Thread hjl dot tools at gmail dot com
Revision 137328 generates unaligned access in gcc.c-torture/execute/complex-7.c and revision 137304 is OK. Steve, will your patch http://gcc.gnu.org/ml/gcc-patches/2008-06/msg00884.html cause this? Thanks. -- Summary: [4.4 Regression] unaligned access in gcc.c-

[Bug target/36701] [4.4 Regression] unaligned access in gcc.c-torture/execute/complex-7.c

2008-07-02 Thread sje at cup dot hp dot com
--- Comment #1 from sje at cup dot hp dot com 2008-07-02 17:17 --- I don't see any reason why my patch would cause this problem. Looking through my old test logs I see this test failing before my patch as well as after it. The failures go back to version 126651 which is the oldest resu

[Bug bootstrap/36702] New: [4.4 Regression] Bootstrap fails at revision 137369 on i686-apple-darwin9

2008-07-02 Thread dominiq at lps dot ens dot fr
Bootstrap fails at revision 137369 on i686-apple-darwin9 with: ... /opt/gcc/i686-darwin/./gcc/xgcc -B/opt/gcc/i686-darwin/./gcc/ -B/opt/gcc/gcc4.4w/i686-apple-darwin9/bin/ -B/opt/gcc/gcc4.4w/i686-apple-darwin9/lib/ -isystem /opt/gcc/gcc4.4w/i686-apple-darwin9/include -isystem /opt/gcc/gcc4.4w/i686

[Bug bootstrap/36702] [4.4 Regression] Bootstrap fails at revision 137369 on i686-apple-darwin9

2008-07-02 Thread hjl dot tools at gmail dot com
--- Comment #1 from hjl dot tools at gmail dot com 2008-07-02 17:49 --- Can you try http://gcc.gnu.org/ml/gcc-patches/2008-07/msg00127.html -- hjl dot tools at gmail dot com changed: What|Removed |Added

[Bug fortran/36700] [4.3/4.4 Regression] ICE on calling a function

2008-07-02 Thread burnus at gcc dot gnu dot org
--- Comment #1 from burnus at gcc dot gnu dot org 2008-07-02 18:10 --- With gfortran 4.1 and 4.2: Error: FUNCTION attribute conflicts with SUBROUTINE attribute in 'initialdiatomicx' at (1) The same error is also shown for the following - also 4.3/4.4 do so: print *, foo() call foo(

[Bug bootstrap/36702] [4.4 Regression] Bootstrap fails at revision 137369 on i686-apple-darwin9

2008-07-02 Thread hjl at gcc dot gnu dot org
--- Comment #2 from hjl at gcc dot gnu dot org 2008-07-02 19:32 --- Subject: Bug 36702 Author: hjl Date: Wed Jul 2 19:31:53 2008 New Revision: 137380 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=137380 Log: 2008-07-02 H.J. Lu <[EMAIL PROTECTED]> PR boostrap/36702

[Bug fortran/32580] iso_c_binding c_f_procpointer / procedure pointers

2008-07-02 Thread janus at gcc dot gnu dot org
--- Comment #12 from janus at gcc dot gnu dot org 2008-07-02 19:54 --- Subject: Bug 32580 Author: janus Date: Wed Jul 2 19:53:37 2008 New Revision: 137386 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=137386 Log: 2008-07-02 Janus Weil <[EMAIL PROTECTED]> Tobias B

[Bug fortran/32580] iso_c_binding c_f_procpointer / procedure pointers

2008-07-02 Thread janus at gcc dot gnu dot org
--- Comment #13 from janus at gcc dot gnu dot org 2008-07-02 20:19 --- Fixed with rev 137386. Btw I have also tried compiling the whole CP2K, which seems to work fine. -- janus at gcc dot gnu dot org changed: What|Removed |Added ---

[Bug fortran/32580] iso_c_binding c_f_procpointer / procedure pointers

2008-07-02 Thread janus at gcc dot gnu dot org
--- Comment #14 from janus at gcc dot gnu dot org 2008-07-02 20:19 --- Closing. -- janus at gcc dot gnu dot org changed: What|Removed |Added Status|ASSIGNED

[Bug middle-end/36554] [4.4 regression] verify_flow_info ICE can not throw but has EH edges

2008-07-02 Thread ebotcazou at gcc dot gnu dot org
--- Comment #6 from ebotcazou at gcc dot gnu dot org 2008-07-02 20:20 --- > The fix would be to not propagate the comparisons if they can throw. OK, thanks for the tip. The patch to convert Ada to a canonical boolean type is written though (and eliminates the ICE as expected), I'm jus

[Bug fortran/36703] New: ICE (segfault) in reduce_binary0 (arith.c:1778)

2008-07-02 Thread burnus at gcc dot gnu dot org
http://groups.google.com/group/comp.lang.fortran/msg/b600c081a3654936 compiling attached program causes a segfault. $ gfortran -c -fcray-pointer aaa.f90 aaa.f90: In function 'fptr': aaa.f90:89: internal compiler error: Segmentation fault ==4019== Invalid read of size 4 ==4019==at 0x40327E: r

[Bug fortran/36703] ICE (segfault) in reduce_binary0 (arith.c:1778)

2008-07-02 Thread burnus at gcc dot gnu dot org
--- Comment #1 from burnus at gcc dot gnu dot org 2008-07-02 20:26 --- Created an attachment (id=15844) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=15844&action=view) Test case -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36703

[Bug fortran/36704] New: Procedure pointer as function result

2008-07-02 Thread burnus at gcc dot gnu dot org
Remaining item since PR 32580 has been fixed. Procedure pointers as function result are not yet implemented and currently rejected. Short example: function foo() result(bar) procedure() :: bar and function foo() procedure() :: foo Long example: http://groups.google.com/group/comp.lang.for

[Bug fortran/36705] New: Procedure pointers with attributes statements

2008-07-02 Thread burnus at gcc dot gnu dot org
save :: p procedure() :: p pointer :: p end Error: PROCEDURE attribute conflicts with SAVE attribute in 'p' at (1) Problem: The SAVE + PROCEDURE checking comes too early before the POINTER is seen. I think this program is valid. Analogously: subroutine bar(x) procedure(), intent(in) :: x poin

[Bug middle-end/30141] nested function can produce invalid gimple

2008-07-02 Thread pinskia at gcc dot gnu dot org
--- Comment #4 from pinskia at gcc dot gnu dot org 2008-07-02 20:52 --- I cannot find my patch any more so unassigning. -- pinskia at gcc dot gnu dot org changed: What|Removed |Added -

[Bug c++/36696] Default constructor instance definition with empty argument list quietly ignored

2008-07-02 Thread dseketel at redhat dot com
--- Comment #2 from dseketel at redhat dot com 2008-07-02 21:09 --- Yes, foo bar (); is indeed the declaration of a function bar of type foo that takes no arguments in parameter. I believe gcc is right there. -- dseketel at redhat dot com changed: What|Removed

[Bug c++/36696] Default constructor instance definition with empty argument list quietly ignored

2008-07-02 Thread pinskia at gcc dot gnu dot org
--- Comment #3 from pinskia at gcc dot gnu dot org 2008-07-02 21:16 --- This is an ambiguous in the C++ standard that is resolved via making it a function declaration. That is: Raii raii (); Is declaring a function, raii, that returns a Raii type. -- pinskia at gcc dot gnu dot o

[Bug c++/13101] incorrect warning on initialized extern const function pointer

2008-07-02 Thread dseketel at redhat dot com
--- Comment #2 from dseketel at redhat dot com 2008-07-02 22:19 --- Hello, I have sent a patch to the list at http://gcc.gnu.org/ml/gcc-patches/2008-07/msg00160.html. Hopefully that patch should fix this issue. -- dseketel at redhat dot com changed: What|Removed

[Bug testsuite/36285] gcc.dg/compat/struct-by-value-xxx improper test for AVR target

2008-07-02 Thread hutchinsonandy at gcc dot gnu dot org
--- Comment #4 from hutchinsonandy at gcc dot gnu dot org 2008-07-02 22:32 --- Subject: Bug 36285 Author: hutchinsonandy Date: Wed Jul 2 22:31:11 2008 New Revision: 137396 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=137396 Log: PR testsuite/36285 * gcc.dg/compat/struct-by-v

[Bug c/36706] New: [Regression] linux-kernel 2.6.24 doesn't boot for arm

2008-07-02 Thread chris dot steel dot lnx at googlemail dot com
I've built linux-2.6.24 for arm using gcc-4.3.1 and while it builds fine, the resulting binary doesn't boot on qemu. If I build the same kernel with gcc-4.2.4 it boots correctly. The problem seems to be that the prefetch function (linux-2.6.24/include/asm-arm/processor.h) causes a crash if it is c

[Bug c/36706] [Regression] linux-kernel 2.6.24 doesn't boot for arm

2008-07-02 Thread chris dot steel dot lnx at googlemail dot com
--- Comment #1 from chris dot steel dot lnx at googlemail dot com 2008-07-02 22:36 --- Created an attachment (id=15845) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=15845&action=view) kernel config to reproduce the problem -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36706

[Bug c/36706] [Regression] linux-kernel 2.6.24 doesn't boot for arm

2008-07-02 Thread pinskia at gcc dot gnu dot org
--- Comment #2 from pinskia at gcc dot gnu dot org 2008-07-02 22:44 --- The use of "o" is most likely wrong here and most likely not a GCC issue as you are saying you access the memory when in reality you don't. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36706

[Bug inline-asm/36706] [Regression] linux-kernel 2.6.24 doesn't boot for arm

2008-07-02 Thread pinskia at gcc dot gnu dot org
--- Comment #3 from pinskia at gcc dot gnu dot org 2008-07-02 22:46 --- Yes o is wrong here. THis is not a GCC bug. -- pinskia at gcc dot gnu dot org changed: What|Removed |Added

[Bug inline-asm/36706] [Regression] linux-kernel 2.6.24 doesn't boot for arm

2008-07-02 Thread pinskia at gcc dot gnu dot org
--- Comment #4 from pinskia at gcc dot gnu dot org 2008-07-02 22:47 --- "o" means any offsetable memory operand so GCC thinks you are accessing memory that will always be valid. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36706

[Bug c++/36707] New: ICE in build_modify_expr on rvalue reference function template

2008-07-02 Thread sebor at roguewave dot com
I haven't found anything about this in Bugzilla or tried 4.3.1: $ cat t.cpp && g++ -std=gnu++0x t.cpp template void foo (T&& x) { x = T (); } int main () { int i; foo (i); } t.cpp: In function ‘void foo(T&&) [with T = int&]’: t.cpp:5: instantiated from here t.cpp:1: internal compiler e

[Bug c++/9937] [DR 176] Base class template name is not injected properly into derived class

2008-07-02 Thread widman at gimpel dot com
--- Comment #7 from widman at gimpel dot com 2008-07-03 01:40 --- (In reply to comment #3) Hi all, I happen to be looking at something related to this issue and encountered this GCC bug, so I thought I'd offer my observations. > [EMAIL PROTECTED] wrote: > | Something seems inde

[Bug c/36708] New: syntatic warning

2008-07-02 Thread robert dot lore at opensyscon dot com dot au
I think this code is syntactically correct, but can cause problems in debugging. If you don't scrutinize the code too carefully you can waste time here - code was a cut and paste from strcpy to integer assignment with resultant comma not changed to assignment. // this code does nothing ! f -> fo

[Bug c++/36709] New: Compiler allows namespace and class to have same name and doesn't generate ambiguous reference error when it should result from this.

2008-07-02 Thread rquabili at princeton dot edu
Since J is already defined, the namespace declaration should generate an error ("int J; namespace J{}" does generate an error). G++ gets confused with the g() call and instead of generating an error it passes the problem to the assembler. main.cpp: struct J { static void g() {} }; namespace J

[Bug c/36708] syntatic warning

2008-07-02 Thread pinskia at gcc dot gnu dot org
--- Comment #1 from pinskia at gcc dot gnu dot org 2008-07-03 02:50 --- -Wunused-value should warn about this ... -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36708

[Bug middle-end/36037] [4.4 regression] segfault in gt_ggc_mx_dw_loc_descr_struct

2008-07-02 Thread ubizjak at gmail dot com
--- Comment #9 from ubizjak at gmail dot com 2008-07-03 06:09 --- (In reply to comment #8) > current trunk (actually a few days old) doesn't fail anymore. The script used > for testing actually has ulimit -s 128000 which is pretty high. I tested with > ulimit -s 32000 and ulimit -s 6400