[Bug fortran/29373] implicit type declaration and contained function clash

2006-10-14 Thread pault at gcc dot gnu dot org
--- Comment #10 from pault at gcc dot gnu dot org 2006-10-14 08:17 --- Fixed in trunk Paul -- pault at gcc dot gnu dot org changed: What|Removed |Added Statu

[Bug fortran/29407] namelist: overriding the host association does not work (rejects valid code)

2006-10-14 Thread pault at gcc dot gnu dot org
--- Comment #3 from pault at gcc dot gnu dot org 2006-10-14 08:18 --- Fixed in trunk Paul -- pault at gcc dot gnu dot org changed: What|Removed |Added Status

[Bug fortran/27701] Two routines with the same name cause an interna; error in gfortran

2006-10-14 Thread pault at gcc dot gnu dot org
--- Comment #6 from pault at gcc dot gnu dot org 2006-10-14 08:18 --- Fixed in trunk Paul -- pault at gcc dot gnu dot org changed: What|Removed |Added Status

[Bug fortran/29232] No warning/error for duplicate construct name

2006-10-14 Thread pault at gcc dot gnu dot org
--- Comment #3 from pault at gcc dot gnu dot org 2006-10-14 08:19 --- Fixed in trunk Paul -- pault at gcc dot gnu dot org changed: What|Removed |Added Status

[Bug fortran/29364] No error given if using a non-defined type in a type definition

2006-10-14 Thread pault at gcc dot gnu dot org
--- Comment #4 from pault at gcc dot gnu dot org 2006-10-14 08:19 --- Fixed in trunk Paul -- pault at gcc dot gnu dot org changed: What|Removed |Added Status

[Bug fortran/24398] invalid module file gives weird error

2006-10-14 Thread pault at gcc dot gnu dot org
--- Comment #11 from pault at gcc dot gnu dot org 2006-10-14 08:20 --- Fixed in trunk Paul -- pault at gcc dot gnu dot org changed: What|Removed |Added Statu

[Bug fortran/29422] ICE with allocatable

2006-10-14 Thread pault at gcc dot gnu dot org
--- Comment #5 from pault at gcc dot gnu dot org 2006-10-14 08:20 --- Fixed in trunk Paul -- pault at gcc dot gnu dot org changed: What|Removed |Added Status

[Bug fortran/29428] Error in allocatable component function calls

2006-10-14 Thread pault at gcc dot gnu dot org
--- Comment #2 from pault at gcc dot gnu dot org 2006-10-14 08:21 --- Fixed in trunk Paul -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29428

[Bug java/21900] [4.1/4.2 Regression] debugging regression when debugging libgcj

2006-10-14 Thread aph at gcc dot gnu dot org
--- Comment #5 from aph at gcc dot gnu dot org 2006-10-14 08:39 --- . -- aph at gcc dot gnu dot org changed: What|Removed |Added Status|WAITING

[Bug java/21900] [4.1/4.2 Regression] debugging regression when debugging libgcj

2006-10-14 Thread aph at gcc dot gnu dot org
--- Comment #6 from aph at gcc dot gnu dot org 2006-10-14 08:42 --- I'm closing this bug. It never was reproducible: I think it was just a one-off. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21900

[Bug fortran/29267] ICE in operand_subword_force, at emit-rtl.c:1353

2006-10-14 Thread franke dot daniel at gmail dot com
--- Comment #10 from franke dot daniel at gmail dot com 2006-10-14 08:46 --- Don't know whether it makes any difference - but if it is the array constructor that crashes because of unequal string lengths within its arguments, why is there no problem with this code? PROGRAM test_constru

[Bug rtl-optimization/29323] [4.0/4.1 Regression] set_nothrow_function_flags does invalid analysis on weak functions

2006-10-14 Thread rguenth at gcc dot gnu dot org
--- Comment #9 from rguenth at gcc dot gnu dot org 2006-10-14 09:13 --- Subject: Bug 29323 Author: rguenth Date: Sat Oct 14 09:13:43 2006 New Revision: 117727 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=117727 Log: 2006-10-14 Richard Guenther <[EMAIL PROTECTED]> PR

[Bug rtl-optimization/29323] [4.0 Regression] set_nothrow_function_flags does invalid analysis on weak functions

2006-10-14 Thread rguenth at gcc dot gnu dot org
--- Comment #10 from rguenth at gcc dot gnu dot org 2006-10-14 09:14 --- Fixed for 4.1.2. -- rguenth at gcc dot gnu dot org changed: What|Removed |Added

[Bug middle-end/28545] [4.1 Regression] Wrong code for hoisted multiplication

2006-10-14 Thread rguenth at gcc dot gnu dot org
--- Comment #7 from rguenth at gcc dot gnu dot org 2006-10-14 09:26 --- It's a VRP bug :/ Before VRP we have D.6958_313 = cr_285 * cr_285; D.6959_314 = (size_t) D.6958_313; D.6960_315 = cr_285 + 1; memset (number_287, D.6960_315, D.6959_314); and after we get introduced a spur

[Bug middle-end/28545] [4.1 Regression] Wrong code for hoisted multiplication

2006-10-14 Thread rguenth at gcc dot gnu dot org
--- Comment #8 from rguenth at gcc dot gnu dot org 2006-10-14 10:18 --- Confirmed. Reduced testcase, -O -ftree-vrp int solver_set(int); void solver(int c, int r, char *number) { int cr = c*r; int x, y, x2, y2, n, ret; for (x = 0; x < cr; x++) for (y = 0; y < r; y++) f

[Bug middle-end/28545] [4.1 Regression] Wrong code for hoisted multiplication

2006-10-14 Thread rguenth at gcc dot gnu dot org
--- Comment #9 from rguenth at gcc dot gnu dot org 2006-10-14 10:40 --- Much simpler testcase: void foo(int); void solver(int cr) { int x, y, n; for (y = 0; y < cr; y++) for (x = 0; x < cr; x++) { for (n = 0; n < cr; n++) ; foo(cr*cr); } } t35.copyprop1

[Bug middle-end/29111] [4.2 Regression] FAIL: gcc.dg/torture/pr26565.c -O0 execution test

2006-10-14 Thread ebotcazou at gcc dot gnu dot org
--- Comment #10 from ebotcazou at gcc dot gnu dot org 2006-10-14 10:59 --- > PA-RISC GNU/Linux is not a primary platform, so I've marked this P5. However, > PA-RISC HP-UX is a primary platform, so if this bug manifests there, please > set > this back to P3 with an explanatory comment.

[Bug middle-end/29111] [4.2 Regression] FAIL: gcc.dg/torture/pr26565.c -O0 execution test

2006-10-14 Thread ebotcazou at gcc dot gnu dot org
-- ebotcazou at gcc dot gnu dot org changed: What|Removed |Added CC|ebotcazou at gcc dot gnu dot| |org | Assigned

[Bug middle-end/28545] [4.1 Regression] Wrong code for hoisted multiplication

2006-10-14 Thread rguenth at gcc dot gnu dot org
--- Comment #10 from rguenth at gcc dot gnu dot org 2006-10-14 11:11 --- If we watch what happens to the multiplication after VRP, we see that it is possibly an immediate uses problem: Hardware watchpoint 6: *(union tree_node **) 3082785444 Old value = (union tree_node *) 0xb7c793dc N

[Bug fortran/29447] Getting different answers for DLSODE demo code

2006-10-14 Thread pault at gcc dot gnu dot org
--- Comment #1 from pault at gcc dot gnu dot org 2006-10-14 11:13 --- Please send a question of this type to comp.lang.fortran or, indeed, to the gfortran list. We would be happy accept bug reports from you on Bugzilla but not general numerical analysis questions. Paul -- pault at

[Bug c/29467] New: -ansi -pedantic accepts _Bool without diagnostic

2006-10-14 Thread neil at gcc dot gnu dot org
_Bool x; -- Summary: -ansi -pedantic accepts _Bool without diagnostic Product: gcc Version: 4.2.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c AssignedTo: unassigned at gcc dot gnu dot org

[Bug c/29468] New: off-by-one error for string initialiser warning

2006-10-14 Thread debian-gcc at lists dot debian dot org
[forwarded from http://bugs.debian.org/392880] $ gcc t.c t.c:10: warning: initializer-string for array of chars is too long #include char a[]="a"; char string1[2] = ""; char b[]="b"; char string2[2] = "1"; char c[]="c"; char string3[2] = "12"; /* no warning here */ char d[]="d"; char st

[Bug c/29468] off-by-one error for string initialiser warning

2006-10-14 Thread neil at gcc dot gnu dot org
--- Comment #1 from neil at gcc dot gnu dot org 2006-10-14 12:25 --- Not a bug - just 2 elements are initialized, the NUL is dropped. -- neil at gcc dot gnu dot org changed: What|Removed |Added --

[Bug fortran/29371] Coredump when using -fbounds-check with pointer & nullify

2006-10-14 Thread pault at gcc dot gnu dot org
--- Comment #4 from pault at gcc dot gnu dot org 2006-10-14 13:10 --- Subject: Bug 29371 Author: pault Date: Sat Oct 14 13:09:56 2006 New Revision: 117732 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=117732 Log: 2006-10-14 Paul Thomas <[EMAIL PROTECTED]> PR fortran/29

[Bug fortran/29371] Coredump when using -fbounds-check with pointer & nullify

2006-10-14 Thread pault at gcc dot gnu dot org
--- Comment #5 from pault at gcc dot gnu dot org 2006-10-14 13:19 --- Fixed on trunk Paul -- pault at gcc dot gnu dot org changed: What|Removed |Added Status

[Bug fortran/29428] Error in allocatable component function calls

2006-10-14 Thread pault at gcc dot gnu dot org
--- Comment #3 from pault at gcc dot gnu dot org 2006-10-14 13:24 --- Fixed in trunk - I'll press the fixed button this time! Paul -- pault at gcc dot gnu dot org changed: What|Removed |Added ---

[Bug fortran/29394] Invalid derived-type initialization in function

2006-10-14 Thread pault at gcc dot gnu dot org
--- Comment #1 from pault at gcc dot gnu dot org 2006-10-14 13:27 --- I have a regtestable fix for this. I just trying to extend it to include non-default initialization of variables. If this does not work soon, I will submit the patch as is. Paul -- pault at gcc dot gnu dot org c

[Bug java/1427] gcj should generate N_MAIN stab or DW_AT_entry_point dwarf2 debug info

2006-10-14 Thread steven at gcc dot gnu dot org
--- Comment #19 from steven at gcc dot gnu dot org 2006-10-14 14:17 --- Someone should make gdb understand the DW_AT_calling_convention attribute. This is the bit necessary to make it work for Fortran. I considered stealing a bit on FUNCTION_DECL to mark it as the main program but it s

[Bug fortran/23280] gfortran does not emit DW_AT_entry_point (dwarf-2) debugging info

2006-10-14 Thread steven at gcc dot gnu dot org
--- Comment #2 from steven at gcc dot gnu dot org 2006-10-14 14:19 --- We should actually emit DW_AT_calling_convention for the main program. The DW_AT_entry_point attribute is for alternate entries, which, yes, we should also emit but don't. G77 also never got this right. -- steve

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

2006-10-14 Thread steven at gcc dot gnu dot org
--- Comment #3 from steven at gcc dot gnu dot org 2006-10-14 14:21 --- There is support for Fortran module variables in DWARF3, see http://dwarf.freestandards.org/Dwarf3.pdf. Unfortunately GDB doesn't seem to support this. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24526

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

2006-10-14 Thread steven at gcc dot gnu dot org
--- Comment #3 from steven at gcc dot gnu dot org 2006-10-14 14:47 --- The patch in http://sourceware.org/ml/gdb-patches/2005-11/msg00217.html implements this quite nicely AFAICT. I'll try and take care of the rest. -- steven at gcc dot gnu dot org changed: What|Remo

[Bug middle-end/28545] [4.1 Regression] Wrong code for hoisted multiplication

2006-10-14 Thread rguenth at gcc dot gnu dot org
-- rguenth at gcc dot gnu dot org changed: What|Removed |Added AssignedTo|unassigned at gcc dot gnu |rguenth at gcc dot gnu dot |dot org

[Bug middle-end/28545] [4.1 Regression] Wrong code for hoisted multiplication

2006-10-14 Thread patchapp at dberlin dot org
--- Comment #11 from patchapp at dberlin dot org 2006-10-14 15:05 --- Subject: Bug number PR28545 A patch for this bug has been added to the patch tracker. The mailing list url for the patch is http://gcc.gnu.org/ml/gcc-patches/2006-10/msg00754.html -- http://gcc.gnu.org/bugzilla/s

[Bug fortran/19261] continuation character illegal as first non-blank character in statement

2006-10-14 Thread jvdelisle at gcc dot gnu dot org
--- Comment #8 from jvdelisle at gcc dot gnu dot org 2006-10-14 15:06 --- Subject: Bug 19261 Author: jvdelisle Date: Sat Oct 14 15:06:34 2006 New Revision: 117733 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=117733 Log: 2006-10-14 Jerry DeLisle <[EMAIL PROTECTED]>

[Bug middle-end/28545] [4.1 Regression] Wrong code for hoisted multiplication

2006-10-14 Thread pinskia at gcc dot gnu dot org
--- Comment #12 from pinskia at gcc dot gnu dot org 2006-10-14 15:13 --- Actually see http://gcc.gnu.org/ml/gcc-patches/2006-03/txt00090.txt -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28545

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

2006-10-14 Thread steven at gcc dot gnu dot org
--- Comment #4 from steven at gcc dot gnu dot org 2006-10-14 15:15 --- This works with the patch I mentioned in comment #3. That patch is in the GDB source tree since 2006-02-24, so this is "fixed" in GDB 6.5. On the GCC side we seem to do the right thing for scalar components. For ar

[Bug fortran/19261] continuation character illegal as first non-blank character in statement

2006-10-14 Thread jvdelisle at gcc dot gnu dot org
--- Comment #9 from jvdelisle at gcc dot gnu dot org 2006-10-14 15:16 --- Fixed on svn trunk. Note: Could not get a test case to work properly with the dejagnu machinery. -- jvdelisle at gcc dot gnu dot org changed: What|Removed |Added --

[Bug c/29467] -ansi -pedantic accepts _Bool without diagnostic

2006-10-14 Thread pinskia at gcc dot gnu dot org
--- Comment #1 from pinskia at gcc dot gnu dot org 2006-10-14 15:29 --- Hmm, isn't _Bool in the implemenation keyword space anyways? -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29467

[Bug fortran/18769] ICE in gfc_conv_array_initializer with array initialization with transfer

2006-10-14 Thread jvdelisle at gcc dot gnu dot org
--- Comment #12 from jvdelisle at gcc dot gnu dot org 2006-10-14 15:38 --- Paul, should this be closed? -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18769

[Bug tree-optimization/28545] [4.1 Regression] Wrong code for hoisted multiplication

2006-10-14 Thread pinskia at gcc dot gnu dot org
--- Comment #13 from pinskia at gcc dot gnu dot org 2006-10-14 16:07 --- I have the correct work around patch which I am testing right now. It is only local to tree-vrp.c also. -- pinskia at gcc dot gnu dot org changed: What|Removed |Added --

[Bug other/29405] GCC should include latest GMP/MPFR sources and always build libgmp.a/libmpfr.a

2006-10-14 Thread ghazi at gcc dot gnu dot org
--- Comment #4 from ghazi at gcc dot gnu dot org 2006-10-14 16:09 --- I think we're converging on not including these libraries in the GCC tree, but rather to require the user to be responsible for getting them. http://gcc.gnu.org/ml/gcc/2006-10/msg00167.html Either way, GCC can always

[Bug tree-optimization/28545] [4.1 Regression] Wrong code for hoisted multiplication

2006-10-14 Thread pinskia at gcc dot gnu dot org
--- Comment #14 from pinskia at gcc dot gnu dot org 2006-10-14 16:09 --- Created an attachment (id=12428) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=12428&action=view) patch which I am testing -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28545

[Bug other/29405] GCC should include latest GMP/MPFR sources and always build libgmp.a/libmpfr.a

2006-10-14 Thread ghazi at gcc dot gnu dot org
--- Comment #5 from ghazi at gcc dot gnu dot org 2006-10-14 16:10 --- Won't fix. -- ghazi at gcc dot gnu dot org changed: What|Removed |Added Status|UNCONFIRM

[Bug middle-end/29335] transcendental functions with constant arguments should be resolved at compile-time

2006-10-14 Thread ghazi at gcc dot gnu dot org
--- Comment #10 from ghazi at gcc dot gnu dot org 2006-10-14 16:12 --- No longer relying on PR29405. Instead we'll force the person building GCC to acquire GMP/MPFR themselves. -- ghazi at gcc dot gnu dot org changed: What|Removed |Added -

[Bug middle-end/29335] transcendental functions with constant arguments should be resolved at compile-time

2006-10-14 Thread ghazi at gcc dot gnu dot org
--- Comment #11 from ghazi at gcc dot gnu dot org 2006-10-14 16:13 --- Updated patch posted here: http://gcc.gnu.org/ml/gcc-patches/2006-10/msg00757.html -- ghazi at gcc dot gnu dot org changed: What|Removed |Added -

Re: [Bug c/29467] -ansi -pedantic accepts _Bool without diagnostic

2006-10-14 Thread Neil Booth
pinskia at gcc dot gnu dot org wrote:- > > > --- Comment #1 from pinskia at gcc dot gnu dot org 2006-10-14 15:29 > --- > Hmm, isn't _Bool in the implemenation keyword space anyways? It is, so is _Complex, and that is diagnosed. I'm not saying it's a conformance problem, just that it'

[Bug c/29467] -ansi -pedantic accepts _Bool without diagnostic

2006-10-14 Thread neil at daikokuya dot co dot uk
--- Comment #2 from neil at daikokuya dot co dot uk 2006-10-14 16:19 --- Subject: Re: -ansi -pedantic accepts _Bool without diagnostic pinskia at gcc dot gnu dot org wrote:- > > > --- Comment #1 from pinskia at gcc dot gnu dot org 2006-10-14 15:29 > --- > Hmm, isn't _Bool

[Bug debug/26881] [4.1 Regression] internal compiler error in dwarf2out_finish

2006-10-14 Thread tbm at cyrius dot com
--- Comment #20 from tbm at cyrius dot com 2006-10-14 16:48 --- Jan, do you intend to apply this to 4.1? -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=26881

[Bug c++/29455] Issues with -Wchar-subscripts

2006-10-14 Thread h dot b dot furuseth at usit dot uio dot no
--- Comment #2 from h dot b dot furuseth at usit dot uio dot no 2006-10-14 17:06 --- Subject: Re: Issues with -Wchar-subscripts -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29455

[Bug fortran/18769] ICE in gfc_conv_array_initializer with array initialization with transfer

2006-10-14 Thread pault at gcc dot gnu dot org
--- Comment #13 from pault at gcc dot gnu dot org 2006-10-14 17:31 --- Jerry, See comment #10. The 'problem' is to take the gmp/mpfr representations of the values in the constructor expression, write them out to form the source, read then back in binary as the destination, convert the

[Bug c++/29469] New: error: non-template 'pair' used as template

2006-10-14 Thread tbm at cyrius dot com
The following example code compiled fine with 4.1.2 20060901 (Debian 4.1.1-13) but fails with 4.1.2 20061007 (Debian 4.1.1-16). I'm wondering whether this change was intentional and whether there's a good reason for this change (in a stable branch). $ g++-4.1 -c pair.c x.c:32: error: non-template

[Bug c++/29469] error: non-template 'pair' used as template

2006-10-14 Thread tbm at cyrius dot com
--- Comment #1 from tbm at cyrius dot com 2006-10-14 17:37 --- Created an attachment (id=12429) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=12429&action=view) testcase -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29469

[Bug c++/29469] error: non-template 'pair' used as template

2006-10-14 Thread pinskia at gcc dot gnu dot org
--- Comment #2 from pinskia at gcc dot gnu dot org 2006-10-14 17:48 --- The real question is avm_map dependent inside the nested class? I know there are C++ defect reports asking that question so ... -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29469

[Bug c++/29455] Issues with -Wchar-subscripts

2006-10-14 Thread h dot b dot furuseth at usit dot uio dot no
--- Comment #3 from h dot b dot furuseth at usit dot uio dot no 2006-10-14 17:52 --- Subject: Re: Issues with -Wchar-subscripts Sorry about the empty answer. pinskia at gcc dot gnu dot org writes: > 'a' in C is not of the type char but instead int so not warning there > is correct re

Re: [Bug c++/29455] Issues with -Wchar-subscripts

2006-10-14 Thread Andrew Pinski
On Sat, 2006-10-14 at 17:52 +, h dot b dot furuseth at usit dot uio dot no wrote: > > Also you forgot one thing '%' does not have to match up with the ANSI > > character set so it could be negative in signed char which means char > > (which could default to signed char) would be different. > >

[Bug c++/29455] Issues with -Wchar-subscripts

2006-10-14 Thread pinskia at gmail dot com
--- Comment #4 from pinskia at gmail dot com 2006-10-14 18:08 --- Subject: Re: Issues with -Wchar-subscripts On Sat, 2006-10-14 at 17:52 +, h dot b dot furuseth at usit dot uio dot no wrote: > > Also you forgot one thing '%' does not have to match up with the ANSI > > character set

[Bug c++/29469] [DR 224] error: non-template 'pair' used as template

2006-10-14 Thread pinskia at gcc dot gnu dot org
--- Comment #3 from pinskia at gcc dot gnu dot org 2006-10-14 18:11 --- (In reply to comment #2) > The real question is avm_map dependent inside the nested class? > I know there are C++ defect reports asking that question so ... And that is DR 224 which is in WP. -- http://gcc.gnu.o

[Bug c++/29469] [DR 224] error: non-template 'pair' used as template

2006-10-14 Thread pinskia at gcc dot gnu dot org
--- Comment #4 from pinskia at gcc dot gnu dot org 2006-10-14 18:15 --- I think this is more complicated than just DR 224. See PR 9634. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29469

[Bug c++/29469] [DR 224] error: non-template 'pair' used as template

2006-10-14 Thread pinskia at gcc dot gnu dot org
--- Comment #5 from pinskia at gcc dot gnu dot org 2006-10-14 18:25 --- DR 224 says this is invalid code but GDR has mentioned that DR 224 is broken in really bad way: template struct B : T { void g(void) { B x; x.f(); } } struct A { void f(void) {} } int main(void) { B t; t.

Re: [Bug c++/29469] [DR 224] error: non-template 'pair' used as template

2006-10-14 Thread Andrew Pinski
On Sat, 2006-10-14 at 18:25 +, pinskia at gcc dot gnu dot org wrote: > > --- Comment #5 from pinskia at gcc dot gnu dot org 2006-10-14 18:25 > --- > DR 224 says this is invalid code Sorry valid code. -- Pinski

[Bug c++/29469] [DR 224] error: non-template 'pair' used as template

2006-10-14 Thread pinskia at gmail dot com
--- Comment #6 from pinskia at gmail dot com 2006-10-14 18:26 --- Subject: Re: [DR 224] error: non-template 'pair' used as template On Sat, 2006-10-14 at 18:25 +, pinskia at gcc dot gnu dot org wrote: > > --- Comment #5 from pinskia at gcc dot gnu dot org 2006-10-14 1

[Bug c++/9634] [DR224] Injected class name as qualifier should not make the name dependent

2006-10-14 Thread pinskia at gcc dot gnu dot org
--- Comment #17 from pinskia at gcc dot gnu dot org 2006-10-14 18:29 --- GDR, Any news from the committee on this issue? It has been more than 2 years since the orginal message about talking to the committee. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=9634

[Bug c++/29470] New: Using declaration access semantics change with templates

2006-10-14 Thread spam at david dot osborn dot name
In the following class template, the protected using declaration causes the inherited member to become publicly accessible. The code compiles, even though it shouldn't. template struct B { protected: T v; }; template struct D : B { protected: using B::v; }; int m

[Bug c++/29470] [4.1/4.2 Regression] Using declaration access semantics change with templates

2006-10-14 Thread pinskia at gcc dot gnu dot org
--- Comment #1 from pinskia at gcc dot gnu dot org 2006-10-14 19:02 --- Confirmed, a regression from 4.0.4. -- pinskia at gcc dot gnu dot org changed: What|Removed |Added

[Bug fortran/29471] New: Warn with -std=f95/f2003 when BOZ is used at invalid places

2006-10-14 Thread tobias dot burnus at physik dot fu-berlin dot de
gfortran allows everywhere to use a BOZ. However, there are constrains in Fortran 95 and 2003 on where to use them. - Fortran 95: Only in DATA and only integer - Fortran 2003: Only in DATA or as argument of INT, REAL, DBLE, CMPLX Expected: An ERROR (or WARNING) is shown, when -std=f95/f2003 is u

[Bug target/29250] [4.0/4.1 Regression] internal compiler error: in extract_insn, at recog.c:2084

2006-10-14 Thread pinskia at gcc dot gnu dot org
--- Comment #10 from pinskia at gcc dot gnu dot org 2006-10-14 19:26 --- A C89 testcase: struct TSparseEntry { int feat_index; double entry; }; struct TSparse { int vec_index; int num_feat_entries; struct TSparseEntry* features; }; void get_full_feature_matrix(struct TSparse* spars

[Bug fortran/18769] ICE in gfc_conv_array_initializer with array initialization with transfer

2006-10-14 Thread jvdelisle at gcc dot gnu dot org
--- Comment #14 from jvdelisle at gcc dot gnu dot org 2006-10-14 19:37 --- Oh, It was comment 11 that threw me off. Thats why I asked. Let me think about takingthis on before I do so. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18769

[Bug fortran/18769] ICE in gfc_conv_array_initializer with array initialization with transfer

2006-10-14 Thread pault at gcc dot gnu dot org
--- Comment #15 from pault at gcc dot gnu dot org 2006-10-14 19:58 --- Jerry, I was not entirely serious - if you want to take it on, great, but... it's a pain in the beeehind! Paul -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18769

[Bug target/29472] New: [4.0/4.1/4.2 Regression] in reload, at reload1.c:1081 on m68k with -O2 -fPIC

2006-10-14 Thread tbm at cyrius dot com
I get the following ICE on m68k with -O2 -fPIC. It fails with gcc 4.0, 4.1 and 4.2, and works with 3.3/3.4. (sid)115:[EMAIL PROTECTED]: ~] /home/tbm/tmp/gcc/4.1-m68k/gcc/g++ -B/home/tbm/tmp/gcc/4.1-m68k/gcc -O2 -fPIC blender-IK_QSegment.cpp blender-IK_QSegment.cpp: In member function 'bool IK_QSw

[Bug target/29472] [4.0/4.1/4.2 Regression] in reload, at reload1.c:1081 on m68k with -O2 -fPIC

2006-10-14 Thread tbm at cyrius dot com
--- Comment #1 from tbm at cyrius dot com 2006-10-14 21:06 --- Created an attachment (id=12430) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=12430&action=view) testcase -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29472

[Bug c++/29473] New: -masm=intel combined with -march=athlon64 has some issues.

2006-10-14 Thread nachms+gcc at gmail dot com
Here is my test case: unsigned char Keep4_3Ratio; unsigned long SMode=0, DSMode=0; bool CheckTVRatioReq() { return(Keep4_3Ratio && (DSMode == 1 || SMode == 1)); } Compiling on an x86-32 compiler with the following: g++ -march=athlon64 -masm=intel -O3 -fomit-frame-pointer -o test.o -c test.cpp

[Bug c++/29473] -masm=intel combined with -march=athlon64 has some issues.

2006-10-14 Thread nachms+gcc at gmail dot com
--- Comment #1 from nachms+gcc at gmail dot com 2006-10-14 21:43 --- Oh I just realized one statement of mine was ambiguous. >I get "cmp" bugs instead of "mov" and I also get the "rep ret" bug from above when using GCC 4.1 (but not 4.0). I mean to say that when using a 64 bit GCC 4.0,

[Bug c++/29473] -masm=intel combined with -march=athlon64 has some issues.

2006-10-14 Thread nachms+gcc at gmail dot com
--- Comment #2 from nachms+gcc at gmail dot com 2006-10-14 21:51 --- Oh another thing. If I change return(Keep4_3Ratio && (DSMode == 1 || SMode == 1)); to: return((DSMode == 1 || SMode == 1) && Keep4_3Ratio); The "rep ret" problem in the 32 bit compilers go away for some strange r

[Bug target/15445] spurious dependency-violation warnings

2006-10-14 Thread tbm at cyrius dot com
--- Comment #5 from tbm at cyrius dot com 2006-10-14 21:55 --- Created an attachment (id=12431) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=12431&action=view) testcase [EMAIL PROTECTED]:~$ /usr/lib/gcc-snapshot/bin/gcc -c gqmpeg-ui2_display.c [EMAIL PROTECTED]:~$ /usr/lib/gcc-sn

[Bug c++/29473] -masm=intel combined with -march=athlon64 has some issues.

2006-10-14 Thread deathlike_2 at hotmail dot com
--- Comment #3 from deathlike_2 at hotmail dot com 2006-10-14 21:56 --- I am experiencing the same issue. Compiling under MinGW and DJGPP generates the same error message: Assembler messages: Error: expecting string instruction after `rep' Removing the parameter -O3 or -fomit-frame-poi

[Bug target/15445] spurious dependency-violation warnings

2006-10-14 Thread tbm at cyrius dot com
--- Comment #6 from tbm at cyrius dot com 2006-10-14 22:17 --- Created an attachment (id=12432) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=12432&action=view) testcase [EMAIL PROTECTED]:~$ /usr/lib/gcc-snapshot/bin/gcc -c sfront-readmidi.c [EMAIL PROTECTED]:~$ /usr/lib/gcc-snaps

[Bug target/15445] spurious dependency-violation warnings

2006-10-14 Thread tbm at cyrius dot com
--- Comment #7 from tbm at cyrius dot com 2006-10-14 23:29 --- Created an attachment (id=12433) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=12433&action=view) testcase [EMAIL PROTECTED]:~$ /usr/lib/gcc-snapshot/bin/gcc -c nethack-cmd.c [EMAIL PROTECTED]:~$ /usr/lib/gcc-snapshot/

[Bug fortran/29067] Internal Error: gfc_resolve_expr(): Bad expression type

2006-10-14 Thread kargl at gcc dot gnu dot org
--- Comment #10 from kargl at gcc dot gnu dot org 2006-10-15 01:20 --- (In reply to comment #9) > I managed to trim it down to: > > implicit none > integer :: n, i > character(len=16),parameter :: s = "" > > if (s(9:16) == "90123456") then > endif >

[Bug fortran/29067] Internal Error: gfc_resolve_expr(): Bad expression type

2006-10-14 Thread kargl at gcc dot gnu dot org
--- Comment #11 from kargl at gcc dot gnu dot org 2006-10-15 01:53 --- I can't reproduce this, so drop assign status. -- kargl at gcc dot gnu dot org changed: What|Removed |Added -

[Bug c++/29427] uncallable constructor template should be warned.

2006-10-14 Thread pinskia at gcc dot gnu dot org
-- pinskia at gcc dot gnu dot org changed: What|Removed |Added Severity|normal |enhancement http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29427

[Bug middle-end/29056] gcc.target/powerpc/ppc-negeq0-1.c fails on powerpc64

2006-10-14 Thread dje at gcc dot gnu dot org
--- Comment #4 from dje at gcc dot gnu dot org 2006-10-15 02:58 --- The problem is the testcase is written in terms of "int". The SUBREGs prevent the combine pattern from being applied. Yes, the testcase fails, but that should be expected as written. Using "long" and clzl works fine.

[Bug c++/2316] g++ fails to overload on language linkage

2006-10-14 Thread gcc-bugzilla at kayari dot org
--- Comment #13 from gcc-bugzilla at kayari dot org 2006-10-15 03:24 --- If this ever gets fixed (which I hope it does) then maybe it should depend on -std=c++98 so this continues to work by default, or it will break a lot of code that incorrectly passes extern "C++" functions to e.g. p

Re: [Bug c++/2316] g++ fails to overload on language linkage

2006-10-14 Thread Andrew Pinski
On Sun, 2006-10-15 at 03:24 +, gcc-bugzilla at kayari dot org wrote: > > --- Comment #13 from gcc-bugzilla at kayari dot org 2006-10-15 03:24 > --- > If this ever gets fixed (which I hope it does) then maybe it should depend on > -std=c++98 so this continues to work by default, or it

[Bug c++/2316] g++ fails to overload on language linkage

2006-10-14 Thread pinskia at gmail dot com
--- Comment #14 from pinskia at gmail dot com 2006-10-15 03:29 --- Subject: Re: g++ fails to overload on language linkage On Sun, 2006-10-15 at 03:24 +, gcc-bugzilla at kayari dot org wrote: > > --- Comment #13 from gcc-bugzilla at kayari dot org 2006-10-15 03:24 > --- >

[Bug middle-end/29092] [4.0/4.1 Regression] vector int a = (vector int) { 1,1,2,2} is rejected as non constant

2006-10-14 Thread pinskia at gcc dot gnu dot org
--- Comment #8 from pinskia at gcc dot gnu dot org 2006-10-15 04:04 --- http://gcc.gnu.org/ml/gcc-cvs/2006-10/msg00362.html -- pinskia at gcc dot gnu dot org changed: What|Removed |Added -