[Bug ada/25117] GNAT Bug Box, GCC error, verify_ssa failed

2005-11-29 Thread bauhaus at futureapps dot de
--- Comment #5 from bauhaus at futureapps dot de 2005-11-29 08:56 --- Created an attachment (id=10359) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=10359action=view) source file set for the 4.1 Bug Box To reproduce, $ cd src $ gcc -c -gnatwecfijkmruv -gnaty3abcefhiklmnoprstx

[Bug libstdc++/11953] _REENTRANT defined when compiling non-threaded code.

2005-11-29 Thread marc dot waeckerlin at siemens dot com
--- Comment #35 from marc dot waeckerlin at siemens dot com 2005-11-29 09:13 --- I had a look in google about #ifdef _REENTRANT, and it gets about 20'200 entries, so this is a widely used funtinality that must not be broken! Imagine all the code the does the #ifdef _REENTRANT to

[Bug libstdc++/11953] _REENTRANT defined when compiling non-threaded code.

2005-11-29 Thread marc dot waeckerlin at siemens dot com
--- Comment #36 from marc dot waeckerlin at siemens dot com 2005-11-29 09:27 --- New information: _REENTRANT is definitively defined in the headers: echo | g++ \ -I /usr/include/c++/4.0.2 -I /usr/include/c++/4.0.2/i586-suse-linux \ -E -dM -c - | grep REENTRANT echo | g++

[Bug ada/25117] GNAT Bug Box, GCC error, verify_ssa failed

2005-11-29 Thread bauhaus at futureapps dot de
--- Comment #6 from bauhaus at futureapps dot de 2005-11-29 09:30 --- Created an attachment (id=10360) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=10360action=view) source file set for the 4.2 Bug Box To reproduce, $ cd src $ gcc -c -gnatwecfijkmruv -gnaty3abcefhiklmnoprstx

[Bug libstdc++/11953] _REENTRANT defined when compiling non-threaded code.

2005-11-29 Thread marc dot waeckerlin at siemens dot com
--- Comment #37 from marc dot waeckerlin at siemens dot com 2005-11-29 09:33 --- Correction: The above work around only works, as long, as your file is not included by another file... -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=11953

[Bug libfortran/25017] sqrt, csqrt may give a wrong result if real part of compex argument is zero

2005-11-29 Thread harald dot vogt at desy dot de
--- Comment #7 from harald dot vogt at desy dot de 2005-11-29 09:42 --- (In reply to comment #6) Subject: Re: sqrt, csqrt may give a wrong result if real part of compex argument is zero On Thu, Nov 24, 2005 at 05:05:12PM -, pinskia at gcc dot gnu dot org wrote: (In

[Bug libstdc++/1773] __cplusplus defined to 1, should be 199711L

2005-11-29 Thread pcarlini at suse dot de
--- Comment #39 from pcarlini at suse dot de 2005-11-29 10:24 --- Eric, I'm sorry, any news?!? Thanks. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=1773

[Bug fortran/25084] Interface for assumed length character function allowed

2005-11-29 Thread eedelman at gcc dot gnu dot org
--- Comment #1 from eedelman at gcc dot gnu dot org 2005-11-29 11:21 --- Confirmed. Reminds a bit of PR 24705, except here we have an interface only. -- eedelman at gcc dot gnu dot org changed: What|Removed |Added

[Bug middle-end/24804] [3.4 Regression] Produces wrong code

2005-11-29 Thread reichelt at gcc dot gnu dot org
--- Comment #7 from reichelt at gcc dot gnu dot org 2005-11-29 11:26 --- The command line flags -O -fgcse are sufficient to reproduce the bug. The constructor of DummyType can be omitted. -- reichelt at gcc dot gnu dot org changed: What|Removed

[Bug fortran/25085] Array valued assumed length character function allowed

2005-11-29 Thread eedelman at gcc dot gnu dot org
--- Comment #1 from eedelman at gcc dot gnu dot org 2005-11-29 11:27 --- Confirmed. Reminds a bit of PR 24705. -- eedelman at gcc dot gnu dot org changed: What|Removed |Added

[Bug fortran/25086] Pointer valued assumed length character function allowed

2005-11-29 Thread eedelman at gcc dot gnu dot org
--- Comment #1 from eedelman at gcc dot gnu dot org 2005-11-29 11:30 --- Confirmed. -- eedelman at gcc dot gnu dot org changed: What|Removed |Added

[Bug libstdc++/1773] __cplusplus defined to 1, should be 199711L

2005-11-29 Thread ebotcazou at gcc dot gnu dot org
--- Comment #40 from ebotcazou at gcc dot gnu dot org 2005-11-29 11:51 --- Eric, I'm sorry, any news?!? Thanks. Bootstrap was broken last week and I was away for the week-end... I'll need to re-compute baseline results first, so maybe at the end of this week. --

[Bug fortran/25087] better diagnostic needed

2005-11-29 Thread eedelman at gcc dot gnu dot org
--- Comment #2 from eedelman at gcc dot gnu dot org 2005-11-29 12:00 --- Reduced testcase: SUBROUTINE s(n) CHARACTER(LEN=n), EXTERNAL :: a write(6,*) a(n) END SUBROUTINE s The problem, unless I'm missing something, is that the external function a would need an explicit interface.

[Bug fortran/25087] Error for missing explicit interface needed.

2005-11-29 Thread eedelman at gcc dot gnu dot org
--- Comment #3 from eedelman at gcc dot gnu dot org 2005-11-29 12:06 --- (In reply to comment #2) Reduced testcase: SUBROUTINE s(n) CHARACTER(LEN=n), EXTERNAL :: a write(6,*) a(n) END SUBROUTINE s The problem, unless I'm missing something, is that the external function a

[Bug libfortran/25139] Invalid argument error on I/O

2005-11-29 Thread fxcoudert at gcc dot gnu dot org
--- Comment #2 from fxcoudert at gcc dot gnu dot org 2005-11-29 12:12 --- Well, since it relies on uninitialized variables, it's a bit hard to reproduce. The following code (I believe it is legal) reproducibly fails for me on i686-linux: integer dat(5) dat = (/ 0, 0, 0, 0,

[Bug libfortran/25139] Invalid argument error on I/O

2005-11-29 Thread fxcoudert at gcc dot gnu dot org
--- Comment #3 from fxcoudert at gcc dot gnu dot org 2005-11-29 12:29 --- The testcase can be reduced further: integer dat(5) dat = (/ 0, 0, 0, 0, 1 /) write(11) dat,dat,dat,dat rewind 11 write(11) dat read(11,end=1008) dat 1008 continue

[Bug libfortran/25017] sqrt, csqrt may give a wrong result if real part of compex argument is zero

2005-11-29 Thread sgk at troutmask dot apl dot washington dot edu
--- Comment #8 from sgk at troutmask dot apl dot washington dot edu 2005-11-29 12:47 --- Subject: Re: sqrt, csqrt may give a wrong result if real part of compex argument is zero On Tue, Nov 29, 2005 at 09:42:05AM -, harald dot vogt at desy dot de wrote: Comment #7 from

[Bug c++/25152] New: -fstrict-aliasing generates wrong code, but no warning from -Wstrict-aliasing

2005-11-29 Thread frederic dot devernay at m4x dot org
the attached program generates wrong code with -O -fstrict-aliasing (-O works), although -Wstrict-aliasing doesn't issue a warning. The bug was not present in gcc version 3.3.3 20040412 (Red Hat Linux 3.3.3-7) (the generated code was OK even with -O3). The bug is present in : - gcc version 4.0.1

[Bug c++/25152] -fstrict-aliasing generates wrong code, but no warning from -Wstrict-aliasing

2005-11-29 Thread frederic dot devernay at m4x dot org
--- Comment #1 from frederic dot devernay at m4x dot org 2005-11-29 13:30 --- Created an attachment (id=10361) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=10361action=view) test case this source generates wrong code without issueing a warning, using: g++ -DMAIN -O

[Bug target/24842] testsuite failure: gcc.dg/attr-weakref-1.c execution test

2005-11-29 Thread aoliva at gcc dot gnu dot org
--- Comment #3 from aoliva at gcc dot gnu dot org 2005-11-29 13:50 --- Sorry, I totally misread the testsuite output. Can you tell what part of the execution test that fails? I find it very unlikely that this is a compiler error; it's far more likely to be a linker failure to handle

[Bug middle-end/25140] aliases, including weakref, break alias analysis

2005-11-29 Thread aoliva at gcc dot gnu dot org
--- Comment #4 from aoliva at gcc dot gnu dot org 2005-11-29 13:55 --- Make it a weak alias, then. Anyhow, the point is that the alias infrastructure in GCC is available for all ports. If some port limits what kinds of aliases you can use, then, well, too bad. But the smarts to get

[Bug testsuite/19231] Execute failure in gcc.c-torture/execute/builtins/strlen-3.c with -fpic/-fPIC

2005-11-29 Thread ghazi at gcc dot gnu dot org
--- Comment #3 from ghazi at gcc dot gnu dot org 2005-11-29 13:55 --- Fixed by: http://gcc.gnu.org/ml/gcc-patches/2005-11/msg01889.html -- ghazi at gcc dot gnu dot org changed: What|Removed |Added

[Bug libstdc++/1773] __cplusplus defined to 1, should be 199711L

2005-11-29 Thread pcarlini at suse dot de
--- Comment #41 from pcarlini at suse dot de 2005-11-29 14:00 --- Ok, agreed. I'm eager to finally close the oldest open libstdc++ PR... ;) -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=1773

[Bug target/19227] [3.4 only] Error in gcc.c-torture/compile/20000804-1.c when using -fpic/-fPIC on i686-pc-linux-gnu

2005-11-29 Thread ghazi at gcc dot gnu dot org
--- Comment #2 from ghazi at gcc dot gnu dot org 2005-11-29 14:03 --- Fixed in 4.0.3 and later by: http://gcc.gnu.org/ml/gcc-patches/2005-11/msg01889.html -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19227

[Bug target/24842] testsuite failure: gcc.dg/attr-weakref-1.c execution test

2005-11-29 Thread hp at gcc dot gnu dot org
--- Comment #4 from hp at gcc dot gnu dot org 2005-11-29 14:08 --- Yes, it may be a linker error. This target uses the generic linker machinery (since linking from ELF to mmo), which is not exactly the hot-path for other targets. I know of no particular way of telling *which* part of

[Bug testsuite/19275] [3.4/4.0] gcc.dg/20020919-1.c fails with -fpic/-fPIC on i686-pc-linux-gnu

2005-11-29 Thread ghazi at gcc dot gnu dot org
--- Comment #5 from ghazi at gcc dot gnu dot org 2005-11-29 14:25 --- These two patches fixed the problem on mainline/4.1 and need to be backported: http://gcc.gnu.org/ml/gcc-patches/2005-03/msg02322.html http://gcc.gnu.org/ml/gcc-patches/2005-03/msg02828.html I'll do it after testing.

[Bug target/24831] [4.1/4.2 regression] gthr-dce.h:77: error: expected expression before '{' token

2005-11-29 Thread aoliva at gcc dot gnu dot org
--- Comment #9 from aoliva at gcc dot gnu dot org 2005-11-29 14:27 --- Created an attachment (id=10362) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=10362action=view) Tentative patch to accomodate expressions, absent functions et al Dave, could you please give this patch a try?

[Bug c++/25153] New: Bug in name lookup in template -- 4.0 regression against 3.4

2005-11-29 Thread richard at ex-parrot dot com
The code below compiles fine with gcc 3.3.1 and 3.4.0 (and does the right thing); it produces a compile time error in 4.0.2. Lookup of the operator in the definition of serializable::implX::value fails when it is instatiated via the bar or baz templates but succeeds when instantiated via the foo

[Bug c++/25152] -fstrict-aliasing generates wrong code, but no warning from -Wstrict-aliasing

2005-11-29 Thread pinskia at gcc dot gnu dot org
--- Comment #2 from pinskia at gcc dot gnu dot org 2005-11-29 15:12 --- 4.2 warns: t.cc: In function 'CvStatus icvSet_8u_C4MR(int*, int, const uchar*, int, CvSize, const int*)': t.cc:21: warning: dereferencing type-punned pointer will break strict-aliasing rules Because the warning

[Bug c++/25153] [4.0 Regression] Bug in name lookup in template -- 4.0 regression against 3.4

2005-11-29 Thread pinskia at gcc dot gnu dot org
--- Comment #1 from pinskia at gcc dot gnu dot org 2005-11-29 15:19 --- Fixed in 4.0.3 already. -- pinskia at gcc dot gnu dot org changed: What|Removed |Added

[Bug libobjc/24775] libobjc should not include GCC's target headers

2005-11-29 Thread pinskia at gcc dot gnu dot org
--- Comment #2 from pinskia at gcc dot gnu dot org 2005-11-29 16:01 --- A start is done on the branch libobjc_noheaders. I almost forgot about thrd-objc.c. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24775

[Bug c/25155] New: Base type of expressions involving short operands is shown as int

2005-11-29 Thread santhosh dot selvaraj at wipro dot com
I don't know whether it is a bug or not. Consider the following example: short int sh1 = 1; short int sh2 = 2; printf(Size of short: %d\n, sizeof(short)); printf(Size of int: %d\n, sizeof(int)); printf(Size of expr: %d\n, sizeof(sh1+sh2)); Output: Size of short: 2 Size of int: 4 Size of expr:

[Bug libstdc++/11953] _REENTRANT defined when compiling non-threaded code.

2005-11-29 Thread carlo at gcc dot gnu dot org
--- Comment #38 from carlo at gcc dot gnu dot org 2005-11-29 16:05 --- That never works because it always defines _REENTRANT. You probably mean: #ifdef _REENTRANT #define GCC_BUGFIX 1 #endif #include iostream #undef _REENTRANT #ifdef GCC_BUGFIX #define _REENTRANT 1 #endif The drawback

[Bug c++/25156] New: wrong error message (int instead of bool)

2005-11-29 Thread joerg dot richter at pdv-fs dot de
bool func() { return; } a.cc:3: error: return-statement with no value, in function returning 'int' -- Summary: wrong error message (int instead of bool) Product: gcc Version: 4.0.2 Status: UNCONFIRMED Severity: minor Priority:

[Bug c/25155] Base type of expressions involving short operands is shown as int

2005-11-29 Thread schwab at suse dot de
--- Comment #1 from schwab at suse dot de 2005-11-29 16:13 --- This is the effect of the integer promotion rules. -- schwab at suse dot de changed: What|Removed |Added

[Bug c++/25156] [3.4/4.0/4.1 Regression] wrong error message (int instead of bool)

2005-11-29 Thread pinskia at gcc dot gnu dot org
--- Comment #1 from pinskia at gcc dot gnu dot org 2005-11-29 16:40 --- Confirmed, all an integer types give the wrong error (well except for int). 3.3 gave: t.c: In function `bool func()': t.c:3: error: return-statement with no value, in function declared with a non-void return

[Bug c++/25156] [3.4/4.0/4.1 Regression] wrong error message (int instead of bool)

2005-11-29 Thread pinskia at gcc dot gnu dot org
--- Comment #2 from pinskia at gcc dot gnu dot org 2005-11-29 16:46 --- Hmm, it is looking at the wrong type, it is looking at the RESULT_DECL's type instead of the FUNCTION_TYPE's type which has the correct type, I might fix this later tonight. --

[Bug java/25040] gcjh generated .h files missing methods inherited from interfaces

2005-11-29 Thread tromey at gcc dot gnu dot org
--- Comment #2 from tromey at gcc dot gnu dot org 2005-11-29 17:09 --- *** This bug has been marked as a duplicate of 15411 *** -- tromey at gcc dot gnu dot org changed: What|Removed |Added

[Bug java/15411] CNI: gcjh not aware of miranda methods

2005-11-29 Thread tromey at gcc dot gnu dot org
--- Comment #4 from tromey at gcc dot gnu dot org 2005-11-29 17:09 --- *** Bug 25040 has been marked as a duplicate of this bug. *** -- tromey at gcc dot gnu dot org changed: What|Removed |Added

[Bug libgcj/25016] Integer overflow in _Jv_CondWait

2005-11-29 Thread tromey at gcc dot gnu dot org
--- Comment #7 from tromey at gcc dot gnu dot org 2005-11-29 17:13 --- Fix checked in everywhere. -- tromey at gcc dot gnu dot org changed: What|Removed |Added

[Bug tree-optimization/25145] missed VRP opportunity

2005-11-29 Thread pinskia at gcc dot gnu dot org
--- Comment #6 from pinskia at gcc dot gnu dot org 2005-11-29 17:34 --- (In reply to comment #5) Note this was the simple fix which exposes those latent bugs as far as I can see that should work, we get the correct range but the rest of VRP goes bonkers: I should also note it does

[Bug tree-optimization/25148] compare_values assumes that CST in a + CST (and a - CST) is always postive

2005-11-29 Thread pinskia at gcc dot gnu dot org
--- Comment #3 from pinskia at gcc dot gnu dot org 2005-11-29 17:36 --- I should also note that compare_values is does not respect -fwrapv either as shown by the testcase in PR 25145 in comment #1 and comment #6. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=25148

[Bug c++/25152] -fstrict-aliasing generates wrong code, but no warning from -Wstrict-aliasing

2005-11-29 Thread frederic dot devernay at m4x dot org
--- Comment #3 from frederic dot devernay at m4x dot org 2005-11-29 17:42 --- I know it breaks aliasing rules, but this problem was not present in gcc-3.3. Most gcc users consider -O2 as being a safe optimizing option, (e.g. redhat RPMs are compiled with gcc -O2), and generating wrong

[Bug c++/25152] -fstrict-aliasing generates wrong code, but no warning from -Wstrict-aliasing

2005-11-29 Thread pinskia at gcc dot gnu dot org
--- Comment #4 from pinskia at gcc dot gnu dot org 2005-11-29 17:47 --- (In reply to comment #3) I know it breaks aliasing rules, but this problem was not present in gcc-3.3. So ... GCC 4.1 includes more optimization than 3.3 did which takes advantage of the aliasing rules. Note

[Bug c++/25156] [3.4/4.0/4.1 Regression] wrong error message (int instead of bool)

2005-11-29 Thread gdr at integrable-solutions dot net
--- Comment #3 from gdr at integrable-solutions dot net 2005-11-29 17:48 --- Subject: Re: [3.4/4.0/4.1 Regression] wrong error message (int instead of bool) pinskia at gcc dot gnu dot org [EMAIL PROTECTED] writes: | Hmm, it is looking at the wrong type, it is looking at the

[Bug c++/25152] -fstrict-aliasing generates wrong code, but no warning from -Wstrict-aliasing

2005-11-29 Thread bonzini at gnu dot org
--- Comment #5 from bonzini at gnu dot org 2005-11-29 17:55 --- Frederic, -Wstrict-aliasing is only working for C up until 4.1 (included). Your code, rewritten to C, would issue a warning with 4.1 and earlier compilers as well. Also note that -Wstrict-aliasing does not prevent the

[Bug c++/25156] [3.4/4.0/4.1 Regression] wrong error message (int instead of bool)

2005-11-29 Thread gdr at integrable-solutions dot net
--- Comment #4 from gdr at integrable-solutions dot net 2005-11-29 18:02 --- Subject: Re: [3.4/4.0/4.1 Regression] wrong error message (int instead of bool) pinskia at gcc dot gnu dot org [EMAIL PROTECTED] writes: | Hmm, it is looking at the wrong type, it is looking at the

[Bug other/25157] New: /libdecnumber/decContext.h:43:49: stdint.h: No such file or directory

2005-11-29 Thread danglin at gcc dot gnu dot org
make[1]: Entering directory `/xxx/gnu/gcc-3.3/objdir/libdecnumber' source='../../gcc/libdecnumber/decNumber.c' object='decNumber.o' libtool=no gcc -I../../gcc/libdecnumber -I. -g -O2 -W -Wall -Wwrite-strings -Wstrict-prototyp es -Wmissing-prototypes -Wold-style-definition

[Bug middle-end/25158] New: FAIL: gcc.c-torture/execute/builtins/fprintf.c compilation

2005-11-29 Thread danglin at gcc dot gnu dot org
At all optimizations: Executing on host: /mnt/gnu/gcc-3.3/objdir/gcc/xgcc -B/mnt/gnu/gcc-3.3/objdir/gc c/ /mnt/gnu/gcc-3.3/gcc/gcc/testsuite/gcc.c-torture/execute/builtins/fprintf.c / mnt/gnu/gcc-3.3/gcc/gcc/testsuite/gcc.c-torture/execute/builtins/fprintf-lib.c /

[Bug middle-end/25159] New: FAIL: gcc.c-torture/execute/builtins/fputs.c execution

2005-11-29 Thread danglin at gcc dot gnu dot org
At -O1, -O2 and -O3: Executing on host: /mnt/gnu/gcc-3.3/objdir/gcc/xgcc -B/mnt/gnu/gcc-3.3/objdir/gc c/ /mnt/gnu/gcc-3.3/gcc/gcc/testsuite/gcc.c-torture/execute/builtins/fputs.c /mn t/gnu/gcc-3.3/gcc/gcc/testsuite/gcc.c-torture/execute/builtins/fputs-lib.c /mnt/

[Bug java/25021] Can't compile ant 1.6.5 to machine code

2005-11-29 Thread tromey at gcc dot gnu dot org
--- Comment #2 from tromey at gcc dot gnu dot org 2005-11-29 18:31 --- In the version of ant I have (1.6.2) the class is org.apache.tools.ant.launch.Launcher not org.apache.tools.ant.launcher.Launcher So I think this is just a typo in the --main argument. -- tromey at gcc dot gnu

[Bug java/18278] JNI functions cannot return a weak reference

2005-11-29 Thread tromey at gcc dot gnu dot org
--- Comment #8 from tromey at gcc dot gnu dot org 2005-11-29 18:35 --- Subject: Bug 18278 Author: tromey Date: Tue Nov 29 18:34:58 2005 New Revision: 107676 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=107676 Log: gcc/java: PR java/18278: * expr.c

[Bug c++/24996] [4.0/4.1/4.2 Regression] ICE on throw code

2005-11-29 Thread janis at gcc dot gnu dot org
--- Comment #4 from janis at gcc dot gnu dot org 2005-11-29 18:36 --- A regression hunt identified the following patch (not terribly useful): r81764 | dnovillo | 2004-05-13 06:41:07 + (Thu, 13 May 2004) | 3 lines Merge tree-ssa-20020619-branch into mainline. Andrew, are you

[Bug c++/24996] [4.0/4.1/4.2 Regression] ICE on throw code

2005-11-29 Thread janis at gcc dot gnu dot org
--- Comment #5 from janis at gcc dot gnu dot org 2005-11-29 18:37 --- The question in my previous comment should have been to Volker, not Andrew. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24996

[Bug libfortran/25139] Invalid argument error on I/O

2005-11-29 Thread jb at gcc dot gnu dot org
--- Comment #4 from jb at gcc dot gnu dot org 2005-11-29 18:37 --- It doesn't have anything to do with array transfers. The following test program is equivalent to the one in #3, but uses the scalar transfer_integer instead of transfer_array: program test3 integer dat(5) dat = (/

[Bug c++/24996] [4.0/4.1/4.2 Regression] ICE on throw code

2005-11-29 Thread reichelt at igpm dot rwth-aachen dot de
--- Comment #6 from reichelt at igpm dot rwth-aachen dot de 2005-11-29 18:44 --- Subject: Re: [4.0/4.1/4.2 Regression] ICE on throw code On 29 Nov, janis at gcc dot gnu dot org wrote: Andrew, are you sure about 3.4.0 crashing for this testcase? I tried mainline as far back as

[Bug java/18278] JNI functions cannot return a weak reference

2005-11-29 Thread tromey at gcc dot gnu dot org
--- Comment #9 from tromey at gcc dot gnu dot org 2005-11-29 18:58 --- Subject: Bug 18278 Author: tromey Date: Tue Nov 29 18:58:23 2005 New Revision: 107677 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=107677 Log: gcc/java: PR java/18278: * expr.c

[Bug c++/24173] [4.0/4.1/4.2 regression] ICE with garbage collection

2005-11-29 Thread reichelt at gcc dot gnu dot org
--- Comment #5 from reichelt at gcc dot gnu dot org 2005-11-29 19:03 --- Confirmed. Here's a reduced testcase. Compile with g++ --param ggc-min-expand=0 --param ggc-min-heapsize=0. templateint, int, int struct Dummy;

[Bug target/25160] New: ICE in print_operand if using -mfloat-gprs w/ non-854x -mcpu option

2005-11-29 Thread rmansfield at qnx dot com
/head-glibc-2.3.3/powerpc-linux-gnuspe --disable-multilib --with-newlib --without-headers --disable-nls --enable-threads=no --enable-symvers=gnu --enable-__cxa_atexit --enable-languages=c --disable-shared Thread model: single gcc version 4.2.0 20051129 (experimental) According to the documentation

[Bug libfortran/25116] namelist read from non-opened file

2005-11-29 Thread toon at moene dot indiv dot nluug dot nl
--- Comment #9 from toon at moene dot indiv dot nluug dot nl 2005-11-29 19:20 --- FX, Your patch solved the problem for me. AFAICS, this patch is indeed the correct fix for this problem. Please apply it to (at least) 4.1 and trunk. It might be appropriate for the 4.0 branch, too. --

[Bug c++/20207] null constructor not needed in multiple inheritance

2005-11-29 Thread reichelt at gcc dot gnu dot org
--- Comment #5 from reichelt at gcc dot gnu dot org 2005-11-29 20:33 --- This is not a bug in GCC. The code is invalid. Let's consider the following simplified example which is just a part of the diamond: A0 | A / B == struct A0 { A0(int); };

[Bug c/25161] New: Internal compiler error (segfault) instead of error message

2005-11-29 Thread gccbug at zevv dot nl
GCC version : 4.0.2 Complete C file : int a; char buf[(int)a]; command line : gcc-4.0 -c file.c Error message : t.c:3: internal compiler error: Segmentation fault Please submit a full bug report, with preprocessed source if appropriate. See

[Bug c++/25156] [3.4/4.0/4.1 Regression] wrong error message (int instead of bool)

2005-11-29 Thread gdr at gcc dot gnu dot org
--- Comment #5 from gdr at gcc dot gnu dot org 2005-11-29 20:37 --- (In reply to comment #4) | instead of the FUNCTION_TYPE's type which has the correct type, I might fix | this later tonight. Try this this patch is incomplete. -- gdr at gcc dot gnu dot org changed:

[Bug other/25157] [4.2 Regression] /libdecnumber/decContext.h:43:49: stdint.h: No such file or directory

2005-11-29 Thread pinskia at gcc dot gnu dot org
--- Comment #1 from pinskia at gcc dot gnu dot org 2005-11-29 20:41 --- The patch here: http://gcc.gnu.org/ml/gcc-patches/2005-11/msg02046.html Should fix it (but I have no warranties). -- pinskia at gcc dot gnu dot org changed: What|Removed

[Bug libstdc++/25025] Failure to build, command line:1:2: error: missing '(' after predicate

2005-11-29 Thread pda at freeshell dot org
--- Comment #4 from pda at freeshell dot org 2005-11-29 20:41 --- Subject: Re: Failure to build, command line:1:2: error: missing '(' after predicate On Sun, Nov 27, 2005 at 06:57:05PM -, danglin at gcc dot gnu dot org wrote: The -Aa option is likely the problem. It's probably

[Bug middle-end/25158] FAIL: gcc.c-torture/execute/builtins/fprintf.c compilation

2005-11-29 Thread pinskia at gcc dot gnu dot org
--- Comment #1 from pinskia at gcc dot gnu dot org 2005-11-29 20:44 --- I would assume this was caused by the patch which fixed PR 25022. -- pinskia at gcc dot gnu dot org changed: What|Removed |Added

[Bug other/25157] [4.2 Regression] /libdecnumber/decContext.h:43:49: stdint.h: No such file or directory

2005-11-29 Thread andreast at gcc dot gnu dot org
--- Comment #2 from andreast at gcc dot gnu dot org 2005-11-29 20:45 --- Compilation succeeded on sparc-solaris8 this morning, just after bje ci'ed I had to use the same patch. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=25157

[Bug libgomp/25162] New: Issue with OpenMP COPYIN and gfortran

2005-11-29 Thread magnus_os at yahoo dot se
export OMP_NUM_THREADS=2 gfortran-gomp -v Using built-in specs. Target: i686-pc-linux-gnu Configured with: ../gcc/configure --prefix=/usr/local/gomp --program-suffix=-gomp --enable-threads=posix --enable-languages=c,c++,fortran Thread model: posix gcc version 4.2.0-gomp-20050608-branch 20051126

[Bug c++/25163] New: [3.4 Regression] g++.dg/abi/vtt1.C failure with -funit-at-a-time

2005-11-29 Thread reichelt at gcc dot gnu dot org
The test g++.dg/abi/vtt1.C is failing with -funit-at-a-time (or optimization -O or higher since this enables -funit-at-a-time by default). GCC 4.x.y doesn't seem to be affected. Since this behaviour can be triggered with just -O2 I rate this as a regression (although -funit-at-a-time was

[Bug c++/25163] [3.4 Regression] g++.dg/abi/vtt1.C failure with -funit-at-a-time

2005-11-29 Thread reichelt at gcc dot gnu dot org
--- Comment #1 from reichelt at gcc dot gnu dot org 2005-11-29 20:53 --- The test g++.dg/abi/vtt1.C is failing with -funit-at-a-time (or optimization -O or higher since this enables -funit-at-a-time Sorry, this should read -O2 instead of just -O. --

[Bug c/25161] [4.0/4.1/4.2 Regression] Internal compiler error (segfault) instead of error message

2005-11-29 Thread pinskia at gcc dot gnu dot org
--- Comment #1 from pinskia at gcc dot gnu dot org 2005-11-29 20:57 --- Confirmed. -- pinskia at gcc dot gnu dot org changed: What|Removed |Added CC|

[Bug libstdc++/25025] Failure to build, command line:1:2: error: missing '(' after predicate

2005-11-29 Thread pda at freeshell dot org
--- Comment #5 from pda at freeshell dot org 2005-11-29 21:03 --- Subject: Re: Failure to build, command line:1:2: error: missing '(' after predicate On Fri, Nov 25, 2005 at 08:27:34PM -, pinskia at gcc dot gnu dot org wrote: How did you configure GCC? From using google it

[Bug java/18278] JNI functions cannot return a weak reference

2005-11-29 Thread tromey at gcc dot gnu dot org
--- Comment #10 from tromey at gcc dot gnu dot org 2005-11-29 21:14 --- Fix checked in. -- tromey at gcc dot gnu dot org changed: What|Removed |Added

[Bug middle-end/25158] FAIL: gcc.c-torture/execute/builtins/fprintf.c compilation

2005-11-29 Thread ghazi at gcc dot gnu dot org
--- Comment #2 from ghazi at gcc dot gnu dot org 2005-11-29 21:46 --- Hmm this is convoluted, but I think I know what's going on: We're running the builtin fprintf check. I recently added a small sanity check to ensure that fprintf_unlocked also works. Now we're getting an unresolved

[Bug libstdc++/25025] Failure to build, command line:1:2: error: missing '(' after predicate

2005-11-29 Thread dave at hiauly1 dot hia dot nrc dot ca
--- Comment #6 from dave at hiauly1 dot hia dot nrc dot ca 2005-11-29 22:00 --- Subject: Re: Failure to build, command line:1:2: error: missing '(' after predicate On Sun, Nov 27, 2005 at 06:57:05PM -, danglin at gcc dot gnu dot org wrote: The -Aa option is likely the

[Bug java/24698] [4.1/4.2 regression] Failure locating .properties files inside jars

2005-11-29 Thread tromey at gcc dot gnu dot org
--- Comment #6 from tromey at gcc dot gnu dot org 2005-11-29 22:37 --- I tried the included test case with current svn head. I had to add '.' to classpath, then it worked for me: opsy. CLASSPATH=test.jar:. gij test1 Microsoft is crap Compiling as in comment #4 also worked fine. I

[Bug c++/24173] [4.0/4.1/4.2 regression] ICE with garbage collection

2005-11-29 Thread pinskia at gcc dot gnu dot org
--- Comment #6 from pinskia at gcc dot gnu dot org 2005-11-29 23:08 --- Shorter testcase: template typename T struct F; template typename T FT operator(FT, const char*); templatetypename T struct F { friend F operator (F, const char*); }; typedef Fchar F1; templatetypename struct X;

[Bug c++/25163] [3.4 Regression] g++.dg/abi/vtt1.C failure with -funit-at-a-time

2005-11-29 Thread gdr at integrable-solutions dot net
--- Comment #2 from gdr at integrable-solutions dot net 2005-11-29 23:20 --- Subject: Re: New: [3.4 Regression] g++.dg/abi/vtt1.C failure with -funit-at-a-time reichelt at gcc dot gnu dot org [EMAIL PROTECTED] writes: | The test g++.dg/abi/vtt1.C is failing with -funit-at-a-time |

[Bug preprocessor/15772] Permission denied compiling glibc 2.3.3 on reiser4: EACCES fatal to #include

2005-11-29 Thread pinskia at gcc dot gnu dot org
--- Comment #10 from pinskia at gcc dot gnu dot org 2005-11-29 23:23 --- (In reply to comment #1) This is a duplicate of 11242 which was (incorrectly) closed. http://gcc.gnu.org/bugzilla/show_bug.cgi?id=11242 That is because it was not reported against mingw32 but a GNU/Linux OS.

[Bug target/25166] New: FAIL: gcc.c-torture/execute/conversion.c compilation

2005-11-29 Thread danglin at gcc dot gnu dot org
Executing on host: /mnt/gnu/gcc-3.3/objdir/gcc/xgcc -B/mnt/gnu/gcc-3.3/objdir/gc c/ /mnt/gnu/gcc-3.3/gcc/gcc/testsuite/gcc.c-torture/execute/conversion.c -w -O 0 -fno-show-column -lm -o /mnt/gnu/gcc-3.3/objdir/gcc/testsuite/conversion.x 0(timeout = 300) /usr/bin/ld: Unsatisfied symbols:

[Bug preprocessor/15772] Preprocessing fails if an inaccessible directory is on include path

2005-11-29 Thread ed at catmur dot co dot uk
--- Comment #11 from ed at catmur dot co dot uk 2005-11-29 23:55 --- This is not invalid. Yes, reiser4 is broken, but so is gcc. gcc (3.4.4, I haven't used 4.x yet) dies when it encounters an inaccessible directory as a subdirectory of a member of the include path. See comment 6. --

[Bug middle-end/24827] FAIL: gcc.dg/attr-weakref-1.c

2005-11-29 Thread danglin at gcc dot gnu dot org
--- Comment #7 from danglin at gcc dot gnu dot org 2005-11-29 23:55 --- The same errors occur on hppa2.0w-hp-hpux11.11 except that ld also dumps core: collect2: ld terminated with signal 10 [Bus error], core dumped /usr/bin/ld: Unsatisfied symbols: wf1 (first referenced in

[Bug target/25166] FAIL: gcc.c-torture/execute/conversion.c compilation

2005-11-29 Thread danglin at gcc dot gnu dot org
--- Comment #1 from danglin at gcc dot gnu dot org 2005-11-29 23:58 --- The same error also causes the failure of gcc.dg/torture/fp-int-convert-long-double.c: Executing on host: /mnt/gnu/gcc-3.3/objdir/gcc/xgcc -B/mnt/gnu/gcc-3.3/objdir/gc c/

[Bug target/25166] FAIL: gcc.c-torture/execute/conversion.c compilation

2005-11-29 Thread danglin at gcc dot gnu dot org
--- Comment #2 from danglin at gcc dot gnu dot org 2005-11-30 00:00 --- And gcc.dg/torture/fp-int-convert-timode.c. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=25166

[Bug target/25166] [4.2 Regression] FAIL: gcc.c-torture/execute/conversion.c compilation

2005-11-29 Thread pinskia at gcc dot gnu dot org
--- Comment #3 from pinskia at gcc dot gnu dot org 2005-11-30 00:00 --- This is a regression. -- pinskia at gcc dot gnu dot org changed: What|Removed |Added

[Bug testsuite/25167] New: FAIL: gcc.dg/weak/weak-14.c

2005-11-29 Thread danglin at gcc dot gnu dot org
Executing on host: /mnt/gnu/gcc-3.3/objdir/gcc/xgcc -B/mnt/gnu/gcc-3.3/objdir/gc c/ /mnt/gnu/gcc-3.3/gcc/gcc/testsuite/gcc.dg/weak/weak-14.c -O2 -fno-common -f no-show-column -lm -o ./weak-14.exe(timeout = 300) /mnt/gnu/gcc-3.3/gcc/gcc/testsuite/gcc.dg/weak/weak-14.c:20: error: alias

[Bug target/25168] New: FAIL: g++.old-deja/g++.abi/cxa_vec.C execution test

2005-11-29 Thread danglin at gcc dot gnu dot org
Executing on host: /mnt/gnu/gcc-3.3/objdir/gcc/testsuite/../g++ -B/mnt/gnu/gcc-3 .3/objdir/gcc/testsuite/../ /mnt/gnu/gcc-3.3/gcc/gcc/testsuite/g++.old-deja/g++. abi/cxa_vec.C -nostdinc++ -I/mnt/gnu/gcc-3.3/objdir/hppa2.0w-hp-hpux11.11/libst dc++-v3/include/hppa2.0w-hp-hpux11.11

[Bug testsuite/25167] FAIL: gcc.dg/weak/weak-14.c

2005-11-29 Thread joseph at codesourcery dot com
--- Comment #1 from joseph at codesourcery dot com 2005-11-30 00:34 --- Subject: Re: New: FAIL: gcc.dg/weak/weak-14.c Isn't this just bug 24478? -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=25167

[Bug target/25166] [4.2 Regression] FAIL: gcc.c-torture/execute/conversion.c compilation

2005-11-29 Thread joseph at codesourcery dot com
--- Comment #4 from joseph at codesourcery dot com 2005-11-30 00:35 --- Subject: Re: New: FAIL: gcc.c-torture/execute/conversion.c compilation As explained in bug 24998, I can't test on PA at present but the fix is probably similar to that for IA64. --

[Bug c/25169] New: [4.0 regression] tree checking failures in gcc.dg/20040203-1.c, cast-1.c, cast-2.c, cast-3.c

2005-11-29 Thread ghazi at gcc dot gnu dot org
On i686-unknown-linux-gnu with the 4.0.x branch, I'm getting tree checking failures in gcc.dg/20040203-1.c, cast-1.c, cast-2.c, cast-3.c. From the logfile, the errors in 20040203-1.c are of this form: 20040203-1.c:17: internal compiler error: tree check: expected class 'constant', have 'unary'

[Bug c/25169] [4.0 regression] tree checking failures in gcc.dg/20040203-1.c, cast-1.c, cast-2.c, cast-3.c

2005-11-29 Thread ghazi at gcc dot gnu dot org
--- Comment #1 from ghazi at gcc dot gnu dot org 2005-11-30 00:44 --- Based on the date it started failing, I'm guessing it was this patch that triggered it: 2005-11-07 Paolo Bonzini [EMAIL PROTECTED] PR c/24599 * c-typeck.c (build_c_cast): Try using a shared

[Bug middle-end/25140] aliases, including weakref, break alias analysis

2005-11-29 Thread geoffk at geoffk dot org
--- Comment #5 from geoffk at geoffk dot org 2005-11-30 01:01 --- Subject: Re: aliases, including weakref, break alias analysis On 29/11/2005, at 5:55 AM, aoliva at gcc dot gnu dot org wrote: Make it a weak alias, then. A weak alias is still an alias and still not supported by

[Bug c/25170] New: Erroneous error message for simple macro

2005-11-29 Thread jw203198 at hotmail dot com
Here is the test code: typedef struct { int ele; } tstruct; #define TST(r,t) r##t = 1 void test() { tstruct ts; TST(ts,.ele); } It generates the error: error: pasting ts and . does not give a valid preprocessing token In previous

[Bug fortran/25171] New: FAIL: gfortran.dg/mixed_io_1.f90

2005-11-29 Thread danglin at gcc dot gnu dot org
Executing on host: /mnt/gnu/gcc-3.3/objdir/gcc/testsuite/../gfortran -B/mnt/gnu/ gcc-3.3/objdir/gcc/testsuite/../ /mnt/gnu/gcc-3.3/gcc/gcc/testsuite/gfortran.dg/ mixed_io_1.f90 -O0 -pedantic-errors /mnt/gnu/gcc-3.3/gcc/gcc/testsuite/gfor tran.dg/mixed_io_1.c

[Bug fortran/25172] New: FAIL: gfortran.dg/module_equivalence_1.f90

2005-11-29 Thread danglin at gcc dot gnu dot org
Executing on host: /mnt/gnu/gcc-3.3/objdir/gcc/testsuite/../gfortran -B/mnt/gnu/ gcc-3.3/objdir/gcc/testsuite/../ /mnt/gnu/gcc-3.3/gcc/gcc/testsuite/gfortran.dg/ module_equivalence_1.f90 -O0 -pedantic-errors -L/mnt/gnu/gcc-3.3/objdir/hpp a2.0w-hp-hpux11.11/./libgfortran/.libs

[Bug c/25173] New: gcc outputs unnecessary warnings

2005-11-29 Thread jw203198 at hotmail dot com
I refer to the very frequent warnings about signed/unsigned mismatches. Can I please say this: What does it matter if the signedness of pointers don't match? Surely it only *really* matters when a pointer is actually dereferenced. That is the only time when signedness really matters. The rest

[Bug c/25170] Erroneous error message for simple macro

2005-11-29 Thread pinskia at gcc dot gnu dot org
--- Comment #1 from pinskia at gcc dot gnu dot org 2005-11-30 01:33 --- This has been an error since 3.0.x. And it is an error in your code. *** This bug has been marked as a duplicate of 7976 *** -- pinskia at gcc dot gnu dot org changed: What|Removed

[Bug preprocessor/7976] pasting xxx and xxx does not give a valid preprocessing token

2005-11-29 Thread pinskia at gcc dot gnu dot org
--- Comment #19 from pinskia at gcc dot gnu dot org 2005-11-30 01:33 --- *** Bug 25170 has been marked as a duplicate of this bug. *** -- pinskia at gcc dot gnu dot org changed: What|Removed |Added

[Bug c/25173] gcc outputs unnecessary warnings

2005-11-29 Thread pinskia at gcc dot gnu dot org
--- Comment #1 from pinskia at gcc dot gnu dot org 2005-11-30 01:36 --- Because the code is really invalid C. that is: int *a; unsigned int *f(void) { return a; } Is invalid C. We used to just output a warning with -pedantic but now the warning is always on unless you add

[Bug fortran/25174] New: gfortran ignores explicit return type for functions

2005-11-29 Thread albertm at uphs dot upenn dot edu
gfortran seems to ignore explicit return types of functions. Example follows: -bug.for PROGRAM BUG external real function Mfunc real*4 X,Y X = Xfunc() Y = Mfunc() write(6,*) X,Y stop end

  1   2   >