[Bug preprocessor/19801] [4.0 Regression] cppinternals.texi references old file names

2005-02-07 Thread bonzini at gcc dot gnu dot org
-- What|Removed |Added AssignedTo|unassigned at gcc dot gnu |bonzini at gcc dot gnu dot |dot org |org Status|NEW

[Bug libfortran/19678] DOS files don't work for list directed input

2005-02-07 Thread Thomas dot Koenig at online dot de
--- Additional Comments From Thomas dot Koenig at online dot de 2005-02-07 08:48 --- g77 can do this: $ cat dosfile.f write(10,'(2A)') '1',achar(13) rewind(10) read (10,*) n print *,n end $ g77 dosfile.f $ ./a.out 1 $ g77 -v Reading specs from /usr/lib/gcc

[Bug target/19796] [4.0 Regression] Bootstrap fails: Unresolved data symbol "set_fpc_csr"

2005-02-07 Thread cvs-commit at gcc dot gnu dot org
--- Additional Comments From cvs-commit at gcc dot gnu dot org 2005-02-07 09:28 --- Subject: Bug 19796 CVSROOT:/cvs/gcc Module name:gcc Changes by: [EMAIL PROTECTED] 2005-02-07 09:27:48 Modified files: gcc: ChangeLog gcc/config/mips: i

[Bug target/19796] [4.0 Regression] Bootstrap fails: Unresolved data symbol "set_fpc_csr"

2005-02-07 Thread rsandifo at gcc dot gnu dot org
--- Additional Comments From rsandifo at gcc dot gnu dot org 2005-02-07 09:33 --- Sigh. Obviously the sys/fpu.h thing isn't as portable as I'd thought. I wondered why your 4.0 reports had suddendly dropped off... I have seen this technique mentioned on various web pages, so I'd be inte

[Bug c++/18384] [3.3/3.4/4.0 Regression] ICE on zero-length array with empty initializer...

2005-02-07 Thread giovannibajo at libero dot it
--- Additional Comments From giovannibajo at libero dot it 2005-02-07 10:37 --- Jakub, it looks like you applied the patch only to 3.4. Can you apply it to mainline and 3.3 too so that we can close this regression? -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18384

[Bug c++/18604] [3.4/4.0 Regression] Strong using lookup conflicts

2005-02-07 Thread giovannibajo at libero dot it
--- Additional Comments From giovannibajo at libero dot it 2005-02-07 10:40 --- Reconfirmed. I see this failure many times in boost logs. -- What|Removed |Added Last recon

[Bug target/19746] printf() optimisation ignores longcall attribute

2005-02-07 Thread amodra at bigpond dot net dot au
--- Additional Comments From amodra at bigpond dot net dot au 2005-02-07 11:28 --- Note that if you declare __builtin_printf and __builtin_puts with __attribute__((__longcall__)) as well as printf and puts, you will get the behaviour you expect. The following patch also works, but I'm u

[Bug java/8608] segmentation fault on compiling bad program

2005-02-07 Thread rmathew at gcc dot gnu dot org
--- Additional Comments From rmathew at gcc dot gnu dot org 2005-02-07 13:06 --- The simplest testcase that reproduces this bug with the current mainline is: class Foo { void bar() { int a; int i; for(i=a;;); } } If the "int i" is removed and the for loop is changed t

[Bug middle-end/19775] [3.4/4.0 regression] sqrt(pow(x,y)) != pow(x,y*0.5) (with -ffast-math)

2005-02-07 Thread cvs-commit at gcc dot gnu dot org
--- Additional Comments From cvs-commit at gcc dot gnu dot org 2005-02-07 13:24 --- Subject: Bug 19775 CVSROOT:/cvs/gcc Module name:gcc Changes by: [EMAIL PROTECTED] 2005-02-07 13:24:38 Modified files: gcc: ChangeLog builtins.c gcc/tes

[Bug middle-end/19775] [3.4/4.0 regression] sqrt(pow(x,y)) != pow(x,y*0.5) (with -ffast-math)

2005-02-07 Thread rguenth at tat dot physik dot uni-tuebingen dot de
--- Additional Comments From rguenth at tat dot physik dot uni-tuebingen dot de 2005-02-07 13:25 --- Fixed. -- What|Removed |Added Status|NEW

[Bug middle-end/19402] __builtin_powi? still missing

2005-02-07 Thread rguenth at gcc dot gnu dot org
--- Additional Comments From rguenth at gcc dot gnu dot org 2005-02-07 13:33 --- (Unreviewed) patch here: http://gcc.gnu.org/ml/gcc-patches/2005-02/msg00156.html -- What|Removed |Added --

[Bug middle-end/19805] New: sub-optimal initialisation of array on the stack

2005-02-07 Thread peter at p12n dot org
gcc version 4.0.0 20050110 (experimental) - from Debian 'gcc-snapshot' package. [Thread model: posix. I doubt configure flags are important here.] gcc produces quite poor code when initialising a stack char[] to an empty string. This is at any optimisation level, including -Os. extern void fo

[Bug fortran/5900] [g77 & gfortran] Lapack regressions since g77 2.95.2

2005-02-07 Thread Thomas dot Koenig at online dot de
--- Additional Comments From Thomas dot Koenig at online dot de 2005-02-07 14:03 --- Things are strange on IA-64. I played around a bit with different optimization levels for xeigtstd with ded.in as input file. I compiled everything at -O1 and -O3, and then tried replacing single objec

[Bug libstdc++/11706] std::pow(T, int) implementation pessimizes code

2005-02-07 Thread rguenth at gcc dot gnu dot org
--- Additional Comments From rguenth at gcc dot gnu dot org 2005-02-07 14:19 --- Patch: http://gcc.gnu.org/ml/gcc-patches/2005-02/msg00243.html depends on __builtin_powi (PR19402). -- What|Removed |Added --

[Bug tree-optimization/19639] Funny (horrible) code for empty destructor

2005-02-07 Thread rguenth at gcc dot gnu dot org
--- Additional Comments From rguenth at gcc dot gnu dot org 2005-02-07 14:43 --- The missed folding of &x.foo[2] - 4B is again due to different representation of array refs for C and C++. A C testcase is folded, a C++ not. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19639

[Bug fortran/19443] log10 statement does not work properly in gfortran

2005-02-07 Thread tobi at gcc dot gnu dot org
--- Additional Comments From tobi at gcc dot gnu dot org 2005-02-07 15:10 --- Can you compile those tests with -fdump-tree-original and look at the .t02.original dump to determine what functions the C frontend calls, and what functions the Fortran frontend calls? -- What

[Bug fortran/19443] log10 statement does not work properly in gfortran

2005-02-07 Thread tobi at gcc dot gnu dot org
--- Additional Comments From tobi at gcc dot gnu dot org 2005-02-07 15:12 --- ps it seems that you'll have to use the -fdump-tree-gimple flag for C and look at the .t08.gimple dump to get something readable. On i686-pc-linux the C code calls log10, whereas the Fortran code calls __buitl

[Bug target/19806] New: [4.0 regression] cris-axis-elf testsuite failure: gcc.c-torture/execute/20001130-1.c compilation, -O0

2005-02-07 Thread hp at gcc dot gnu dot org
Fails with (most recent) "Mon Feb 7 13:27:26 UTC 2005". Passes with my latest checkouts on 3.3 (around May 21 2004) and 3.4 (around Apr 22 2004) branches, hence a regression. The message in gcc.log is: Executing on host: /home/hp/cvs_areas/combined/cris-regobj/gcc/xgcc -B/home/hp/cvs_areas/comb

[Bug target/19806] [4.0 regression] cris-axis-elf testsuite failure: gcc.c-torture/execute/20001130-1.c compilation, -O0

2005-02-07 Thread hp at gcc dot gnu dot org
--- Additional Comments From hp at gcc dot gnu dot org 2005-02-07 15:30 --- (BTW, the regression isn't all that new.) -- What|Removed |Added OtherBugsDependingO|

[Bug target/19806] [4.0 regression] cris-axis-elf testsuite failure: gcc.c-torture/execute/20001130-1.c compilation, -O0

2005-02-07 Thread pinskia at gcc dot gnu dot org
--- Additional Comments From pinskia at gcc dot gnu dot org 2005-02-07 15:32 --- Most likely you forgot to copy the decl around for the new rtx symbol. This is what happened for darwin and cygwin too. Both were fixed by keeping around the decl. -- http://gcc.gnu.org/bugzilla/show_

gcc-bugs@gcc.gnu.org

2005-02-07 Thread rguenth at gcc dot gnu dot org
PR19639 is pessimized by (?) extern void link_error(void); int main(void) { int a[4]; if (&a[2]-1 != &a[1]) link_error(); return 0; } where for C++ (!!) we do not fold the addition of ADDR_EXPR (ARRAY_REF (..)) and INTEGER_CST into the ARRAY_REF offset. For C the frontend avoids passi

[Bug tree-optimization/19639] Funny (horrible) code for empty destructor

2005-02-07 Thread rguenth at gcc dot gnu dot org
-- What|Removed |Added BugsThisDependsOn||19807 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19639

[Bug tree-optimization/19639] Funny (horrible) code for empty destructor

2005-02-07 Thread rguenth at gcc dot gnu dot org
--- Additional Comments From rguenth at gcc dot gnu dot org 2005-02-07 17:22 --- Split that missed &x.foo[2] - 4B folding out to PR19807. -- What|Removed |Added BugsThisDep

gcc-bugs@gcc.gnu.org

2005-02-07 Thread rguenth at gcc dot gnu dot org
-- What|Removed |Added OtherBugsDependingO|19639 | nThis|| http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19807

gcc-bugs@gcc.gnu.org

2005-02-07 Thread rguenth at gcc dot gnu dot org
-- What|Removed |Added OtherBugsDependingO||19639 nThis|| http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19807

[Bug tree-optimization/19639] Funny (horrible) code for empty destructor

2005-02-07 Thread rguenth at gcc dot gnu dot org
--- Additional Comments From rguenth at gcc dot gnu dot org 2005-02-07 17:25 --- It seems the new (and old?) bugzilla doesn't check up-to-date-ness of the bug wrt changes of just "depends on". Re-added 19807. -- What|Removed |Added --

[Bug c++/19808] New: miss a warning about uninitialized members in constructor

2005-02-07 Thread adl at gnu dot org
I just ran into bogus code similar to the following. (The code is bogus, not GCC, but I believe GCC could have helped.) // main.cc #include struct A { A(int x) : x(x) {}; int call_me() { return x; } int x; }; struct B { B(A* a) : i(the_a->call_me()), the_a(a) {} int i; A* the_a; }

[Bug c++/19809] New: Multiple definitions of friend functions in template classes

2005-02-07 Thread sstrasser at systemhaus-gruppe dot de
This report is based on <[EMAIL PROTECTED]> given this testcase: #include template struct n{ friend void foo(){ std::cerr << i << std::endl;; } }; int main(){ n<1> n1; n<2> n2; n<3> n3; foo(); } there must be a bug here, though I'm not sure what exactly it is. a) it could be a

[Bug tree-optimization/17064] -falias-noargument-global doesn't eliminate dead stores

2005-02-07 Thread pinskia at gcc dot gnu dot org
-- What|Removed |Added Keywords||alias Last reconfirmed|-00-00 00:00:00 |2005-02-07 18:53:37 date|

[Bug fortran/5900] [g77 & gfortran] Lapack regressions since g77 2.95.2

2005-02-07 Thread giovannibajo at libero dot it
--- Additional Comments From giovannibajo at libero dot it 2005-02-07 18:56 --- Thomas, can you try if -O1 also produces wrong-code? Also can you try to selectively disable tree optimizations (-fno-tree-this, -fno-tree-that) and see if you find out which optimizer is triggering the mis

[Bug tree-optimization/17064] -falias-noargument-global doesn't eliminate dead stores/loads

2005-02-07 Thread pinskia at gcc dot gnu dot org
--- Additional Comments From pinskia at gcc dot gnu dot org 2005-02-07 19:00 --- Another testcase this time for loads: #include int i; void bar(void) { i = 42; } int foo(int * p) { int i = *p; bar (); return *p + i;/* This load is dead with -fargument-noalias-global. */ } in

[Bug debug/19327] [4.0 Regression] gcc.c-torture/execute/921215-1.c compilation -O3 -g

2005-02-07 Thread mmitchel at gcc dot gnu dot org
--- Additional Comments From mmitchel at gcc dot gnu dot org 2005-02-07 19:04 --- Daniel Berlin's patch is OK, please apply. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19327

[Bug debug/19327] [4.0 Regression] gcc.c-torture/execute/921215-1.c compilation -O3 -g

2005-02-07 Thread dberlin at gcc dot gnu dot org
--- Additional Comments From dberlin at gcc dot gnu dot org 2005-02-07 19:06 --- Eric was the one who posted a patch a http://gcc.gnu.org/ml/gcc-patches/2005-01/msg01081.html :) -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19327

[Bug java/19810] New: Finally handling inconsistent when compiling to class/executable

2005-02-07 Thread jdh41 at cantab dot net
>From this code fragment: class Confuse { public static void main (String[] bob) { boolean jim; jim=wtf(true); System.out.print("Calling wtf(true):"); System.out.println(jim); jim=wtf(false);

[Bug java/19810] Finally handling inconsistent when compiling to class/executable

2005-02-07 Thread tromey at gcc dot gnu dot org
--- Additional Comments From tromey at gcc dot gnu dot org 2005-02-07 19:21 --- This also affects 3.3. The code for the wtf() method forgets to call the finally handler: 0: iload_0 1: ifeq 7 4: iconst_1 5: ireturn 6: pop 7: iconst_0 8: ireturn -- What|Re

gcc-bugs@gcc.gnu.org

2005-02-07 Thread pinskia at gcc dot gnu dot org
--- Additional Comments From pinskia at gcc dot gnu dot org 2005-02-07 19:30 --- Confirmed. -- What|Removed |Added CC||pinskia at

[Bug c++/19787] [3.4/4.0 Regression] Internal compiler error with ambiguous conversion functions

2005-02-07 Thread pinskia at gcc dot gnu dot org
--- Additional Comments From pinskia at gcc dot gnu dot org 2005-02-07 19:33 --- It is also a 3.4 regression too: : Search converges between 2003-06-19-trunk (#269) and 2003-06-20-trunk (#270). -- What|Removed |Added --

[Bug debug/19327] [4.0 Regression] gcc.c-torture/execute/921215-1.c compilation -O3 -g

2005-02-07 Thread cvs-commit at gcc dot gnu dot org
--- Additional Comments From cvs-commit at gcc dot gnu dot org 2005-02-07 19:33 --- Subject: Bug 19327 CVSROOT:/cvs/gcc Module name:gcc Changes by: [EMAIL PROTECTED] 2005-02-07 19:32:59 Modified files: gcc: ChangeLog dbxout.c Log message:

[Bug debug/19327] [4.0 Regression] gcc.c-torture/execute/921215-1.c compilation -O3 -g

2005-02-07 Thread ebotcazou at gcc dot gnu dot org
--- Additional Comments From ebotcazou at gcc dot gnu dot org 2005-02-07 19:35 --- > Eric was the one who posted a patch a > http://gcc.gnu.org/ml/gcc-patches/2005-01/msg01081.html > :) I don't mind being confused with you. :-) -- What|Removed |Added

[Bug c++/19809] [3.4/4.0 Regression] Multiple definitions of friend functions in template classes

2005-02-07 Thread giovannibajo at libero dot it
--- Additional Comments From giovannibajo at libero dot it 2005-02-07 19:46 --- My understanding is that this should create one definition *per* instantiation so there is an ODR conflict if the signatures match. Notice that it is still useful to do something as: template struct A {

[Bug c++/19811] New: g++ 4.0: ICE on vector delete of undefined class

2005-02-07 Thread gcc-bugzilla at gcc dot gnu dot org
g++ crashes on the (invalid) code below: $ g++ -c x.cc x.cc: In function 'void foo(void*)': x.cc:4: error: invalid use of undefined type 'struct C' x.cc:1: error: forward declaration of 'struct C' x.cc:4: internal compiler error: Segmentation fault Please submit a full bug report, with preproces

[Bug c++/19811] [4.0 Regression] g++ 4.0: ICE on vector delete of undefined class

2005-02-07 Thread pinskia at gcc dot gnu dot org
--- Additional Comments From pinskia at gcc dot gnu dot org 2005-02-07 20:15 --- : Search converges between 2004-07-12-trunk (#484) and 2004-07-13-trunk (#485). Confirmed. -- What|Removed |Added ---

[Bug tree-optimization/19788] Inconsistent handling of -1.

2005-02-07 Thread pinskia at gcc dot gnu dot org
--- Additional Comments From pinskia at gcc dot gnu dot org 2005-02-07 20:17 --- (In reply to comment #3) > (In reply to comment #2) > > (In reply to comment #1) > Really TREE_OVERFLOW/TREE_CONSTANT_OVERFLOW should go away, there has been > some talk about > removing them. on the tre

[Bug libgcj/19611] create 'sources.zip' for use in eclipse

2005-02-07 Thread cvs-commit at gcc dot gnu dot org
--- Additional Comments From cvs-commit at gcc dot gnu dot org 2005-02-07 20:20 --- Subject: Bug 19611 CVSROOT:/cvs/gcc Module name:gcc Changes by: [EMAIL PROTECTED] 2005-02-07 20:20:02 Modified files: libjava: ChangeLog Makefile.am Makefile.in L

[Bug libgcj/19611] create 'sources.zip' for use in eclipse

2005-02-07 Thread tromey at gcc dot gnu dot org
--- Additional Comments From tromey at gcc dot gnu dot org 2005-02-07 20:27 --- I checked in a patch for this. -- What|Removed |Added Status|ASSIGNED

[Bug libstdc++/11740] ctype::do_is(mask, wchar_t) doesn't handle multiple bits in mask.

2005-02-07 Thread cvs-commit at gcc dot gnu dot org
--- Additional Comments From cvs-commit at gcc dot gnu dot org 2005-02-07 20:34 --- Subject: Bug 11740 CVSROOT:/cvs/gcc Module name:gcc Changes by: [EMAIL PROTECTED] 2005-02-07 20:34:18 Modified files: libjava: ChangeLog libjava/gnu/java/n

[Bug fortran/19479] UBOUND causes ICE

2005-02-07 Thread craig dot powers at gmail dot com
--- Additional Comments From craig dot powers at gmail dot com 2005-02-07 20:48 --- The specific problem statement appears to be line 1799/1801 in gfc_simplify_bound: return gfc_copy_expr (as->upper[i-1]); or return gfc_copy_expr (as->lower[i-1]); The problematic execution s

[Bug target/19803] __builtin_expect does not modify branch prediction for power4/5

2005-02-07 Thread cvs-commit at gcc dot gnu dot org
--- Additional Comments From cvs-commit at gcc dot gnu dot org 2005-02-07 21:12 --- Subject: Bug 19803 CVSROOT:/cvs/gcc Module name:gcc Changes by: [EMAIL PROTECTED] 2005-02-07 21:11:45 Modified files: gcc: ChangeLog predict.c Log message:

[Bug target/19803] __builtin_expect does not modify branch prediction for power4/5

2005-02-07 Thread cvs-commit at gcc dot gnu dot org
--- Additional Comments From cvs-commit at gcc dot gnu dot org 2005-02-07 21:18 --- Subject: Bug 19803 CVSROOT:/cvs/gcc Module name:gcc Branch: gcc-3_4-branch Changes by: [EMAIL PROTECTED] 2005-02-07 21:18:33 Modified files: gcc: Change

[Bug target/19803] __builtin_expect does not modify branch prediction for power4/5

2005-02-07 Thread amodra at bigpond dot net dot au
--- Additional Comments From amodra at bigpond dot net dot au 2005-02-07 21:23 --- Fixed. -- What|Removed |Added Status|NEW |RESOLVED

[Bug c++/19808] miss a warning about uninitialized members in constructor

2005-02-07 Thread bangerth at dealii dot org
--- Additional Comments From bangerth at dealii dot org 2005-02-07 21:53 --- Confirmed. We should get a warning for this code, but don't: -- struct S { int i, j; S() : i(j), j(1) {} }; S s; --- W. -- What|Remo

[Bug c++/19808] miss a warning about uninitialized members in constructor

2005-02-07 Thread pinskia at gcc dot gnu dot org
--- Additional Comments From pinskia at gcc dot gnu dot org 2005-02-07 21:56 --- This is related to PR 2972 and PR 18016. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19808

[Bug c++/19812] New: ICE in instantiate_type

2005-02-07 Thread jakub at gcc dot gnu dot org
G++ 3.4.x ICEs on: extern double foo (double); template struct A { T y () const; }; typedef A B; template struct C { C (); B c; float r; }; template C::C () { r = foo (c.y); } 3.2.x accepted this and CVS HEAD issues error: not enough type information -- Summary: ICE

[Bug c++/19812] [3.4 Regression] ICE in instantiate_type

2005-02-07 Thread pinskia at gcc dot gnu dot org
--- Additional Comments From pinskia at gcc dot gnu dot org 2005-02-07 22:03 --- : Search converges between 2003-07-08-trunk (#288) and 2003-07-09-trunk (#289). This is a duplicate of bug 18445. *** This bug has been marked as a duplicate of 18445 *** -- What|Removed

[Bug c++/18445] [3.4 Regression] ice during overload resolution in template instantiation

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

[Bug middle-end/19805] sub-optimal initialisation of array on the stack

2005-02-07 Thread pinskia at gcc dot gnu dot org
--- Additional Comments From pinskia at gcc dot gnu dot org 2005-02-07 22:05 --- Confirmed. -- What|Removed |Added Severity|minor |enhancemen

[Bug target/19796] [4.0 Regression] Bootstrap fails: Unresolved data symbol "set_fpc_csr"

2005-02-07 Thread david dot billinghurst at comalco dot riotinto dot com dot au
--- Additional Comments From david dot billinghurst at comalco dot riotinto dot com dot au 2005-02-07 22:33 --- Subject: RE: [4.0 Regression] Bootstrap fails: Unresolved data symbol "set_fpc_csr" Thanks Richard. I don't know what is different about my system either. Happy to follow u

[Bug ada/19489] gnat tools not buildable cross

2005-02-07 Thread joel at oarcorp dot com
--- Additional Comments From joel at oarcorp dot com 2005-02-07 22:41 --- Subject: Re: gnat tools not buildable cross laurent at guerby dot net wrote: > --- Additional Comments From laurent at guerby dot net 2005-02-06 10:02 > --- > (In reply to comment #19) > > Nathanel I c

[Bug ada/19489] gnat tools not buildable cross

2005-02-07 Thread laurent at guerby dot net
--- Additional Comments From laurent at guerby dot net 2005-02-07 22:52 --- Nathanael patch is not in CVS, as mentionned on RTEMSAda wiki http://www.rtems.com/phpwiki/index.php/RTEMSAda A few things you may have missed: 1. configure for target "powerpc-rtems" and no variation allowed (

[Bug rtl-optimization/8361] [3.3/3.4/4.0 regression] C++ compile-time performance regression

2005-02-07 Thread gerald at pfeifer dot com
--- Additional Comments From gerald at pfeifer dot com 2005-02-07 23:09 --- I had done extensive benchmarks around New Year, based on Steven's request in comment #41. Unfortunately I lost most of that data directly before posting it here and couldn't repeat everything, but coincidently

[Bug c++/19813] New: gcc 4.0 regression: bad code generation?? due to inlining??

2005-02-07 Thread ctsa at u dot washington dot edu
I'm getting a segfault on what I believe to be valid code using gcc 4.0 but not when using gcc 3.4 or 3.3. I've reduced this situation down to a relatively short testcase file, details follow. testcase.cc: """ #include #include #include using namespace std; struct ltstr { bool operator()(co

[Bug ada/19489] gnat tools not buildable cross

2005-02-07 Thread cvs-commit at gcc dot gnu dot org
--- Additional Comments From cvs-commit at gcc dot gnu dot org 2005-02-07 23:11 --- Subject: Bug 19489 CVSROOT:/cvs/gcc Module name:gcc Changes by: [EMAIL PROTECTED] 2005-02-07 23:11:05 Modified files: gcc: libada-mk.in configure.ac configure C

[Bug c++/19813] gcc 4.0 regression: bad code generation?? due to inlining??

2005-02-07 Thread ctsa at u dot washington dot edu
--- Additional Comments From ctsa at u dot washington dot edu 2005-02-07 23:12 --- (In reply to comment #0) > I'm getting a segfault on what I believe to be valid code using gcc 4.0 but > not > when using gcc 3.4 or 3.3. I've reduced this situation down to a relatively > short testcase

[Bug c++/19814] New: gcc 4.0 regression: bad code generation?? due to inlining??

2005-02-07 Thread ctsa at u dot washington dot edu
I'm getting a segfault on what I believe to be valid code using gcc 4.0 but not when using gcc 3.4 or 3.3. I've reduced this situation down to a relatively short testcase file, details follow. testcase.cc: """ #include #include #include using namespace std; struct ltstr { bool operator()(co

[Bug tree-optimization/17549] [4.0 Regression] 10% increase in codesize with C code compared to GCC 3.3

2005-02-07 Thread steven at gcc dot gnu dot org
--- Additional Comments From steven at gcc dot gnu dot org 2005-02-07 23:13 --- Using var_to_partition does not help. The reason is that the SSA names with the same root var are not in the same partition, e.g. int foo (int x, int a, int b) { x = a + b; x = x * a; x = x *

[Bug regression/19813] [4.0 Regression] gcc 4.0 regression: bad code generation?? due to inlining??

2005-02-07 Thread pinskia at gcc dot gnu dot org
-- What|Removed |Added Component|c++ |regression Keywords||wrong-code Summary|gcc 4.0 regression: b

[Bug ada/19489] gnat tools not buildable cross

2005-02-07 Thread neroden at gcc dot gnu dot org
--- Additional Comments From neroden at gcc dot gnu dot org 2005-02-07 23:15 --- Closing. Laurent, I may ask you to test my alternate solution later (when it's ready) though, OK? -- What|Removed |Added --

[Bug c++/19814] gcc 4.0 regression: bad code generation?? due to inlining??

2005-02-07 Thread pinskia at gcc dot gnu dot org
--- Additional Comments From pinskia at gcc dot gnu dot org 2005-02-07 23:16 --- *** This bug has been marked as a duplicate of 19813 *** -- What|Removed |Added

[Bug regression/19813] [4.0 Regression] gcc 4.0 regression: bad code generation?? due to inlining??

2005-02-07 Thread pinskia at gcc dot gnu dot org
--- Additional Comments From pinskia at gcc dot gnu dot org 2005-02-07 23:16 --- *** Bug 19814 has been marked as a duplicate of this bug. *** -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19813

[Bug tree-optimization/17549] [4.0 Regression] 10% increase in codesize with C code compared to GCC 3.3

2005-02-07 Thread steven at gcc dot gnu dot org
--- Additional Comments From steven at gcc dot gnu dot org 2005-02-07 23:16 --- Note the following: x_4 not coalesced with x --> New temp: 'x.0' x_5 not coalesced with x.0 --> New temp: 'x.1' Not very useful, because x_4 and x_5 have no uses left. So you start with this: foo

[Bug tree-optimization/17549] [4.0 Regression] 10% increase in codesize with C code compared to GCC 3.3

2005-02-07 Thread rth at gcc dot gnu dot org
--- Additional Comments From rth at gcc dot gnu dot org 2005-02-07 23:36 --- Subject: Re: [4.0 Regression] 10% increase in codesize with C code compared to GCC 3.3 On Mon, Feb 07, 2005 at 11:13:27PM -, steven at gcc dot gnu dot org wrote: > x = a + b; > x = x * a; > x = x

[Bug ada/19489] gnat tools not buildable cross

2005-02-07 Thread joel at oarcorp dot com
--- Additional Comments From joel at oarcorp dot com 2005-02-08 00:01 --- Subject: Re: gnat tools not buildable cross neroden at gcc dot gnu dot org wrote: > --- Additional Comments From neroden at gcc dot gnu dot org 2005-02-07 > 23:15 --- > Closing. Laurent, I may ask you

[Bug tree-optimization/17549] [4.0 Regression] 10% increase in codesize with C code compared to GCC 3.3

2005-02-07 Thread steven at gcc dot gnu dot org
--- Additional Comments From steven at gcc dot gnu dot org 2005-02-08 00:15 --- Might as well make it mine while I'm looking at it. -- What|Removed |Added Assigne

[Bug tree-optimization/18687] [4.0 Regression] ~50% compile time regression

2005-02-07 Thread rakdver at gcc dot gnu dot org
--- Additional Comments From rakdver at gcc dot gnu dot org 2005-02-08 00:29 --- Out of the time spent in ivopts: -- this patch saves some 25%: http://gcc.gnu.org/ml/gcc-patches/2004-10/msg00136.html -- another 25% are caused by inefficient use of # of iterations analysis; I am t

[Bug target/19796] [4.0 Regression] Bootstrap fails: Unresolved data symbol "set_fpc_csr"

2005-02-07 Thread david dot billinghurst at comalco dot riotinto dot com dot au
--- Additional Comments From david dot billinghurst at comalco dot riotinto dot com dot au 2005-02-08 00:30 --- Subject: RE: [4.0 Regression] Bootstrap fails: Unresolved data symbol "set_fpc_csr" I can see the problem here once I compile with -v. get_fpc_csr and set_fpc_csr are in

[Bug libstdc++/19664] libstdc++ headers should have pop/push of the visibility around the declarations

2005-02-07 Thread hjl at lucon dot org
--- Additional Comments From hjl at lucon dot org 2005-02-08 01:14 --- The testcase patch is at http://gcc.gnu.org/ml/gcc-patches/2005-02/msg00287.html To properly support -fvisibility-inlines-hidden, ASM_OUTPUT_EXTERNAL should be defined. We can collected undefined symbols with non-def

[Bug tree-optimization/19686] [4.0 Regression] loop performance decrease, not comparing against 0

2005-02-07 Thread andrewhutchinson at cox dot net
--- Additional Comments From andrewhutchinson at cox dot net 2005-02-08 01:48 --- I ran testcase with proposed avr_costs patch applied. The result is unchanged. The initially generated RTL is unfortunately beyond that which can be fixed by backend. I dont think this problem is avr spec

[Bug tree-optimization/18219] [4.0 Regression] gcc-4.0.0 bloats code by 31%

2005-02-07 Thread andrewhutchinson at cox dot net
--- Additional Comments From andrewhutchinson at cox dot net 2005-02-08 02:12 --- Bad post ignore -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18219

[Bug fortran/5900] [g77 & gfortran] Lapack regressions since g77 2.95.2

2005-02-07 Thread jvdelisle at verizon dot net
--- Additional Comments From jvdelisle at verizon dot net 2005-02-08 02:34 --- Subject: Re: [g77 & gfortran] Lapack regressions since g77 2.95.2 giovannibajo at libero dot it wrote: > --- Additional Comments From giovannibajo at libero dot it 2005-02-07 > 18:56 --- > Thomas,

[Bug preprocessor/13726] [3.3/3.4/4.0 regression]cpp -C -dI loses comments on same line as #include directives

2005-02-07 Thread echristo at redhat dot com
--- Additional Comments From echristo at redhat dot com 2005-02-08 03:11 --- cpplib isn't my component and I'd prefer not to implement anything before knowing that the general idea is ok. reassigning to unassigned. -- What|Removed |Added -

[Bug target/14766] [3.3 only] mips-sgi-irix6.5 testsuite failure in gcc.dg/overflow-1.c with -mabi=64

2005-02-07 Thread echristo at redhat dot com
--- Additional Comments From echristo at redhat dot com 2005-02-08 03:12 --- It's a legitimate failure, we don't often xfail those - even when there is a known fix. -- What|Removed |Added ---

[Bug target/14766] [3.3 only] mips-sgi-irix6.5 testsuite failure in gcc.dg/overflow-1.c with -mabi=64

2005-02-07 Thread kghazi at verizon dot net
--- Additional Comments From kghazi at verizon dot net 2005-02-08 03:18 --- Subject: Re: [3.3 only] mips-sgi-irix6.5 testsuite failure in gcc.dg/overflow-1.c with -mabi=64 Huh? It may be a legitimate failure, but you've decided not to fix it. I thought that's exactly what an XFAIL i

[Bug other/19815] New: Documentation change - GCC Internals MODES_TIEABLE_P

2005-02-07 Thread andrewhutchinson at cox dot net
Documentation change - GCC Internals The definition of MODES_TIEABLE_P is incorrect and has resulted in reduced optimisation for the avr target (and perhaps others) The definition is currently: "A C expression that is nonzero if a value of mode mode1 is accessible in mode mode2 without copying."

[Bug target/14766] [3.3 only] mips-sgi-irix6.5 testsuite failure in gcc.dg/overflow-1.c with -mabi=64

2005-02-07 Thread echristo at redhat dot com
--- Additional Comments From echristo at redhat dot com 2005-02-08 05:02 --- Everytime I try to guess what an XFAIL is for other than a "not implemented yet" failure I get in trouble. I'm willing to go with this if the 3.3 branch manager approves though (and I can figure out an easy way

[Bug c++/19816] New: C++ front-end produces a cast instead of just &a.b (empty base class)

2005-02-07 Thread pinskia at gcc dot gnu dot org
For the following code, the C++ front-end produces a case instead of doing &v.base which seems wrong in my mind. struct base { base(); }; struct vector : public base { }; int f() { vector v; } This might be the cause of PR 19786 but it might not (I have not looked at the aliasing sets for tha

[Bug c++/19817] New: C++ front-end produces a cast instead of just &a.b (when call the deconstructor)

2005-02-07 Thread pinskia at gcc dot gnu dot org
The following code should be optimizated out on the tree level but is not because we have a cast involved when calling the deconstuctor. int t; struct base { int i; ~base(){t = i;}}; struct vector : public base { vector(){ i = 2; }}; int f() { vector v; return t;} extern "C" void abort (); int

[Bug fortran/5900] [g77 & gfortran] Lapack regressions since g77 2.95.2

2005-02-07 Thread jvdelisle at verizon dot net
--- Additional Comments From jvdelisle at verizon dot net 2005-02-08 05:57 --- This seems odd, but I am getting more failures with -O0 then I do -O1, -O2, or -O3. The fewest failures is with -O1. -O0 and -O3 have regressed since 2-1-05. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?i

[Bug c++/19733] [3.4/4.0 regression] ICE on invalid destructor call

2005-02-07 Thread mmitchel at gcc dot gnu dot org
-- What|Removed |Added AssignedTo|unassigned at gcc dot gnu |mark at codesourcery dot com |dot org | Status|NEW

[Bug driver/19353] Faulty handling of startfile_prefix_spec

2005-02-07 Thread ryan dot oliver at pha dot com dot au
--- Additional Comments From ryan dot oliver at pha dot com dot au 2005-02-08 07:22 --- (In reply to comment #5) > The patch was approved by the RM here: > > http://gcc.gnu.org/ml/gcc-patches/2005-01/msg00850.html > > but it is still not applied. It would be great if you could pls co