[Bug c++/27258] New: ostrstream objects and static variables cause segmentation fault

2006-04-21 Thread tim at yeung dot com
The follow code (build script also included) causes segmentation fault. Problem occurs with g++ 3.4.4 and 3.4.5 on RHEL V4 U2 (x86). Thanks. // build script *** g++ -c staticTestMain.C g++ -Wno-deprecated -c staticTestA.C g++ -o staticTest staticTestA.o staticTestMain.o

[Bug c++/27257] New: Error integer compare in g++ 4.1.0

2006-04-21 Thread johnzhang at tencent dot com
0X8000 - 10 < 0 and 10 - 0X8000 < 0 gcc version 3.3.4 gets a right result of comparing between 10 and 0X8000, but gcc version 4.1.0 fails. the test code followed: #include int main() { int b = 0X8000; if ((10 - b) < 0) { printf("(10 - b) =

[Bug fortran/26106] [meta-bug] Gfortran can't compile tonto

2006-04-21 Thread jvdelisle at gcc dot gnu dot org
--- Comment #21 from jvdelisle at gcc dot gnu dot org 2006-04-22 04:48 --- I am able to compile with -g OK. Not sure what I was seeing the other night. Here is a backtrace where I see a segfault: (gdb) bt #0 0x082c1c15 in __atom_module__n_bf ([EMAIL PROTECTED]) at f95files/atom.F90:

[Bug libstdc++/27256] New: gcc 4.1.0 compilation fails on RHEL AS 3 (x86_64)

2006-04-21 Thread st-wong at cuhk dot edu dot hk
Gcc version: 4.1.0 System type: RedHat Enterprise Linux AS 3.0 (x86_64) on Sun v20z (2 x AMD Operaton 252) configure options: ./configure --enable-languages="c,c++,fortran" Command line triggers the bug: make Error output: --- cut here - [snip] /usr/local/src/

[Bug c++/27255] Including C++ header declares C functions

2006-04-21 Thread trentgamblin at hotmail dot com
--- Comment #2 from trentgamblin at hotmail dot com 2006-04-22 03:23 --- Subject: RE: Including C++ header declares C functions >Two things, first this is a dup of PR 6257 (which is one of the most report >bugs and that means is on http://gcc.gnu.org/bugzilla/duplicates.cgi, >please

[Bug libstdc++/6257] C-library symbols enter global namespace

2006-04-21 Thread pinskia at gcc dot gnu dot org
--- Comment #23 from pinskia at gcc dot gnu dot org 2006-04-22 02:09 --- *** Bug 27255 has been marked as a duplicate of this bug. *** -- pinskia at gcc dot gnu dot org changed: What|Removed |Added -

[Bug c++/27255] Including C++ header declares C functions

2006-04-21 Thread pinskia at gcc dot gnu dot org
--- Comment #1 from pinskia at gcc dot gnu dot org 2006-04-22 02:09 --- Two things, first this is a dup of PR 6257 (which is one of the most report bugs and that means is on http://gcc.gnu.org/bugzilla/duplicates.cgi, please next time read that list). Second, this might become valid to

[Bug c++/27255] New: Including C++ header declares C functions

2006-04-21 Thread trentgamblin at hotmail dot com
Including any C++ header puts all C functions in the global namespace. This code compiles and runs without errors or warnings: #include int main(void) { printf("test\n"); } -- Summary: Including C++ header declares C functions Product: gcc Version: 4.1.0

[Bug target/27237] gcc driver should pass -mthumb option to arm assembler

2006-04-21 Thread mf dot danger at gmail dot com
--- Comment #14 from mf dot danger at gmail dot com 2006-04-22 01:51 --- I doubt there is anyone anywhere who would be able to devine that "various" meant this subset of the processes and not that. Further, the sentence that describes the use of '-W' specifically says "other options t

[Bug bootstrap/27251] [4.2 Regression] undefined reference to `vec_assert_fail' with --disable-checking

2006-04-21 Thread pinskia at gcc dot gnu dot org
-- pinskia at gcc dot gnu dot org changed: What|Removed |Added Severity|normal |blocker Keywords||build

[Bug target/27237] gcc driver should pass -mthumb option to arm assembler

2006-04-21 Thread pinskia at gcc dot gnu dot org
--- Comment #13 from pinskia at gcc dot gnu dot org 2006-04-22 01:20 --- Says various and not all and it means not to the assembler. just to cc1 and cc1plus. -- pinskia at gcc dot gnu dot org changed: What|Removed |Added --

[Bug target/27253] [4.1/4.2 regression]: Gcc -m64 -m32 passes --32 --64 to assembler

2006-04-21 Thread jvdelisle at gcc dot gnu dot org
--- Comment #2 from jvdelisle at gcc dot gnu dot org 2006-04-22 01:17 --- Ignore this comment. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27253

[Bug target/27237] gcc driver should pass -mthumb option to arm assembler

2006-04-21 Thread mf dot danger at gmail dot com
--- Comment #12 from mf dot danger at gmail dot com 2006-04-22 01:16 --- actually, gcc itself says so: printf (_("\ \nOptions starting with -g, -f, -m, -O, -W, or --param are automatically\n\ passed on to the various sub-processes invoked by %s. In order to pass\n\ other options o

[Bug target/26885] [4.1/4.2 regression] -m64 -m32 no longer creates 32-bit object

2006-04-21 Thread pinskia at physics dot uc dot edu
--- Comment #5 from pinskia at physics dot uc dot edu 2006-04-22 01:16 --- Lets try this. (just a test). -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=26885

[Bug c++/27235] goto crossing P.O.D. initialization

2006-04-21 Thread pinskia at gcc dot gnu dot org
--- Comment #4 from pinskia at gcc dot gnu dot org 2006-04-22 01:12 --- What exactly do you want, no error unless you supply -std=c++98 -pedantic. that is not going to change sorry. -- pinskia at gcc dot gnu dot org changed: What|Removed |Added --

[Bug c++/27235] goto crossing P.O.D. initialization

2006-04-21 Thread acahalan at gmail dot com
--- Comment #3 from acahalan at gmail dot com 2006-04-22 01:03 --- I saw it on Fedora Core 5, which I believe is gcc 4.1, and I saw it on a gcc which describes itself as: gcc version 4.0.3 (Debian 4.0.3-1) So that is two rather different gcc versions. One is x86-64, the other is 32-bit

[Bug libgomp/27254] New: FAIL: libgomp.fortran/reduction6.f90

2006-04-21 Thread danglin at gcc dot gnu dot org
Executing on host: /home/dave/gcc-4.2/objdir/gcc/xgcc -B/home/dave/gcc-4.2/objdi r/gcc/ /home/dave/gcc-4.2/gcc/libgomp/testsuite/libgomp.fortran/reduction6.f90 -B/home/dave/gcc-4.2/objdir/hppa-linux/./libgomp/ -I/home/dave/gcc-4.2/objdir/hp pa-linux/./libgomp -I/home/dave/gcc-4.2/gcc/libgomp/testsu

[Bug middle-end/23135] find_reloads_toplev -> find_reloads_subreg_address uses wrong reload type

2006-04-21 Thread dalej at gcc dot gnu dot org
--- Comment #6 from dalej at gcc dot gnu dot org 2006-04-22 00:44 --- Subject: Bug 23135 Author: dalej Date: Sat Apr 22 00:44:01 2006 New Revision: 113164 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=113164 Log: 2005-04-21 Dale Johannesen <[EMAIL PROTECTED]> Radar 45

[Bug target/27253] [4.1/4.2 regression]: Gcc -m64 -m32 passes --32 --64 to assembler

2006-04-21 Thread pinskia at gcc dot gnu dot org
--- Comment #1 from pinskia at gcc dot gnu dot org 2006-04-22 00:43 --- *** This bug has been marked as a duplicate of 26885 *** -- pinskia at gcc dot gnu dot org changed: What|Removed |Added --

[Bug target/26885] [4.1/4.2 regression] -m64 -m32 no longer creates 32-bit object

2006-04-21 Thread pinskia at gcc dot gnu dot org
--- Comment #4 from pinskia at gcc dot gnu dot org 2006-04-22 00:43 --- *** Bug 27253 has been marked as a duplicate of this bug. *** -- pinskia at gcc dot gnu dot org changed: What|Removed |Added ---

[Bug target/27253] New: [4.1/4.2 regression]: Gcc -m64 -m32 passes --32 --64 to assembler

2006-04-21 Thread hjl at lucon dot org
[EMAIL PROTECTED] tmp]$ /usr/gcc-4.2/bin/gcc -m64 -m32 y.s -c -v Using built-in specs. Target: x86_64-unknown-linux-gnu Configured with: /net/gnu-13/export/gnu/src/gcc/gcc/configure --enable-clocale=gnu --with-system-zlib --with-demangler-in-ld --enable-shared --enable-threads=posix --enable-haifa

[Bug c++/27252] Special case for void parameter list differs from C

2006-04-21 Thread pinskia at gcc dot gnu dot org
--- Comment #3 from pinskia at gcc dot gnu dot org 2006-04-22 00:28 --- One more thing is that filing a bug report is not the correct approach to filing a defect report with the standard since there was already a defect which was closed as NAD (not a defect). -- http://gcc.gnu.org/b

[Bug c++/27252] Special case for void parameter list differs from C

2006-04-21 Thread pinskia at gcc dot gnu dot org
--- Comment #2 from pinskia at gcc dot gnu dot org 2006-04-22 00:21 --- http://anubis.dkuug.dk/jtc1/sc22/wg21/docs/cwg_closed.html#18 was the Defect report for the C++ standard already. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27252

[Bug c++/9278] Illegal use of typedef to "void"

2006-04-21 Thread pinskia at gcc dot gnu dot org
--- Comment #20 from pinskia at gcc dot gnu dot org 2006-04-22 00:17 --- *** Bug 27252 has been marked as a duplicate of this bug. *** -- pinskia at gcc dot gnu dot org changed: What|Removed |Added -

[Bug c++/27252] Special case for void parameter list differs from C

2006-04-21 Thread pinskia at gcc dot gnu dot org
--- Comment #1 from pinskia at gcc dot gnu dot org 2006-04-22 00:17 --- This was an undocumented extension. Hint the word is really a bug and not an extension. Maybe something should go to changes.html but that is not really an issue. *** This bug has been marked as a duplicate of 927

[Bug c++/27252] New: Special case for void parameter list differs from C

2006-04-21 Thread ben at decadentplace dot org dot uk
The C++ standard says this about the void parameter list: "The parameter list (void) is equivalent to the empty parameter list." (8.3.5 [dcl.fct] paragraph 2) The C99 standard apparently says something slightly different, though I'm afraid I'm quoting from a draft here: "The special case of an u

[Bug target/27237] gcc driver should pass -mthumb option to arm assembler

2006-04-21 Thread pinskia at gcc dot gnu dot org
--- Comment #11 from pinskia at gcc dot gnu dot org 2006-04-22 00:05 --- (In reply to comment #10) No where it says which option is passed where, and reading -mthumb: Generate code for the 16-bit Thumb instruction set. The default is to use the 32-bit ARM instruction set. Says to gene

[Bug target/27237] gcc driver should pass -mthumb option to arm assembler

2006-04-21 Thread mf dot danger at gmail dot com
--- Comment #10 from mf dot danger at gmail dot com 2006-04-21 23:52 --- Gas is part of binutils, but the driver is part of gcc, and it *is* a violation of the principle of least astonishment to have to pass the same option two different ways through the driver depending on what option

[Bug bootstrap/27251] New: undefined reference to `vec_assert_fail' with --disable-checking

2006-04-21 Thread r_ovidius at eml dot cc
I receive the following when trying to build gcc using --disable-checking. gcc (GCC) 4.2.0 20060421 (experimental) gcc -DIN_GCC -O2 -g0 -DGENERATOR_FILE -s -o build/genextract \ build/genextract.o build/rtl.o build/read-rtl.o build/ggc-none.o build/min-insn-modes.o build/gensupport.o

[Bug objc++/23616] obj-c++.dg/try-catch-[29].mm (objc exceptions are broken) fails with the GNU Runtime

2006-04-21 Thread dave at hiauly1 dot hia dot nrc dot ca
--- Comment #7 from dave at hiauly1 dot hia dot nrc dot ca 2006-04-21 23:49 --- Subject: Re: obj-c++.dg/try-catch-[29].mm (objc exceptions are broken) fails with the GNU Runtime > --- Comment #6 from pinskia at gcc dot gnu dot org 2006-04-21 23:42 > --- > *** Bug 27250 has b

[Bug c/26774] [4.0 Regression] Out of memory compiling 9-line Delta-reduced Linux kernel driver msp3400.c

2006-04-21 Thread pinskia at gcc dot gnu dot org
-- pinskia at gcc dot gnu dot org changed: What|Removed |Added Known to work|3.4.6 |3.4.6 4.1.1 4.2.0 Summary|[4.0/4.1/4.2 Regression] Out|[4.

[Bug c/26774] [4.0/4.1/4.2 Regression] Out of memory compiling 9-line Delta-reduced Linux kernel driver msp3400.c

2006-04-21 Thread carlos at gcc dot gnu dot org
--- Comment #8 from carlos at gcc dot gnu dot org 2006-04-21 23:43 --- Subject: Bug 26774 Author: carlos Date: Fri Apr 21 23:42:43 2006 New Revision: 113155 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=113155 Log: gcc/ 2006-04-21 Carlos O'Donell <[EMAIL PROTECTED]>

[Bug objc++/27250] FAIL: obj-c++.dg/try-catch-9.mm (test for excess errors)

2006-04-21 Thread pinskia at gcc dot gnu dot org
--- Comment #1 from pinskia at gcc dot gnu dot org 2006-04-21 23:42 --- *** This bug has been marked as a duplicate of 23616 *** -- pinskia at gcc dot gnu dot org changed: What|Removed |Added --

[Bug objc++/23616] obj-c++.dg/try-catch-[29].mm (objc exceptions are broken) fails with the GNU Runtime

2006-04-21 Thread pinskia at gcc dot gnu dot org
--- Comment #6 from pinskia at gcc dot gnu dot org 2006-04-21 23:42 --- *** Bug 27250 has been marked as a duplicate of this bug. *** -- pinskia at gcc dot gnu dot org changed: What|Removed |Added ---

[Bug tree-optimization/26797] [4.2 Regression] ACATS c35507m cd2a23e cxh1001 fail

2006-04-21 Thread pinskia at gcc dot gnu dot org
--- Comment #16 from pinskia at gcc dot gnu dot org 2006-04-21 23:41 --- *** Bug 27245 has been marked as a duplicate of this bug. *** -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=26797

[Bug ada/27245] FAIL: cxh1001

2006-04-21 Thread pinskia at gcc dot gnu dot org
--- Comment #1 from pinskia at gcc dot gnu dot org 2006-04-21 23:41 --- *** This bug has been marked as a duplicate of 26797 *** -- pinskia at gcc dot gnu dot org changed: What|Removed |Added --

[Bug tree-optimization/26797] [4.2 Regression] ACATS c35507m cd2a23e cxh1001 fail

2006-04-21 Thread pinskia at gcc dot gnu dot org
--- Comment #15 from pinskia at gcc dot gnu dot org 2006-04-21 23:40 --- *** Bug 27244 has been marked as a duplicate of this bug. *** -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=26797

[Bug objc++/27250] New: FAIL: obj-c++.dg/try-catch-9.mm (test for excess errors)

2006-04-21 Thread danglin at gcc dot gnu dot org
Executing on host: /home/dave/gcc-4.2/objdir/gcc/testsuite/obj-c++/../../g++ -B/ home/dave/gcc-4.2/objdir/gcc/testsuite/obj-c++/../../ /home/dave/gcc-4.2/gcc/gcc /testsuite/obj-c++.dg/try-catch-9.mm -nostdinc++ -I/home/dave/gcc-4.2/objdir/hp pa-linux/libstdc++-v3/include/hppa-linux -I/home/dave/gc

[Bug ada/27244] FAIL: cd2a23e

2006-04-21 Thread pinskia at gcc dot gnu dot org
--- Comment #1 from pinskia at gcc dot gnu dot org 2006-04-21 23:40 --- *** This bug has been marked as a duplicate of 26797 *** -- pinskia at gcc dot gnu dot org changed: What|Removed |Added --

[Bug tree-optimization/26797] [4.2 Regression] ACATS c35507m cd2a23e cxh1001 fail

2006-04-21 Thread pinskia at gcc dot gnu dot org
--- Comment #14 from pinskia at gcc dot gnu dot org 2006-04-21 23:40 --- *** Bug 27242 has been marked as a duplicate of this bug. *** -- pinskia at gcc dot gnu dot org changed: What|Removed |Added -

[Bug ada/27242] FAIL: c35507m

2006-04-21 Thread pinskia at gcc dot gnu dot org
--- Comment #1 from pinskia at gcc dot gnu dot org 2006-04-21 23:40 --- *** This bug has been marked as a duplicate of 26797 *** -- pinskia at gcc dot gnu dot org changed: What|Removed |Added --

[Bug objc++/27232] encode-3.mm fails with "deprecated conversion" warning

2006-04-21 Thread pinskia at gcc dot gnu dot org
--- Comment #1 from pinskia at gcc dot gnu dot org 2006-04-21 23:39 --- *** Bug 27248 has been marked as a duplicate of this bug. *** -- pinskia at gcc dot gnu dot org changed: What|Removed |Added ---

[Bug objc++/27248] FAIL: obj-c++.dg/encode-3.mm (test for excess errors)

2006-04-21 Thread pinskia at gcc dot gnu dot org
--- Comment #1 from pinskia at gcc dot gnu dot org 2006-04-21 23:39 --- *** This bug has been marked as a duplicate of 27232 *** -- pinskia at gcc dot gnu dot org changed: What|Removed |Added --

[Bug objc++/27249] New: FAIL: obj-c++.dg/encode-8.mm execution test

2006-04-21 Thread danglin at gcc dot gnu dot org
Executing on host: /home/dave/gcc-4.2/objdir/gcc/testsuite/obj-c++/../../g++ -B/ home/dave/gcc-4.2/objdir/gcc/testsuite/obj-c++/../../ /home/dave/gcc-4.2/gcc/gcc /testsuite/obj-c++.dg/encode-8.mm -nostdinc++ -I/home/dave/gcc-4.2/objdir/hppa- linux/libstdc++-v3/include/hppa-linux -I/home/dave/gcc-4

[Bug objc++/27248] New: FAIL: obj-c++.dg/encode-3.mm (test for excess errors)

2006-04-21 Thread danglin at gcc dot gnu dot org
Executing on host: /home/dave/gcc-4.2/objdir/gcc/testsuite/obj-c++/../../g++ -B/ home/dave/gcc-4.2/objdir/gcc/testsuite/obj-c++/../../ /home/dave/gcc-4.2/gcc/gcc /testsuite/obj-c++.dg/encode-3.mm -nostdinc++ -I/home/dave/gcc-4.2/objdir/hppa- linux/libstdc++-v3/include/hppa-linux -I/home/dave/gcc-4

[Bug objc++/27247] New: FAIL: obj-c++.dg/cxx-ivars-2.mm execution test

2006-04-21 Thread danglin at gcc dot gnu dot org
Executing on host: /home/dave/gcc-4.2/objdir/gcc/testsuite/obj-c++/../../g++ -B/ home/dave/gcc-4.2/objdir/gcc/testsuite/obj-c++/../../ /home/dave/gcc-4.2/gcc/gcc /testsuite/obj-c++.dg/cxx-ivars-2.mm -nostdinc++ -I/home/dave/gcc-4.2/objdir/hp pa-linux/libstdc++-v3/include/hppa-linux -I/home/dave/gc

[Bug objc++/23716] obj-c++.dg/comp-types-10.mm ICE with the GNU runtime

2006-04-21 Thread pinskia at gcc dot gnu dot org
--- Comment #4 from pinskia at gcc dot gnu dot org 2006-04-21 23:32 --- *** Bug 27246 has been marked as a duplicate of this bug. *** -- pinskia at gcc dot gnu dot org changed: What|Removed |Added ---

[Bug objc++/27246] FAIL: obj-c++.dg/comp-types-10.mm (test for excess errors)

2006-04-21 Thread pinskia at gcc dot gnu dot org
--- Comment #1 from pinskia at gcc dot gnu dot org 2006-04-21 23:32 --- *** This bug has been marked as a duplicate of 23716 *** -- pinskia at gcc dot gnu dot org changed: What|Removed |Added --

[Bug objc++/27246] New: FAIL: obj-c++.dg/comp-types-10.mm (test for excess errors)

2006-04-21 Thread danglin at gcc dot gnu dot org
Executing on host: /home/dave/gcc-4.2/objdir/gcc/testsuite/obj-c++/../../g++ -B/ home/dave/gcc-4.2/objdir/gcc/testsuite/obj-c++/../../ /home/dave/gcc-4.2/gcc/gcc /testsuite/obj-c++.dg/comp-types-10.mm -nostdinc++ -I/home/dave/gcc-4.2/objdir/ hppa-linux/libstdc++-v3/include/hppa-linux -I/home/dave/

[Bug ada/27245] New: FAIL: cxh1001

2006-04-21 Thread danglin at gcc dot gnu dot org
gnatlink cxh1001.ali --GCC=/home/dave/gcc-4.2/objdir/gcc/xgcc -B/home/dave/gcc-4 .2/objdir/gcc/ RUN cxh1001 ,.,. CXH1001 ACATS 2.5 06-04-21 08:40:52 CXH1001 Check that the configuration pragma Normalize_Scalars causes uninitialized scalar objects to be set to a

[Bug ada/27244] New: FAIL: cd2a23e

2006-04-21 Thread danglin at gcc dot gnu dot org
gnatlink cd2a23e.ali --GCC=/home/dave/gcc-4.2/objdir/gcc/xgcc -B/home/dave/gcc-4 .2/objdir/gcc/ RUN cd2a23e ,.,. CD2A23E ACATS 2.5 06-04-21 07:59:18 CD2A23E CHECK THAT WHEN A SIZE SPECIFICATION AND AN ENUMERATION REPRESENTATION CLAUSE ARE GIVEN FOR AN ENUMERATION TYPE,

[Bug ada/27243] New: FAIL: c37215h

2006-04-21 Thread danglin at gcc dot gnu dot org
gnatlink c37215h.ali --GCC=/home/dave/gcc-4.2/objdir/gcc/xgcc -B/home/dave/gcc-4 .2/objdir/gcc/ RUN c37215h ,.,. C37215H ACATS 2.5 06-04-21 06:37:47 C37215H THE DISCRIMINANT VALUES OF AN INDEX CONSTRAINT ARE PROPERLY CHECK FOR COMPATIBILITY WHEN THE DISCRIMINANT IS DEFINED

[Bug ada/27242] New: FAIL: c35507m

2006-04-21 Thread danglin at gcc dot gnu dot org
gnatlink c35507m.ali --GCC=/home/dave/gcc-4.2/objdir/gcc/xgcc -B/home/dave/gcc-4 .2/objdir/gcc/ RUN c35507m ,.,. C35507M ACATS 2.5 06-04-21 06:31:52 C35507M CHECK THAT THE ATTRIBUTES 'POS' AND 'VAL' YIELD THE CORRECT RESULTS WHEN THE PREFIX IS A CHARACTER TYPE WITH AN

[Bug tree-optimization/27140] Compiling LLVM now takes nearly 5x as long with 4.1 as it did with 4.0

2006-04-21 Thread rspencer at x10sys dot com
--- Comment #9 from rspencer at x10sys dot com 2006-04-21 23:12 --- Andrew Pinskia wanted me to mention that there are other source files in LLVM that exhibit the slow down. The one I attached is the worst offender, but there are others. Unfortunately, I don't remember which files and I

[Bug c++/27241] Bad code reordering when using an enum as a bitfield

2006-04-21 Thread danfuzz at milk dot com
--- Comment #3 from danfuzz at milk dot com 2006-04-21 23:11 --- Wow, that was quick. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27241

[Bug c/21920] alias violating

2006-04-21 Thread pinskia at gcc dot gnu dot org
--- Comment #92 from pinskia at gcc dot gnu dot org 2006-04-21 23:06 --- *** Bug 27241 has been marked as a duplicate of this bug. *** -- pinskia at gcc dot gnu dot org changed: What|Removed |Added -

[Bug c++/27241] Bad code reordering when using an enum as a bitfield

2006-04-21 Thread pinskia at gcc dot gnu dot org
--- Comment #2 from pinskia at gcc dot gnu dot org 2006-04-21 23:06 --- You are violating C/C++ aliasing rules: Length(const Length &o) { *((unsigned int *)this) = *((unsigned int *)&o); } Use either -fno-strict-aliasing or use memcpy but even then that might not work as this is a non

[Bug c/25875] [4.1/4.2 Regression] ICE: segmentation fault

2006-04-21 Thread reichelt at gcc dot gnu dot org
--- Comment #9 from reichelt at gcc dot gnu dot org 2006-04-21 23:06 --- Fixed on mainline and 4.1 branch. -- reichelt at gcc dot gnu dot org changed: What|Removed |Added

[Bug c/25875] [4.1/4.2 Regression] ICE: segmentation fault

2006-04-21 Thread reichelt at gcc dot gnu dot org
--- Comment #8 from reichelt at gcc dot gnu dot org 2006-04-21 23:05 --- Subject: Bug 25875 Author: reichelt Date: Fri Apr 21 23:05:30 2006 New Revision: 113154 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=113154 Log: PR c/25875 * c-typeck.c (digest_init): Rob

[Bug c++/27241] Bad code reordering when using an enum as a bitfield

2006-04-21 Thread danfuzz at milk dot com
--- Comment #1 from danfuzz at milk dot com 2006-04-21 23:04 --- Created an attachment (id=11315) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=11315&action=view) Source file that demonstrates the bug Compile this file as indicated in the original bug report, and then examine the

[Bug c++/27241] New: Bad code reordering when using an enum as a bitfield

2006-04-21 Thread danfuzz at milk dot com
I have an example in which it looks like code is reordered improperly. The bug seems to be triggered by using an enumerated type in a bitfield. I found the bug compiling for arm-elf, but I have reports that it fails in a similar way compiling for x86 (Linux). Here's the compile command I used and

[Bug c/25875] [4.1/4.2 Regression] ICE: segmentation fault

2006-04-21 Thread reichelt at gcc dot gnu dot org
--- Comment #7 from reichelt at gcc dot gnu dot org 2006-04-21 23:02 --- Subject: Bug 25875 Author: reichelt Date: Fri Apr 21 23:02:26 2006 New Revision: 113153 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=113153 Log: PR c/25875 * c-typeck.c (digest_init): Rob

[Bug target/27237] gcc driver should pass -mthumb option to arm assembler

2006-04-21 Thread pinskia at gcc dot gnu dot org
--- Comment #9 from pinskia at gcc dot gnu dot org 2006-04-21 22:53 --- (In reply to comment #8) > On the question of documentation: > From the GNU Info node for invoking gas: GAS is not part of GCC but instead binutils. So you should report this to binutils, but also it says usually s

[Bug target/27237] gcc driver should pass -mthumb option to arm assembler

2006-04-21 Thread mf dot danger at gmail dot com
--- Comment #8 from mf dot danger at gmail dot com 2006-04-21 22:43 --- On the question of documentation: >From the GNU Info node for invoking gas: Usually you do not need to use this `-Wa' mechanism, since many compiler command-line options are automatically passed to the assembler

[Bug classpath/27163] FTP directory listing doesn't work

2006-04-21 Thread tromey at gcc dot gnu dot org
--- Comment #6 from tromey at gcc dot gnu dot org 2006-04-21 21:53 --- Subject: Bug 27163 Author: tromey Date: Fri Apr 21 21:53:27 2006 New Revision: 113151 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=113151 Log: PR classpath/27163: * gnu/java/net/protocol/ftp

[Bug classpath/27163] FTP directory listing doesn't work

2006-04-21 Thread cvs-commit at developer dot classpath dot org
--- Comment #5 from cvs-commit at developer dot classpath dot org 2006-04-21 21:44 --- Subject: Bug 27163 CVSROOT:/cvsroot/classpath Module name:classpath Branch: Changes by: Tom Tromey <[EMAIL PROTECTED]>06/04/21 21:43:10 Modified files: .

[Bug middle-end/26807] [4.2 Regression] FAIL: gcc.dg/torture/pr24626-1.c -O2 (test for excess errors)

2006-04-21 Thread danglin at gcc dot gnu dot org
--- Comment #5 from danglin at gcc dot gnu dot org 2006-04-21 21:03 --- The bug was introduced by r112128: http://gcc.gnu.org/ml/gcc-cvs/2006-03/msg00547.html -- danglin at gcc dot gnu dot org changed: What|Removed |Added --

[Bug target/27237] gcc driver should pass -mthumb option to arm assembler

2006-04-21 Thread pinskia at gcc dot gnu dot org
--- Comment #7 from pinskia at gcc dot gnu dot org 2006-04-21 20:45 --- What documentation? The -m* options are compiler options. And there is documentation to that effect already. In fact there is documentation to pass an option to the assembler, you should be using -Wa,xx alread

[Bug c/25875] [4.1/4.2 Regression] ICE: segmentation fault

2006-04-21 Thread patchapp at dberlin dot org
--- Comment #6 from patchapp at dberlin dot org 2006-04-21 20:40 --- Subject: Bug number PR c/25875 A patch for this bug has been added to the patch tracker. The mailing list url for the patch is http://gcc.gnu.org/ml/gcc-patches/2006-04/msg00815.html -- http://gcc.gnu.org/bugzilla

[Bug target/27237] gcc driver should pass -mthumb option to arm assembler

2006-04-21 Thread mf dot danger at gmail dot com
--- Comment #6 from mf dot danger at gmail dot com 2006-04-21 20:36 --- That's fine, so long as you turn it into a documentation bug and fix the documentation, as it's an option that's documented as being passed to the assembler. -- mf dot danger at gmail dot com changed:

[Bug target/27237] gcc driver should pass -mthumb option to arm assembler

2006-04-21 Thread pinskia at gcc dot gnu dot org
--- Comment #5 from pinskia at gcc dot gnu dot org 2006-04-21 20:32 --- Use the .thumb psedu-op or use -Wa,-mthumb. -- pinskia at gcc dot gnu dot org changed: What|Removed |Added -

[Bug driver/27237] gcc driver should pass -mthumb option to arm assembler

2006-04-21 Thread mf dot danger at gmail dot com
--- Comment #4 from mf dot danger at gmail dot com 2006-04-21 20:30 --- Perhaps a precise example would make this clearer. I have a human-written thumb assembler file. (see attached) I attempt to assemble it using arm-elf-gcc -v -g -mthumb -c -o bdidown.o bdidown.S The following ap

[Bug driver/27237] gcc driver should pass -mthumb option to arm assembler

2006-04-21 Thread mf dot danger at gmail dot com
--- Comment #3 from mf dot danger at gmail dot com 2006-04-21 20:24 --- Created an attachment (id=11313) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=11313&action=view) Example .S file -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27237

[Bug c++/8171] Cannot compare pointer to member function of base and derived class

2006-04-21 Thread reichelt at gcc dot gnu dot org
--- Comment #5 from reichelt at gcc dot gnu dot org 2006-04-21 20:09 --- Testing a patch. -- reichelt at gcc dot gnu dot org changed: What|Removed |Added Assigne

[Bug driver/27237] gcc driver should pass -mthumb option to arm assembler

2006-04-21 Thread mf dot danger at gmail dot com
--- Comment #2 from mf dot danger at gmail dot com 2006-04-21 20:08 --- I guess I didn't make it clear that this is a bug against the gcc _driver_ not the compiler. I am using gcc _driver_ to invoke gas to assemble an assembler *source* file. 'gcc -mthumb -c foo.S' should cause gas to

[Bug c/25875] [4.1/4.2 Regression] ICE: segmentation fault

2006-04-21 Thread reichelt at gcc dot gnu dot org
--- Comment #5 from reichelt at gcc dot gnu dot org 2006-04-21 20:06 --- Testing a patch. -- reichelt at gcc dot gnu dot org changed: What|Removed |Added Assigne

[Bug classpath/27163] FTP directory listing doesn't work

2006-04-21 Thread tromey at gcc dot gnu dot org
--- Comment #4 from tromey at gcc dot gnu dot org 2006-04-21 19:05 --- Ok, I have a fix for the /-less URL bug. It appears that the JDK somehow waits for some data to be available on the socket. I'm not sure exactly what mechanism it uses, however. It does not appear to buffer all the

[Bug objc/27240] [4.1/4.2 regression] ICE with invalid fields

2006-04-21 Thread pinskia at gcc dot gnu dot org
--- Comment #1 from pinskia at gcc dot gnu dot org 2006-04-21 19:05 --- Confirmed. -- pinskia at gcc dot gnu dot org changed: What|Removed |Added Severity|norma

[Bug objc/27240] New: [4.1/4.2 regression] ICE with invalid fields

2006-04-21 Thread reichelt at gcc dot gnu dot org
Compiling the following invalid objc testcase results in an ICE: void foo() { struct A a; a.i; } bug1.m: In function 'foo': bug1.m:3: error: storage size of 'a' isn't known bug1.m:4: internal compiler error: tree check: expected class

[Bug libstdc++/26424] tr1/unordered vs 64-bit machines

2006-04-21 Thread pcarlini at suse dot de
--- Comment #7 from pcarlini at suse dot de 2006-04-21 17:51 --- Fixed for 4.1.1. -- pcarlini at suse dot de changed: What|Removed |Added Status|ASSIGNED

[Bug libstdc++/26424] tr1/unordered vs 64-bit machines

2006-04-21 Thread paolo at gcc dot gnu dot org
--- Comment #6 from paolo at gcc dot gnu dot org 2006-04-21 17:50 --- Subject: Bug 26424 Author: paolo Date: Fri Apr 21 17:49:48 2006 New Revision: 113143 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=113143 Log: 2006-04-21 Paolo Carlini <[EMAIL PROTECTED]> PR libstd

[Bug libgcj/27231] java.lang.StringIndexOutOfBoundsException in HTTPURLConnection.connect

2006-04-21 Thread cvs-commit at developer dot classpath dot org
--- Comment #3 from cvs-commit at developer dot classpath dot org 2006-04-21 17:28 --- Subject: Bug 27231 CVSROOT:/cvsroot/classpath Module name:classpath Branch: Changes by: Tom Tromey <[EMAIL PROTECTED]>06/04/21 17:28:25 Modified files: gnu/java/

[Bug libgcj/27231] java.lang.StringIndexOutOfBoundsException in HTTPURLConnection.connect

2006-04-21 Thread tromey at gcc dot gnu dot org
--- Comment #2 from tromey at gcc dot gnu dot org 2006-04-21 17:28 --- Subject: Bug 27231 Author: tromey Date: Fri Apr 21 17:28:40 2006 New Revision: 113140 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=113140 Log: PR libgcj/27231: * gnu/java/net/protocol/http/H

[Bug libgcj/27231] java.lang.StringIndexOutOfBoundsException in HTTPURLConnection.connect

2006-04-21 Thread tromey at gcc dot gnu dot org
--- Comment #1 from tromey at gcc dot gnu dot org 2006-04-21 17:28 --- Fix checked in. -- tromey at gcc dot gnu dot org changed: What|Removed |Added Status|NE

[Bug libfortran/24685] real(16) formatted input is broken for huge values

2006-04-21 Thread jakub at gcc dot gnu dot org
--- Comment #18 from jakub at gcc dot gnu dot org 2006-04-21 17:22 --- While this should now be fixed on s390{,x} (and I believe also sparc*) with -mlong-double-128, it is still broken on powerpc{,64}. What happens there is that gfortran returns a non-canonical number for huge (0.0_16) (

[Bug target/24484] unrecognizable insn in extract_insn, at recog.c:2083

2006-04-21 Thread pinskia at gcc dot gnu dot org
--- Comment #6 from pinskia at gcc dot gnu dot org 2006-04-21 17:04 --- This is either a bug in Freebsd's compiler or you are having hardware issues. Anyways this works for me. -- pinskia at gcc dot gnu dot org changed: What|Removed |Added ---

[Bug libfortran/24685] real(16) formatted input is broken for huge values

2006-04-21 Thread jakub at gcc dot gnu dot org
--- Comment #17 from jakub at gcc dot gnu dot org 2006-04-21 17:04 --- Subject: Bug 24685 Author: jakub Date: Fri Apr 21 17:04:04 2006 New Revision: 113137 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=113137 Log: PR libgfortran/24685 * io/write.c (MIN_FIELD_WID

[Bug target/24484] unrecognizable insn in extract_insn, at recog.c:2083

2006-04-21 Thread tbm at cyrius dot com
--- Comment #5 from tbm at cyrius dot com 2006-04-21 16:52 --- Isn't 3.4 unsupported these days anyway? -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24484

[Bug libgcj/27231] java.lang.StringIndexOutOfBoundsException in HTTPURLConnection.connect

2006-04-21 Thread tromey at gcc dot gnu dot org
-- tromey at gcc dot gnu dot org changed: What|Removed |Added Status|UNCONFIRMED |NEW Ever Confirmed|0 |1 Last reconfir

[Bug c++/27235] goto crossing P.O.D. initialization

2006-04-21 Thread pinskia at gcc dot gnu dot org
--- Comment #2 from pinskia at gcc dot gnu dot org 2006-04-21 16:18 --- Please read http://gcc.gnu.org/bugs.html and provide all the information there which in case means the version of gcc. -- pinskia at gcc dot gnu dot org changed: What|Removed

[Bug fortran/25099] Conformance of arguments to ELEMENTAL subroutines

2006-04-21 Thread patchapp at dberlin dot org
--- Comment #4 from patchapp at dberlin dot org 2006-04-21 16:15 --- Subject: Bug number PR25099 A patch for this bug has been added to the patch tracker. The mailing list url for the patch is http://gcc.gnu.org/ml/gcc-patches/2006-04/msg00802.html -- http://gcc.gnu.org/bugzilla/sh

[Bug tree-optimization/27236] [4.1/4.2 Regression] ipa-pure-const says functions which read from volatile mem are pure

2006-04-21 Thread pinskia at gcc dot gnu dot org
-- pinskia at gcc dot gnu dot org changed: What|Removed |Added CC||pinskia at gcc dot gnu dot |

[Bug middle-end/27238] mips64: wrong code for gcc.c-torture/execute/20050713-1.c with -O2 or -Os

2006-04-21 Thread pinskia at gcc dot gnu dot org
--- Comment #1 from pinskia at gcc dot gnu dot org 2006-04-21 16:06 --- Related to PR 23090. -- pinskia at gcc dot gnu dot org changed: What|Removed |Added Compo

[Bug c++/27235] goto crossing P.O.D. initialization

2006-04-21 Thread pinskia at gcc dot gnu dot org
--- Comment #1 from pinskia at gcc dot gnu dot org 2006-04-21 16:04 --- First what version of GCC you are using? Is it before 4.0.3? If so this is a dup of bug 20721. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27235

[Bug inline-asm/11203] source doesn't compile with -O0 but they compile with -O3

2006-04-21 Thread langer_mann at web dot de
--- Comment #35 from langer_mann at web dot de 2006-04-21 15:59 --- (In reply to comment #34) > > The reason is dead simple: register allocation is NP-complete, so it > > is even *theoretically* not possible to write register allocators that > > always find a coloring. > > Not at all.

[Bug inline-asm/11203] source doesn't compile with -O0 but they compile with -O3

2006-04-21 Thread langer_mann at web dot de
--- Comment #34 from langer_mann at web dot de 2006-04-21 15:56 --- > The reason is dead simple: register allocation is NP-complete, so it > is even *theoretically* not possible to write register allocators that > always find a coloring. Not at all. If a problem is NP-hard, you can in

[Bug rtl-optimization/26725] [4.2 Regression] ICE in check_reg_live, at haifa-sched.c:4645 with -O2 on ia64

2006-04-21 Thread tbm at cyrius dot com
--- Comment #3 from tbm at cyrius dot com 2006-04-21 15:49 --- This is a very common bug (seen when compiling the Debian archive). Please set priority to P1. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=26725

[Bug tree-optimization/27090] FRE does not look past previous type casts

2006-04-21 Thread rguenth at gcc dot gnu dot org
--- Comment #9 from rguenth at gcc dot gnu dot org 2006-04-21 14:46 --- Hm, fold_unary does not fold (struct FooD.1993 *)(struct BarD.1994 *) f where f is of type (struct FooD.1993 &). Oh well. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27090

[Bug tree-optimization/27236] [4.1/4.2 Regression] ipa-pure-const says functions which read from volatile mem are pure

2006-04-21 Thread rguenth at gcc dot gnu dot org
--- Comment #1 from rguenth at gcc dot gnu dot org 2006-04-21 12:50 --- >From ipa-pure-const we get Function found to be pure: foo_read Function found to be pure: foo which is of course bogus for volatile pointer arguments. It's a regression, because ipa-pure-const is new. -- rgue

[Bug tree-optimization/23346] [4.1/4.2 Regression] FRE before DCE makes a mess of loads or need to sink loads

2006-04-21 Thread rguenth at gcc dot gnu dot org
--- Comment #11 from rguenth at gcc dot gnu dot org 2006-04-21 12:34 --- Exchanging FRE with DCE produces on x86_64 (-O2 vs. -O2 with patch): Estimated Estimated Base Base Base Peak Peak

  1   2   >