[Bug rtl-optimization/20249] [4.0/4.1 Regression] ICE with -fprofile-arcs on ppc

2005-03-25 Thread cvs-commit at gcc dot gnu dot org
/testsuite : ChangeLog Added files: gcc/testsuite/gcc.dg: 20050325-1.c Log message: PR rtl-optimization/20249 * cse.c (insert_regs): Do not record equivalence of registers in different modes. * gcc.dg/20050325-1.c: New test. Patches: http://gcc.gnu.org

[Bug rtl-optimization/20249] [4.0/4.1 Regression] ICE with -fprofile-arcs on ppc

2005-03-25 Thread cvs-commit at gcc dot gnu dot org
--- Additional Comments From cvs-commit at gcc dot gnu dot org 2005-03-25 09:27 --- Subject: Bug 20249 CVSROOT:/cvs/gcc Module name:gcc Branch: gcc-4_0-branch Changes by: [EMAIL PROTECTED] 2005-03-25 09:27:37 Modified files: gcc:

[Bug rtl-optimization/20249] [4.0/4.1 Regression] ICE with -fprofile-arcs on ppc

2005-03-25 Thread rakdver at gcc dot gnu dot org
--- Additional Comments From rakdver at gcc dot gnu dot org 2005-03-25 09:28 --- Fixed. -- What|Removed |Added Status|NEW |RESOLVED

[Bug middle-end/20635] New: [4.0/4.1 Regression] ICE in cgraph_mark_reachable_node

2005-03-25 Thread jakub at gcc dot gnu dot org
PR middle-end/20225 introduced a regression on the following testcase at -O2. void fn1 (void *); void fn2 (void *); void foo (void); void bar (void); extern inline void * baz (void) { return 0; } void foo (void) { fn1 (baz ()); fn2 (baz ()); } void bar (void) { fn1 (baz ()); fn2

[Bug middle-end/20635] [4.0/4.1 Regression] ICE in cgraph_mark_reachable_node

2005-03-25 Thread jakub at gcc dot gnu dot org
-- What|Removed |Added CC||hubicka at gcc dot gnu dot ||org Target Milestone|---

[Bug middle-end/20225] [4.0/4.1 regression] ICE during GC

2005-03-25 Thread jakub at gcc dot gnu dot org
--- Additional Comments From jakub at gcc dot gnu dot org 2005-03-25 11:05 --- This patch introduced a regression, see PR20635. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20225

[Bug middle-end/20635] [4.0/4.1 Regression] ICE in cgraph_mark_reachable_node

2005-03-25 Thread pluto at pld-linux dot org
-- What|Removed |Added CC||pluto at pld-linux dot org http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20635

[Bug c++/20629] internal compiler error: in cp_tree_equal, at cp/tree.c:1552

2005-03-25 Thread caolanm at redhat dot com
--- Additional Comments From caolanm at redhat dot com 2005-03-25 11:28 --- FWIW I only see it on ppc, though I compile with different optimization values for i386, ppc command line is... g++ -fsigned-char -fmessage-length=0 -c -I. -I. -I../inc -I../../inc -I../../unx/inc

[Bug other/20349] [multilib] libjava(32) doesn't build.

2005-03-25 Thread pluto at pld-linux dot org
--- Additional Comments From pluto at pld-linux dot org 2005-03-25 12:37 --- (In reply to comment #3) This looks like a bug in your installation of glibc. #define INIT_SEGV \ do \ {

[Bug middle-end/20635] [4.0/4.1 Regression] ICE in cgraph_mark_reachable_node

2005-03-25 Thread schwab at suse dot de
-- What|Removed |Added OtherBugsDependingO||20225 nThis|| http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20635

[Bug bootstrap/20636] New: Bootstrap failure on Linux/PowerPC64

2005-03-25 Thread aj at gcc dot gnu dot org
I'm getting the following bootstrap failure on mainline with current CVS: ./xgcc -B./ -B/opt/gcc/4.1-devel/powerpc64-suse-linux-gnu/bin/ -isystem opt/gcc/ 4.1-devel/powerpc64-suse-linux-gnu/include -isystem opt/gcc/4.1-devel/powerpc64- suse-linux-gnu/sys-include -L/abuild/aj/gcc/gcc/../ld -O2

[Bug other/20349] [multilib] libjava(32) doesn't build.

2005-03-25 Thread aj at gcc dot gnu dot org
--- Additional Comments From aj at gcc dot gnu dot org 2005-03-25 13:02 --- This is defined on my x86-64 system: grep sigaction /usr/include/bits/syscall.h #define SYS_rt_sigaction __NR_rt_sigaction #define SYS_sigaction __NR_sigaction This looks like a problem on your side building

[Bug libfortran/19679] DOS files don't work for formatted input if line length is exceeded

2005-03-25 Thread cvs-commit at gcc dot gnu dot org
--- Additional Comments From cvs-commit at gcc dot gnu dot org 2005-03-25 13:35 --- Subject: Bug 19679 CVSROOT:/cvs/gcc Module name:gcc Changes by: [EMAIL PROTECTED] 2005-03-25 13:35:29 Modified files: gcc/testsuite : ChangeLog libgfortran:

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

2005-03-25 Thread cvs-commit at gcc dot gnu dot org
--- Additional Comments From cvs-commit at gcc dot gnu dot org 2005-03-25 13:35 --- Subject: Bug 19678 CVSROOT:/cvs/gcc Module name:gcc Changes by: [EMAIL PROTECTED] 2005-03-25 13:35:29 Modified files: gcc/testsuite : ChangeLog libgfortran:

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

2005-03-25 Thread fxcoudert at gcc dot gnu dot org
--- Additional Comments From fxcoudert at gcc dot gnu dot org 2005-03-25 13:37 --- Fixed. -- What|Removed |Added Status|ASSIGNED|RESOLVED

[Bug fortran/19292] [meta-bug] g77 features lacking in gfortran

2005-03-25 Thread fxcoudert at gcc dot gnu dot org
-- Bug 19292 depends on bug 19678, which changed state. Bug 19678 Summary: DOS files don't work for list directed input http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19678 What|Old Value |New Value

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

2005-03-25 Thread fxcoudert at gcc dot gnu dot org
-- What|Removed |Added Target Milestone|--- |4.0.0 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19678

[Bug libfortran/19679] DOS files don't work for formatted input if line length is exceeded

2005-03-25 Thread fxcoudert at gcc dot gnu dot org
--- Additional Comments From fxcoudert at gcc dot gnu dot org 2005-03-25 13:38 --- Fixed. -- What|Removed |Added Status|ASSIGNED|RESOLVED

[Bug middle-end/20491] [4.0/4.1 Regression] internal compiler error: in subreg_regno_offset, at rtlanal.c:3042

2005-03-25 Thread aoliva at redhat dot com
--- Additional Comments From aoliva at gcc dot gnu dot org 2005-03-25 13:41 --- Subject: Re: [PR middle-end/20491] combine generates bad subregs On Mar 24, 2005, [EMAIL PROTECTED] (Richard Kenner) wrote: Combine doesn't ensure the subregs it generates are valid. In most

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

2005-03-25 Thread cvs-commit at gcc dot gnu dot org
--- Additional Comments From cvs-commit at gcc dot gnu dot org 2005-03-25 13:41 --- Subject: Bug 19678 CVSROOT:/cvs/gcc Module name:gcc Branch: gcc-4_0-branch Changes by: [EMAIL PROTECTED] 2005-03-25 13:40:20 Modified files: gcc/testsuite :

[Bug libfortran/19679] DOS files don't work for formatted input if line length is exceeded

2005-03-25 Thread cvs-commit at gcc dot gnu dot org
--- Additional Comments From cvs-commit at gcc dot gnu dot org 2005-03-25 13:41 --- Subject: Bug 19679 CVSROOT:/cvs/gcc Module name:gcc Branch: gcc-4_0-branch Changes by: [EMAIL PROTECTED] 2005-03-25 13:40:20 Modified files: gcc/testsuite :

[Bug tree-optimization/20634] code fails to compile/code generation issue with -funit-at-a-time

2005-03-25 Thread pinskia at gcc dot gnu dot org
--- Additional Comments From pinskia at gcc dot gnu dot org 2005-03-25 14:03 --- I want to say this is the normal -fschedule-insns problem on i686-pc-linux-gnu which is known to cause problems. There is another bug about the same issue. -- What|Removed

[Bug other/20349] [multilib] libjava(32) doesn't build.

2005-03-25 Thread pluto at pld-linux dot org
--- Additional Comments From pluto at pld-linux dot org 2005-03-25 14:05 --- (In reply to comment #5) This is defined on my x86-64 system: grep sigaction /usr/include/bits/syscall.h #define SYS_rt_sigaction __NR_rt_sigaction #define SYS_sigaction __NR_sigaction This looks

[Bug middle-end/20635] [4.0/4.1 Regression] ICE in cgraph_mark_reachable_node

2005-03-25 Thread pinskia at gcc dot gnu dot org
-- What|Removed |Added CC||pinskia at gcc dot gnu dot ||org Status|UNCONFIRMED

[Bug target/20636] [4.1 Regression] Bootstrap failure on Linux/PowerPC64 with rtl checking

2005-03-25 Thread pinskia at gcc dot gnu dot org
--- Additional Comments From pinskia at gcc dot gnu dot org 2005-03-25 14:23 --- Caused by: 2005-03-13 David Edelsohn [EMAIL PROTECTED] * config/rs6000/predicates.md (mem_or_easy_const_operand): Delete. (reg_or_none500mem_operand): New predicate.

[Bug middle-end/15443] ICE with void f () __attribute__ ((__malloc__));

2005-03-25 Thread pinskia at gcc dot gnu dot org
--- Additional Comments From pinskia at gcc dot gnu dot org 2005-03-25 14:30 --- Patch here: http://gcc.gnu.org/ml/gcc-patches/2005-03/msg02336.html. -- What|Removed |Added

[Bug rtl-optimization/20634] code fails to compile/code generation issue with -funit-at-a-time

2005-03-25 Thread pinskia at gcc dot gnu dot org
-- What|Removed |Added Component|tree-optimization |rtl-optimization http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20634

[Bug other/20349] [multilib] libjava(32) doesn't build.

2005-03-25 Thread schwab at suse dot de
--- Additional Comments From schwab at suse dot de 2005-03-25 15:06 --- Linux/x86-64 does not have a sigaction syscall. But nevertheless /usr/include/sys/syscall.h should define SYS_sigaction for __WORDSIZE != 64 if you have the proper bi-arch headers installed. --

internal compiler error: in cgraph_mark_reachable_node

2005-03-25 Thread Demo Account
Hi, here is the bug, root:/sources/psmisc-21.6# make make all-recursive make[1]: Entering directory `/sources/psmisc-21.6' Making all in doc make[2]: Entering directory `/sources/psmisc-21.6/doc' make[2]: Nothing to be done for `all'. make[2]: Leaving directory `/sources/psmisc-21.6/doc'

[Bug c++/20637] New: [3.3/3.4/4.0/4.1 regression] Confusing message with different using declarations

2005-03-25 Thread bangerth at dealii dot org
This was hard to find. Consider this snippet: -- struct B { void f(); }; struct D : B { using B::f; B::f; }; -- Note that D contains old- and new-style using declarations. In my case, they were several hundred lines apart in D, so it wasn't

[Bug target/19888] g++.old-deja/g++.eh/badalloc1.C execution test fails on ia64-hpux

2005-03-25 Thread cvs-commit at gcc dot gnu dot org
--- Additional Comments From cvs-commit at gcc dot gnu dot org 2005-03-25 17:09 --- Subject: Bug 19888 CVSROOT:/cvs/gcc Module name:gcc Changes by: [EMAIL PROTECTED] 2005-03-25 17:09:10 Modified files: gcc/testsuite : ChangeLog

[Bug other/20349] [multilib] libjava(32) doesn't build.

2005-03-25 Thread pinskia at gcc dot gnu dot org
--- Additional Comments From pinskia at gcc dot gnu dot org 2005-03-25 17:10 --- This is not a GCC bug but a bug in your setup as explained by Andreas Schwab. -- What|Removed |Added

[Bug c++/20637] [3.3/3.4/4.0/4.1 regression] Confusing message with different using declarations

2005-03-25 Thread pinskia at gcc dot gnu dot org
--- Additional Comments From pinskia at gcc dot gnu dot org 2005-03-25 17:13 --- Comeau gives the following error: ComeauTest.c, line 7: error: duplicate using-declaration of B::f ignored B::f; Confirmed. -- What|Removed |Added

[Bug target/15491] ICE (Internal compiler error) while compiling glibc to vax-linux target

2005-03-25 Thread cvs-commit at gcc dot gnu dot org
--- Additional Comments From cvs-commit at gcc dot gnu dot org 2005-03-25 17:31 --- Subject: Bug 15491 CVSROOT:/cvs/gcc Module name:gcc Branch: gcc-4_0-branch Changes by: [EMAIL PROTECTED] 2005-03-25 17:31:41 Modified files: gcc:

[Bug target/15491] ICE (Internal compiler error) while compiling glibc to vax-linux target

2005-03-25 Thread cvs-commit at gcc dot gnu dot org
--- Additional Comments From cvs-commit at gcc dot gnu dot org 2005-03-25 17:55 --- Subject: Bug 15491 CVSROOT:/cvs/gcc Module name:gcc Changes by: [EMAIL PROTECTED] 2005-03-25 17:54:59 Modified files: gcc: ChangeLog gcc/config/vax :

[Bug preprocessor/14331] please add option to suppress warning message no newline at end of file

2005-03-25 Thread dank at kegel dot com
--- Additional Comments From dank at kegel dot com 2005-03-25 18:29 --- A patch to gcc-3.3.3 to do exactly what you're asking for was posted by Dave Korn a few months ago, and approved in principle: http://gcc.gnu.org/ml/gcc/2004-07/msg00798.html I'll attach a copy of the patch here.

[Bug target/15491] ICE (Internal compiler error) while compiling glibc to vax-linux target

2005-03-25 Thread cvs-commit at gcc dot gnu dot org
--- Additional Comments From cvs-commit at gcc dot gnu dot org 2005-03-25 18:31 --- Subject: Bug 15491 CVSROOT:/cvs/gcc Module name:gcc Branch: gcc-3_4-branch Changes by: [EMAIL PROTECTED] 2005-03-25 18:30:58 Modified files: gcc:

[Bug target/15491] ICE (Internal compiler error) while compiling glibc to vax-linux target

2005-03-25 Thread danglin at gcc dot gnu dot org
--- Additional Comments From danglin at gcc dot gnu dot org 2005-03-25 19:28 --- Fixed in CVS. -- What|Removed |Added Status|WAITING

[Bug target/15491] ICE (Internal compiler error) while compiling glibc to vax-linux target

2005-03-25 Thread pinskia at gcc dot gnu dot org
-- What|Removed |Added Target Milestone|--- |3.4.4 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=15491

[Bug middle-end/20638] New: [3.4,4.0,4.1] gcc doesn't take advantage of attribute malloc on alloca

2005-03-25 Thread ghazi at gcc dot gnu dot org
The alloca builtin has the attribute __malloc__ set on it but GCC doesn't seem to take advantage of that fact for optimization. The testcase gcc.dg/builtins- 13.c tests an optimization when calling the malloc/calloc functions. When I try a similar case for alloca such as in the patch below,

[Bug tree-optimization/20470] Branching sequence generated for ABS(x-y)

2005-03-25 Thread cvs-commit at gcc dot gnu dot org
--- Additional Comments From cvs-commit at gcc dot gnu dot org 2005-03-25 20:08 --- Subject: Bug 20470 CVSROOT:/cvs/gcc Module name:gcc Changes by: [EMAIL PROTECTED] 2005-03-25 20:08:33 Modified files: gcc: ChangeLog fold-const.c Log

[Bug tree-optimization/20470] Branching sequence generated for ABS(x-y)

2005-03-25 Thread cvs-commit at gcc dot gnu dot org
--- Additional Comments From cvs-commit at gcc dot gnu dot org 2005-03-25 20:10 --- Subject: Bug 20470 CVSROOT:/cvs/gcc Module name:gcc Changes by: [EMAIL PROTECTED] 2005-03-25 20:10:39 Modified files: gcc/testsuite : ChangeLog Added files:

[Bug c++/20637] [3.3/3.4/4.0/4.1 regression] Confusing message with different using declarations

2005-03-25 Thread bangerth at dealii dot org
--- Additional Comments From bangerth at dealii dot org 2005-03-25 20:12 --- I should add that it doesn't matter whether you use old- or new-style using declarations: B::f; B::f; and using B::f; using B::f; yield the same results. W. --

[Bug rtl-optimization/20639] New: store motion deletion of redundant stores doesn't consider asm volatiles

2005-03-25 Thread dje at transmeta dot com
I'm getting the following error. claire:~/claire/gnu/b-sparc/gcc$ ./cc1 -da -O2 -quiet foo.c foo.c: In function `foo': foo.c:9: error: inconsistent operand constraints in an `asm' The problem is store motion is deleting one of the asm volatile stores by changing it to a store to a pseudo. grep

[Bug c++/11814] Code with missing template keyword wrongly accepted

2005-03-25 Thread redi at gcc dot gnu dot org
--- Additional Comments From redi at gcc dot gnu dot org 2005-03-25 20:38 --- This can be simplified to: template class T void f() { T t; t.f(0); //should be t.template f(0); } If either 'f' is renamed g++ correctly reports an error. Comeau's online compiler behaves the same. --

[Bug rtl-optimization/20639] [3.4 Regression] store motion deletion of redundant stores doesn't consider asm volatiles

2005-03-25 Thread pinskia at gcc dot gnu dot org
--- Additional Comments From pinskia at gcc dot gnu dot org 2005-03-25 20:40 --- Confirmed, only a 3.4 regression. It was fixed on the mainline: : Search converges between 2004-09-28-161001-trunk (#566) and 2004-09-29-014002-trunk (#567). It broke on the mainline: : Search converges

[Bug target/20611] [3.4 only] duplicate label for inlined function referencing TLS

2005-03-25 Thread pinskia at gcc dot gnu dot org
-- What|Removed |Added Known to work||4.0.0 4.1.0 Summary|duplicate label for inlined |[3.4 only] duplicate label

[Bug tree-optimization/20640] New: [4.0 Regression] ICE on NULL PHI_ARG_DEF

2005-03-25 Thread jakub at gcc dot gnu dot org
static int a = 0; extern int foo (void); extern int *bar (void) __attribute__ ((__const__)); void test (int x) { int b = 10; while (foo () == -1 *bar () == 4 b 0) --b; a = x; } ICEs on i386 and x86_64 with -O2 -funroll-loops (and e.g. -O3 -fomit-frame-pointer -funroll-loops too).

[Bug tree-optimization/20640] [4.0 Regression] ICE on NULL PHI_ARG_DEF

2005-03-25 Thread jakub at gcc dot gnu dot org
-- What|Removed |Added Target Milestone|--- |4.0.0 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20640

[Bug tree-optimization/20641] New: Missed optimization on the tree level (malloc attribute)

2005-03-25 Thread pinskia at gcc dot gnu dot org
Give the following code, we don't optimize it on the tree level: typedef __SIZE_TYPE__ size_t; extern void link_error(); extern void *f (size_t) __attribute__((__malloc__)); static int x; void test3(void) { int *ptr1, *ptr2; ptr1 = x; ptr2 = (int*) f(sizeof (int)); *ptr1 = 12; *ptr2 =

[Bug c/20642] New: use printf to print a field of a struct followed by a second value. The second value prints as zero.

2005-03-25 Thread setterg at att dot net
// This illustrates a problem with the gnu c compiler // GCC (GCC) 3.3.3 (cygwin special) // The problem is when printing a field of a struct with printf, // the second value is zero. #include stdio.h #include stdlib.h #include sys/stat.h int main(int argc, char* argv[]) { struct stat st;

[Bug tree-optimization/20641] Missed optimization on the tree level (malloc attribute)

2005-03-25 Thread pinskia at gcc dot gnu dot org
-- What|Removed |Added Keywords||alias http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20641

[Bug middle-end/20638] gcc doesn't take advantage of attribute malloc on alloca

2005-03-25 Thread pinskia at gcc dot gnu dot org
--- Additional Comments From pinskia at gcc dot gnu dot org 2005-03-25 21:00 --- Confirmed, I also noticed that we don't take advantage of the malloc attribute on the tree level either, see PR 20641. -- What|Removed |Added

[Bug tree-optimization/20641] Missed optimization on the tree level (malloc attribute)

2005-03-25 Thread pinskia at gcc dot gnu dot org
-- What|Removed |Added OtherBugsDependingO||20638 nThis|| http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20641

[Bug tree-optimization/20640] [4.0 Regression] ICE on NULL PHI_ARG_DEF

2005-03-25 Thread pinskia at gcc dot gnu dot org
--- Additional Comments From pinskia at gcc dot gnu dot org 2005-03-25 21:07 --- Confirmed, for some reason on the mainline we are not unrolling the loop. -- What|Removed |Added

[Bug c/20642] use printf to print a field of a struct followed by a second value. The second value prints as zero.

2005-03-25 Thread pinskia at gcc dot gnu dot org
--- Additional Comments From pinskia at gcc dot gnu dot org 2005-03-25 21:08 --- st.st_size is a long long so this is not a bug, try with -Wformat and you will see a warning. -- What|Removed |Added

[Bug tree-optimization/20640] [4.0 Regression] ICE on NULL PHI_ARG_DEF

2005-03-25 Thread pinskia at gcc dot gnu dot org
--- Additional Comments From pinskia at gcc dot gnu dot org 2005-03-25 21:11 --- With checking enabled we get: t.c: In function ‘test’: t.c:7: error: PHI argument is missing for edge 1-4 for PHI node a_13 = PHI a_11(2), a_14(3), (1); t.c:7: internal compiler error: verify_ssa failed.

[Bug tree-optimization/20640] [4.0 Regression] ICE on NULL PHI_ARG_DEF

2005-03-25 Thread pinskia at gcc dot gnu dot org
--- Additional Comments From pinskia at gcc dot gnu dot org 2005-03-25 21:12 --- And was happening when the 4.0 branch was created: 20050225. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20640

[Bug treelang/20604] treelang does not get passed -fPIC by default on *-darwin

2005-03-25 Thread pinskia at gcc dot gnu dot org
--- Additional Comments From pinskia at gcc dot gnu dot org 2005-03-25 21:33 --- I am about to post a patch for this one. -- What|Removed |Added

[Bug treelang/20604] treelang does not get passed -fPIC by default on *-darwin

2005-03-25 Thread pinskia at gcc dot gnu dot org
--- Additional Comments From pinskia at gcc dot gnu dot org 2005-03-25 21:39 --- Patch here: http://gcc.gnu.org/ml/gcc-patches/2005-03/msg02391.html. -- What|Removed |Added

[Bug c++/14912] Do not print default template arguments in error messages

2005-03-25 Thread gdr at integrable-solutions dot net
--- Additional Comments From gdr at integrable-solutions dot net 2005-03-25 22:06 --- Subject: Re: Do not print default template arguments in error messages giovannibajo at libero dot it [EMAIL PROTECTED] writes: | --- Additional Comments From giovannibajo at libero dot it

[Bug c++/14912] Do not print default template arguments in error messages

2005-03-25 Thread gdr at integrable-solutions dot net
--- Additional Comments From gdr at integrable-solutions dot net 2005-03-25 22:09 --- Subject: Re: Do not print default template arguments in error messages giovannibajo at libero dot it [EMAIL PROTECTED] writes: | The first non-trivial issue is that, in order to print std::vectorint

[Bug c++/14912] Do not print default template arguments in error messages

2005-03-25 Thread gdr at integrable-solutions dot net
--- Additional Comments From gdr at integrable-solutions dot net 2005-03-25 22:09 --- Subject: Re: Do not print default template arguments in error messages giovannibajo at libero dot it [EMAIL PROTECTED] writes: | --- Additional Comments From giovannibajo at libero dot it

[Bug c++/14912] Do not print default template arguments in error messages

2005-03-25 Thread gdr at integrable-solutions dot net
--- Additional Comments From gdr at integrable-solutions dot net 2005-03-25 22:11 --- Subject: Re: Do not print default template arguments in error messages giovannibajo at libero dot it [EMAIL PROTECTED] writes: | I cannot fix all the diagnostic problems in GCC with a single patch,

[Bug target/20286] [3.3 only] gcc panic with __thread attribute

2005-03-25 Thread gdr at integrable-solutions dot net
--- Additional Comments From gdr at integrable-solutions dot net 2005-03-25 22:13 --- Subject: Re: [3.3 only] gcc panic with __thread attribute wilson at gcc dot gnu dot org [EMAIL PROTECTED] writes: | Technically, this isn't a regression, as gcc-3.2 did not have TLS | support, and

[Bug target/20199] -fvisibility-inlines-hidden broken on powerpc64-linux

2005-03-25 Thread janis at gcc dot gnu dot org
--- Additional Comments From janis at gcc dot gnu dot org 2005-03-25 22:21 --- This works with today's 4.0-branch sources, with small test cases and also with eon built with this option. I haven't checked to see when it was fixed, but this PR can now be closed. --

[Bug tree-optimization/20643] New: Tree loop optimizer does worse job than RTL loop optimizer

2005-03-25 Thread sje at cup dot hp dot com
In the attached test case, 3.4.* GCC generates better code than 4.0 (or 4.1) because it moves more loop invariant code out of the inner loop of P7Viterbi. The problem seems to be in the alias analysis which determines what can be moved out of that loop. If you change the field M, which is

[Bug tree-optimization/20643] Tree loop optimizer does worse job than RTL loop optimizer

2005-03-25 Thread pinskia at gcc dot gnu dot org
-- What|Removed |Added Keywords||alias, missed-optimization http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20643

[Bug c++/20644] New: bogus uninitialized warning on unused variable

2005-03-25 Thread sebor at roguewave dot com
The warning below is inappropriate since j can never be used in the function. $ cat t.cpp gcc -c -O -W t.cpp int foo () { int i; int j; for ( ; ; ) { i = 0; if (0 == i) break; } if (1 == i) return j; return 0; } t.cpp: In function

[Bug c/20645] New: Complilation success depends on optimization being used

2005-03-25 Thread mikulas at artax dot karlin dot mff dot cuni dot cz
When this function is compiled with -O, it works. When it's compiled without -O, it reports error error: can't find a register in class `GENERAL_REGS' while reloading `asm'. I think that syntactic corectness of language shouldn't depend on optimization flags --- it should either report error in

[Bug tree-optimization/20643] Tree loop optimizer does worse job than RTL loop optimizer

2005-03-25 Thread dberlin at dberlin dot org
--- Additional Comments From dberlin at gcc dot gnu dot org 2005-03-26 00:02 --- Subject: Re: New: Tree loop optimizer does worse job than RTL loop optimizer On Fri, 2005-03-25 at 22:21 +, sje at cup dot hp dot com wrote: In the attached test case, 3.4.* GCC generates

[Bug c/20645] Complilation success depends on optimization being used

2005-03-25 Thread pinskia at gcc dot gnu dot org
--- Additional Comments From pinskia at gcc dot gnu dot org 2005-03-26 00:29 --- *** This bug has been marked as a duplicate of 11203 *** -- What|Removed |Added

[Bug inline-asm/11203] source doesn't compile with -O0 but they compile with -O3

2005-03-25 Thread pinskia at gcc dot gnu dot org
--- Additional Comments From pinskia at gcc dot gnu dot org 2005-03-26 00:29 --- *** Bug 20645 has been marked as a duplicate of this bug. *** -- What|Removed |Added

[Bug c++/14912] Do not print default template arguments in error messages

2005-03-25 Thread giovannibajo at libero dot it
--- Additional Comments From giovannibajo at libero dot it 2005-03-26 00:30 --- (In reply to comment #14) | The first patch will deal with just removal of default | arguments, and I believe that the less intrusive and clean solution is to | display default in the with clause.

[Bug c++/14912] Do not print default template arguments in error messages

2005-03-25 Thread giovannibajo at libero dot it
--- Additional Comments From giovannibajo at libero dot it 2005-03-26 00:35 --- (In reply to comment #12) Look at the most general template and same_type_p() with any default type. How can it work? The default parameter can be dependent on previous template parameters. For

[Bug middle-end/20644] bogus uninitialized warning on unused variable

2005-03-25 Thread pinskia at gcc dot gnu dot org
--- Additional Comments From pinskia at gcc dot gnu dot org 2005-03-26 00:43 --- I think we had decided even though the code is unreachable, we want to warn about this. -- What|Removed |Added

[Bug tree-optimization/20643] Tree loop optimizer does worse job than RTL loop optimizer

2005-03-25 Thread pinskia at gcc dot gnu dot org
--- Additional Comments From pinskia at gcc dot gnu dot org 2005-03-26 00:48 --- And as I have mentioned in the email, do-loop is not being done because well it would be invalid to do it as we change an infinite loop to a finite one, see PR 19210. --

-Winline: function body not available

2005-03-25 Thread Martin Sebor
Could someone help me understand what's causing the following warning so that I can silence it? Gcc 3.4.3 emits it for an implicitly inline one-line definition of the function (ctor, actually, see below), so I'm not sure what the function body not available bit is supposed to mean. The base ctor

[Bug middle-end/20644] bogus uninitialized warning on unused variable

2005-03-25 Thread sebor at roguewave dot com
--- Additional Comments From sebor at roguewave dot com 2005-03-26 01:08 --- I can imagine that it may not be straightforward to fix but I can't think of a reason why a warning could ever be useful in this case (i.e., when the code is provably safe). I could of course be missing

Re: -Winline: function body not available

2005-03-25 Thread Andrew Pinski
On Mar 25, 2005, at 7:59 PM, Martin Sebor wrote: Could someone help me understand what's causing the following warning so that I can silence it? Gcc 3.4.3 emits it for an implicitly inline one-line definition of the function (ctor, actually, see below), so I'm not sure what the function body not

[Bug middle-end/20644] bogus uninitialized warning on unused variable

2005-03-25 Thread pinskia at gcc dot gnu dot org
--- Additional Comments From pinskia at gcc dot gnu dot org 2005-03-26 01:13 --- (In reply to comment #2) I can imagine that it may not be straightforward to fix but I can't think of a reason why a warning could ever be useful in this case (i.e., when the code is provably safe). I

Re: -Winline: function body not available

2005-03-25 Thread Martin Sebor
Andrew Pinski wrote: On Mar 25, 2005, at 7:59 PM, Martin Sebor wrote: Could someone help me understand what's causing the following warning so that I can silence it? Gcc 3.4.3 emits it for an implicitly inline one-line definition of the function (ctor, actually, see below), so I'm not sure what

[Bug c++/14912] Do not print default template arguments in error messages

2005-03-25 Thread dave at boost-consulting dot com
--- Additional Comments From dave at boost-consulting dot com 2005-03-26 02:01 --- Subject: Re: Do not print default template arguments in error messages gdr at integrable-solutions dot net [EMAIL PROTECTED] writes: --- Additional Comments From gdr at integrable-solutions dot

[Bug c++/14912] Do not print default template arguments in error messages

2005-03-25 Thread gdr at integrable-solutions dot net
--- Additional Comments From gdr at integrable-solutions dot net 2005-03-26 04:04 --- Subject: Re: Do not print default template arguments in error messages giovannibajo at libero dot it [EMAIL PROTECTED] writes: | --- Additional Comments From giovannibajo at libero dot it

[Bug c++/14912] Do not print default template arguments in error messages

2005-03-25 Thread gdr at integrable-solutions dot net
--- Additional Comments From gdr at integrable-solutions dot net 2005-03-26 04:06 --- Subject: Re: Do not print default template arguments in error messages giovannibajo at libero dot it [EMAIL PROTECTED] writes: | --- Additional Comments From giovannibajo at libero dot it

[Bug c++/14912] Do not print default template arguments in error messages

2005-03-25 Thread gdr at integrable-solutions dot net
--- Additional Comments From gdr at integrable-solutions dot net 2005-03-26 04:13 --- Subject: Re: Do not print default template arguments in error messages dave at boost-consulting dot com [EMAIL PROTECTED] writes: [...] | Please, I'm begging you not to go down this road. GCC is

[Bug c++/20589] error: 'anonymous enum' is/uses anonymous type'

2005-03-25 Thread gdr at integrable-solutions dot net
--- Additional Comments From gdr at integrable-solutions dot net 2005-03-26 04:20 --- Subject: Re: error: 'anonymous enum' is/uses anonymous type' bangerth at dealii dot org [EMAIL PROTECTED] writes: | Intuitively, C++ treats unnamed enums differently than named ones, because | in

[Bug c++/20637] [3.3/3.4/4.0/4.1 regression] Confusing message with different using declarations

2005-03-25 Thread gdr at integrable-solutions dot net
--- Additional Comments From gdr at integrable-solutions dot net 2005-03-26 04:28 --- Subject: Re: New: [3.3/3.4/4.0/4.1 regression] Confusing message with different using declarations bangerth at dealii dot org [EMAIL PROTECTED] writes: | This was hard to find. Consider this

[Bug middle-end/17667] Const/pure function detection during tree-based profiling

2005-03-25 Thread pinskia at gcc dot gnu dot org
-- What|Removed |Added CC||pinskia at gcc dot gnu dot ||org Last reconfirmed|2004-12-25

[Bug middle-end/16187] ARRAY_REF should be used for pointers also

2005-03-25 Thread pinskia at gcc dot gnu dot org
--- Additional Comments From pinskia at gcc dot gnu dot org 2005-03-26 05:38 --- http://gcc.gnu.org/wiki/Add%20MEM_REF%20operation -- What|Removed |Added

[Bug target/20199] -fvisibility-inlines-hidden broken on powerpc64-linux

2005-03-25 Thread aj at gcc dot gnu dot org
--- Additional Comments From aj at gcc dot gnu dot org 2005-03-26 06:31 --- Close as suggested -- What|Removed |Added Status|UNCONFIRMED

[Bug regression/20646] New: ICE on illegal code: extern static struct member

2005-03-25 Thread dan dot rosen at gmail dot com
I don't know what I was thinking when I wrote this, but the following illegal code (.ii, tiny testcase) causes an ICE in g++-4.0 which was not present in 3.4: # 1 extern-static.cpp # 1 built-in # 1 command line # 1 extern-static.cpp struct foo { extern static int i; }; int main () { return 0;

[Bug c++/20646] [4.0/4.1 Regression] ICE on illegal code: extern static struct member

2005-03-25 Thread pinskia at gcc dot gnu dot org
--- Additional Comments From pinskia at gcc dot gnu dot org 2005-03-26 07:32 --- Confirmed, an error recovery problem, not a release blocking regression for 4.0.0, setting target milestone to 4.0.1 as per Mark, the Release manager. -- What|Removed