[Bug fortran/31258] segfault with transpose(reshape(char))

2007-04-08 Thread pault at gcc dot gnu dot org
--- Comment #2 from pault at gcc dot gnu dot org 2007-04-08 09:40 --- This fixes this PR and PR31197. It needs some work because it still fails with variable expressions in the string length and I need to figure out which other intrinsics, if any, need the same treatment. Paul Index:

[Bug target/29932] avr-gcc wrongly optimizes bit sets/resets for IO register 0x20

2007-04-08 Thread aesok at gcc dot gnu dot org
--- Comment #4 from aesok at gcc dot gnu dot org 2007-04-08 11:38 --- Subject: Bug 29932 Author: aesok Date: Sun Apr 8 11:38:38 2007 New Revision: 123657 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=123657 Log: PR target/29932 * config/avr/predicates.md (io_ad

[Bug fortran/31487] Character array initialization in derived type: bad zero padding

2007-04-08 Thread fxcoudert at gcc dot gnu dot org
-- fxcoudert at gcc dot gnu dot org changed: What|Removed |Added Status|UNCONFIRMED |NEW Ever Confirmed|0 |1 GCC host t

[Bug c++/30158] [4.0/4.1/4.2 regression] ICE with invalid statement-expressions

2007-04-08 Thread reichelt at gcc dot gnu dot org
--- Comment #6 from reichelt at gcc dot gnu dot org 2007-04-08 13:33 --- Fixed on 4.1 and 4.2 branch by Jakub's patch for PR 30847. -- reichelt at gcc dot gnu dot org changed: What|Removed |Added ---

[Bug c/31508] New: Error during compilation with flag -fschedule-insns

2007-04-08 Thread marat dot buharov at gmail dot com
the system type: uname -a Linux shmyaka 2.6.20-gentoo-r4 #1 SMP Mon Apr 2 15:08:53 MSD 2007 x86_64 AMD Athlon(tm) 64 X2 Dual Core Processor 3800+ AuthenticAMD GNU/Linux Error: gcc -fschedule-insns -o huff_err huffbench_err.c -v -save-temps Using built-in specs. Target: x86_64-pc-linux-gnu Configur

[Bug c/31508] Error during compilation with flag -fschedule-insns

2007-04-08 Thread marat dot buharov at gmail dot com
--- Comment #1 from marat dot buharov at gmail dot com 2007-04-08 15:20 --- Created an attachment (id=13340) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=13340&action=view) huffbench_err.c -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31508

[Bug target/29932] avr-gcc wrongly optimizes bit sets/resets for IO register 0x20

2007-04-08 Thread aesok at gcc dot gnu dot org
--- Comment #5 from aesok at gcc dot gnu dot org 2007-04-08 15:40 --- Subject: Bug 29932 Author: aesok Date: Sun Apr 8 15:39:59 2007 New Revision: 123659 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=123659 Log: PR target/29932 * config/avr/predicates.md (io_ad

[Bug target/29932] avr-gcc wrongly optimizes bit sets/resets for IO register 0x20

2007-04-08 Thread aesok at gcc dot gnu dot org
--- Comment #6 from aesok at gcc dot gnu dot org 2007-04-08 15:42 --- Fixed in 4.2 branch and HEAD. -- aesok at gcc dot gnu dot org changed: What|Removed |Added

[Bug middle-end/31492] FAIL: gcc.c-torture/execute/20040709-2.c execution at -O1 and above

2007-04-08 Thread danglin at gcc dot gnu dot org
--- Comment #1 from danglin at gcc dot gnu dot org 2007-04-08 15:53 --- This failure was introduced between revisions 123512 and 123536. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31492

[Bug target/31508] Error during compilation with flag -fschedule-insns

2007-04-08 Thread pinskia at gcc dot gnu dot org
--- Comment #2 from pinskia at gcc dot gnu dot org 2007-04-08 17:36 --- This is the normal x86/x86_64 rgister allocator problem with the scheduler before the register allocation. The register allocator should be able to fix this up but GCC has one of the stupidest Register allocators ou

[Bug libgomp/31509] New: FAIL: libgomp.fortran/omp_parse3.f90 -O3 -g

2007-04-08 Thread danglin at gcc dot gnu dot org
Executing on host: /test/gnu/gcc/objdir/gcc/xgcc -B/test/gnu/gcc/objdir/gcc/ /te st/gnu/gcc/gcc/libgomp/testsuite/libgomp.fortran/omp_parse3.f90 -B/test/gnu/gcc /objdir/hppa2.0w-hp-hpux11.11/./libgomp/ -I/test/gnu/gcc/objdir/hppa2.0w-hp-hpux 11.11/./libgomp -I/test/gnu/gcc/gcc/libgomp/testsuite/..

[Bug libgomp/31510] New: FAIL: libgomp.fortran/threadprivate[23].f90 -O3 -g

2007-04-08 Thread danglin at gcc dot gnu dot org
Executing on host: /test/gnu/gcc/objdir/gcc/xgcc -B/test/gnu/gcc/objdir/gcc/ /te st/gnu/gcc/gcc/libgomp/testsuite/libgomp.fortran/threadprivate3.f90 -B/test/gnu /gcc/objdir/hppa2.0w-hp-hpux11.11/./libgomp/ -I/test/gnu/gcc/objdir/hppa2.0w-hp- hpux11.11/./libgomp -I/test/gnu/gcc/gcc/libgomp/testsuit

[Bug fortran/31494] spurious error: PROCEDURE attribute conflicts with DIMENSION attribute

2007-04-08 Thread pault at gcc dot gnu dot org
--- Comment #1 from pault at gcc dot gnu dot org 2007-04-08 19:49 --- Confirmed > > It resembles Bug 24633. However, g95 and Lahey regard 24633 as an error but do > not regard this as an error. In actual fact, it is the same as pr30746. Both make wrong host associations, when doubly c

[Bug c++/31511] New: /usr/include/c++/bits/cmath.tcc: no match for ternary 'operator?:' in '((__n % 2u) != 0u) ? __x : 1'

2007-04-08 Thread bav dot 272304 at gmail dot com
It is known problem with GNU ISO C++ Library math implementation by Gabriel Dos Reis. g++ compiler says something like this: /usr/include/c++/bits/cmath.tcc:41: error: no match for ternary 'operator?:' in '((__n % 2u) != 0u) ? __x : 1' It could be fixed by replacing the certain l

[Bug libstdc++/31511] /usr/include/c++/bits/cmath.tcc: no match for ternary 'operator?:' in '((__n % 2u) != 0u) ? __x : 1'

2007-04-08 Thread pcarlini at suse dot de
--- Comment #1 from pcarlini at suse dot de 2007-04-08 21:12 --- Gaby, not a big deal (complex is unspecified for T != floating, ...), but what do you think, shall we do the 1 -> _Tp(1) change? -- pcarlini at suse dot de changed: What|Removed |Adde

[Bug c++/31511] /usr/include/c++/bits/cmath.tcc: no match for ternary 'operator?:' in '((__n % 2u) != 0u) ? __x : 1'

2007-04-08 Thread bav dot 272304 at gmail dot com
--- Comment #2 from bav dot 272304 at gmail dot com 2007-04-08 21:16 --- Code example: #include template class Wrapper { T x_; public: Wrapper () throw () : x_(0) {} Wrapper (const T& x) throw () :

[Bug c++/31511] /usr/include/c++/bits/cmath.tcc: no match for ternary 'operator?:' in '((__n % 2u) != 0u) ? __x : 1'

2007-04-08 Thread bav dot 272304 at gmail dot com
--- Comment #3 from bav dot 272304 at gmail dot com 2007-04-08 21:17 --- (In reply to comment #1) > Gaby, not a big deal (complex is unspecified for T != floating, ...), but > what do you think, shall we do the 1 -> _Tp(1) change? > No, everything works if we fix this bug. -- htt

[Bug libstdc++/31511] /usr/include/c++/bits/cmath.tcc: no match for ternary 'operator?:' in '((__n % 2u) != 0u) ? __x : 1'

2007-04-08 Thread pcarlini at suse dot de
--- Comment #4 from pcarlini at suse dot de 2007-04-08 21:20 --- (In reply to comment #3) > (In reply to comment #1) > > Gaby, not a big deal (complex is unspecified for T != floating, ...), but > > what do you think, shall we do the 1 -> _Tp(1) change? > > > > No, everything works if

[Bug c++/31511] /usr/include/c++/bits/cmath.tcc: no match for ternary 'operator?:' in '((__n % 2u) != 0u) ? __x : 1'

2007-04-08 Thread bav dot 272304 at gmail dot com
--- Comment #5 from bav dot 272304 at gmail dot com 2007-04-08 21:21 --- (In reply to comment #1) > but what do you think, shall we do the 1 -> _Tp(1) change? Change, please. -- bav dot 272304 at gmail dot com changed: What|Removed |Added ---

[Bug libstdc++/31511] /usr/include/c++/bits/cmath.tcc: no match for ternary 'operator?:' in '((__n % 2u) != 0u) ? __x : 1'

2007-04-08 Thread pcarlini at suse dot de
--- Comment #6 from pcarlini at suse dot de 2007-04-08 21:22 --- Please, stop categorizing wrong. -- pcarlini at suse dot de changed: What|Removed |Added Compone

[Bug libstdc++/31511] /usr/include/c++/bits/cmath.tcc: no match for ternary 'operator?:' in '((__n % 2u) != 0u) ? __x : 1'

2007-04-08 Thread gdr at cs dot tamu dot edu
--- Comment #7 from gdr at cs dot tamu dot edu 2007-04-08 21:53 --- Subject: Re: /usr/include/c++/bits/cmath.tcc: no match for ternary 'operator?:' in '((__n % 2u) != 0u) ? __x : 1' "pcarlini at suse dot de" <[EMAIL PROTECTED]> writes: | Gaby, not a big deal (complex is unspecified fo

[Bug tree-optimization/31037] [4.3 Regression] ICE: verify_ssa failed - definition in block 23 does not dominate use in block 32

2007-04-08 Thread reichelt at gcc dot gnu dot org
--- Comment #8 from reichelt at gcc dot gnu dot org 2007-04-08 23:09 --- Here's a reduced version of comment #5 (crashes with -O): == struct A { char *c; virtual ~A() { delete[] c; } }; void foo(); void bar(bool* p, bool b) { if (b && p[0] &&

[Bug c++/31260] [4.1/4.2/4.3 Regression] ICE: segmentation fault with template code

2007-04-08 Thread reichelt at gcc dot gnu dot org
--- Comment #2 from reichelt at gcc dot gnu dot org 2007-04-08 23:15 --- Btw, the bug appeared in GCC 4.0.2. The code compiles with GCC 4.0.1 or earlier. -- reichelt at gcc dot gnu dot org changed: What|Removed |Added -

[Bug libstdc++/31511] /usr/include/c++/bits/cmath.tcc: no match for ternary 'operator?:' in '((__n % 2u) != 0u) ? __x : 1'

2007-04-08 Thread pcarlini at suse dot de
-- pcarlini at suse dot de changed: What|Removed |Added Status|UNCONFIRMED |NEW Ever Confirmed|0 |1 Last reconfirmed|00

[Bug libstdc++/31511] /usr/include/c++/bits/cmath.tcc: no match for ternary 'operator?:' in '((__n % 2u) != 0u) ? __x : 1'

2007-04-08 Thread paolo at gcc dot gnu dot org
--- Comment #8 from paolo at gcc dot gnu dot org 2007-04-08 23:38 --- Subject: Bug 31511 Author: paolo Date: Sun Apr 8 23:37:56 2007 New Revision: 123665 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=123665 Log: 2007-04-08 Alexey Beshenov <[EMAIL PROTECTED]> PR libs

[Bug libstdc++/31511] /usr/include/c++/bits/cmath.tcc: no match for ternary 'operator?:' in '((__n % 2u) != 0u) ? __x : 1'

2007-04-08 Thread pcarlini at suse dot de
--- Comment #9 from pcarlini at suse dot de 2007-04-08 23:38 --- Fixed. -- pcarlini at suse dot de changed: What|Removed |Added Status|NEW

[Bug libstdc++/30264] libstdc++-v3 compile error - conflicts with previous using declaration

2007-04-08 Thread pcarlini at suse dot de
-- pcarlini at suse dot de changed: What|Removed |Added Status|UNCONFIRMED |WAITING http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30264

[Bug middle-end/29782] Incorrect inlining failure

2007-04-08 Thread pinskia at gcc dot gnu dot org
--- Comment #6 from pinskia at gcc dot gnu dot org 2007-04-08 23:46 --- No real testcase in over 3 months so closing. -- pinskia at gcc dot gnu dot org changed: What|Removed |Added ---

[Bug libgomp/28898] OpenMP-parallelized program crashes after a parallel for loop

2007-04-08 Thread pinskia at gcc dot gnu dot org
--- Comment #5 from pinskia at gcc dot gnu dot org 2007-04-08 23:47 --- No testcase in over 3 months so closing. -- pinskia at gcc dot gnu dot org changed: What|Removed |Added

[Bug c++/29954] Not able to compile for SPARC/Solaris 10.0

2007-04-08 Thread pinskia at gcc dot gnu dot org
--- Comment #4 from pinskia at gcc dot gnu dot org 2007-04-08 23:48 --- No feedback in 3 months so closing. -- pinskia at gcc dot gnu dot org changed: What|Removed |Added

[Bug c++/30269] parser.tab.c:2071: internal compiler error: Segmentation fault

2007-04-08 Thread pinskia at gcc dot gnu dot org
--- Comment #3 from pinskia at gcc dot gnu dot org 2007-04-08 23:49 --- No testcase in 3 months so closing. -- pinskia at gcc dot gnu dot org changed: What|Removed |Added

[Bug target/30280] SIGSEGV on operator==(valarray, bool)

2007-04-08 Thread pinskia at gcc dot gnu dot org
--- Comment #14 from pinskia at gcc dot gnu dot org 2007-04-08 23:52 --- I really don't think this is a bug as explained in comment #11. It just happens assert is defined weird on solaris. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30280

[Bug preprocessor/23738] error with documentation or error with -M used in conjunction with -w

2007-04-08 Thread pinskia at gcc dot gnu dot org
--- Comment #3 from pinskia at gcc dot gnu dot org 2007-04-08 23:53 --- No feedback in 3 months + so closing. -- pinskia at gcc dot gnu dot org changed: What|Removed |Added ---

[Bug c++/31260] [4.1/4.2/4.3 Regression] ICE: segmentation fault with template code

2007-04-08 Thread reichelt at gcc dot gnu dot org
--- Comment #3 from reichelt at gcc dot gnu dot org 2007-04-09 00:38 --- Mark, this appeared with your patch for PR 23789: 2005-09-12 Mark Mitchell <[EMAIL PROTECTED]> PR c++/23789 * cvt.c (perform_qualification_conversions): Don't create unnecessary NOP_EXPR

[Bug target/30289] avr-gcc: builtin memset(): wrong code

2007-04-08 Thread eweddington at cso dot atmel dot com
--- Comment #6 from eweddington at cso dot atmel dot com 2007-04-09 04:01 --- Correcting target milestone to 4.1.3. -- eweddington at cso dot atmel dot com changed: What|Removed |Added --

[Bug c++/31512] New: function template with member reference compile failure

2007-04-08 Thread gianni at mariani dot ws
The code below has 3 ways of declaring the template member function ObjInitSelDot(). One of them performs as desired, the other two do not. Comeau compiles all of them (albeit with a silly warning). As far as I can tell, all three should compile. template struct InitObject { private:

[Bug c/31513] New: Miscompilation of Function Passing Bit Field Value to Function

2007-04-08 Thread isanbard at gmail dot com
This program: #include struct tree_type { unsigned int precision : 9; }; void *bork(const void *Ty, unsigned Subpart) { printf("Subpart == %08x\n", Subpart); return 0; } const void *TConvertType(tree_type* type) { asm("movl $1104150528, 4(%%esp)" : : ); const void *Ty = 0; return b