[Bug target/24323] _MM_TRANSPOSE4_PS could be improved

2005-11-29 Thread echristo at apple dot com
--- Comment #2 from echristo at apple dot com 2005-11-30 06:29 --- Patch committed. -- echristo at apple dot com changed: What|Removed |Added Status|ASSIGNED

[Bug testsuite/25177] New: gcc.target/powerpc/pr18096-1.c fails on PPC

2005-11-29 Thread pinskia at gcc dot gnu dot org
gcc.target/powerpc/pr18096-1.c has not been updated for the changing of the stack overflowing from a warning to an error. I don't have access to ppc-darwin to test a fix which is why I am filing a bug. -- Summary: gcc.target/powerpc/pr18096-1.c fails on PPC Product: gcc

[Bug c/25175] Meaningless pre-processor lineno comments inserted

2005-11-29 Thread jw203198 at hotmail dot com
--- Comment #10 from jw203198 at hotmail dot com 2005-11-30 04:16 --- > > If you use -E -H -g -fno-working-directory, you will not see the directory > name. Thanks, I can use that. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=25175

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

2005-11-29 Thread joseph at codesourcery dot com
--- Comment #6 from joseph at codesourcery dot com 2005-11-30 04:14 --- Subject: Re: [4.2 Regression] FAIL: gcc.c-torture/execute/conversion.c compilation On Wed, 30 Nov 2005, dave at hiauly1 dot hia dot nrc dot ca wrote: > I'm testing a fix for the current reload problems on the PA.

[Bug c/25175] Meaningless pre-processor lineno comments inserted

2005-11-29 Thread ian at airs dot com
--- Comment #9 from ian at airs dot com 2005-11-30 04:06 --- This is documented behaviour. The -g option enables the -fworking-directory option, as described in the documentation of -fworking-directory. It is the -fworking-directory option which is printing the directory name. If you

[Bug c/25175] Meaningless pre-processor lineno comments inserted

2005-11-29 Thread jw203198 at hotmail dot com
--- Comment #8 from jw203198 at hotmail dot com 2005-11-30 03:52 --- (In reply to comment #7) > (In reply to comment #6) > > > Your orginal example does not show a difference for -H at all. > Wait a minute, -E outputs the preprocessed source. -H outputs the files which > are included.

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

2005-11-29 Thread dave at hiauly1 dot hia dot nrc dot ca
--- Comment #5 from dave at hiauly1 dot hia dot nrc dot ca 2005-11-30 03:51 --- Subject: Re: [4.2 Regression] 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. I'm testi

[Bug c/25175] Meaningless pre-processor lineno comments inserted

2005-11-29 Thread pinskia at gcc dot gnu dot org
--- Comment #7 from pinskia at gcc dot gnu dot org 2005-11-30 03:42 --- (In reply to comment #6) > > Your orginal example does not show a difference for -H at all. Wait a minute, -E outputs the preprocessed source. -H outputs the files which are included. Again this is not a bug. -

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

2005-11-29 Thread dave at hiauly1 dot hia dot nrc dot ca
--- Comment #2 from dave at hiauly1 dot hia dot nrc dot ca 2005-11-30 03:38 --- Subject: Re: FAIL: gcc.dg/weak/weak-14.c > Isn't this just bug 24478? Yes. However, 24478 didn't have any host/target/build and I didn't see it. Dave -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=

[Bug c/25175] Meaningless pre-processor lineno comments inserted

2005-11-29 Thread jw203198 at hotmail dot com
--- Comment #6 from jw203198 at hotmail dot com 2005-11-30 03:37 --- > Your orginal example does not show a difference for -H at all. Does for me: pc:~/work/stats $ cc -E -H x.c # 1 "x.c" # 1 "" # 1 "" # 1 "x.c" main(){} and: pc:~/work/stats $ cc -E -H -g

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

2005-11-29 Thread dave at hiauly1 dot hia dot nrc dot ca
--- Comment #2 from dave at hiauly1 dot hia dot nrc dot ca 2005-11-30 03:32 --- Subject: Re: FAIL: gfortran.dg/module_equivalence_1.f90 > This is obvious an issue, this is what I get on x86_64-linux-gnu: > .comm test_equiv.eq.1_,16,16 > .comm test_equiv.eq.1_,16,16

[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
-- ghazi at gcc dot gnu dot org changed: What|Removed |Added Target Milestone|--- |4.0.3 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=25169

Re: long function name

2005-11-29 Thread Jim Wilson
Kornel wrote: g++ crashes for a very long function name ;) Bugs should be filed into bugzilla, rather than mailed to the gcc-bugs list. We won't track bugs mailed to the list. I took a quick look. I couldn't reproduce on my system. However, it occured to me that gcc is probably trying to

[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
-- ghazi at gcc dot gnu dot org changed: What|Removed |Added URL||http://gcc.gnu.org/ml/gcc- |

[Bug c/25173] gcc outputs unnecessary warnings

2005-11-29 Thread pinskia at gcc dot gnu dot org
--- Comment #5 from pinskia at gcc dot gnu dot org 2005-11-30 03:08 --- (In reply to comment #4) > Don't you think that forcing people to cast pointers is much much more > dangerous than allowing simple equivalence of pointers when they aren't even > being derefenced? No. Read my comme

[Bug c/25175] Meaningless pre-processor lineno comments inserted

2005-11-29 Thread pinskia at gcc dot gnu dot org
--- Comment #5 from pinskia at gcc dot gnu dot org 2005-11-30 03:06 --- (In reply to comment #4) > > Can you show where -H will give you the CWD? > Use my original example and add -H. Your orginal example does not show a difference for -H at all. pc64:~> gcc -H t.c -g pc64:~> gcc -H t.c

[Bug c/25175] Meaningless pre-processor lineno comments inserted

2005-11-29 Thread jw203198 at hotmail dot com
--- Comment #4 from jw203198 at hotmail dot com 2005-11-30 02:55 --- > Can you show where -H will give you the CWD? Use my original example and add -H. I *never* had "-save-temps" in my example so I don't understand why you are corrupting my example so. And I *never* used a -S flag ei

[Bug fortran/25109] formatted reads with embedded blanks in input fields

2005-11-29 Thread jvdelisle at gcc dot gnu dot org
--- Comment #7 from jvdelisle at gcc dot gnu dot org 2005-11-30 02:53 --- Subject: Bug 25109 Author: jvdelisle Date: Wed Nov 30 02:53:18 2005 New Revision: 107699 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=107699 Log: 2005-11-29 Jerry DeLisle <[EMAIL PROTECTED]>

[Bug c/25173] gcc outputs unnecessary warnings

2005-11-29 Thread jw203198 at hotmail dot com
--- Comment #4 from jw203198 at hotmail dot com 2005-11-30 02:52 --- Don't you think that forcing people to cast pointers is much much more dangerous than allowing simple equivalence of pointers when they aren't even being derefenced? What about this: struct x *f() { return ptr;}

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

2005-11-29 Thread pinskia at gcc dot gnu dot org
--- Comment #1 from pinskia at gcc dot gnu dot org 2005-11-30 02:32 --- This is obvious an issue, this is what I get on x86_64-linux-gnu: .comm test_equiv.eq.1_,16,16 .comm test_equiv.eq.1_,16,16 .comm test_equiv.eq.1_,16,16 Though one could say that this i

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

2005-11-29 Thread pinskia at gcc dot gnu dot org
--- Comment #1 from pinskia at gcc dot gnu dot org 2005-11-30 02:29 --- Hmm, I really want to say this is a bug with respect of -WSystem-headers (or what ever the spelling for that option is) as -pedantic-errors should not warn/error for system headers. It might also be a driver issue t

[Bug target/25176] FAIL: Array_3 -O3 execution - bytecode->native test

2005-11-29 Thread pinskia at gcc dot gnu dot org
--- Comment #1 from pinskia at gcc dot gnu dot org 2005-11-30 02:26 --- Confirmed, also happens on ppc-darwin. (Note this is most likely on other targets too, there is a bug about x86_64 and this IIRC to get libuwind to pass its tests). -- pinskia at gcc dot gnu dot org changed:

[Bug c/25175] Meaningless pre-processor lineno comments inserted

2005-11-29 Thread pinskia at gcc dot gnu dot org
--- Comment #3 from pinskia at gcc dot gnu dot org 2005-11-30 02:24 --- (In reply to comment #2) > That is rather unfortunate. > Because if you use the -H option then you will get different output depending > on whether you use "-g" or not. So while you might be helping the > "-save-tem

[Bug c/25175] Meaningless pre-processor lineno comments inserted

2005-11-29 Thread jw203198 at hotmail dot com
--- Comment #2 from jw203198 at hotmail dot com 2005-11-30 02:18 --- (In reply to comment #1) > The current directory is outputted so that when compiling with -save-temps -g > is no different from -g. The double // is not really a problem at all. > That is rather unfortunate. Because

[Bug target/25176] New: FAIL: Array_3 -O3 execution - bytecode->native test

2005-11-29 Thread amodra at bigpond dot net dot au
libjava/testsuite/libjava.lang/Array_3.java has failed on powerpc64-linux for quite a while. See http://gcc.gnu.org/ml/gcc-testresults/2005-03/msg01215.html. The problem is that in static int baz () { int[] x = (int[])null; int nn = x.length; return 5; } ... try {

[Bug c/25175] Meaningless pre-processor lineno comments inserted

2005-11-29 Thread pinskia at gcc dot gnu dot org
--- Comment #1 from pinskia at gcc dot gnu dot org 2005-11-30 02:14 --- The current directory is outputted so that when compiling with -save-temps -g is no different from -g. The double // is not really a problem at all. -- pinskia at gcc dot gnu dot org changed: What

[Bug c/25173] gcc outputs unnecessary warnings

2005-11-29 Thread pinskia at gcc dot gnu dot org
--- Comment #3 from pinskia at gcc dot gnu dot org 2005-11-30 02:13 --- (In reply to comment #2) > But surely that example isn't evidence of a problem. yes it is, since it is invalid code, I repeat it is invalid code. How many more times do I need to repeat that? Just add a cast to ge

[Bug c/25175] New: Meaningless pre-processor lineno comments inserted

2005-11-29 Thread jw203198 at hotmail dot com
Create this file, x.c: main(){} Then pre-process with, "cc -E -g x.c" (the -g is significant). The output will contain a line such as: # 1 "/home/me/testdir//" This seems to be at odds with all other such annotations. Why is the current directory output? And why the double /? --

[Bug fortran/25109] formatted reads with embedded blanks in input fields

2005-11-29 Thread jvdelisle at gcc dot gnu dot org
--- Comment #6 from jvdelisle at gcc dot gnu dot org 2005-11-30 02:09 --- Subject: Bug 25109 Author: jvdelisle Date: Wed Nov 30 02:09:13 2005 New Revision: 107697 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=107697 Log: 2005-11-29 Jerry DeLisle <[EMAIL PROTECTED]>

[Bug c/25173] gcc outputs unnecessary warnings

2005-11-29 Thread jw203198 at hotmail dot com
--- Comment #2 from jw203198 at hotmail dot com 2005-11-30 02:07 --- But surely that example isn't evidence of a problem. Because if somebody codes: int *p = f(); does it really matter what the signedness of f()'s return value is? The caller has a pointer which is most definitely

[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

[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 -Wno-pointe

[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/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 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 o

[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 -L/mnt/gnu/gcc-3.

[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 -L/mnt/gnu/gcc-3.3/objdir/hppa2.0w

[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 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 Mac

[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 consta

[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' (n

[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. -- http://gcc.gnu.org/bugzil

[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/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 -I/mnt/gnu/gcc-3.3

[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 defin

[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 Su

[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] 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/ /mnt/gnu/gcc-3.3/gcc/gcc/testsuite/gcc.dg/tor

[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 /var/tmp//

[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 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] "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. A

[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-t

[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 struct F; template F &operator<<(F&, const char*); template struct F { friend F& operator<< <>(F&, const char*); }; typedef F F1; template struct X; typedef X X2; F1& operator<< (F1&, c

[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 also

[Bug libstdc++/25025] Failure to build, :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, :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'

[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 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 Status|A

[Bug libstdc++/25025] Failure to build, :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, :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 sounds like you

[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 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". -- http://gcc.gnu.or

[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 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 (e

[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 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 libstdc++/25025] Failure to build, :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, :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 set in > CF

[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 |Adde

[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 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 http://gcc.gnu.org/bugs.html>

[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); }; struc

[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 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
-linux-gnuspe/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

[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". template struct Dummy; void dummy();

[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=gcc&view=rev&rev=107677 Log: gcc/java: PR java/18278: * expr.c (build_jni_st

[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 200

[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 = (/ 1,

[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 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 su

[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=gcc&view=rev&rev=107676 Log: gcc/java: PR java/18278: * expr.c (build_jni_st

[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 d

[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/ gnu/gcc-3.3/gcc/gcc/testsuite/gcc.

[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 / mnt/gnu/gcc-3.3/gcc/gcc/testsuite

[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 -Wmissing-format-attribu

[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 RESUL

[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 co

[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 RESUL

[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 thi

[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 wron

[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 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 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 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 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 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. -- http://gcc.gnu.org/bugzilla/show_b

[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 type

[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] 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: P

[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 #undef _REENTRANT #ifdef GCC_BUGFIX #define _REENTRANT 1 #endif The drawback of this

[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 e

[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

  1   2   >