[Bug c++/37552] New: [4.4 regression] ICE with invalid array access

2008-09-17 Thread reichelt at gcc dot gnu dot org
The following invalid code snippet triggers an ICE on mainline: extern struct A a[1]; void foo() { a[0]; } bug.cc: In function 'void foo()': bug.cc:5: error: invalid use of incomplete type 'struct A' bug.cc:1: error: forward declaration of

[Bug c++/37552] [4.4 regression] ICE with invalid array access

2008-09-17 Thread reichelt at gcc dot gnu dot org
-- reichelt at gcc dot gnu dot org changed: What|Removed |Added Target Milestone|--- |4.4.0 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37552

[Bug c++/37553] New: ICE in build_c_cast

2008-09-17 Thread patrakov at gmail dot com
This code triggers an ICE in gcc-4.3.1 on i686 when compiled with g++: typedef unsigned int ui32; __extension__ typedef unsigned long long int ui64; typedef ui32 __attribute__ ((__may_alias__)) ui32a; typedef ui64 __attribute__ ((__may_alias__)) ui64a; union u_u32 { ui32a v; } __attribute__

[Bug c++/37554] New: [4.3/4.4 regression] ICE with invalid cast

2008-09-17 Thread reichelt at gcc dot gnu dot org
The following invalid code snippet triggers an ICE since GCC 4.3.0: struct A {}; class B : A {}; void foo(B b) { (A)b; } bug.cc: In function 'void foo(B)': bug.cc:6: error: 'A' is an inaccessible base of 'B' bug.cc:6: internal compiler error:

[Bug c++/37554] [4.3/4.4 regression] ICE with invalid cast

2008-09-17 Thread reichelt at gcc dot gnu dot org
-- reichelt at gcc dot gnu dot org changed: What|Removed |Added Target Milestone|--- |4.3.3 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37554

[Bug c++/37555] New: [4.1/4.2/4.3/4.4 regression] ICE with invalid typedef

2008-09-17 Thread reichelt at gcc dot gnu dot org
The following invalid code snippet triggers an ICE since GCC 3.4.0: struct A {}; typedef void (A::T)(); void foo() { T t; t; } bug.cc:3: error: typedef name may not be a nested-name-specifier bug.cc: In function 'void foo()': bug.cc:8:

[Bug c++/37555] [4.1/4.2/4.3/4.4 regression] ICE with invalid typedef

2008-09-17 Thread reichelt at gcc dot gnu dot org
-- reichelt at gcc dot gnu dot org changed: What|Removed |Added Target Milestone|--- |4.2.5 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37555

[Bug c++/37556] New: [4.4 regression] ICE with invalid typedef

2008-09-17 Thread reichelt at gcc dot gnu dot org
The following invalid code snippet triggers an ICE on mainline: struct A { void foo(); }; typedef void (A::T)(); void bar(T); void baz() { bar(A::foo); } bug.cc:6: error: typedef name may not be a nested-name-specifier bug.cc:8: error:

[Bug c++/37556] [4.4 regression] ICE with invalid typedef

2008-09-17 Thread reichelt at gcc dot gnu dot org
-- reichelt at gcc dot gnu dot org changed: What|Removed |Added Target Milestone|--- |4.4.0 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37556

[Bug c++/37557] New: mixing wide and plain streams causes stream-errors (g++ 4.2.3 also affected)

2008-09-17 Thread nikola dot radovanovic at dmsgroup dot rs
hi, recetly i found out something that is possible/probably bug in g++. so far i have tested on 4.1.0 and 4.2.3. on previous versions there were no such error (tried with 3.3.5). here is brief description: i use string and wstring (and appropriate cin/cout and wcin/wcout) in same console app that

[Bug fortran/37545] impossible to link with -fopenmp

2008-09-17 Thread francois dot jacq at irsn dot fr
--- Comment #4 from francois dot jacq at irsn dot fr 2008-09-17 07:18 --- Subject: Re: impossible to link with -fopenmp Le mardi 16 septembre 2008 20:26, pinskia at gcc dot gnu dot org a écrit : --- Comment #1 from pinskia at gcc dot gnu dot org 2008-09-16 18:26 --- Did

[Bug fortran/37274] [Regression 4.4 (and 4.3?)] error: type name is ambiguous.

2008-09-17 Thread pault at gcc dot gnu dot org
--- Comment #17 from pault at gcc dot gnu dot org 2008-09-17 07:31 --- (In reply to comment #16) Lest anybody is worrying about the patch that I posted, I cannot commit until tonight or tomorrow morning. Since my laptop was stolen, I have no means to update my tree nor commit anything

[Bug fortran/37545] impossible to link with -fopenmp

2008-09-17 Thread francois dot jacq at irsn dot fr
--- Comment #5 from francois dot jacq at irsn dot fr 2008-09-17 07:34 --- Subject: Re: impossible to link with -fopenmp Le mardi 16 septembre 2008 20:50, dfranke at gcc dot gnu dot org a écrit : --- Comment #2 from dfranke at gcc dot gnu dot org 2008-09-16 18:50 ---

[Bug ada/21327] gnat_ugn.texi invalid @direntry

2008-09-17 Thread sam at gcc dot gnu dot org
--- Comment #5 from sam at gcc dot gnu dot org 2008-09-17 07:59 --- Subject: Bug 21327 Author: sam Date: Wed Sep 17 07:58:12 2008 New Revision: 140411 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=140411 Log: 2008-09-17 Pascal Rigaux [EMAIL PROTECTED] gcc/ada/ PR

[Bug ada/21327] gnat_ugn.texi invalid @direntry

2008-09-17 Thread sam at gcc dot gnu dot org
--- Comment #6 from sam at gcc dot gnu dot org 2008-09-17 08:00 --- Pascal's fix committed as trivial documentation fix in SVN trunk. -- sam at gcc dot gnu dot org changed: What|Removed |Added

[Bug c++/37057] 7 Internal Compiler Errors when compiling OpenFOAM-1.5

2008-09-17 Thread jorn dot amundsen at ntnu dot no
--- Comment #34 from jorn dot amundsen at ntnu dot no 2008-09-17 08:02 --- (In reply to comment #33) Thank you for the tip on libtool libpath. Looking into it with dump -H, I did not know it was that ugly. Indeed, this should be cleaned up if when building and installing software. In

[Bug rtl-optimization/37544] [4.2/4.3/4.4 Regression] Conversion double - unsigned long long - unsigned - double gives wrong results

2008-09-17 Thread ubizjak at gmail dot com
--- Comment #6 from ubizjak at gmail dot com 2008-09-17 08:14 --- cprop_hardreg pass is propagating DImode ax register, wrongly bypassing DI-SI conversion. Before cprop_hardreg, we have: (call_insn/u:HI 27 88 28 4 pr37544.c:9 (set (reg:DI 0 ax) (call (mem:QI (symbol_ref:SI

[Bug rtl-optimization/37544] [4.2/4.3/4.4 Regression] Conversion double - unsigned long long - unsigned - double gives wrong results

2008-09-17 Thread ubizjak at gmail dot com
--- Comment #7 from ubizjak at gmail dot com 2008-09-17 08:35 --- (In reply to comment #5) Confirmed on i686-linux with -std=c99 -O -msse2 -mfpmath=387 -march=i386. Does not fail for x86_64-linux target with -m32 on x86_64-linux _and_ i686-linux hosts. --

[Bug fortran/35680] [4.3/4.4 regression] ICE on invalid transfer in variable declaration

2008-09-17 Thread pault at gcc dot gnu dot org
--- Comment #5 from pault at gcc dot gnu dot org 2008-09-17 08:55 --- (In reply to comment #4) 4.3.2 is released, changing milestones to 4.3.3. Although this passes Lahey with only a warning that the return value is not set, it manifestly is standard defying according to 7.1.6.2 A

[Bug middle-end/37491] [4.4 Regression] Revision 140257 causes vectorizer tests failures

2008-09-17 Thread rguenth at gcc dot gnu dot org
--- Comment #11 from rguenth at gcc dot gnu dot org 2008-09-17 10:10 --- The problem in PR37385 is that we do not look at the canonical type in get_alias_set, so we end up with a different alias set for the typedef (which makes the behavior of get_alias_set inconsistent with the

[Bug c++/37540] [4.4 regression] ICE on __decltype of method call in function template

2008-09-17 Thread jakub at gcc dot gnu dot org
--- Comment #3 from jakub at gcc dot gnu dot org 2008-09-17 10:28 --- Caused by http://gcc.gnu.org/viewcvs?root=gccview=revrev=138843 Any reason why you look at CALL_EXPR_FN's type instead of just TREE_TYPE (expr)? In this case TREE_TYPE (expr) is int, but CALL_EXPR_FN is COMPONENT_REF

[Bug c++/37552] [4.4 regression] ICE with invalid array access

2008-09-17 Thread jakub at gcc dot gnu dot org
-- jakub at gcc dot gnu dot org changed: What|Removed |Added AssignedTo|unassigned at gcc dot gnu |jakub at gcc dot gnu dot org |dot org

[Bug rtl-optimization/37544] [4.2/4.3/4.4 Regression] Conversion double - unsigned long long - unsigned - double gives wrong results

2008-09-17 Thread ubizjak at gmail dot com
--- Comment #8 from ubizjak at gmail dot com 2008-09-17 10:39 --- The problem is in regrename.c, function maybe_mode_change. We enter the function with: orig_mode = DImode copy_mode = SImode new_mode = DImode At the beginning of maybe_mode_change() we have: if (orig_mode ==

[Bug ada/37309] Ada tasking is not implemented on NetBSD

2008-09-17 Thread sam at gcc dot gnu dot org
--- Comment #2 from sam at gcc dot gnu dot org 2008-09-17 11:06 --- You should sent a patch against the latest SVN trunk, so that it can be reviewed. -- sam at gcc dot gnu dot org changed: What|Removed |Added

[Bug middle-end/37385] [4.4 Regression] ICE in set_mem_alias_set with the vectorizer and function pointers

2008-09-17 Thread rguenth at gcc dot gnu dot org
--- Comment #12 from rguenth at gcc dot gnu dot org 2008-09-17 11:43 --- Subject: Bug 37385 Author: rguenth Date: Wed Sep 17 11:42:11 2008 New Revision: 140412 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=140412 Log: 2008-09-17 Richard Guenther [EMAIL PROTECTED] PR

[Bug middle-end/37491] [4.4 Regression] Revision 140257 causes vectorizer tests failures

2008-09-17 Thread rguenth at gcc dot gnu dot org
--- Comment #13 from rguenth at gcc dot gnu dot org 2008-09-17 11:43 --- Subject: Bug 37491 Author: rguenth Date: Wed Sep 17 11:42:11 2008 New Revision: 140412 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=140412 Log: 2008-09-17 Richard Guenther [EMAIL PROTECTED] PR

[Bug fortran/37545] impossible to link with -fopenmp

2008-09-17 Thread brian at dessent dot net
--- Comment #6 from brian at dessent dot net 2008-09-17 11:44 --- Subject: Re: impossible to link with -fopenmp If you can't change your glibc version then you need to build gfortran yourself from source. The problem is that the person that is building the gfortran binary packages on

[Bug rtl-optimization/37544] [4.4 Regression] Conversion double - unsigned long long - unsigned - double gives wrong results

2008-09-17 Thread ubizjak at gmail dot com
--- Comment #9 from ubizjak at gmail dot com 2008-09-17 11:48 --- 4.2 and 4.3 work OK. -- ubizjak at gmail dot com changed: What|Removed |Added Known to work|

[Bug middle-end/37491] [4.4 Regression] Revision 140257 causes vectorizer tests failures

2008-09-17 Thread rguenth at gcc dot gnu dot org
--- Comment #12 from rguenth at gcc dot gnu dot org 2008-09-17 11:43 --- Fixed. -- rguenth at gcc dot gnu dot org changed: What|Removed |Added

[Bug fortran/35770] implicit character(s) hides type of internal function

2008-09-17 Thread domob at gcc dot gnu dot org
--- Comment #4 from domob at gcc dot gnu dot org 2008-09-17 11:57 --- Subject: Bug 35770 Author: domob Date: Wed Sep 17 11:56:09 2008 New Revision: 140413 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=140413 Log: 2008-09-13 Daniel Kraft [EMAIL PROTECTED] PR

[Bug fortran/35770] implicit character(s) hides type of internal function

2008-09-17 Thread domob at gcc dot gnu dot org
--- Comment #5 from domob at gcc dot gnu dot org 2008-09-17 11:59 --- Fixed for trunk (4.4) and 4.3. -- domob at gcc dot gnu dot org changed: What|Removed |Added

[Bug rtl-optimization/37544] [4.4 Regression] Conversion double - unsigned long long - unsigned - double gives wrong results

2008-09-17 Thread ubizjak at gmail dot com
--- Comment #10 from ubizjak at gmail dot com 2008-09-17 12:01 --- I'm testing following patch: Index: regrename.c === --- regrename.c (revision 140409) +++ regrename.c (working copy) @@ -1314,6 +1314,9 @@

[Bug c++/37057] 7 Internal Compiler Errors when compiling OpenFOAM-1.5

2008-09-17 Thread dje at gcc dot gnu dot org
--- Comment #35 from dje at gcc dot gnu dot org 2008-09-17 12:22 --- User reports successful resolution. -- dje at gcc dot gnu dot org changed: What|Removed |Added

[Bug bootstrap/37441] [4.4 regression] dwarf2 unwind info patches produce undefined symbols

2008-09-17 Thread ro at gcc dot gnu dot org
--- Comment #6 from ro at gcc dot gnu dot org 2008-09-17 12:28 --- Fixed for 4.4.0. -- ro at gcc dot gnu dot org changed: What|Removed |Added

[Bug bootstrap/37441] [4.4 regression] dwarf2 unwind info patches produce undefined symbols

2008-09-17 Thread ro at gcc dot gnu dot org
--- Comment #7 from ro at gcc dot gnu dot org 2008-09-17 12:28 --- Subject: Bug 37441 Author: ro Date: Wed Sep 17 12:26:43 2008 New Revision: 140417 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=140417 Log: PR bootstrap/37441 * dwarf2out.c (dwarf2out_do_cfi_asm)

[Bug c++/37558] New: rev 140120 changes the accessibility of a friend decl.

2008-09-17 Thread espindola at google dot com
Gcc 4.4 used to accept the program --- class Foo { friend class Bar; friend void func(const class Bar*); }; -- since 140120 it does not. Simon found the following: gcc 2.95.3, 3.4.5 and icc accept it. Previous versions

[Bug c++/37559] New: pow() function outputs NaN in debug build

2008-09-17 Thread john at humanoidsounds dot co dot uk
When I compile and run the following code in my debug build using GCC 4.0.1 on an Intel Mac (OSX10.5) I find that the pow() function returns NaN whereas in the release build it works as expected. When using the powf() function it works as expected. const float dBgain = -2.75750828f; const double

[Bug tree-optimization/37102] [4.3/4.4 Regression] out-of-SSA is broken

2008-09-17 Thread rguenth at gcc dot gnu dot org
--- Comment #12 from rguenth at gcc dot gnu dot org 2008-09-17 14:25 --- Ok, so I think we should be fine if we ignore PHI nodes with zero-use results during building the elimination graph - chained unused PHIs will have lifeness computed for all but the PHI node with the zero-use

[Bug c++/37555] [4.2/4.3/4.4 regression] ICE with invalid typedef

2008-09-17 Thread rguenth at gcc dot gnu dot org
-- rguenth at gcc dot gnu dot org changed: What|Removed |Added Priority|P3 |P5 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37555

[Bug c++/37554] [4.3/4.4 regression] ICE with invalid cast

2008-09-17 Thread rguenth at gcc dot gnu dot org
-- rguenth at gcc dot gnu dot org changed: What|Removed |Added Priority|P3 |P5 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37554

[Bug c/37560] New: bitfield not promoted to int

2008-09-17 Thread clemens at ladisch dot de
In the following program, the type of the assignment expression f.x = 1 should be int, according to the integer promotion rules. However, gcc 4.xx (on all architectures I've tested) prints 1. #include stdio.h int main() { struct foo { int x:1; } f; printf(%u\n, sizeof(f.x = 1));

[Bug tree-optimization/37102] [4.3/4.4 Regression] out-of-SSA is broken

2008-09-17 Thread amacleod at redhat dot com
--- Comment #13 from amacleod at redhat dot com 2008-09-17 14:34 --- I was in the middle of updating this PR and taking possesion :-) Upon further reflection, I don't think it is acceptable for out-of-ssa to generate incorrect code simply because an optimization wasn't run before it.

[Bug middle-end/36747] ICE in set_uids_in_ptset, at tree-ssa-structalias.c:4785 with -O

2008-09-17 Thread rguenth at gcc dot gnu dot org
--- Comment #3 from rguenth at gcc dot gnu dot org 2008-09-17 14:34 --- *** Bug 37310 has been marked as a duplicate of this bug. *** -- rguenth at gcc dot gnu dot org changed: What|Removed |Added

[Bug tree-optimization/37310] [4.3 Regression] gfortran errors in compilation and the making for upgraded compilers

2008-09-17 Thread rguenth at gcc dot gnu dot org
--- Comment #17 from rguenth at gcc dot gnu dot org 2008-09-17 14:34 --- I think this is a duplicate of PR36747 as I no longer can reporduce this with 4.3.2. *** This bug has been marked as a duplicate of 36747 *** -- rguenth at gcc dot gnu dot org changed: What

[Bug tree-optimization/37102] [4.3/4.4 Regression] out-of-SSA is broken

2008-09-17 Thread rguenth at gcc dot gnu dot org
--- Comment #14 from rguenth at gcc dot gnu dot org 2008-09-17 14:38 --- Hm, it doesn't work - bootstrap fails as gengtype segfaults. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37102

[Bug tree-optimization/37102] [4.3/4.4 Regression] out-of-SSA is broken

2008-09-17 Thread amacleod at redhat dot com
--- Comment #15 from amacleod at redhat dot com 2008-09-17 14:39 --- Created an attachment (id=16343) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=16343action=view) potential patch 1 This is the first option which simply doesn't add the result of a PHI with no uses to the

[Bug c++/37260] [4.1/4.2/4.3 Regression] infinite loop in init

2008-09-17 Thread rguenth at gcc dot gnu dot org
-- rguenth at gcc dot gnu dot org changed: What|Removed |Added Priority|P3 |P2 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37260

[Bug tree-optimization/36343] [4.3 Regression] Wrong code due to bad TBAA pruning of points-to-sets and use in call clobbering

2008-09-17 Thread rguenth at gcc dot gnu dot org
--- Comment #6 from rguenth at gcc dot gnu dot org 2008-09-17 14:46 --- Created an attachment (id=16344) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=16344action=view) patch disabling TBAA pruning This is the patch we use for openSUSE to fix this bug. --

[Bug tree-optimization/37102] [4.3/4.4 Regression] out-of-SSA is broken

2008-09-17 Thread amacleod at redhat dot com
--- Comment #16 from amacleod at redhat dot com 2008-09-17 14:48 --- Created an attachment (id=16345) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=16345action=view) Potential patch #2 This is the other option, eliminate dead PHIs. compiling all of GCC .c files at -O3, it finds a

[Bug testsuite/37561] New: [4.4 Regression] Revision 140405 caused g++.old-deja/g++.mike/warn1.C

2008-09-17 Thread hjl dot tools at gmail dot com
bash-3.2$ cat g++.old-deja/g++.mike/warn1.C // { dg-do assemble } // { dg-options -Wall } typedef char * charptr; typedef __SIZE_TYPE__ size_t; char c[]={'A','B','C','D'}; int i=size_t(c); int *pp=i; void foo() { } int main() { charptr(*pp)++;// { dg-warning } return 0; } bash-3.2$

[Bug c/37560] bitfield not promoted to int

2008-09-17 Thread joseph at codesourcery dot com
--- Comment #1 from joseph at codesourcery dot com 2008-09-17 14:50 --- Subject: Re: New: bitfield not promoted to int On Wed, 17 Sep 2008, clemens at ladisch dot de wrote: In the following program, the type of the assignment expression f.x = 1 should be int, according to the

[Bug middle-end/18071] [4.2/4.3/4.4 Regression] -Winline does not respect -fno-default-inline

2008-09-17 Thread hubicka at gcc dot gnu dot org
--- Comment #37 from hubicka at gcc dot gnu dot org 2008-09-17 15:02 --- Subject: Bug 18071 Author: hubicka Date: Wed Sep 17 15:00:59 2008 New Revision: 140418 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=140418 Log: PR c++/18071 * tree.h (DECL_INLINE): remove.

[Bug tree-optimization/36343] [4.3 Regression] Wrong code due to bad TBAA pruning of points-to-sets and use in call clobbering

2008-09-17 Thread ebotcazou at gcc dot gnu dot org
--- Comment #7 from ebotcazou at gcc dot gnu dot org 2008-09-17 15:07 --- This is the patch we use for openSUSE to fix this bug. Any particular reason for not installing it at the FSF as well? -- ebotcazou at gcc dot gnu dot org changed: What|Removed

[Bug tree-optimization/36343] [4.3 Regression] Wrong code due to bad TBAA pruning of points-to-sets and use in call clobbering

2008-09-17 Thread rguenther at suse dot de
--- Comment #8 from rguenther at suse dot de 2008-09-17 15:10 --- Subject: Re: [4.3 Regression] Wrong code due to bad TBAA pruning of points-to-sets and use in call clobbering On Wed, 17 Sep 2008, ebotcazou at gcc dot gnu dot org wrote: --- Comment #7 from ebotcazou at gcc dot

[Bug c/37560] bitfield not promoted to int

2008-09-17 Thread clemens at ladisch dot de
--- Comment #2 from clemens at ladisch dot de 2008-09-17 15:11 --- According to the proposed TC in DR 315 (If an int can represent all values of the original type (as restricted by the width, for a bit-field), the type is converted to an int;), -- clemens at ladisch dot de changed:

[Bug tree-optimization/37525] [4.4 Regression] IVOPTS difference causing 20% degradation in 173.applu benchmark

2008-09-17 Thread jakub at gcc dot gnu dot org
--- Comment #1 from jakub at gcc dot gnu dot org 2008-09-17 15:12 --- I guess the problem might be that Fortran has signed size_type_node (and unsigned sizetype), so what the newly added code in int_fits_type_p does breaks Fortran assumptions. Say for sizetype -25 (i.e. unsigned

[Bug tree-optimization/37508] [4.4 Regression] ICE in in simplify_truth_ops_using_ranges, at tree-vrp.c:6334

2008-09-17 Thread bonzini at gnu dot org
--- Comment #7 from bonzini at gnu dot org 2008-09-17 15:17 --- Do you have a missed optimization for optimizing the functions to return 1? Or does your patch fix it too? -- bonzini at gnu dot org changed: What|Removed |Added

[Bug c++/37559] pow() function outputs NaN in debug build

2008-09-17 Thread rguenth at gcc dot gnu dot org
--- Comment #1 from rguenth at gcc dot gnu dot org 2008-09-17 15:19 --- GCC 4.0.1 is no longer supported by the FSF. Please update to at least GCC 4.2.4 and re-check if the problem is fixed. You may also want to report to Apple instead which is known to heavily modify their compilers.

[Bug fortran/37536] [4.3/4.4 Regression] a mfcr is produced instead of branches for DO loops

2008-09-17 Thread luisgpm at linux dot vnet dot ibm dot com
--- Comment #9 from luisgpm at linux dot vnet dot ibm dot com 2008-09-17 15:22 --- Gathered some PPC 32/64 performance numbers with the patch (based on 140409). No noticeable performance regressions were found. 32-bit swin and 64-bit art had a little boost on speed (7.8% and 3.4%

[Bug tree-optimization/37508] [4.4 Regression] ICE in in simplify_truth_ops_using_ranges, at tree-vrp.c:6334

2008-09-17 Thread rguenther at suse dot de
--- Comment #8 from rguenther at suse dot de 2008-09-17 15:24 --- Subject: Re: [4.4 Regression] ICE in in simplify_truth_ops_using_ranges, at tree-vrp.c:6334 On Wed, 17 Sep 2008, bonzini at gnu dot org wrote: --- Comment #7 from bonzini at gnu dot org 2008-09-17 15:17 ---

[Bug inline-asm/37562] New: [4.2] -funroll-loops destroys inline asm code von powerpc

2008-09-17 Thread rbuergel at web dot de
typedef unsigned int UInt32; typedef unsigned char UInt8; struct Data { UInt8 data[16]; const UInt8* getData() const { return data + 4; } }; struct Value { UInt32 value; static void update (Value signal, const Data source, UInt32 startBit); }; void Value::update(Value signal,

[Bug inline-asm/37562] [4.2] -funroll-loops destroys inline asm code von powerpc

2008-09-17 Thread rbuergel at web dot de
--- Comment #1 from rbuergel at web dot de 2008-09-17 15:44 --- oops, i forgot to mention my command line to compile it: powerpc-linux-g++ -O3 -funroll-loops -c -o GetBytes2.o GetBytes2.cpp using -O3 is important for reproducing this error --

[Bug c/37560] bitfield not promoted to int

2008-09-17 Thread joseph at codesourcery dot com
--- Comment #3 from joseph at codesourcery dot com 2008-09-17 15:55 --- Subject: Re: bitfield not promoted to int On Wed, 17 Sep 2008, clemens at ladisch dot de wrote: According to the proposed TC in DR 315 (If an int can represent all values of the original type (as restricted by

[Bug testsuite/37561] [4.4 Regression] Revision 140405 caused g++.old-deja/g++.mike/warn1.C

2008-09-17 Thread janis at gcc dot gnu dot org
--- Comment #1 from janis at gcc dot gnu dot org 2008-09-17 16:00 --- I tested with -m32 on powerpc64-linux, not with both -m32/-m64 which would have caught this; I'll test with both for related patches. The test previously used { dg-warning }, which matched any message from that

[Bug c++/37563] New: [4.3/4.4 regression] Trouble calling qualified member function

2008-09-17 Thread reichelt at gcc dot gnu dot org
The following valid code snippet is rejected since GCC 4.3.0: == struct A {}; templateint struct Traits { typedef void X; }; template struct Traits0 { typedef A X; }; templateint N struct B { typedef typename TraitsN::X Y; void foo(Y y) {

[Bug c++/37563] [4.3/4.4 regression] Trouble calling qualified member function

2008-09-17 Thread reichelt at gcc dot gnu dot org
-- reichelt at gcc dot gnu dot org changed: What|Removed |Added Target Milestone|--- |4.3.3 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37563

[Bug libfortran/37564] New: collect2: ld returned 1 exit status make[3]: *** [libgfortran.la] Error 1

2008-09-17 Thread reuben dot kraft at gmail dot com
Hello, From the terminal, I many lines that look similar to: .libs/in_unpack_generic.o(.text+0x820): In function `getline': /usr/include/bits/stdio.h:103: multiple definition of `getline' .libs/backtrace.o(.text+0xbc0):/usr/include/bits/stdio.h:103: first defined here

[Bug libfortran/37564] collect2: ld returned 1 exit status make[3]: *** [libgfortran.la] Error 1

2008-09-17 Thread reuben dot kraft at gmail dot com
--- Comment #1 from reuben dot kraft at gmail dot com 2008-09-17 16:04 --- Created an attachment (id=16346) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=16346action=view) x86_64-unknown-linux-gnu/libgfortran/config.log -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37564

[Bug preprocessor/37324] [4.4 Regression] FAIL: gcc.dg/utf-array.c (test for errors)

2008-09-17 Thread jakub at gcc dot gnu dot org
--- Comment #3 from jakub at gcc dot gnu dot org 2008-09-17 16:06 --- Subject: Bug 37324 Author: jakub Date: Wed Sep 17 16:05:11 2008 New Revision: 140421 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=140421 Log: PR preprocessor/37324 * lib/target-supports.exp

[Bug preprocessor/37324] [4.4 Regression] FAIL: gcc.dg/utf-array.c (test for errors)

2008-09-17 Thread jakub at gcc dot gnu dot org
--- Comment #4 from jakub at gcc dot gnu dot org 2008-09-17 16:07 --- Fixed. -- jakub at gcc dot gnu dot org changed: What|Removed |Added Status|UNCONFIRMED

[Bug c++/37552] [4.4 regression] ICE with invalid array access

2008-09-17 Thread jakub at gcc dot gnu dot org
--- Comment #1 from jakub at gcc dot gnu dot org 2008-09-17 16:08 --- Subject: Bug 37552 Author: jakub Date: Wed Sep 17 16:07:08 2008 New Revision: 140422 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=140422 Log: PR c++/37552 * typeck.c (build_array_ref): Use

[Bug c++/37552] [4.4 regression] ICE with invalid array access

2008-09-17 Thread jakub at gcc dot gnu dot org
--- Comment #2 from jakub at gcc dot gnu dot org 2008-09-17 16:10 --- Fixed. -- jakub at gcc dot gnu dot org changed: What|Removed |Added Status|ASSIGNED

[Bug testsuite/37561] [4.4 Regression] Revision 140405 caused g++.old-deja/g++.mike/warn1.C

2008-09-17 Thread hjl dot tools at gmail dot com
--- Comment #2 from hjl dot tools at gmail dot com 2008-09-17 16:11 --- (In reply to comment #1) I tested with -m32 on powerpc64-linux, not with both -m32/-m64 which would have caught this; I'll test with both for related patches. The test previously used { dg-warning }, which

[Bug c++/37439] ICE using auto return-type in template function

2008-09-17 Thread jason at gcc dot gnu dot org
--- Comment #1 from jason at gcc dot gnu dot org 2008-09-17 16:12 --- Fixed. -- jason at gcc dot gnu dot org changed: What|Removed |Added Status|ASSIGNED

[Bug c++/37302] function parameters are declared too late

2008-09-17 Thread jason at gcc dot gnu dot org
--- Comment #1 from jason at gcc dot gnu dot org 2008-09-17 16:13 --- Fixed. -- jason at gcc dot gnu dot org changed: What|Removed |Added Status|ASSIGNED

[Bug rtl-optimization/37544] [4.4 Regression] Conversion double - unsigned long long - unsigned - double gives wrong results

2008-09-17 Thread ubizjak at gmail dot com
--- Comment #11 from ubizjak at gmail dot com 2008-09-17 16:13 --- Patch at http://gcc.gnu.org/ml/gcc-patches/2008-09/msg01221.html -- ubizjak at gmail dot com changed: What|Removed |Added

[Bug c++/37208] C++0x deleted functions and SFINAE

2008-09-17 Thread jason at gcc dot gnu dot org
--- Comment #4 from jason at gcc dot gnu dot org 2008-09-17 16:14 --- Fixed. -- jason at gcc dot gnu dot org changed: What|Removed |Added Status|ASSIGNED

[Bug c++/37558] [4.4 regression] rev 140120 changes the accessibility of a friend decl.

2008-09-17 Thread jason at gcc dot gnu dot org
--- Comment #1 from jason at gcc dot gnu dot org 2008-09-17 16:19 --- This doesn't have anything to do with accessibility, but it is a new bug. -- jason at gcc dot gnu dot org changed: What|Removed |Added

Re: [Bug inline-asm/37562] New: [4.2] -funroll-loops destroys inline asm code von powerpc

2008-09-17 Thread Andrew Thomas Pinski
Sent from my iPhone On Sep 17, 2008, at 8:42 AM, rbuergel at web dot de [EMAIL PROTECTED] wrote: typedef unsigned int UInt32; typedef unsigned char UInt8; struct Data { UInt8 data[16]; const UInt8* getData() const { return data + 4; } }; struct Value { UInt32 value; static

[Bug inline-asm/37562] [4.2] -funroll-loops destroys inline asm code for powerpc

2008-09-17 Thread pinskia at gmail dot com
--- Comment #2 from pinskia at gmail dot com 2008-09-17 16:52 --- Subject: Re: New: [4.2] -funroll-loops destroys inline asm code von powerpc Sent from my iPhone On Sep 17, 2008, at 8:42 AM, rbuergel at web dot de [EMAIL PROTECTED] wrote: typedef unsigned int UInt32; typedef

[Bug testsuite/37561] [4.4 Regression] Revision 140405 caused g++.old-deja/g++.mike/warn1.C

2008-09-17 Thread janis at gcc dot gnu dot org
--- Comment #3 from janis at gcc dot gnu dot org 2008-09-17 17:02 --- This is twisting my brain, but in this simplified testcase: __PTRDIFF_TYPE__ p; short q; void foo () { ((char *)p)++; } void bar () { ((char *)q)++; } we get an error with both -m32 and-m64 for foo but not

[Bug c++/37558] [4.4 regression] rev 140120 changes the accessibility of a friend decl.

2008-09-17 Thread jason at gcc dot gnu dot org
--- Comment #2 from jason at gcc dot gnu dot org 2008-09-17 17:31 --- Fixed -- jason at gcc dot gnu dot org changed: What|Removed |Added Status|ASSIGNED

[Bug libstdc++/37547] [c++0x] minmax with initializer_list gives incorrect results

2008-09-17 Thread paolo dot carlini at oracle dot com
--- Comment #1 from paolo dot carlini at oracle dot com 2008-09-17 17:35 --- Thanks for catching this early, apparently this is a fundamental issue with the current proposal: having such overloads returning const refs to elements of the initializer_list is a very bad idea, because the

[Bug testsuite/37561] [4.4 Regression] Revision 140405 caused g++.old-deja/g++.mike/warn1.C

2008-09-17 Thread janis at gcc dot gnu dot org
--- Comment #4 from janis at gcc dot gnu dot org 2008-09-17 17:38 --- The same thing happens in C for the simplified testcase; z.c is a copy of z.C from comment #3: elm3b149% /home/janis/tools/gcc-trunk-anonsvn/bin/gcc -c -m32 z.c z.c: In function ‘foo’: z.c:3: error: lvalue

[Bug middle-end/37448] [4.3 Regression] gcc 4.3.1 cannot compile big function

2008-09-17 Thread lucier at math dot purdue dot edu
--- Comment #13 from lucier at math dot purdue dot edu 2008-09-17 17:49 --- In the attached statistics file you find where this allocation overflowed Alloc-pool KindPools Allocated PeakLeak - df_scan_ref

[Bug c++/37450] [4.4 Regression] C++ FE times out on duplicated parameter

2008-09-17 Thread hjl at gcc dot gnu dot org
--- Comment #3 from hjl at gcc dot gnu dot org 2008-09-17 17:58 --- Subject: Bug 37450 Author: hjl Date: Wed Sep 17 17:57:24 2008 New Revision: 140425 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=140425 Log: 2008-09-17 H.J. Lu [EMAIL PROTECTED] PR c++/37450 *

[Bug c++/37450] [4.4 Regression] C++ FE times out on duplicated parameter

2008-09-17 Thread hjl dot tools at gmail dot com
--- Comment #4 from hjl dot tools at gmail dot com 2008-09-17 17:59 --- Fixed. -- hjl dot tools at gmail dot com changed: What|Removed |Added

[Bug target/37394] [4.4 Regression] Segfault in ia64_variable_issue with -O -fschedule-insns2

2008-09-17 Thread hjl dot tools at gmail dot com
--- Comment #8 from hjl dot tools at gmail dot com 2008-09-17 18:06 --- It may also impact PR 37283. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37394

[Bug inline-asm/37562] [4.2] -funroll-loops destroys inline asm code for powerpc

2008-09-17 Thread rbuergel at web dot de
--- Comment #3 from rbuergel at web dot de 2008-09-17 18:46 --- The second constraint should be using b instead of r as b says don't use r0. Is this documented anywhere? The gcc manual says r means any general purpose register and b means Address base register. Any Documentation (for

[Bug inline-asm/37562] [4.2] -funroll-loops destroys inline asm code for powerpc

2008-09-17 Thread pinskia at gcc dot gnu dot org
--- Comment #4 from pinskia at gcc dot gnu dot org 2008-09-17 18:50 --- From: http://gcc.gnu.org/onlinedocs/gcc-4.3.2/gcc/Machine-Constraints.html#Machine-Constraints b Address base register Address base register is the standard saying rN or 0 (if r0 is used). This is just the way

[Bug libfortran/37564] collect2: ld returned 1 exit status make[3]: *** [libgfortran.la] Error 1

2008-09-17 Thread pinskia at gcc dot gnu dot org
--- Comment #2 from pinskia at gcc dot gnu dot org 2008-09-17 18:53 --- Did you compile in the source directory? If so, don't. It is not well supported and it is currently known to be broken for this same reason, see PR 35619. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37564

[Bug inline-asm/37562] [4.2] -funroll-loops destroys inline asm code for powerpc

2008-09-17 Thread rbuergel at web dot de
--- Comment #5 from rbuergel at web dot de 2008-09-17 18:57 --- Too bad for newbies to ppc asm. :) But thank you for your explanations -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37562

[Bug libfortran/37564] collect2: ld returned 1 exit status make[3]: *** [libgfortran.la] Error 1

2008-09-17 Thread reuben dot kraft at gmail dot com
--- Comment #3 from reuben dot kraft at gmail dot com 2008-09-17 19:04 --- Do you mean do not run make from gcc-4.3.1 ? Or do mean do not set prefix to gcc-4.3.1 ? Currently I run make from /home/rkraft/apps/gcc-4.3.1 and I set prefix to /home/rkraft/apps/gcc4 Here is my configure:

[Bug inline-asm/37562] [4.2] -funroll-loops destroys inline asm code for powerpc

2008-09-17 Thread pinskia at gcc dot gnu dot org
--- Comment #6 from pinskia at gcc dot gnu dot org 2008-09-17 19:06 --- You can also use __builtin_bswap32 in GCC 4.3 and above which gives you the best code generation as it understands loading from memory and if the value is in a register already. --

[Bug libfortran/37564] collect2: ld returned 1 exit status make[3]: *** [libgfortran.la] Error 1

2008-09-17 Thread pinskia at gcc dot gnu dot org
--- Comment #4 from pinskia at gcc dot gnu dot org 2008-09-17 19:07 --- Please read http://gcc.gnu.org/install/configure.html: First, we highly recommend that GCC be built into a separate directory than the sources which does not reside within the source tree. This is how we generally

[Bug bootstrap/35619] [4.3/4.4 Regression] fixed includes not being found if building in src dir

2008-09-17 Thread pinskia at gcc dot gnu dot org
--- Comment #23 from pinskia at gcc dot gnu dot org 2008-09-17 19:07 --- *** Bug 37564 has been marked as a duplicate of this bug. *** -- pinskia at gcc dot gnu dot org changed: What|Removed |Added

[Bug libfortran/37564] collect2: ld returned 1 exit status make[3]: *** [libgfortran.la] Error 1

2008-09-17 Thread burnus at gcc dot gnu dot org
--- Comment #5 from burnus at gcc dot gnu dot org 2008-09-17 19:08 --- Currently I run make from /home/rkraft/apps/gcc-4.3.1 Here is my configure: ./configure --prefix=/home/rkraft/apps/gcc4 Try: cd /home/rkraft/apps/ mkdir gcc-4.3.1-build cd gcc-4.3.1-build

[Bug c++/22374] C++ front-end produces mis-match types in MODIFY_EXPR (dynamic_cast)

2008-09-17 Thread rguenth at gcc dot gnu dot org
--- Comment #3 from rguenth at gcc dot gnu dot org 2008-09-17 19:08 --- Subject: Bug 22374 Author: rguenth Date: Wed Sep 17 19:07:27 2008 New Revision: 140427 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=140427 Log: 2008-09-17 Richard Guenther [EMAIL PROTECTED] PR

[Bug c++/22374] C++ front-end produces mis-match types in MODIFY_EXPR (dynamic_cast)

2008-09-17 Thread rguenth at gcc dot gnu dot org
--- Comment #4 from rguenth at gcc dot gnu dot org 2008-09-17 19:08 --- Fixed. -- rguenth at gcc dot gnu dot org changed: What|Removed |Added Status|ASSIGNED

[Bug tree-optimization/26854] [4.3/4.4 Regression] Inordinate compile times on large routines

2008-09-17 Thread rguenth at gcc dot gnu dot org
-- rguenth at gcc dot gnu dot org changed: What|Removed |Added Priority|P3 |P2 Target Milestone|--- |4.3.3

  1   2   >