[Bug tree-optimization/18308] ICE in do_jump, at dojump.c:274

2004-11-18 Thread paolo dot bonzini at lu dot unisi dot ch
--- Additional Comments From paolo dot bonzini at lu dot unisi dot ch 2004-11-18 08:03 --- Subject: Re: ICE in do_jump, at dojump.c:274 And that would mean it was caused by: * dojump.c (do_jump) COND_EXPR, EQ_EXPR, NE_EXPR, TRUTH_ANDIF_EXPR, TRUTH_ORIF_EXPR,

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

2004-11-18 Thread giovannibajo at libero dot it
--- Additional Comments From giovannibajo at libero dot it 2004-11-18 09:00 --- OK, I'll take care of this since I caused it. -- What|Removed |Added AssignedTo|mark

[Bug fortran/18518] d1mach(4) (BLAS) broken, g77 regression

2004-11-18 Thread Thomas dot Koenig at online dot de
--- Additional Comments From Thomas dot Koenig at online dot de 2004-11-18 09:02 --- (In reply to comment #2) On AMD x32 the correct result is obtained with g77. g95 and pgfortran work as expected, only gfortran stops: gfortran d1mach.f ./a.out 2.225073858507201E-308 At line

[Bug c++/18538] New: internal compiler error / tree_low_cst / tree.c:3313

2004-11-18 Thread thomas-dloop at kuehne dot cn
the compiler panics on following code: struct NameId{ char name[]; }; static NameId names[]={ 0 }; -- Summary: internal compiler error / tree_low_cst / tree.c:3313 Product: gcc Version: 3.4.3 Status: UNCONFIRMED Severity: normal

[Bug fortran/18539] New: Tru64 - runtime error with -ve memory for assumed shape arrays

2004-11-18 Thread paul dot richard dot thomas at cea dot fr
Note that this seems to be unique to the Tru64 build with gcc-3.3.2 (TWW) It occurs with or without -fbounds-check OSF1 V5.1 2650 alpha (BUT NOT CYGWIN_NT-5.0 1.5.7(0.109/3/2) 2004-01-30 19:32 i686) GNU Fortran 95 (GCC 4.0.0 20041114 (experimental)) built with gcc-3.3.2 (TWW) Index range,

[Bug fortran/18540] New: Jumping into blocks gives error rather than warning

2004-11-18 Thread paul dot richard dot thomas at cea dot fr
program lau_error ! ! most compilers seem to permit this excremental bit of coding ! some give warnings that this is bad stuff ! gfortran barfs on it ! ! In file lau_error.f90:12 ! ! 10continue ! 1 ! In file lau_error.f90:9 ! !if ( i 1 ) goto 10 ! 2 !Error: Label at

[Bug libfortran/15234] libgfortran doesn't compile on Tru64 UNIX

2004-11-18 Thread paul dot richard dot thomas at cea dot fr
--- Additional Comments From paul dot richard dot thomas at cea dot fr 2004-11-18 11:32 --- gcc-4.0 including gfortran build fine on Tru64 OSF1 V5.1 2650 alpha as long as gcc and GNU make are used in the build. I built GNU Fortran 95 (GCC 4.0.0 20041114 (experimental)) with gcc-3.3.2

[Bug rtl-optimization/17107] Opportunity to improve code generated for complex logical expression

2004-11-18 Thread cvs-commit at gcc dot gnu dot org
--- Additional Comments From cvs-commit at gcc dot gnu dot org 2004-11-18 12:10 --- Subject: Bug 17107 CVSROOT:/cvs/gcc Module name:gcc Changes by: [EMAIL PROTECTED] 2004-11-18 12:09:45 Modified files: gcc: ChangeLog fold-const.c

[Bug rtl-optimization/17107] Opportunity to improve code generated for complex logical expression

2004-11-18 Thread nathan at gcc dot gnu dot org
--- Additional Comments From nathan at gcc dot gnu dot org 2004-11-18 12:14 --- 2004-11-18 Nathan Sidwell [EMAIL PROTECTED] PR target/17107 * fold-const.c (RANGE_TEST_NON_SHORT_CIRCUIT): Rename to ... (LOGICAL_OP_NON_SHORT_CIRCUIT): ... here.

[Bug c++/18327] [3.3/3.4/4.0 Regression] ICE while compiling valid c code with g++

2004-11-18 Thread pinskia at gcc dot gnu dot org
--- Additional Comments From pinskia at gcc dot gnu dot org 2004-11-18 12:14 --- *** Bug 18538 has been marked as a duplicate of this bug. *** -- What|Removed |Added

[Bug c++/18538] internal compiler error / tree_low_cst / tree.c:3313

2004-11-18 Thread pinskia at gcc dot gnu dot org
--- Additional Comments From pinskia at gcc dot gnu dot org 2004-11-18 12:14 --- *** This bug has been marked as a duplicate of 18327 *** -- What|Removed |Added

[Bug rtl-optimization/17107] Opportunity to improve code generated for complex logical expression

2004-11-18 Thread pinskia at gcc dot gnu dot org
-- What|Removed |Added Target Milestone|--- |4.0.0 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17107

[Bug c++/18541] New: using fails to make name visible without qualification

2004-11-18 Thread igodard at pacbell dot net
#include ostream templatetypename ch = char, typename tr = std::char_traitsch class buffer : public std::basic_streambufch, tr { virtual int_typeoverflow(int_type c = tr::eof()); virtual typename int_type overflow1(typename int_type c = tr::eof()); using

[Bug libfortran/15234] libgfortran doesn't compile on Tru64 4.0f UNIX

2004-11-18 Thread pinskia at gcc dot gnu dot org
--- Additional Comments From pinskia at gcc dot gnu dot org 2004-11-18 12:18 --- 5.1 is fixed but 4.0 is still broken. -- What|Removed |Added GCC build

[Bug target/18542] New: ICE: output_operand: invalid expression as operand

2004-11-18 Thread corsepiu at gcc dot gnu dot org
The code snippet in the attachment (stripped down real-world code) causes an ICE when compiling with -01 or greater. The ICE does not occur with -O0. # m68k-rtems4.7-gcc -O1 -c -o startup_rel-cpuboot.o cpuboot.c cpuboot.c: In function `boot_phase_1': cpuboot.c:11: internal compiler error:

[Bug target/18542] ICE: output_operand: invalid expression as operand

2004-11-18 Thread corsepiu at gcc dot gnu dot org
--- Additional Comments From corsepiu at gcc dot gnu dot org 2004-11-18 12:25 --- Created an attachment (id=7564) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=7564action=view) Code example to reproduce the ICE -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18542

[Bug c++/18541] using fails to make name visible without qualification

2004-11-18 Thread pinskia at gcc dot gnu dot org
--- Additional Comments From pinskia at gcc dot gnu dot org 2004-11-18 12:25 --- Yes this is a bug in GCC, see PR 14258. *** This bug has been marked as a duplicate of 14258 *** -- What|Removed |Added

[Bug c++/14258] typename in a using declaration not supported

2004-11-18 Thread pinskia at gcc dot gnu dot org
--- Additional Comments From pinskia at gcc dot gnu dot org 2004-11-18 12:25 --- *** Bug 18541 has been marked as a duplicate of this bug. *** -- What|Removed |Added

[Bug target/18542] [3.4 only] ICE: output_operand: invalid expression as operand

2004-11-18 Thread pinskia at gcc dot gnu dot org
--- Additional Comments From pinskia at gcc dot gnu dot org 2004-11-18 12:28 --- At least the striped down source compiles just fine on the mainline. -- What|Removed |Added

[Bug fortran/18540] Jumping into blocks gives error rather than warning

2004-11-18 Thread pinskia at gcc dot gnu dot org
--- Additional Comments From pinskia at gcc dot gnu dot org 2004-11-18 12:31 --- Confirmed. -- What|Removed |Added Severity|normal

[Bug fortran/18539] Tru64 - runtime error with -ve memory for assumed shape arrays

2004-11-18 Thread pinskia at gcc dot gnu dot org
--- Additional Comments From pinskia at gcc dot gnu dot org 2004-11-18 12:33 --- *** This bug has been marked as a duplicate of 15335 *** -- What|Removed |Added

[Bug fortran/15335] runtime error Attempt to allocate a negative amount of memory

2004-11-18 Thread pinskia at gcc dot gnu dot org
--- Additional Comments From pinskia at gcc dot gnu dot org 2004-11-18 12:33 --- *** Bug 18539 has been marked as a duplicate of this bug. *** -- What|Removed |Added

[Bug driver/7957] change request: more flexible %D specs directive so no need to set LD_LIBRARY_PATH

2004-11-18 Thread pinskia at gcc dot gnu dot org
--- Additional Comments From pinskia at gcc dot gnu dot org 2004-11-18 12:37 --- I really doubt that we want this option as we have always recommend in setting LD_LIBRARY_PATH. -- What|Removed |Added

[Bug target/18542] [3.4 only] ICE: output_operand: invalid expression as operand

2004-11-18 Thread corsepiu at gcc dot gnu dot org
--- Additional Comments From corsepiu at gcc dot gnu dot org 2004-11-18 12:40 --- Chris, Joel, could you try with your GCC versions? -- What|Removed |Added

[Bug fortran/18537] no warning about tabs with std=f95 option

2004-11-18 Thread pinskia at gcc dot gnu dot org
--- Additional Comments From pinskia at gcc dot gnu dot org 2004-11-18 12:44 --- Confirmed. -- What|Removed |Added Severity|normal |minor

[Bug tree-optimization/17635] [4.0 regression] ICE in verify_ssa: type mismatch

2004-11-18 Thread reichelt at gcc dot gnu dot org
--- Additional Comments From reichelt at gcc dot gnu dot org 2004-11-18 12:46 --- Fixed. The testcase was committed, too. -- What|Removed |Added

[Bug rtl-optimization/18528] [4.0? Regression] ICE with -fweb

2004-11-18 Thread pinskia at gcc dot gnu dot org
--- Additional Comments From pinskia at gcc dot gnu dot org 2004-11-18 12:48 --- Confirmed, well on the mainline we have an ICE which is a regression: t1.c: In function 'main': t1.c:45: internal compiler error: in bitmap_ior, at bitmap.c:704 Please submit a full bug report, with

[Bug bootstrap/18532] libgcc.mk isn't parallel build safe for multilib

2004-11-18 Thread pinskia at gcc dot gnu dot org
--- Additional Comments From pinskia at gcc dot gnu dot org 2004-11-18 12:51 --- Patch here: http://gcc.gnu.org/ml/gcc-patches/2004-11/msg01456.html. -- What|Removed |Added

[Bug tree-optimization/18478] [4.0 Regression] ICE with -funroll-loops

2004-11-18 Thread reichelt at gcc dot gnu dot org
--- Additional Comments From reichelt at gcc dot gnu dot org 2004-11-18 12:51 --- Fixed by Jeff's patch http://gcc.gnu.org/ml/gcc-cvs/2004-11/msg00823.html -- What|Removed |Added

[Bug bootstrap/18533] EXTRA_MULTILIB_PARTS are used to build libgcc_s.so for multilib

2004-11-18 Thread pinskia at gcc dot gnu dot org
--- Additional Comments From pinskia at gcc dot gnu dot org 2004-11-18 12:51 --- Confirmed, patch here: http://gcc.gnu.org/ml/gcc-patches/2004-11/msg01454.html. -- What|Removed |Added

[Bug target/18542] [3.4 only] ICE: output_operand: invalid expression as operand

2004-11-18 Thread corsepiu at gcc dot gnu dot org
-- What|Removed |Added Known to work|4.0.0 |4.0.0 3.2.3 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18542

[Bug middle-end/17895] [4.0 Regression] tree CFG cleanup is slow

2004-11-18 Thread pinskia at gcc dot gnu dot org
--- Additional Comments From pinskia at gcc dot gnu dot org 2004-11-18 12:59 --- *** This bug has been marked as a duplicate of 15524 *** -- What|Removed |Added

[Bug tree-optimization/15524] [4.0 Regression] jump threading on trees is slow with switch statements with large # of cases

2004-11-18 Thread pinskia at gcc dot gnu dot org
--- Additional Comments From pinskia at gcc dot gnu dot org 2004-11-18 12:59 --- *** Bug 17895 has been marked as a duplicate of this bug. *** -- Bug 15524 depends on bug 17895, which changed state. Bug 17895 Summary: [4.0 Regression] tree CFG cleanup is slow

[Bug tree-optimization/15524] [4.0 Regression] jump threading on trees is slow with switch statements with large # of cases

2004-11-18 Thread pinskia at gcc dot gnu dot org
--- Additional Comments From pinskia at gcc dot gnu dot org 2004-11-18 13:00 --- I will do some timings today but I think this is fixed now. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=15524

[Bug target/18542] [3.4 only] ICE: output_operand: invalid expression as operand

2004-11-18 Thread corsepiu at gcc dot gnu dot org
--- Additional Comments From corsepiu at gcc dot gnu dot org 2004-11-18 13:14 --- The same ICE occurs for avr-rtems* and h8300-rtems* toolchains having been built from the same sources. -- What|Removed |Added

[Bug c++/18543] New: Error message for invalid friend declaration could be improved

2004-11-18 Thread reichelt at gcc dot gnu dot org
In the code snippet below the error messages for the template case and the non-template case differ (the template case being worse): struct A { friend int A(); }; templateint struct B { friend int B(); }; B0 b;

[Bug fortran/15335] runtime error Attempt to allocate a negative amount of memory

2004-11-18 Thread paul dot richard dot thomas at cea dot fr
--- Additional Comments From paul dot richard dot thomas at cea dot fr 2004-11-18 13:22 --- This example gives a segmentation fault with Cygwin and gfortran 20041114 integer:: p(4) Initialising p(4) = (/1,2,3,4/) gets rid of the fault and the programme runs to completion. I

[Bug tree-optimization/18529] When the lower bound of a loop is non-constant we cannot find the number of iterations

2004-11-18 Thread rakdver at gcc dot gnu dot org
-- What|Removed |Added AssignedTo|unassigned at gcc dot gnu |rakdver at gcc dot gnu dot |dot org |org Status|NEW

[Bug c++/18543] Error message for invalid friend declaration could be improved

2004-11-18 Thread pinskia at gcc dot gnu dot org
--- Additional Comments From pinskia at gcc dot gnu dot org 2004-11-18 14:06 --- Confirmed. -- What|Removed |Added Status|UNCONFIRMED |NEW

[Bug target/18542] [3.4 only] ICE: output_operand: invalid expression as operand

2004-11-18 Thread joel at oarcorp dot com
--- Additional Comments From joel at oarcorp dot com 2004-11-18 14:13 --- Subject: Re: [3.4 only] ICE: output_operand: invalid expression as operand corsepiu at gcc dot gnu dot org wrote: --- Additional Comments From corsepiu at gcc dot gnu dot org 2004-11-18 13:14 ---

[Bug target/18542] [3.4 only] ICE: output_operand: invalid expression as operand

2004-11-18 Thread joel at oarcorp dot com
--- Additional Comments From joel at oarcorp dot com 2004-11-18 14:26 --- Subject: Re: [3.4 only] ICE: output_operand: invalid expression as operand corsepiu at gcc dot gnu dot org wrote: --- Additional Comments From corsepiu at gcc dot gnu dot org 2004-11-18 13:14 ---

[Bug tree-optimization/15524] [4.0 Regression] jump threading on trees is slow with switch statements with large # of cases

2004-11-18 Thread pinskia at gcc dot gnu dot org
--- Additional Comments From pinskia at gcc dot gnu dot org 2004-11-18 14:31 --- I think this fixed except I have not checked with checking turned off. With checking still on I get the following passes as hot: dominator optimization: 31.03 (42%) usr 0.02 ( 1%) sys 31.26 (40%) wall

[Bug tree-optimization/18536] ICE: in emit_move_insn, at expr.c:2590 with -ftree-vectorize -msse2

2004-11-18 Thread dorit at il dot ibm dot com
--- Additional Comments From dorit at il dot ibm dot com 2004-11-18 14:33 --- (In reply to comment #1) Confirmed, the problem I think is the same as the PPC64 problem in PR 18403 but I did not check the patch which will fix that one for sure. That patch does not fix this problem -

[Bug tree-optimization/18544] New: [4.0 regression] ICE with -ftree-vectorize

2004-11-18 Thread reichelt at gcc dot gnu dot org
The following code snippet causes an ICE on mainline when compiled with -ftree-vectorize -O -march=pentium2: = struct A { int x[2]; A() { int* p=x; for (int i=0; i2; ++i, ++p) *p = 0; } }; A foo() { return

[Bug tree-optimization/18544] [4.0 regression] ICE with -ftree-vectorize

2004-11-18 Thread reichelt at gcc dot gnu dot org
-- What|Removed |Added GCC build triplet||i686-pc-linux-gnu GCC host triplet||i686-pc-linux-gnu GCC target triplet|

[Bug tree-optimization/15524] [4.0 Regression] jump threading on trees is slow with switch statements with large # of cases

2004-11-18 Thread law at redhat dot com
--- Additional Comments From law at redhat dot com 2004-11-18 15:56 --- Subject: Re: [4.0 Regression] jump threading on trees is slow with switch statements with large # of cases On Thu, 2004-11-18 at 13:00 +, pinskia at gcc dot gnu dot org wrote: --- Additional

[Bug c++/18545] New: [3.4/4.0 regression] ICE when returning undefined type

2004-11-18 Thread reichelt at gcc dot gnu dot org
The following invalid code snippet crashes the C++ frontend: === struct A; A foo() { A a; return a; } === bug.cc: In function 'A foo()': bug.cc:7: error: return type 'struct A' is incomplete

[Bug c++/18545] [3.4/4.0 regression] ICE when returning undefined type

2004-11-18 Thread pinskia at gcc dot gnu dot org
--- Additional Comments From pinskia at gcc dot gnu dot org 2004-11-18 16:06 --- Confirmed. -- What|Removed |Added Severity|normal |minor

[Bug tree-optimization/18544] [4.0 regression] ICE with -ftree-vectorize

2004-11-18 Thread reichelt at gcc dot gnu dot org
--- Additional Comments From reichelt at gcc dot gnu dot org 2004-11-18 16:09 --- Might be related to PR18536. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18544

[Bug tree-optimization/18546] New: tree vectorizer does not understand RETURN_DECL

2004-11-18 Thread pinskia at gcc dot gnu dot org
Compile the following with the C and C++ front-end and you will get different assembly, the C front- end does not do NVR at all while the C++ front-end will change the a decl to be the return_decl before so we the vectorizer cannot do the vectorization because it does not hanndle RETURN_DECLs

[Bug tree-optimization/18544] [4.0 regression] ICE with -ftree-vectorize

2004-11-18 Thread pinskia at gcc dot gnu dot org
--- Additional Comments From pinskia at gcc dot gnu dot org 2004-11-18 16:14 --- Confirmed, here is a reduced testcase (which shows maybe the problem): struct A { int x[4]; }; struct A foo() { struct A a; int* p=a.x; for (int i=0; i4; ++i, ++p) *p = 0; return a; } Note

[Bug c++/3332] friend function declaration in a class in a namespace causes error

2004-11-18 Thread lerdsuwa at gcc dot gnu dot org
--- Additional Comments From lerdsuwa at gcc dot gnu dot org 2004-11-18 17:04 --- Patch submitted (both are required): (Friend lookup part 2/n) http://gcc.gnu.org/ml/gcc-patches/2004-10/msg01372.html (Friend lookup part 3/n) http://gcc.gnu.org/ml/gcc-patches/2004-11/msg01495.html

[Bug bootstrap/18547] New: Cygwin

2004-11-18 Thread illumanus at yahoo dot com
In latest change in cygwin 1.5.12-1, all volumes default binmode. In Win32 configurations using cygwin: genconditions.exe creates insn-*.c files that contain 0xD, which causes make bootstrap to fail. Isolated to gensupport.c init_md_reader. Fix is as follows: Line 920 currently reads:

[Bug bootstrap/18547] Cygwin

2004-11-18 Thread pinskia at gcc dot gnu dot org
--- Additional Comments From pinskia at gcc dot gnu dot org 2004-11-18 17:39 --- Text mode is the default at least according to C89 so the bug is in cygwin and not GCC. -- What|Removed |Added

[Bug tree-optimization/15524] [4.0 Regression] jump threading on trees is slow with switch statements with large # of cases

2004-11-18 Thread pinskia at gcc dot gnu dot org
--- Additional Comments From pinskia at gcc dot gnu dot org 2004-11-18 18:23 --- Here are the current timings for the mainline and 3.3: mainline: [zhivago:~/src/localgccPRs] pinskia% time ~/local3/bin/gcc -S pr15524.c -O1 27.680u 1.240s 0:32.98 87.6%0+0k 0+6io 0pf+0w 3.3:

[Bug target/17735] [4.0 Regression] make stops with initializer for integer value is too complicated while building an avr-cross compiler

2004-11-18 Thread bernie at develer dot com
--- Additional Comments From bernie at develer dot com 2004-11-18 18:41 --- Works for me, thanks! Patch still waiting for review in gcc-patches. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17735

[Bug fortran/18518] equivalenced variables are not saved

2004-11-18 Thread Thomas dot Koenig at online dot de
--- Additional Comments From Thomas dot Koenig at online dot de 2004-11-18 18:53 --- It appears that equivalenced variables are not saved. Here's a simplified test case: $ cat pr18518-test.f90 program main call foo call bar call foo end program main subroutine foo integer

[Bug middle-end/18548] New: Miscompiles code generated by Gambit-C Scheme-C compiler

2004-11-18 Thread lucier at math dot purdue dot edu
-- Summary: Miscompiles code generated by Gambit-C Scheme-C compiler Product: gcc Version: 4.0.0 Status: UNCONFIRMED Severity: normal Priority: P2 Component: middle-end AssignedTo: unassigned

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

2004-11-18 Thread pinskia at gcc dot gnu dot org
--- Additional Comments From pinskia at gcc dot gnu dot org 2004-11-18 18:56 --- I noticed today that my patch for PR 18507 also helps this testcase. -- What|Removed |Added

[Bug c/18549] New: -save-temps option ends with corrupt object file

2004-11-18 Thread pschober at gmx dot ch
if gcc is called with the -save-temps option the resulting object file is corrupt. a call to the linker results in the following error message : c:\programme\winavr\bin\..\lib\gcc-lib\avr\3.3.1\..\..\..\..\avr\lib\avr5\crtm16.o(.init9+0x0):undefined reference to 'main' without using the

[Bug driver/18549] -save-temps option ends with corrupt object file

2004-11-18 Thread pinskia at gcc dot gnu dot org
-- What|Removed |Added Component|c |driver http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18549

[Bug middle-end/18548] Miscompiles code generated by Gambit-C Scheme-C compiler

2004-11-18 Thread lucier at math dot purdue dot edu
version 4.0.0 20041118 (experimental) [EMAIL PROTECTED] gambc40b11]$ make stuff removed [EMAIL PROTECTED] gambc40b11]$ cd bench [EMAIL PROTECTED] bench]$ ./bench -c no gambit fib Testing fib under Gambit-C Compiling... ./bench: line 518: 25754 Segmentation fault LD_LIBRARY_PATH=../../../lib

[Bug tree-optimization/18308] ICE in do_jump, at dojump.c:274

2004-11-18 Thread dpatel at apple dot com
--- Additional Comments From dpatel at apple dot com 2004-11-18 19:09 --- Subject: Re: ICE in do_jump, at dojump.c:274 On Nov 18, 2004, at 12:03 AM, paolo dot bonzini at lu dot unisi dot ch wrote: While I can work on a fix, those COND_EXPR were *not* valid GIMPLE at the time the

[Bug c++/7866] [parser] compile error when bit field has same name as namespace

2004-11-18 Thread gcc at rhythm dot com
--- Additional Comments From gcc at rhythm dot com 2004-11-18 19:21 --- I just tried this under 3.3.3, and it is still a problem. Can someone clarify which parser has the correction? -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=7866

[Bug java/18550] New: Remainder on floating point doesn't return the expected result

2004-11-18 Thread olivier_thomann at ca dot ibm dot com
Using gcj, gcj (GCC) 4.0.0 20040924 (experimental) Copyright (C) 2004 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. I built the following program into an

[Bug c++/7866] [parser] compile error when bit field has same name as namespace

2004-11-18 Thread pcarlini at suse dot de
--- Additional Comments From pcarlini at suse dot de 2004-11-18 19:24 --- 3.4.0 or newer. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=7866

[Bug java/18550] Remainder on floating point doesn't return the expected result

2004-11-18 Thread olivier_thomann at ca dot ibm dot com
--- Additional Comments From olivier_thomann at ca dot ibm dot com 2004-11-18 19:26 --- Sorry, my test case was wrong. Here is the right one: public class X { public static void main(String args[]) { System.out.println(3.14f % Float.POSITIVE_INFINITY);

[Bug target/18551] New: wrong asm output for -ffunction-sections with g++

2004-11-18 Thread bernie at develer dot com
The backend outputs invalid assembly containing full function signatures when compiling C++ sources with -ffunction-sections: ldi r30,pm_lo8(.L_bool updateEEParam(uint16_t, uint8_t*)_body) I'm not sure this is AVR specific, but it doesn't certainly happen on i386-linux. --

[Bug target/18552] New: Annoying warning with -ffunction-sections -g

2004-11-18 Thread bernie at develer dot com
When building with both -ffunction-sections and -g, the compiler outputs an invalid warning for each compiled file: drv/timer.c:1: warning: -ffunction-sections may affect debugging on some targets The code printing this is here: --- gcc/toplev.c --- #ifndef OBJECT_FORMAT_ELF if

[Bug target/18553] New: Annoying warning with -ffunction-sections -g

2004-11-18 Thread bernie at develer dot com
When building with both -ffunction-sections and -g, the compiler outputs an invalid warning for each compiled file: drv/timer.c:1: warning: -ffunction-sections may affect debugging on some targets The code printing this is here: --- gcc/toplev.c --- #ifndef OBJECT_FORMAT_ELF if

[Bug target/18553] Annoying warning with -ffunction-sections -g

2004-11-18 Thread bernie at develer dot com
-- What|Removed |Added Status|UNCONFIRMED |NEW Ever Confirmed||1 Known to fail||3.4.3

[Bug target/18552] Annoying warning with -ffunction-sections -g

2004-11-18 Thread pinskia at gcc dot gnu dot org
--- Additional Comments From pinskia at gcc dot gnu dot org 2004-11-18 20:28 --- *** This bug has been marked as a duplicate of 18553 *** -- What|Removed |Added

[Bug c++/7866] [parser] compile error when bit field has same name as namespace

2004-11-18 Thread pinskia at gcc dot gnu dot org
-- What|Removed |Added Target Milestone|--- |3.4.0 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=7866

[Bug target/18553] Annoying warning with -ffunction-sections -g

2004-11-18 Thread pinskia at gcc dot gnu dot org
--- Additional Comments From pinskia at gcc dot gnu dot org 2004-11-18 20:28 --- *** Bug 18552 has been marked as a duplicate of this bug. *** -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18553

[Bug c++/18554] New: template function calling template member function does not compile

2004-11-18 Thread matt_p_carter at yahoo dot com
I have reduced the code needed to reproduce this compile error down to a single, simple file: Contents of b.cpp: ---BEGIN_CODE--- struct MyStruct { template typename T void noop() {} }; template typename T void myFunc() { MyStruct ms; ms.noopint(); } ---END_CODE--- % g++ -c b.cpp b.cpp: In

[Bug target/18551] wrong asm output for -mcall-prologues with g++

2004-11-18 Thread bernie at develer dot com
--- Additional Comments From bernie at develer dot com 2004-11-18 20:30 --- Oops, this PR should have been about -mcall-prologues, not -ffunction-sections. -- What|Removed |Added

[Bug c++/18554] template function calling template member function does not compile

2004-11-18 Thread pinskia at gcc dot gnu dot org
--- Additional Comments From pinskia at gcc dot gnu dot org 2004-11-18 20:33 --- The second most reported bug, PR 795. This is already fixed in 3.4.0. *** This bug has been marked as a duplicate of 795 *** -- What|Removed |Added

[Bug c++/795] parse error in member template method

2004-11-18 Thread pinskia at gcc dot gnu dot org
--- Additional Comments From pinskia at gcc dot gnu dot org 2004-11-18 20:33 --- *** Bug 18554 has been marked as a duplicate of this bug. *** -- What|Removed |Added

[Bug java/18550] Remainder on floating point doesn't return the expected result

2004-11-18 Thread pinskia at gcc dot gnu dot org
--- Additional Comments From pinskia at gcc dot gnu dot org 2004-11-18 20:36 --- It works on the mainline on powerpc-darwin. This might be a mygwin bug as the front-end just makes the call to fmod. -- What|Removed |Added

[Bug target/18551] wrong asm output for -mcall-prologues with g++

2004-11-18 Thread pinskia at gcc dot gnu dot org
--- Additional Comments From pinskia at gcc dot gnu dot org 2004-11-18 20:40 --- You should not use: const char *cfun_name = current_function_name (); -- What|Removed |Added

[Bug target/18553] Annoying warning with -ffunction-sections -g

2004-11-18 Thread pinskia at gcc dot gnu dot org
--- Additional Comments From pinskia at gcc dot gnu dot org 2004-11-18 20:41 --- Confirmed. -- What|Removed |Added Last reconfirmed|2004-11-18 19:42:06

[Bug rtl-optimization/13931] [3.3/3.4/4.0 Regression] combiner much slower on big basic blocks

2004-11-18 Thread pinskia at gcc dot gnu dot org
--- Additional Comments From pinskia at gcc dot gnu dot org 2004-11-18 20:46 --- Note on the mainline on PPC-darwin we are about twice as fast 1.5 seconds compared to 3.3 (3.2 seconds). -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13931

[Bug tree-optimization/18536] ICE: in emit_move_insn, at expr.c:2590 with -ftree-vectorize -msse2

2004-11-18 Thread dorit at il dot ibm dot com
--- Additional Comments From dorit at il dot ibm dot com 2004-11-18 21:12 --- patch: http://gcc.gnu.org/ml/gcc-patches/2004-11/msg01512.html -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18536

[Bug tree-optimization/13776] [4.0 Regression] [tree-ssa] Many C++ compile-time regression in 4.0-tree-ssa 040120

2004-11-18 Thread pinskia at gcc dot gnu dot org
--- Additional Comments From pinskia at gcc dot gnu dot org 2004-11-18 21:12 --- Hmm, with the mainline on PPC-darwin for ir.ii at -O0 we are faster than both 3.3 and 3.1. 3.1: 51.260u 2.110s 0:56.27 94.8%0+0k 0+7io 0pf+0w 3.3: 46.000u 3.600s 0:50.91 97.4%0+0k 0+7io 0pf+0w

[Bug middle-end/17813] [4.0 regression] ada bootstrap failure on i486-linux

2004-11-18 Thread jakub at gcc dot gnu dot org
--- Additional Comments From jakub at gcc dot gnu dot org 2004-11-18 21:15 --- Could this be applied to gcc-3_4-branch as well? See http://bugzilla.redhat.com/bugzilla/attachment.cgi?id=106985 for a 3.4 testcase that used to work with GCC 3.3.4, but fails with 3.4 branch as of a month

[Bug preprocessor/18555] New: Need a command line switch to control gcc's include and libary finding mechanism

2004-11-18 Thread spolk at apple dot com
Apple needs a command-line switch to the compiler which will change the lookup of include files and link libaries. The semantics would be something like: -isystem-headers-and-libaries pathname When this command line option is given to the compiler, all of the compiler's builtin searching for

[Bug other/18555] Need a command line switch to control gcc's include and libary finding mechanism

2004-11-18 Thread pinskia at gcc dot gnu dot org
--- Additional Comments From pinskia at gcc dot gnu dot org 2004-11-18 21:17 --- So kinda like --with-sysroot by at done at run time instead at configure time. -- What|Removed |Added

[Bug other/18555] Need a command line switch to control gcc's include and libary finding mechanism

2004-11-18 Thread austern at apple dot com
--- Additional Comments From austern at apple dot com 2004-11-18 21:39 --- We have a lot of options that are vaguely similiar to this. It's also reminiscent of -iprefix. But I actually think the closest analogy is to -B. Its effect on header and library paths is the same as -B,

[Bug tree-optimization/18529] When the lower bound of a loop is non-constant we cannot find the number of iterations

2004-11-18 Thread rakdver at gcc dot gnu dot org
--- Additional Comments From rakdver at gcc dot gnu dot org 2004-11-18 21:54 --- Patch: http://gcc.gnu.org/ml/gcc-patches/2004-11/msg01516.html -- What|Removed |Added

[Bug tree-optimization/18544] [4.0 regression] ICE with -ftree-vectorize

2004-11-18 Thread dorit at il dot ibm dot com
--- Additional Comments From dorit at il dot ibm dot com 2004-11-18 21:56 --- Note it works no when compiled with the C front-end but not with the C++ front-end. It is more related to PR 18546 than it is to PR18536. This patch fixes the ICE:

[Bug c++/18556] New: C++ debug is broken

2004-11-18 Thread hjl at lucon dot org
I got so many make check failures in libstdc++ with gcc 4.0 from CVS at Thu Nov 18 00:45:48 UTC 2004. They all have something like # /export/build/gnu/gcc/build-ia64-linux/gcc/g++ -shared-libgcc -B/export/build/gnu/gcc/build-ia64-linux/gcc/ -nostdinc++

[Bug c++/18556] [4.0 Regression] C++ debug is broken

2004-11-18 Thread pinskia at gcc dot gnu dot org
--- Additional Comments From pinskia at gcc dot gnu dot org 2004-11-18 22:36 --- http://gcc.gnu.org/ml/gcc-testresults/2004-11/msg00581.html is also broken. -- What|Removed |Added

[Bug c++/18556] [4.0 Regression] C++ debug is broken

2004-11-18 Thread pinskia at gcc dot gnu dot org
--- Additional Comments From pinskia at gcc dot gnu dot org 2004-11-18 22:41 --- The only change between the 11 and the 13 which makes sense at even having an effect: 2004-11-12 Mark Mitchell [EMAIL PROTECTED] PR c++/18416 * passes.c (rest_of_decl_compilation): Do

[Bug c++/18556] [4.0 Regression] C++ debug is broken

2004-11-18 Thread mmitchel at gcc dot gnu dot org
--- Additional Comments From mmitchel at gcc dot gnu dot org 2004-11-18 22:44 --- I will need a preprocessed test case and command-line. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18556

[Bug middle-end/17813] [4.0 regression] ada bootstrap failure on i486-linux

2004-11-18 Thread ebotcazou at gcc dot gnu dot org
--- Additional Comments From ebotcazou at gcc dot gnu dot org 2004-11-18 23:20 --- Reopening on Jakub's request. -- What|Removed |Added Status|RESOLVED

[Bug tree-optimization/18557] New: Inefficient code generated by -ftree-vectorize on Alpha

2004-11-18 Thread falk at debian dot org
For this code: int f(unsigned int *p) { for (int i = 0; i 64; ++i) p[i] = 0; } I'd expect to get something like the output for this code: int f2(unsigned int *p) { int c = 64*4; if ((unsigned long) p % 8) *p++ = 0, c -= 4; unsigned long *l = p; do *l++ = 0; while

[Bug tree-optimization/18557] Inefficient code generated by -ftree-vectorize on Alpha

2004-11-18 Thread pinskia at gcc dot gnu dot org
--- Additional Comments From pinskia at gcc dot gnu dot org 2004-11-19 00:04 --- Confirmed. One issue is that we don't fold stuff: D.1061 = 8 - 1; D.1065 = 2 - 1; -- What|Removed |Added

[Bug c++/18556] [4.0 Regression] C++ debug is broken

2004-11-18 Thread hjl at lucon dot org
--- Additional Comments From hjl at lucon dot org 2004-11-19 00:34 --- Please check out g++.old-deja/g++.mike/eh53.C. I got [EMAIL PROTECTED] testsuite]$ /usr/gcc-4.0/bin/g++ /net/gnu/export/gnu/src/gcc/gcc/gcc/testsuite/g++.old-deja/g++.mike/eh53.C -g -c [EMAIL PROTECTED] testsuite]$

[Bug other/18555] Need a command line switch to control gcc's include and libary finding mechanism

2004-11-18 Thread dpatel at apple dot com
--- Additional Comments From dpatel at apple dot com 2004-11-19 01:21 --- It seems -isysroot may do the task here. I see its implementation in c-opts.c, but unfortunetly 1) it is not documented in cppopts.texi and 2) driver has one bug that causes it to eat isysroot argument. I will

[Bug c++/18556] [4.0 Regression] C++ debug is broken

2004-11-18 Thread hjl at lucon dot org
--- Additional Comments From hjl at lucon dot org 2004-11-19 01:42 --- I have verified that http://gcc.gnu.org/ml/gcc-patches/2004-11/msg00970.html is the cause. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18556

  1   2   >