[Bug libstdc++/24537] Non-uglified names inside namespace __gnu_cxx

2005-10-27 Thread bkoz at gcc dot gnu dot org
--- Comment #3 from bkoz at gcc dot gnu dot org 2005-10-27 06:04 --- Naming wise I think __gnu_ext makes more sense. It's what we should have used for the extension namespace from the beginning. -benjamin -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24537

[Bug fortran/24554] New: internal compiler error

2005-10-27 Thread mabdallah at unido-ichet dot org
C:\Fortrangfortran TOBAM5.f TOBAM5.f:527: internal compiler error: in gfc_assign_data_value, at fortran/data .c:319 Please submit a full bug report, with preprocessed source if appropriate. See URL:http://gcc.gnu.org/bugs.html for instructions. -- Summary: internal compiler error

[Bug c++/24555] New: Sending output to cout stream sporadically causes segfault

2005-10-27 Thread springmalnachlinks at yahoo dot de
Used g++ 4.0.2 with accompanying libstdc++ 4.0.2 under SuSE Linux 10 64-bit and Ubuntu Linux 5.10 32-bit. Using both 64-bit g++ with and without -m32 switch, as well as 32-bit g++, cout occasionally produces a segfault which could not be reproduced under 3.3.5 or various flavors of 3.4.

[Bug c++/24555] Sending output to cout stream sporadically causes segfault

2005-10-27 Thread springmalnachlinks at yahoo dot de
--- Comment #1 from springmalnachlinks at yahoo dot de 2005-10-27 07:46 --- Created an attachment (id=10068) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=10068action=view) Tic-Tac-Toe game, which produces the segfault under certain build envs --

[Bug regression/24556] New: gcc can't inline functions using setjmp

2005-10-27 Thread samuel dot thibault at ens-lyon dot org
Hi, We have a thread library which can't be optimized as much as before, because -starting from gcc 3.4- functions calling setjmp can not be inlined. Our problem is with our switchto function: void switchto(task_t *cur, task_t *next) { if (cur!=next) { if (setjmp(cur-buf)

[Bug libstdc++/24537] Non-uglified names inside namespace __gnu_cxx

2005-10-27 Thread pcarlini at suse dot de
--- Comment #4 from pcarlini at suse dot de 2005-10-27 09:07 --- (In reply to comment #3) Naming wise I think __gnu_ext makes more sense. It's what we should have used for the extension namespace from the beginning. Of course I'm ok with __gnu_ext. Actually, I'm ok with anything you

[Bug target/12639] long double comparison is broken

2005-10-27 Thread christopher dot eltschka at physik dot uni-regensburg dot de
--- Comment #3 from christopher dot eltschka at physik dot uni-regensburg dot de 2005-10-27 09:11 --- I just stumbled on the same problem, but with much more conventional numbers. The following C++ test program demonstrates it: #include iostream // this just serves to calculate a

[Bug fortran/24503] varying string length character function result

2005-10-27 Thread erik dot edelmann at iki dot fi
--- Comment #5 from erik dot edelmann at iki dot fi 2005-10-27 09:25 --- Patch here: http://gcc.gnu.org/ml/fortran/2005-10/msg00587.html -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24503

[Bug libstdc++/24469] Possible race condition in mt_allocator causing SIGSEGV

2005-10-27 Thread pcarlini at suse dot de
--- Comment #2 from pcarlini at suse dot de 2005-10-27 10:16 --- I can see a few possible strategies: 1- Arches supporting the new __sync_fetch_and_add (at least, i686, x86_64, powerpc ia64, s390), could simply use it on the existing __bin._M_used. 2- Otherwise, a lock in

[Bug fortran/24503] varying string length character function result

2005-10-27 Thread eedelman at gcc dot gnu dot org
--- Comment #6 from eedelman at gcc dot gnu dot org 2005-10-27 10:26 --- *** This bug has been marked as a duplicate of 18883 *** -- eedelman at gcc dot gnu dot org changed: What|Removed |Added

[Bug fortran/18883] ICE in gfc_finish_var_decl

2005-10-27 Thread eedelman at gcc dot gnu dot org
--- Comment #6 from eedelman at gcc dot gnu dot org 2005-10-27 10:26 --- *** Bug 24503 has been marked as a duplicate of this bug. *** -- eedelman at gcc dot gnu dot org changed: What|Removed |Added

[Bug fortran/18883] ICE in gfc_finish_var_decl

2005-10-27 Thread eedelman at gcc dot gnu dot org
--- Comment #7 from eedelman at gcc dot gnu dot org 2005-10-27 10:28 --- Patch here: http://gcc.gnu.org/ml/fortran/2005-10/msg00587.html -- eedelman at gcc dot gnu dot org changed: What|Removed |Added

gnu fortran - arpack examples hang

2005-10-27 Thread Cezary Sliwa
When compiled with g77/gfortran, the double precision arpack examples hang before executing the first line of code. gcc 3.3 works fine. gcc 3.4.4, 4.0.2 x86 linux and mingw32 compile options: -funroll-all-loops -O3 Cezary Sliwa

[Bug target/12639] long double comparison is broken

2005-10-27 Thread christopher dot eltschka at physik dot uni-regensburg dot de
--- Comment #4 from christopher dot eltschka at physik dot uni-regensburg dot de 2005-10-27 10:38 --- (In reply to comment #3) As workaround for == 0, !! seems to work. Unfortunately I don't know a workaround for 0 and 0. Sorry for self-reply, but now I've found a simple

[Bug fortran/24557] New: ICE: PRINTing function result of size depending on assumed length CHARACTER dummy

2005-10-27 Thread eedelman at gcc dot gnu dot org
kl-nrb:~$ cat buggy.f90 program main implicit none character(4) :: a(2) print *,fun(a) contains function fun(arg) character(len=*), intent(in) :: arg(:) integer :: fun(size(arg)) fun = 5 end function fun end pkl-nrb:~$ gfortran41 buggy.f90 buggy.f90:4: internal compiler

[Bug fortran/24554] internal compiler error

2005-10-27 Thread rguenth at gcc dot gnu dot org
--- Comment #1 from rguenth at gcc dot gnu dot org 2005-10-27 11:18 --- *** This bug has been marked as a duplicate of 17737 *** -- rguenth at gcc dot gnu dot org changed: What|Removed |Added

[Bug target/24547] Branch cost of -Os is ignored

2005-10-27 Thread rguenth at gcc dot gnu dot org
--- Comment #1 from rguenth at gcc dot gnu dot org 2005-10-27 11:26 --- Confirmed, in principle. Though, in this light, one needs to re-evaluate if the branch cost of 1 is good for optimize_size. Same for x86_64, btw., which should really get different size-cost table for 64bit. --

[Bug fortran/24554] internal compiler error

2005-10-27 Thread steven at gcc dot gnu dot org
--- Comment #2 from steven at gcc dot gnu dot org 2005-10-27 11:26 --- Huh, how can this ICE be a duplicate of an accepts-invalid bug?? -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24554

[Bug fortran/24554] internal compiler error

2005-10-27 Thread rguenth at gcc dot gnu dot org
--- Comment #3 from rguenth at gcc dot gnu dot org 2005-10-27 12:33 --- Because if you look in that BUGs audit-trail we have The error message is city3s.f:0: internal compiler error: in gfc_assign_data_value, at fortran/data.c:319 given the detailled information in this (24554)

[Bug fortran/24558] New: ENTRY doesn't work in module procedures

2005-10-27 Thread eedelman at gcc dot gnu dot org
With explicitely declared types for a function and it's entry points, I get a 'Duplicate key found!' error: kl-nrb:~$ cat test_entry_2.f90 module foo contains function n1() integer :: n1, n2 n1 = 1 return entry n2() n2 = 2 return end function

[Bug regression/24556] gcc can't inline functions using setjmp

2005-10-27 Thread pinskia at gcc dot gnu dot org
--- Comment #1 from pinskia at gcc dot gnu dot org 2005-10-27 13:37 --- This is not a bug as if you inline it, the place setjmp goes to could be not where you want to goto. -- pinskia at gcc dot gnu dot org changed: What|Removed |Added

[Bug regression/24556] gcc can't inline functions using setjmp

2005-10-27 Thread samuel dot thibault at ens-lyon dot org
--- Comment #2 from samuel dot thibault at ens-lyon dot org 2005-10-27 13:45 --- Subject: Re: gcc can't inline functions using setjmp pinskia at gcc dot gnu dot org, le Thu 27 Oct 2005 13:37:32 -, a écrit : This is not a bug as if you inline it, the place setjmp goes to could

[Bug libgcj/24552] Encoding alias EUC_JP missing

2005-10-27 Thread pinskia at gcc dot gnu dot org
--- Comment #1 from pinskia at gcc dot gnu dot org 2005-10-27 13:59 --- Related to PR14358 -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24552

[Bug c++/23426] [4.0/4.1 Regression] Too large array problem gives two error message

2005-10-27 Thread pinskia at gcc dot gnu dot org
--- Comment #13 from pinskia at gcc dot gnu dot org 2005-10-27 14:01 --- (In reply to comment #12) I might have a fix for the two error messages, though it might also cause other issues, let see what happens in the test results. It did not work. --

[Bug c++/23229] [4.0/4.1 Regression] g++ gives incorrect error message with void main() and a void function

2005-10-27 Thread pinskia at gcc dot gnu dot org
--- Comment #3 from pinskia at gcc dot gnu dot org 2005-10-27 14:11 --- I have a simple fix for this, we just need to copy the type as it looks as it is shared now. -- pinskia at gcc dot gnu dot org changed: What|Removed |Added

[Bug regression/24556] gcc can't inline functions using setjmp

2005-10-27 Thread rguenth at gcc dot gnu dot org
--- Comment #3 from rguenth at gcc dot gnu dot org 2005-10-27 14:11 --- I believe it should be safe to inline, as inlining can only make a previously invalid use of sjlj valid, but not the other way around. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24556

[Bug preprocessor/22042] [3.4/4.0/4.1 Regression] stringification BUG

2005-10-27 Thread pinskia at gcc dot gnu dot org
--- Comment #12 from pinskia at gcc dot gnu dot org 2005-10-27 14:33 --- I will relook at this and post it soon. -- pinskia at gcc dot gnu dot org changed: What|Removed |Added

[Bug target/22432] [4.0/4.1 Regression] Wrong code generation using MMX intrinsics on amd64

2005-10-27 Thread pinskia at gcc dot gnu dot org
--- Comment #3 from pinskia at gcc dot gnu dot org 2005-10-27 14:44 --- A regression from 3.4.x and 3.3.x. -- pinskia at gcc dot gnu dot org changed: What|Removed |Added

[Bug other/4372] #pragma weak pthread* inclusion causes applications to crash without a linker error when one forgets to link with -lpthread

2005-10-27 Thread aoliva at gcc dot gnu dot org
-- aoliva at gcc dot gnu dot org changed: What|Removed |Added AssignedTo|unassigned at gcc dot gnu |aoliva at gcc dot gnu dot |dot org

[Bug c/24371] -fno-unit-at-a-time ignored in IMA mode

2005-10-27 Thread rguenth at gcc dot gnu dot org
--- Comment #2 from rguenth at gcc dot gnu dot org 2005-10-27 15:48 --- Confirmed as a diagnostics issue. -- rguenth at gcc dot gnu dot org changed: What|Removed |Added

[Bug target/22432] [4.0/4.1 Regression] Wrong code generation using MMX intrinsics on amd64

2005-10-27 Thread pluto at agmk dot net
--- Comment #4 from pluto at agmk dot net 2005-10-27 16:00 --- With my patched gcc-4.1.0-20051019 the testcase works. Applied patches: PR7776, PR20297, PR22429, PR22533, PR23948, PR19505, PR20606, PR24069, PR24419, PR24172, PR24295, PR20928 [EMAIL PROTECTED] BUILD]$ gcc -Wall -O2

[Bug c++/24312] C++ front-end doesn't correctly handle distinction between global initializers and ctors

2005-10-27 Thread pinskia at gcc dot gnu dot org
--- Comment #3 from pinskia at gcc dot gnu dot org 2005-10-27 16:22 --- Hmm, ICC gets it wrong too, maybe there is a misunderstanding somewhere. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24312

[Bug target/23524] [4.1 Regression]bigger version of mov + cmp produced

2005-10-27 Thread steven at gcc dot gnu dot org
--- Comment #7 from steven at gcc dot gnu dot org 2005-10-27 16:26 --- Could the dear reported at least try to provide a small test case? I think this should not be marked as a regression. It's just sad that this kind of non-bug keeps the regression count high, when in reality GCC 4.1

[Bug c++/18182] Incorrect processing of __attribute__ by the C++ parser

2005-10-27 Thread pinskia at gcc dot gnu dot org
--- Comment #2 from pinskia at gcc dot gnu dot org 2005-10-27 16:30 --- I think this has been fixed as I get an error on i686-pc-linux-gnu with your non-Pmode pointers expample. This was on the mainline. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18182

[Bug rtl-optimization/21804] [3.4 only] gcc generates incorrect code on x86_64 with -O2

2005-10-27 Thread pinskia at gcc dot gnu dot org
--- Comment #2 from pinskia at gcc dot gnu dot org 2005-10-27 16:40 --- Closing as fixed for 4.0.0. -- pinskia at gcc dot gnu dot org changed: What|Removed |Added

[Bug middle-end/21939] [3.4 Regression] corrupted memory with deque of 63 items

2005-10-27 Thread pinskia at gcc dot gnu dot org
-- pinskia at gcc dot gnu dot org changed: What|Removed |Added Target Milestone|--- |3.4.5 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21939

[Bug target/23524] [4.1 Regression]bigger version of mov + cmp produced

2005-10-27 Thread dann at godzilla dot ics dot uci dot edu
--- Comment #8 from dann at godzilla dot ics dot uci dot edu 2005-10-27 16:43 --- (In reply to comment #7) Could the dear reported at least try to provide a small test case? The testcase in the attachment contains only a 4 lines function: HandleDeIconify, the rest is just fluff to

[Bug fortran/23246] Error using function returning array as subroutine argument

2005-10-27 Thread pinskia at gcc dot gnu dot org
--- Comment #3 from pinskia at gcc dot gnu dot org 2005-10-27 16:45 --- This works now but I don't know if this is really fixed as the now libgfortran just calls into malloc/free without wrapping it so we get errors like this. Newer glibc should error out but I don't have it because I

[Bug fortran/18197] bus error on returning from a function

2005-10-27 Thread pinskia at gcc dot gnu dot org
--- Comment #4 from pinskia at gcc dot gnu dot org 2005-10-27 16:46 --- We get an ICE now: t.f90:26: internal compiler error: in gfc_trans_arrayfunc_assign, at fortran/trans-expr.c:2632 -- pinskia at gcc dot gnu dot org changed: What|Removed

[Bug rtl-optimization/15265] delete_output_reload deletes necessary insn

2005-10-27 Thread pinskia at gcc dot gnu dot org
-- pinskia at gcc dot gnu dot org changed: What|Removed |Added Status|UNCONFIRMED |NEW Ever Confirmed|0 |1 Last

[Bug target/21833] simd tests fail in 3.4.4, but not in 3.3.6 or 4.0.1

2005-10-27 Thread pinskia at gcc dot gnu dot org
--- Comment #5 from pinskia at gcc dot gnu dot org 2005-10-27 16:48 --- Closing as fixed in 4.0.1. -- pinskia at gcc dot gnu dot org changed: What|Removed |Added

[Bug c++/23480] default-initializing variable size array new expression for basic types does not work

2005-10-27 Thread pinskia at gcc dot gnu dot org
--- Comment #4 from pinskia at gcc dot gnu dot org 2005-10-27 16:56 --- Fixed for 4.0.3 and above. -- pinskia at gcc dot gnu dot org changed: What|Removed |Added

[Bug target/23524] [4.1 Regression]bigger version of mov + cmp produced

2005-10-27 Thread steven at gcc dot gnu dot org
--- Comment #9 from steven at gcc dot gnu dot org 2005-10-27 17:08 --- And CSiBE tells you the story that GCC 4.1 produces smaller code overall. http://www.inf.u-szeged.hu/csibe/draw-diag.php?draw=sum-osbasephp=s-i686-linux So do the SPEC benchmark boxes btw. --

[Bug target/19922] xor is enclosed in loop, and exectuted on each iteration of for statement

2005-10-27 Thread pinskia at gcc dot gnu dot org
--- Comment #5 from pinskia at gcc dot gnu dot org 2005-10-27 17:21 --- The realy problem here is that the xor is produced after reload and is really only done on some x86 targets. -- pinskia at gcc dot gnu dot org changed: What|Removed |Added

[Bug libfortran/24541] libgfortran.so in 4.1 is incompatible with 4.0

2005-10-27 Thread tobi at gcc dot gnu dot org
--- Comment #7 from tobi at gcc dot gnu dot org 2005-10-27 17:21 --- We should bump the library file's version number. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24541

[Bug target/23524] [4.1 Regression]bigger version of mov + cmp produced

2005-10-27 Thread steven at gcc dot gnu dot org
--- Comment #10 from steven at gcc dot gnu dot org 2005-10-27 17:31 --- For the record, we're talking about: 1.file t.c 2.text 3.p2align 4,,15 4.globl foo 5

[Bug target/23524] [4.1 Regression]bigger version of mov + cmp produced

2005-10-27 Thread steven at gcc dot gnu dot org
--- Comment #11 from steven at gcc dot gnu dot org 2005-10-27 17:34 --- And FWIW there is also a problem with this insn, the length is wrong: #(insn 11 46 47 0x2a955cc840 (set (reg:SI 0 eax [orig:61 x ] [61]) #(mem/f:SI (symbol_ref:SI (x)) [5 x+0 S4 A32])) 44 {*movsi_1} (nil) #

[Bug target/23524] [4.1 Regression]bigger version of mov + cmp produced

2005-10-27 Thread steven at gcc dot gnu dot org
-- steven at gcc dot gnu dot org changed: What|Removed |Added Status|WAITING |NEW Ever Confirmed|0 |1 Last

[Bug fortran/23368] internal compiler error with NAG routines

2005-10-27 Thread pinskia at gcc dot gnu dot org
--- Comment #6 from pinskia at gcc dot gnu dot org 2005-10-27 17:57 --- Closing as fixed for 4.0.2. -- pinskia at gcc dot gnu dot org changed: What|Removed |Added

[Bug target/16589] [4.0/4.1 regression] [m68k] segmentation fault on identical array accesses in the ?: operators' body

2005-10-27 Thread pinskia at gcc dot gnu dot org
--- Comment #13 from pinskia at gcc dot gnu dot org 2005-10-27 17:59 --- This is still a bug. -- pinskia at gcc dot gnu dot org changed: What|Removed |Added

[Bug bootstrap/23776] configure: error: no acceptable cc found in $PATH

2005-10-27 Thread pinskia at gcc dot gnu dot org
--- Comment #4 from pinskia at gcc dot gnu dot org 2005-10-27 18:01 --- You install a compiler via the installer you installed the OS from (since this is GNU/Linux). -- pinskia at gcc dot gnu dot org changed: What|Removed |Added

[Bug c++/24559] New: Incorrect definition of wcspbrk in cwchar

2005-10-27 Thread david dot moore at intel dot com
According to the C++ standard the declarations of wcspbrk should take two cont pointers or a (non-const pointer and a const pointer (in that order): The actual declarations as if gcc 4.0 and apparently since introduction of the second declaration take either two const pointers or two non-const

[Bug target/23524] [4.1 Regression]bigger version of mov + cmp produced

2005-10-27 Thread dann at godzilla dot ics dot uci dot edu
--- Comment #12 from dann at godzilla dot ics dot uci dot edu 2005-10-27 18:08 --- (In reply to comment #9) And CSiBE tells you the story that GCC 4.1 produces smaller code overall. http://www.inf.u-szeged.hu/csibe/draw-diag.php?draw=sum-osbasephp=s-i686-linux Well, it obviously

[Bug libstdc++/24559] Incorrect definition of wcspbrk in cwchar

2005-10-27 Thread pinskia at gcc dot gnu dot org
--- Comment #1 from pinskia at gcc dot gnu dot org 2005-10-27 18:16 --- Confirmed, the issue is in libstdc++. inline wchar_t* wcspbrk(wchar_t* __s1, wchar_t* __s2) { return wcspbrk(const_castconst wchar_t*(__s1), __s2); } -- pinskia at gcc dot gnu dot org changed:

[Bug target/23488] [4.1 Regression] GCSE load PRE does not work with non sets

2005-10-27 Thread pinskia at gcc dot gnu dot org
--- Comment #9 from pinskia at gcc dot gnu dot org 2005-10-27 18:30 --- Changing the summary to give a better idea what is going on here. -- pinskia at gcc dot gnu dot org changed: What|Removed |Added

[Bug c++/23229] [4.0/4.1 Regression] g++ gives incorrect error message with void main() and a void function

2005-10-27 Thread pinskia at gcc dot gnu dot org
--- Comment #4 from pinskia at gcc dot gnu dot org 2005-10-27 19:21 --- Patch posted: http://gcc.gnu.org/ml/gcc-patches/2005-10/msg01582.html. -- pinskia at gcc dot gnu dot org changed: What|Removed |Added

[Bug preprocessor/22042] [3.4/4.0/4.1 Regression] stringification BUG

2005-10-27 Thread pinskia at gcc dot gnu dot org
--- Comment #13 from pinskia at gcc dot gnu dot org 2005-10-27 19:36 --- Patch submitted: http://gcc.gnu.org/ml/gcc-patches/2005-10/msg01583.html. -- pinskia at gcc dot gnu dot org changed: What|Removed |Added

[Bug libstdc++/24559] Incorrect definition of wcspbrk in cwchar

2005-10-27 Thread pcarlini at suse dot de
--- Comment #2 from pcarlini at suse dot de 2005-10-27 19:42 --- Thanks, likely will be the first svn library commit ;) -- pcarlini at suse dot de changed: What|Removed |Added

[Bug middle-end/24362] [4.0/4.1 Regression] internal compiler error: in extract_component, at tree-complex.c:68

2005-10-27 Thread pinskia at gcc dot gnu dot org
--- Comment #10 from pinskia at gcc dot gnu dot org 2005-10-27 19:49 --- Will commit once SVN is alive: http://gcc.gnu.org/ml/gcc-patches/2005-10/msg01584.html. -- pinskia at gcc dot gnu dot org changed: What|Removed |Added

[Bug c++/24560] New: insufficient contextual information to determine type is not a helpful error message

2005-10-27 Thread guillaume dot melquiond at ens-lyon dot fr
Testcase: struct A { void f(); }; void g() { A().f.a; } GCC 3.4 and 4.0 display the following error message: a.cpp:2: error: insufficient contextual information to determine type This message is surprising, because, whatever the context, a compiler will never be able to do anything useful

[Bug c++/24560] insufficient contextual information to determine type is not a helpful error message

2005-10-27 Thread pinskia at gcc dot gnu dot org
--- Comment #1 from pinskia at gcc dot gnu dot org 2005-10-27 19:55 --- 2.95.3 to 3.2.3 gave: t.cc: In function `void g()': t.cc:3: request for member `a' in `{}.A::f', which is of non-aggregate type `unknown type' Which is close to what you were expecting so this is a regression.

[Bug c/23155] [4.0/4.1 Regression] Gimplification failed for union cast

2005-10-27 Thread pinskia at gcc dot gnu dot org
--- Comment #8 from pinskia at gcc dot gnu dot org 2005-10-27 20:01 --- I might look into this soon. -- pinskia at gcc dot gnu dot org changed: What|Removed |Added

[Bug middle-end/22156] [4.0/4.1 Regression] bit-field copying regressed

2005-10-27 Thread pinskia at gcc dot gnu dot org
--- Comment #7 from pinskia at gcc dot gnu dot org 2005-10-27 20:31 --- Nothing can happen until 4.2.0 for this issue really as we need a real copy prop for structs. -- pinskia at gcc dot gnu dot org changed: What|Removed |Added

[Bug c++/17964] [4.0/4.1 Regression] cpp error messages contain wrong line in C++

2005-10-27 Thread pinskia at gcc dot gnu dot org
--- Comment #6 from pinskia at gcc dot gnu dot org 2005-10-27 20:34 --- (In reply to comment #5) It gets worse if the unknown escape is at the beginning of the file and then you have about 100 more lines. Or even in a different file. --

[Bug c++/20681] [4.0/4.1 Regression] wrong control reaches warning with switches

2005-10-27 Thread pinskia at gcc dot gnu dot org
-- pinskia at gcc dot gnu dot org changed: What|Removed |Added Severity|normal |minor http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20681

[Bug c++/19989] [4.0/4.1 regression] Inconsistency with zero-sized arrays

2005-10-27 Thread pinskia at gcc dot gnu dot org
-- pinskia at gcc dot gnu dot org changed: What|Removed |Added Severity|normal |minor http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19989

[Bug c/23155] [4.0/4.1 Regression] Gimplification failed for union cast

2005-10-27 Thread pinskia at gcc dot gnu dot org
--- Comment #9 from pinskia at gcc dot gnu dot org 2005-10-27 21:15 --- This is a combination of a GCC extension (of cast to union) and a C99 feature (subscripting a non-lvalue array) so this is valid code (but undefined code) even though it looks so weird. Anyways I have a patch which

[Bug tree-optimization/24172] [4.1 Regression] error: incorrect sharing of tree nodes

2005-10-27 Thread hubicka at gcc dot gnu dot org
--- Comment #13 from hubicka at gcc dot gnu dot org 2005-10-27 21:18 --- This is patch I am testing to prevent the sharing. I think it is good idea in addition to Richard's patch to make fold do it's job too: void IOException( char); inline int* dummy( const char* const mode ) {

[Bug libstdc++/24537] Non-uglified names inside namespace __gnu_cxx

2005-10-27 Thread pinskia at gcc dot gnu dot org
--- Comment #5 from pinskia at gcc dot gnu dot org 2005-10-27 21:55 --- Confirmed. -- pinskia at gcc dot gnu dot org changed: What|Removed |Added

[Bug fortran/24557] ICE: PRINTing function result of size depending on assumed length CHARACTER dummy

2005-10-27 Thread pinskia at gcc dot gnu dot org
--- Comment #1 from pinskia at gcc dot gnu dot org 2005-10-27 22:00 --- Confirmed, backtace: #0 0x080ffa9b in convert_nonlocal_reference (tp=0xb7c6cabc, walk_subtrees=0xbfe14468, data=0xbfe14538) at /home/peshtigo/pinskia/src/gnu/gcc/src/gcc/tree-nested.c:829 #1 0x0836eea5 in

[Bug fortran/24558] ENTRY doesn't work in module procedures

2005-10-27 Thread pinskia at gcc dot gnu dot org
--- Comment #1 from pinskia at gcc dot gnu dot org 2005-10-27 23:12 --- For the second one, I get an ICE: t.f90:10: internal compiler error: in gfc_conv_variable, at fortran/trans-expr.c:355 But confirmed otherwise. -- pinskia at gcc dot gnu dot org changed: What

[Bug fortran/24546] [meta-bug] gfortran debugging problems

2005-10-27 Thread pinskia at gcc dot gnu dot org
-- pinskia at gcc dot gnu dot org changed: What|Removed |Added Status|UNCONFIRMED |NEW Ever Confirmed|0 |1 Last

[Bug fortran/24549] gfortran: IMPORT of f2003 not yet implemented, ICE

2005-10-27 Thread pinskia at gcc dot gnu dot org
--- Comment #1 from pinskia at gcc dot gnu dot org 2005-10-27 23:13 --- Confirmed. -- pinskia at gcc dot gnu dot org changed: What|Removed |Added

[Bug fortran/24526] variables from modules not visible in gdb

2005-10-27 Thread pinskia at gcc dot gnu dot org
--- Comment #2 from pinskia at gcc dot gnu dot org 2005-10-27 23:15 --- (In reply to comment #1) To let gdb recognize 'a' directly, some trick in gdb might be needed. I don't know if some trickery is needed, just we might need to emit something like what C++ does with it using

[Bug fortran/24527] derived types not displayed correctly with gdb

2005-10-27 Thread pinskia at gcc dot gnu dot org
--- Comment #1 from pinskia at gcc dot gnu dot org 2005-10-27 23:24 --- Confirmed. This is a gdb bug as if I do: set lang c it works. Oh, I think there is a dup around somewhere too. -- pinskia at gcc dot gnu dot org changed: What|Removed |Added

[Bug fortran/17905] allocated arrays not visible with gdb

2005-10-27 Thread pinskia at gcc dot gnu dot org
--- Comment #4 from pinskia at gcc dot gnu dot org 2005-10-27 23:27 --- This is more of a gdb bug as if I do: set lang c it prints out the array as a descriptor: $2 = {data = 0x9a7f2d8, offset = -1, dtype = 265, dim = {{stride = 1, lbound = 1, ubound = 10}}} --

[Bug fortran/24546] [meta-bug] gfortran debugging problems

2005-10-27 Thread pinskia at gcc dot gnu dot org
--- Comment #1 from pinskia at gcc dot gnu dot org 2005-10-27 23:32 --- From the looks of it, some of these are really gdb issues as they work when you do: set lang c -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24546

[Bug c++/24561] New: no static definition

2005-10-27 Thread bkoz at gcc dot gnu dot org
4.0.x and mainline have regressed WRT 3.4.x // Ensure freelist is constructed first. static int freelist_mutex = 1; static void _M_destroy_thread_key(void* __id) { int i = 0; } void _M_destroy_thread(void* __id) { int i = 0; } gives: %gcc -x c -g -O0 -c testme.cc %nm

[Bug c++/24561] no static definition

2005-10-27 Thread pinskia at gcc dot gnu dot org
--- Comment #1 from pinskia at gcc dot gnu dot org 2005-10-27 23:56 --- This is because unit at a time is turned on by default. -- pinskia at gcc dot gnu dot org changed: What|Removed |Added

[Bug c++/24561] no static definition

2005-10-27 Thread pinskia at gcc dot gnu dot org
--- Comment #2 from pinskia at gcc dot gnu dot org 2005-10-27 23:58 --- I don't know if this is really can be considered a bug as the static defintions are unused. If you want to keep them, you have to use the attribute used. But I will let someone else (Mark?) to decide. --

[Bug c++/24561] no static definition

2005-10-27 Thread mmitchel at gcc dot gnu dot org
--- Comment #3 from mmitchel at gcc dot gnu dot org 2005-10-28 00:11 --- I wouldn't call this a regression; I don't think there's any guarantee that unused statics stay around, even with -O0. However, I tend to agree that it would be better if they did stay around at -O0. In other

[Bug regression/24556] gcc can't inline functions using setjmp

2005-10-27 Thread samuel dot thibault at ens-lyon dot org
--- Comment #4 from samuel dot thibault at ens-lyon dot org 2005-10-28 00:21 --- Well, there is indeed an issue: the address of some local variables might be passed to other functions and then be modified in an external way between setjmp() and longjmp(), and if some local variables

[Bug c++/24561] no static definition

2005-10-27 Thread pinskia at gcc dot gnu dot org
--- Comment #4 from pinskia at gcc dot gnu dot org 2005-10-28 00:24 --- (In reply to comment #3) I wouldn't call this a regression; I don't think there's any guarantee that unused statics stay around, even with -O0. It is a regression as turning on unit-at-a-time at -O0 changed it.

[Bug regression/24556] gcc can't inline functions using setjmp

2005-10-27 Thread pinskia at gcc dot gnu dot org
--- Comment #5 from pinskia at gcc dot gnu dot org 2005-10-28 00:37 --- (In reply to comment #4) That is not really GCC's fault. Let me look into why setjmp was caused not to inline, there was a reason. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24556

[Bug regression/24556] gcc can't inline functions using setjmp

2005-10-27 Thread samuel dot thibault at ens-lyon dot org
--- Comment #6 from samuel dot thibault at ens-lyon dot org 2005-10-28 00:47 --- Subject: Re: gcc can't inline functions using setjmp pinskia at gcc dot gnu dot org, le Fri 28 Oct 2005 00:37:47 -, a écrit : Let me look into why setjmp was caused not to inline, there was a

[Bug c++/24561] no static definition

2005-10-27 Thread mark at codesourcery dot com
--- Comment #5 from mark at codesourcery dot com 2005-10-28 00:50 --- Subject: Re: no static definition pinskia at gcc dot gnu dot org wrote: --- Comment #4 from pinskia at gcc dot gnu dot org 2005-10-28 00:24 --- (In reply to comment #3) I wouldn't call this a

[Bug fastjar/24562] New: makebootstrap failed: make[3]: *** No rule to make target `../zlib/libz.a'

2005-10-27 Thread luongductruong at gmail dot com
When make bootstrap gcc4.0.2, I receive error: make[3]: *** No rule to make target `../zlib/libz.a', needed by `fastjar'. Stop. What's error? How I do to fix? Thank you. This is my configure command: CXXFLAGS='-Xassembler gstabs' ../src/gcc-4.0.2/configure --prefix=/usr/local/binut/

[Bug c++/24561] no static definition

2005-10-27 Thread pinskia at gcc dot gnu dot org
--- Comment #6 from pinskia at gcc dot gnu dot org 2005-10-28 01:34 --- (In reply to comment #5) I understand it's a change. That's different from saying it's a regression. It was an unexpected change really at least as far as I can tell Then, this bug should be changed to be a

[Bug bootstrap/24562] makebootstrap failed: make[3]: *** No rule to make target `../zlib/libz.a'

2005-10-27 Thread pinskia at gcc dot gnu dot org
--- Comment #1 from pinskia at gcc dot gnu dot org 2005-10-28 01:37 --- First try to configure with an absolute path. -- pinskia at gcc dot gnu dot org changed: What|Removed |Added

[Bug middle-end/24556] gcc can't inline functions using setjmp

2005-10-27 Thread pinskia at gcc dot gnu dot org
--- Comment #7 from pinskia at gcc dot gnu dot org 2005-10-28 01:39 --- So this is not a bug. Closing as won't fix. You found the issue and the docs for setjmp are really clear. -- pinskia at gcc dot gnu dot org changed: What|Removed |Added

[Bug bootstrap/24562] makebootstrap failed: make[3]: *** No rule to make target `../zlib/libz.a'

2005-10-27 Thread pinskia at gcc dot gnu dot org
--- Comment #2 from pinskia at gcc dot gnu dot org 2005-10-28 01:42 --- Second can you show how you build gcc? And attached the full build log. -- pinskia at gcc dot gnu dot org changed: What|Removed |Added

[Bug testsuite/23720] FAIL: gcc.dg/debug/dwarf2/dwarf-char[123].c scan-assembler 0x[68][ \t]# DW_AT_encoding

2005-10-27 Thread pinskia at gcc dot gnu dot org
--- Comment #5 from pinskia at gcc dot gnu dot org 2005-10-28 01:52 --- Does this work now, I think it does? -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23720

[Bug testsuite/23720] FAIL: gcc.dg/debug/dwarf2/dwarf-char[123].c scan-assembler 0x[68][ \t]# DW_AT_encoding

2005-10-27 Thread dave at hiauly1 dot hia dot nrc dot ca
--- Comment #6 from dave at hiauly1 dot hia dot nrc dot ca 2005-10-28 02:01 --- Subject: Re: FAIL: gcc.dg/debug/dwarf2/dwarf-char[123].c scan-assembler 0x[68][ \t]# DW_AT_encoding Does this work now, I think it does? Right, I'm not seeing it anymore. Dave --

[Bug c++/24561] no static definition

2005-10-27 Thread mark at codesourcery dot com
--- Comment #7 from mark at codesourcery dot com 2005-10-28 02:16 --- Subject: Re: no static definition pinskia at gcc dot gnu dot org wrote: Not really as unit at a time is considered an optimization and the C++ front-end just turns it on always. I don't think that's accurate.

[Bug bootstrap/24562] makebootstrap failed: make[3]: *** No rule to make target `../zlib/libz.a'

2005-10-27 Thread luongductruong at gmail dot com
--- Comment #3 from luongductruong at gmail dot com 2005-10-28 02:32 --- Created an attachment (id=10070) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=10070action=view) GCC 4.0.2 Full Log -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24562

[Bug testsuite/23720] FAIL: gcc.dg/debug/dwarf2/dwarf-char[123].c scan-assembler 0x[68][ \t]# DW_AT_encoding

2005-10-27 Thread pinskia at gcc dot gnu dot org
--- Comment #7 from pinskia at gcc dot gnu dot org 2005-10-28 02:34 --- Fixed so closing. -- pinskia at gcc dot gnu dot org changed: What|Removed |Added

[Bug bootstrap/24562] makebootstrap failed: make[3]: *** No rule to make target `../zlib/libz.a'

2005-10-27 Thread luongductruong at gmail dot com
--- Comment #4 from luongductruong at gmail dot com 2005-10-28 02:39 --- (In reply to comment #2) Second can you show how you build gcc? And attached the full build log. Following the instruction at gcc.gnu.org/install/configure.html I attached the full build log. The error

[Bug bootstrap/24562] makebootstrap failed: make[3]: *** No rule to make target `../zlib/libz.a'

2005-10-27 Thread pinskia at gcc dot gnu dot org
--- Comment #5 from pinskia at gcc dot gnu dot org 2005-10-28 02:45 --- What tar file did you download? You should have a zlib directory in the src directory. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24562

[Bug middle-end/23155] [4.0/4.1 Regression] Gimplification failed for union cast

2005-10-27 Thread pinskia at gcc dot gnu dot org
--- Comment #10 from pinskia at gcc dot gnu dot org 2005-10-28 03:36 --- Patch posted: http://gcc.gnu.org/ml/gcc-patches/2005-10/msg01598.html. -- pinskia at gcc dot gnu dot org changed: What|Removed |Added

[Bug c++/23426] [4.0/4.1 Regression] Too large array problem gives two error message

2005-10-27 Thread pinskia at gcc dot gnu dot org
--- Comment #14 from pinskia at gcc dot gnu dot org 2005-10-28 03:57 --- Actually I figured out how to fix the problem with my patch, just moving around error mark node is what is needed here. -- pinskia at gcc dot gnu dot org changed: What|Removed

  1   2   >