[Bug target/35083] [4.3 regression] ICE: in extract_insn, at recog.c:1990

2008-02-04 Thread ubizjak at gmail dot com
--- Comment #2 from ubizjak at gmail dot com 2008-02-05 07:33 --- Confirmed. The testcase: float test(unsigned int x) { return (float)x; } gcc -O2 -mno-80387 t.c: In function âtestâ: t.c:4: error: unrecognizable insn: (insn 20 19 21 5 t.c:2 (set (reg:SF 60) (plus:SF (reg:SF

[Bug c++/35086] New: operator new may not be declared within a namespace

2008-02-04 Thread gilad at odinak dot com
The below code snippet compiles on gcc 3.4.6 gcc (GCC) 3.4.6 20060404 (Red Hat 3.4.6-8) but fails on gcc 4.1.1 gcc-4.1.1 (GCC) 4.1.1 20060724 (prerelease) (4.1.1-4pclos2007) with erros such as namespace_operator_new.cpp:8: error: ‘void* my_alloc::operator new(size_t, char*, int)’ may not be declar

[Bug middle-end/35085] New: [4.3 regression] gcc.dg/vect/vect-iv-9.c fails

2008-02-04 Thread ismail at pardus dot org dot tr
FAIL: gcc.dg/vect/vect-iv-9.c scan-tree-dump-times vect "vectorized 1 loops" 2 Not much detail in logs, Using built-in specs. Target: i686-pc-linux-gnu Configured with: ../configure --prefix=/usr --bindir=/usr/bin --libdir=/usr/lib --libexecdir=/usr/lib --includedir=/usr/include --mandir=/usr/sha

[Bug c++/35056] [4.3 Regression] ICE in copy_to_mode_reg, at explow.c:621

2008-02-04 Thread aoliva at gcc dot gnu dot org
--- Comment #18 from aoliva at gcc dot gnu dot org 2008-02-05 06:20 --- Ugh. I've just posted a patch that uses fold_convert at that very spot, and then I saw your suggestion. I'll re-test with that instead. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35056

[Bug debug/34037] [4.1/4.2/4.3 Regression] Bounds for VLAs not emitted into debuginfo

2008-02-04 Thread aoliva at gcc dot gnu dot org
--- Comment #2 from aoliva at gcc dot gnu dot org 2008-02-05 05:58 --- I don't see that preserving the information can be accomplished in a simpler way than what's being implemented in the VTA branch :-( Any other attempt to retain an expression that is not used anywhere, is such that

[Bug target/35084] Strang error messages

2008-02-04 Thread hjl dot tools at gmail dot com
--- Comment #2 from hjl dot tools at gmail dot com 2008-02-05 05:53 --- With the patch, I got lake:pts/2[10]> ./xgcc -B./ -m32 -mno-sse -S x.i x.i: In function ‘test’: x.i:5: error: Calling ‘essef’ with attribute sseregparm without SSE/SSE2 enabled -- http://gcc.gnu.org/bug

[Bug target/35084] Strang error messages

2008-02-04 Thread hjl dot tools at gmail dot com
--- Comment #1 from hjl dot tools at gmail dot com 2008-02-05 05:52 --- A patch is posted at http://gcc.gnu.org/ml/gcc-patches/2008-02/msg00114.html -- hjl dot tools at gmail dot com changed: What|Removed |Added ---

[Bug target/35084] New: Strang error messages

2008-02-04 Thread hjl dot tools at gmail dot com
[EMAIL PROTECTED] stack-2]$ cat x.i float essef(float) __attribute__((sseregparm)); extern float f; void test(void) { f = essef(f); } [EMAIL PROTECTED] stack-2]$ /usr/gcc-4.3/bin/gcc -m32 -mno-sse -S x.i x.i: In function 'test': x.i:5: error: Calling 'float(float)' with attribute sseregparm withou

[Bug other/35070] [4.3 Regression] -fverbose-asm has bogus asm output (mpfr library warning)

2008-02-04 Thread ghazi at gcc dot gnu dot org
--- Comment #5 from ghazi at gcc dot gnu dot org 2008-02-05 05:23 --- Patch here: http://gcc.gnu.org/ml/gcc-patches/2008-02/msg00112.html -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35070

[Bug c++/35056] [4.3 Regression] ICE in copy_to_mode_reg, at explow.c:621

2008-02-04 Thread mmitchel at gcc dot gnu dot org
--- Comment #17 from mmitchel at gcc dot gnu dot org 2008-02-05 05:22 --- I would suggest inserting the conversion right before the call to build_target_expr_with_type in convert_like_real: if ((lvalue & clk_packed) && CLASS_TYPE_P (type) &&

[Bug target/35083] ICE: in extract_insn, at recog.c:1990

2008-02-04 Thread corsepiu at gcc dot gnu dot org
--- Comment #1 from corsepiu at gcc dot gnu dot org 2008-02-05 05:11 --- Created an attachment (id=15097) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=15097&action=view) preprocessed source of file producing ICE -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35083

[Bug target/35083] New: ICE: in extract_insn, at recog.c:1990

2008-02-04 Thread corsepiu at gcc dot gnu dot org
Building gcc-trunk rev 132111 (2008-02-05) for i386-rtems* (elf w/ newlib) fails with: ... make[7]: Entering directory `/users/rtems/src/toolchains/BUILD/i386-rtems4.9/i386-rtems4.9/soft-float/newlib/libm' Making all in math make[8]: Entering directory `/users/rtems/src/toolchains/BUILD/i386-rtems4

[Bug c++/33738] -Wtype-limits misses a warning when comparing enums

2008-02-04 Thread dnovillo at gcc dot gnu dot org
--- Comment #4 from dnovillo at gcc dot gnu dot org 2008-02-05 04:29 --- Fixed. http://gcc.gnu.org/ml/gcc-patches/2008-02/msg00110.html. -- dnovillo at gcc dot gnu dot org changed: What|Removed |Added

[Bug c++/33738] -Wtype-limits misses a warning when comparing enums

2008-02-04 Thread dnovillo at gcc dot gnu dot org
--- Comment #3 from dnovillo at gcc dot gnu dot org 2008-02-05 04:18 --- Subject: Bug 33738 Author: dnovillo Date: Tue Feb 5 04:17:58 2008 New Revision: 132111 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=132111 Log: http://gcc.gnu.org/ml/gcc-patches/2008-02/msg0011

[Bug c++/35056] [4.3 Regression] ICE in copy_to_mode_reg, at explow.c:621

2008-02-04 Thread aoliva at gcc dot gnu dot org
--- Comment #16 from aoliva at gcc dot gnu dot org 2008-02-05 03:35 --- Jakub, build_identity_conv is correct, at least in this case. In C++, the bitfieldness :-) of a variable is not to be taken into account for purposes of overload resolution. So, when tfrom != from, this means it is

[Bug target/34526] no-altivec ABI should be fixed or no longer be the default

2008-02-04 Thread drow at gcc dot gnu dot org
--- Comment #7 from drow at gcc dot gnu dot org 2008-02-05 03:19 --- Subject: Re: no-altivec ABI should be fixed or no longer be the default On Tue, Feb 05, 2008 at 02:23:20AM -, janis at gcc dot gnu dot org wrote: > There's another mess hiding under the ABI change, which i

[Bug middle-end/34483] wo_prof_two_strs.c:56: internal compiler error: in find_new_var_of_type, at ipa-struct-reorg.c:605

2008-02-04 Thread dave at hiauly1 dot hia dot nrc dot ca
--- Comment #66 from dave at hiauly1 dot hia dot nrc dot ca 2008-02-05 02:42 --- Subject: Re: wo_prof_two_strs.c:56: internal compiler error: in find_new_var_of_type, at ipa-struct-reorg.c:605 > If so, there is still question why the tests do not fail without struct-reorg. > Or they f

[Bug target/34526] no-altivec ABI should be fixed or no longer be the default

2008-02-04 Thread janis at gcc dot gnu dot org
--- Comment #6 from janis at gcc dot gnu dot org 2008-02-05 02:23 --- There's another mess hiding under the ABI change, which is that synthetic vectors of the same size as AltiVec vectors are passed differently for -mabi=altivec than for -mabi=no-altivec. There are warnings for syntheti

[Bug fortran/35037] VOLATILE attribute not being honored with common block variable

2008-02-04 Thread w6ws at earthlink dot net
--- Comment #7 from w6ws at earthlink dot net 2008-02-05 01:25 --- Subject: Re: VOLATILE attribute not being honored with common block variable Gosh - one learns something everyday. The bit with EQUIVALENCE is an interesting twist! It seems that F2003 would allow maximum flexibility

[Bug middle-end/35082] [4.2 Regression] 841 unexpected failures in gfortran testsuite

2008-02-04 Thread pinskia at gcc dot gnu dot org
-- pinskia at gcc dot gnu dot org changed: What|Removed |Added Component|c |middle-end Summary|[Regression 4.2] 841|[4.2 Regre

[Bug c/35082] New: [Regression 4.2] 841 unexpected failures in gfortran testsuite

2008-02-04 Thread danglin at gcc dot gnu dot org
The first one is: Executing on host: /mnt/gnu/gcc/objdir/gcc/testsuite/gfortran/../../gfortran -B/ mnt/gnu/gcc/objdir/gcc/testsuite/gfortran/../../ /mnt/gnu/gcc/gcc/gcc/testsuite/ gfortran.dg/actual_array_constructor_2.f90 -O0 -pedantic-errors -L/mnt/gnu/ gcc/objdir/hppa2.0w-hp-hpux11.11/./li

[Bug fortran/35037] VOLATILE attribute not being honored with common block variable

2008-02-04 Thread fxcoudert at gcc dot gnu dot org
--- Comment #6 from fxcoudert at gcc dot gnu dot org 2008-02-05 00:42 --- (In reply to comment #5) > We don't, however, handle the case where we mark volatile the other variable > involved in the equivalence: OK, Richard Maine and Steve Lionel confirmed that equivalence shouldn't inter

[Bug bootstrap/32101] xgcc invokes as with invalid -m option while assembling crtbegin.o

2008-02-04 Thread alexlh at funk dot org
--- Comment #6 from alexlh at funk dot org 2008-02-05 00:14 --- I have the same problem: line 2: exec: -m: invalid option Trying to build 4.2, the directory specified in --prefix *is* writable by the user running the build. -- alexlh at funk dot org changed: What|Rem

[Bug libfortran/35063] write statement leaks handles/memory on windows xp

2008-02-04 Thread fxcoudert at gcc dot gnu dot org
--- Comment #6 from fxcoudert at gcc dot gnu dot org 2008-02-04 23:40 --- (In reply to comment #2) > I have confirmed this under cygwin. Taking the READ statement out so the > program can run unabated, leads to a system failure trying to allocate > memory. > This is platform specific,

[Bug c++/35074] [4.3 regression] ICE with attribute "aligned" for template classes

2008-02-04 Thread dgregor at gcc dot gnu dot org
--- Comment #4 from dgregor at gcc dot gnu dot org 2008-02-04 23:31 --- Looking into this a little bit, the new save_template_attributes is modifying the type node directly (adding new attributes), but that type node can then get out of sync with other type nodes if it was the TYPE_MAIN_

[Bug fortran/35009] error on valid with -std=f95 (character arrays in format tags)

2008-02-04 Thread fxcoudert at gcc dot gnu dot org
--- Comment #2 from fxcoudert at gcc dot gnu dot org 2008-02-04 23:14 --- The following code in resolve_tag_format() is wrong: /* If e's rank is zero and e is not an element of an array, it should be of integer or character type. The integer variable should be ASSIGNED. *

[Bug c++/34715] [4.3 Regression] always_inline with templates and not declared as always_inline but definition has it

2008-02-04 Thread pinskia at gcc dot gnu dot org
--- Comment #9 from pinskia at gcc dot gnu dot org 2008-02-04 22:55 --- (In reply to comment #8) > Not inlining always_inline is wrong-code. It's not clear which testcase is > a regression - how is the status for 4.2.3? > Only the testcase in comment #1 is a regression. 4.2.3 does no

[Bug fortran/35037] VOLATILE attribute not being honored with common block variable

2008-02-04 Thread fxcoudert at gcc dot gnu dot org
--- Comment #5 from fxcoudert at gcc dot gnu dot org 2008-02-04 22:51 --- (In reply to comment #4) > I did not test your patch, but without the common line, the dump contains > "gfhzjf" until you remove the volatile. This saves you from reading assembler. Thanks! This allowed me to rea

[Bug debug/35065] [4.3 Regression] infinite loop while compiling VLC media player in vt_find_locations

2008-02-04 Thread rguenth at gcc dot gnu dot org
-- rguenth at gcc dot gnu dot org changed: What|Removed |Added Priority|P3 |P2 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35065

[Bug c++/35049] [4.3 Regression] g++.dg/conversion/simd3.C:12: error: invalid operands to binary + (have 'float __vector__' and 'int __vector__')

2008-02-04 Thread rguenth at gcc dot gnu dot org
-- rguenth at gcc dot gnu dot org changed: What|Removed |Added Priority|P3 |P2 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35049

[Bug c++/34715] [4.3 Regression] always_inline with templates and not declared as always_inline but definition has it

2008-02-04 Thread rguenth at gcc dot gnu dot org
--- Comment #8 from rguenth at gcc dot gnu dot org 2008-02-04 22:46 --- Not inlining always_inline is wrong-code. It's not clear which testcase is a regression - how is the status for 4.2.3? -- rguenth at gcc dot gnu dot org changed: What|Removed

[Bug middle-end/33631] [4.1/4.2 Regression] auto structure not initialized correctly

2008-02-04 Thread rguenth at gcc dot gnu dot org
--- Comment #9 from rguenth at gcc dot gnu dot org 2008-02-04 22:35 --- Subject: Bug 33631 Author: rguenth Date: Mon Feb 4 22:34:21 2008 New Revision: 132101 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=132101 Log: 2008-02-04 Richard Guenther <[EMAIL PROTECTED]> PR

[Bug middle-end/33631] [4.1/4.2 Regression] auto structure not initialized correctly

2008-02-04 Thread rguenth at gcc dot gnu dot org
--- Comment #8 from rguenth at gcc dot gnu dot org 2008-02-04 22:34 --- Fixed. -- rguenth at gcc dot gnu dot org changed: What|Removed |Added Status|ASSIGNED

[Bug c/35069] Casting from a volatile type to a non-volatile type should cause a warning

2008-02-04 Thread pinskia at gcc dot gnu dot org
--- Comment #3 from pinskia at gcc dot gnu dot org 2008-02-04 22:16 --- Anyways you are violating C aliasing rules here. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35069

[Bug c/35069] Casting from a volatile type to a non-volatile type should cause a warning

2008-02-04 Thread gcc-david at tulloh dot id dot au
--- Comment #2 from gcc-david at tulloh dot id dot au 2008-02-04 22:14 --- Yes, I didn't provide any context. I believe that this warning should apply any time you are working with volatile variables. A truncated real world example (kind of, real world debugging). volatile static ui

[Bug middle-end/33631] [4.1/4.2 Regression] auto structure not initialized correctly

2008-02-04 Thread rguenth at gcc dot gnu dot org
--- Comment #7 from rguenth at gcc dot gnu dot org 2008-02-04 22:03 --- Subject: Bug 33631 Author: rguenth Date: Mon Feb 4 22:03:09 2008 New Revision: 132097 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=132097 Log: 2008-02-04 Richard Guenther <[EMAIL PROTECTED]> PR

[Bug tree-optimization/29832] -ftree-loop-linear miscompiles scalarize.f90

2008-02-04 Thread spop at gcc dot gnu dot org
--- Comment #5 from spop at gcc dot gnu dot org 2008-02-04 21:59 --- Mine. -- spop at gcc dot gnu dot org changed: What|Removed |Added AssignedTo|unassigned at gc

[Bug target/34526] no-altivec ABI should be fixed or no longer be the default

2008-02-04 Thread janis at gcc dot gnu dot org
--- Comment #5 from janis at gcc dot gnu dot org 2008-02-04 21:28 --- A prerequisite to changing the default to the AltiVec ABI is to fix -mabi=no-altivec. A patch for that is at http://gcc.gnu.org/ml/gcc-patches/2008-02/msg00094.html -- http://gcc.gnu.org/bugzilla/show_bug.cgi

[Bug middle-end/33631] [4.1/4.2 Regression] auto structure not initialized correctly

2008-02-04 Thread rguenth at gcc dot gnu dot org
--- Comment #6 from rguenth at gcc dot gnu dot org 2008-02-04 21:19 --- Subject: Bug 33631 Author: rguenth Date: Mon Feb 4 21:18:32 2008 New Revision: 132096 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=132096 Log: 2008-02-04 Richard Guenther <[EMAIL PROTECTED]> PR

[Bug middle-end/33631] [4.1/4.2 Regression] auto structure not initialized correctly

2008-02-04 Thread rguenth at gcc dot gnu dot org
--- Comment #5 from rguenth at gcc dot gnu dot org 2008-02-04 21:18 --- Fixed on the trunk. -- rguenth at gcc dot gnu dot org changed: What|Removed |Added Summ

[Bug java/35035] [4.3 Regression] Has any one managed to run the libjava test suite on powerpc-apple-darwin9?

2008-02-04 Thread rguenth at gcc dot gnu dot org
--- Comment #34 from rguenth at gcc dot gnu dot org 2008-02-04 21:13 --- Subject: Bug 35035 Author: rguenth Date: Mon Feb 4 21:12:49 2008 New Revision: 132095 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=132095 Log: 2008-02-04 Richard Guenther <[EMAIL PROTECTED]>

[Bug java/35035] [4.3 Regression] Has any one managed to run the libjava test suite on powerpc-apple-darwin9?

2008-02-04 Thread rguenth at gcc dot gnu dot org
--- Comment #33 from rguenth at gcc dot gnu dot org 2008-02-04 21:13 --- Approved by Ian on IRC, committed, fixed. -- rguenth at gcc dot gnu dot org changed: What|Removed |Added -

[Bug libfortran/35063] write statement leaks handles/memory on windows xp

2008-02-04 Thread jvdelisle at gcc dot gnu dot org
--- Comment #5 from jvdelisle at gcc dot gnu dot org 2008-02-04 21:05 --- Sorry for the confusion. I used: print *,'Check memory and handles and press ENTER...', m so I could track the progress. Without the m, I see no errors. Also notice that he two upfront errors are in calls to

[Bug fortran/35037] VOLATILE attribute not being honored with common block variable

2008-02-04 Thread burnus at gcc dot gnu dot org
--- Comment #4 from burnus at gcc dot gnu dot org 2008-02-04 20:58 --- > But I'm useless at reading assembly (the tree dump doesn't have these > attributes written out) Try something like the following with -O3 -fdump-tree-optimized: subroutine wait4it () logical event

[Bug fortran/34661] [4.2 Regression] ice on where / ASSIGNMENT(=)

2008-02-04 Thread dfranke at gcc dot gnu dot org
--- Comment #7 from dfranke at gcc dot gnu dot org 2008-02-04 20:44 --- Fixed on trunk and 4.2. Closing. -- dfranke at gcc dot gnu dot org changed: What|Removed |Added

[Bug c++/35056] [4.3 Regression] ICE in copy_to_mode_reg, at explow.c:621

2008-02-04 Thread jakub at gcc dot gnu dot org
--- Comment #15 from jakub at gcc dot gnu dot org 2008-02-04 20:43 --- Either build_identity_conv (tfrom, expr) is wrong if tfrom != from (the comment about build_identity_conv function suggest that I think), or convert_like_real needs to fold_convert in the ck_identity case. If the form

[Bug c++/33802] bogus "is used uninitialized" (VOPs) (inlining)

2008-02-04 Thread manu at gcc dot gnu dot org
--- Comment #14 from manu at gcc dot gnu dot org 2008-02-04 20:39 --- Created an attachment (id=15096) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=15096&action=view) Test for a valid testcase This is the test I am using for reducing the testcase. If you change something and run:

[Bug java/35035] [4.3 Regression] Has any one managed to run the libjava test suite on powerpc-apple-darwin9?

2008-02-04 Thread rguenther at suse dot de
--- Comment #32 from rguenther at suse dot de 2008-02-04 20:39 --- Subject: Re: [4.3 Regression] Has any one managed to run the libjava test suite on powerpc-apple-darwin9? On Mon, 4 Feb 2008, howarth at nitro dot med dot uc dot edu wrote: > --- Comment #31 from howarth at nitro

[Bug fortran/34661] [4.2 Regression] ice on where / ASSIGNMENT(=)

2008-02-04 Thread dfranke at gcc dot gnu dot org
--- Comment #6 from dfranke at gcc dot gnu dot org 2008-02-04 20:37 --- Subject: Bug 34661 Author: dfranke Date: Mon Feb 4 20:37:12 2008 New Revision: 132094 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=132094 Log: gcc/fortran: 2008-02-04 Daniel Franke <[EMAIL PROTECTED]>

[Bug c++/33802] bogus "is used uninitialized" (VOPs) (inlining)

2008-02-04 Thread manu at gcc dot gnu dot org
--- Comment #13 from manu at gcc dot gnu dot org 2008-02-04 20:37 --- Created an attachment (id=15095) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=15095&action=view) Reduced testcase (16K) GCC 4.3 I can't reduce this further, so I post it here in case someone wants to give it a

[Bug bootstrap/33992] Building libstdc++-v3: include/limits: stray '\275' in program

2008-02-04 Thread dirtyepic at gentoo dot org
--- Comment #12 from dirtyepic at gentoo dot org 2008-02-04 20:30 --- no one cares that make profiledbootstrap on 64bit targets miscompiles the preprocessor when BOOT_CFLAGS="-O2" ? -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33992

[Bug libstdc++/33678] [4.2.0 regression] __do_catch, __do_upcast ABI change

2008-02-04 Thread pinskia at gcc dot gnu dot org
--- Comment #5 from pinskia at gcc dot gnu dot org 2008-02-04 20:18 --- *** Bug 35081 has been marked as a duplicate of this bug. *** -- pinskia at gcc dot gnu dot org changed: What|Removed |Added ---

[Bug libstdc++/35081] abi breakage in typeinfo (4.0.1 -> 4.2.1)

2008-02-04 Thread pinskia at gcc dot gnu dot org
--- Comment #1 from pinskia at gcc dot gnu dot org 2008-02-04 20:18 --- And it has already been fixed in 4.2.2. *** This bug has been marked as a duplicate of 33678 *** -- pinskia at gcc dot gnu dot org changed: What|Removed |Added ---

[Bug c++/35056] [4.3 Regression] ICE in copy_to_mode_reg, at explow.c:621

2008-02-04 Thread jakub at gcc dot gnu dot org
--- Comment #14 from jakub at gcc dot gnu dot org 2008-02-04 20:11 --- Regression introduced by the call.c (reference_binding) changes from http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=131751 -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35056

[Bug libstdc++/35081] New: abi breakage in typeinfo (4.0.1 -> 4.2.1)

2008-02-04 Thread mrs at apple dot com
Someone appears to have blown the g++ abi in gcc-4.2.1 as compared to gcc-4.0.1. The below patch appears to be needed? If so, could you please add this to at least *-apple-darwin*. $ cat patches-4.2.1/typeinfo-abi.patch --- gcc-4.2.1/libstdc++-v3/libsupc++/typeinfo 2007-06-26 11:35:42.000

[Bug java/35035] [4.3 Regression] Has any one managed to run the libjava test suite on powerpc-apple-darwin9?

2008-02-04 Thread howarth at nitro dot med dot uc dot edu
--- Comment #31 from howarth at nitro dot med dot uc dot edu 2008-02-04 18:36 --- Back to this PR, who did we need to review the current patch? I ask because the last other remaining P! for gcc trunk has a proposed patch so gcc 4.3 can branch as soon as both of those are checked in. -

[Bug testsuite/35047] some vectorisation tests fail with --with-arch=core2 or on i338-apple-darwin8.11.1

2008-02-04 Thread ubizjak at gmail dot com
--- Comment #9 from ubizjak at gmail dot com 2008-02-04 18:31 --- (In reply to comment #8) > and with -m64: > FAIL: gcc.target/i386/pr32661-1.c scan-assembler-times mov 2 Does darwin need -fomit-frame-pointer for this test? -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35047

[Bug c++/35080] New: __thread generators a.out that creates segmentation fault

2008-02-04 Thread xindong at ccs dot neu dot edu
We were using g++ (GCC) 3.4.6 20060404 (Red Hat 3.4.6.9) on Linux 2.6.24.14 SMP X86_64 GNU/Linux 4-core Intel @2.66GHz. We executed: g++ -O0 test.cc ./a.out ./a.out causes segmentation fault. The file test.cc folows below: __thread int testarray[2]; int main() { int i = 2; te

[Bug target/11594] testcase gcc.dg/20020103-1.c fails with "scan-assembler-not LC"

2008-02-04 Thread steven at gcc dot gnu dot org
--- Comment #10 from steven at gcc dot gnu dot org 2008-02-04 18:12 --- oops, sorry! -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=11594

[Bug target/11594] testcase gcc.dg/20020103-1.c fails with "scan-assembler-not LC"

2008-02-04 Thread janis at gcc dot gnu dot org
--- Comment #9 from janis at gcc dot gnu dot org 2008-02-04 17:53 --- It doesn't show up as FAIL for powerpc*-*-linux* becaues that check includes an xfail: /* { dg-final { scan-assembler-not "LC\[0-9\]" { xfail powerpc*-*-* } } } */ Reopened. -- janis at gcc dot gnu dot org chan

[Bug other/35070] [4.3 Regression] -fverbose-asm has bogus asm output (mpfr library warning)

2008-02-04 Thread ghazi at gcc dot gnu dot org
--- Comment #4 from ghazi at gcc dot gnu dot org 2008-02-04 17:40 --- Sure, I think I see what's wrong. -- ghazi at gcc dot gnu dot org changed: What|Removed |Added

[Bug fortran/34207] libgfortran configure: "GNU Fortran is not working" on sparc-sun-solaris2.10

2008-02-04 Thread fxcoudert at gcc dot gnu dot org
--- Comment #3 from fxcoudert at gcc dot gnu dot org 2008-02-04 17:38 --- (In reply to comment #2) > thanks ... i'm using sunfreeware.com's latest version of GMP (4.2.1) and > MPFR's > 2.3.0 (plus the latest downloaded patches) ... Closing this bug as INVALID, please reopen if you sti

[Bug fortran/35019] Gfortran does not support "-J " only "-J"

2008-02-04 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 Last recon

[Bug fortran/35031] ELEMENTAL procedure with BIND(C)

2008-02-04 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 Last recon

[Bug middle-end/33631] [4.1/4.2/4.3 Regression] auto structure not initialized correctly

2008-02-04 Thread rguenth at gcc dot gnu dot org
--- Comment #4 from rguenth at gcc dot gnu dot org 2008-02-04 17:30 --- Err, yes. We run into count_type_elements: case UNION_TYPE: case QUAL_UNION_TYPE: { /* Ho hum. How in the world do we guess here? Clearly it isn't right to count the fields. Gues

[Bug target/35079] [arm] ICE (segfault) with gfortran -O3 -funroll-loops

2008-02-04 Thread debian-gcc at lists dot debian dot org
--- Comment #1 from debian-gcc at lists dot debian dot org 2008-02-04 17:24 --- Created an attachment (id=15094) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=15094&action=view) code -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35079

[Bug target/35079] New: [arm] ICE (segfault) with gfortran -O3 -funroll-loops

2008-02-04 Thread debian-gcc at lists dot debian dot org
The attached code (from lapack) segfaults gfortran trunk 20080116 with -O3 -funroll-loops, succeeds without -funroll-loops. $ gfortran-4.3 -funroll-loops -save-temps -O3 -c seispack.f seispack.f: In function 'invit': seispack.f:1742: internal compiler error: Segmentation fault Please submit a fu

[Bug middle-end/33631] [4.1/4.2/4.3 Regression] auto structure not initialized correctly

2008-02-04 Thread rguenth at gcc dot gnu dot org
--- Comment #3 from rguenth at gcc dot gnu dot org 2008-02-04 17:12 --- Really reduced testcase, the key is that pthread_mutex_t is a union: typedef union { int __lock; } pthread_mutex_t; extern void abort (void); int main(int c, char **v) { struct { int c; pthread_mutex_t m; }

[Bug middle-end/29253] expand_abs wrong default code for floating point

2008-02-04 Thread bergner at gcc dot gnu dot org
--- Comment #8 from bergner at gcc dot gnu dot org 2008-02-04 17:04 --- Ok, I bootstrapped with revision 132091. The patched compiler ICE's on the following test case: typedef float TFtype __attribute__ ((mode (TF))); TFtype divtc3 (TFtype a, TFtype b) { if (__builtin_fabsl (a) < __b

[Bug middle-end/33631] [4.1/4.2/4.3 Regression] auto structure not initialized correctly

2008-02-04 Thread rguenth at gcc dot gnu dot org
--- Comment #2 from rguenth at gcc dot gnu dot org 2008-02-04 17:04 --- The warning persists for me on the trunk, and the initialization is not done: main (c, v) { int D.2713; int D.2714; int j[3]; typedef struct { int c; int * j; union pthread_mutex_t m; } struc

[Bug target/33205] optimization bug: unsigned bitfield expands with non-zero padding bits

2008-02-04 Thread rguenth at gcc dot gnu dot org
--- Comment #4 from rguenth at gcc dot gnu dot org 2008-02-04 16:49 --- Still works for me on x86_64/i686. Any ppc guys around to confirm this? -- rguenth at gcc dot gnu dot org changed: What|Removed |Added

[Bug middle-end/32668] The type-generic builtins apply default promotions

2008-02-04 Thread rguenth at gcc dot gnu dot org
--- Comment #10 from rguenth at gcc dot gnu dot org 2008-02-04 16:45 --- Fixed, as this wasn't a regression. -- rguenth at gcc dot gnu dot org changed: What|Removed |Added ---

[Bug target/32259] GCC 4.3.0 20070607 - FAIL: gcc.c-torture/execute/20050316-2.c execution

2008-02-04 Thread rguenth at gcc dot gnu dot org
--- Comment #3 from rguenth at gcc dot gnu dot org 2008-02-04 16:42 --- Works for me. -- rguenth at gcc dot gnu dot org changed: What|Removed |Added Status|UN

[Bug c++/32210] Wrong alignment of struct members where one member is bitfield exceeding its type.

2008-02-04 Thread rguenth at gcc dot gnu dot org
--- Comment #7 from rguenth at gcc dot gnu dot org 2008-02-04 16:40 --- The C++ standard says: 'The constant-expression may be larger than the number of bits in the object representation of the bit-field's type' in such cases the extra bits are used as padding bits and do not participat

[Bug middle-end/29253] expand_abs wrong default code for floating point

2008-02-04 Thread bergner at gcc dot gnu dot org
--- Comment #7 from bergner at gcc dot gnu dot org 2008-02-04 16:30 --- I'm testing the patch from Comment #4 on powerpc64-linux. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29253

[Bug target/30148] parameter passing bug

2008-02-04 Thread rguenth at gcc dot gnu dot org
--- Comment #3 from rguenth at gcc dot gnu dot org 2008-02-04 16:16 --- Works on the trunk, fails for 4.1 and 4.2 branches with -O2, -fno-strict-aliasing makes the failure go away there. Inlining is not required to trigger the bug. Probably a dup of one of the various alias-related mis

[Bug tree-optimization/30088] [4.1/4.2 Regression] Unexpected compilation results: -O1 vs. -O1 -fstrict-aliasing

2008-02-04 Thread rguenth at gcc dot gnu dot org
--- Comment #17 from rguenth at gcc dot gnu dot org 2008-02-04 16:09 --- Trunk is fine. -- rguenth at gcc dot gnu dot org changed: What|Removed |Added Known to work

[Bug c++/30111] Value-initialization of POD base class doesn't initialize members

2008-02-04 Thread rguenth at gcc dot gnu dot org
--- Comment #8 from rguenth at gcc dot gnu dot org 2008-02-04 16:06 --- Jason is this the same issue as PR33916 you fixed? (Your fix didn't change the outcome of this PR though) -- rguenth at gcc dot gnu dot org changed: What|Removed |Added --

[Bug tree-optimization/29832] -ftree-loop-linear miscompiles scalarize.f90

2008-02-04 Thread rguenth at gcc dot gnu dot org
--- Comment #4 from rguenth at gcc dot gnu dot org 2008-02-04 16:01 --- Re-confirmed on the trunk. make check-gfortran \ RUNTESTFLAGS="--target_board=unix/-ftree-loop-linear execute.exp" -- rguenth at gcc dot gnu dot org changed: What|Removed |A

[Bug middle-end/29864] Folding conversion unsigned long long to float

2008-02-04 Thread rguenth at gcc dot gnu dot org
--- Comment #2 from rguenth at gcc dot gnu dot org 2008-02-04 15:52 --- A testcase would probably be sth along the lines of extern void abort (void); void __attribute__((noinline)) foo (unsigned long long x) { float uf = x; float sf = (signed long long)x; if (uf == sf) abort (

[Bug c++/33553] [4.1/4.2/4.3 Regression] Bogus "array bound is not an integer constant" for parameter in template method of template class

2008-02-04 Thread jakub at gcc dot gnu dot org
--- Comment #11 from jakub at gcc dot gnu dot org 2008-02-04 15:47 --- http://gcc.gnu.org/ml/gcc-patches/2008-02/msg00087.html -- jakub at gcc dot gnu dot org changed: What|Removed |Added

[Bug other/31405] [4.3 Regression] fixincludes needed for wchar from glibc 2.3.6

2008-02-04 Thread hp at gcc dot gnu dot org
--- Comment #5 from hp at gcc dot gnu dot org 2008-02-04 15:42 --- Could the reporter please verify that the problem is fixed with trunk >= 132093 and if so, close this PR? Thanks. -- hp at gcc dot gnu dot org changed: What|Removed |Added

[Bug other/31405] [4.3 Regression] fixincludes needed for wchar from glibc 2.3.6

2008-02-04 Thread hp at gcc dot gnu dot org
--- Comment #4 from hp at gcc dot gnu dot org 2008-02-04 15:34 --- Subject: Bug 31405 Author: hp Date: Mon Feb 4 15:33:54 2008 New Revision: 132093 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=132093 Log: PR other/31405 * inclhack.def: (glibc_c99_inline_1a): R

[Bug target/34711] [4.3 Regression] g++.dg/tree-ssa/ivopts-1.C fails for power and arm

2008-02-04 Thread jakub at gcc dot gnu dot org
--- Comment #6 from jakub at gcc dot gnu dot org 2008-02-04 15:33 --- I think we can safely close this. For hppa see http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=132082 for arm I've tested with a cross. -- jakub at gcc dot gnu dot org changed: What|Removed

[Bug middle-end/29253] expand_abs wrong default code for floating point

2008-02-04 Thread rguenth at gcc dot gnu dot org
--- Comment #6 from rguenth at gcc dot gnu dot org 2008-02-04 15:07 --- Uh, and we fold ABS != 0.0 to x != 0.0, which makes the testcase uninteresting as well. Also it happens that for double we succeed with generating the nojump variant. And I don't have a cross with long-double enab

[Bug c++/35077] [4.3 regression] ICE with attribute in broken class declaration

2008-02-04 Thread pcarlini at suse dot de
--- Comment #2 from pcarlini at suse dot de 2008-02-04 14:59 --- Seems simple. -- pcarlini at suse dot de changed: What|Removed |Added AssignedTo|unassigned at gc

[Bug middle-end/29253] expand_abs wrong default code for floating point

2008-02-04 Thread rguenth at gcc dot gnu dot org
--- Comment #5 from rguenth at gcc dot gnu dot org 2008-02-04 14:57 --- Executable testcase: extern double fabs(double); extern void abort(void); void __attribute__((noinline)) foo(double x) { if (fabs (x) != 0.0) abort (); } int main () { foo(-0.0); return 0; } -- http:/

[Bug java/35035] [4.3 Regression] Has any one managed to run the libjava test suite on powerpc-apple-darwin9?

2008-02-04 Thread howarth at nitro dot med dot uc dot edu
--- Comment #30 from howarth at nitro dot med dot uc dot edu 2008-02-04 14:54 --- With regard to the 64-bit support for powerpc-apple-darwin9, this does exist in Apple's open source release of libffi from PyObjC. Bill Bumgarner at Apple had the following comments on the issue of porting

[Bug middle-end/29253] expand_abs wrong default code for floating point

2008-02-04 Thread rguenth at gcc dot gnu dot org
--- Comment #4 from rguenth at gcc dot gnu dot org 2008-02-04 14:51 --- Created an attachment (id=15093) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=15093&action=view) patch This should fix it. Can someone test it on ppc please? -- http://gcc.gnu.org/bugzilla/show_bug.cgi?

[Bug c++/35076] ICE with rvalue references and casts

2008-02-04 Thread rguenth at gcc dot gnu dot org
--- Comment #1 from rguenth at gcc dot gnu dot org 2008-02-04 14:30 --- Confirmed. -- rguenth at gcc dot gnu dot org changed: What|Removed |Added Status|UNCON

[Bug c++/35077] [4.3 regression] ICE with attribute in broken class declaration

2008-02-04 Thread rguenth at gcc dot gnu dot org
--- Comment #1 from rguenth at gcc dot gnu dot org 2008-02-04 14:29 --- Confirmed. -- rguenth at gcc dot gnu dot org changed: What|Removed |Added Status|UNCON

[Bug middle-end/29253] expand_abs wrong default code for floating point

2008-02-04 Thread dje at gcc dot gnu dot org
--- Comment #3 from dje at gcc dot gnu dot org 2008-02-04 14:27 --- main () { if (fabs (-0.0) != 0.0) abort (); } compile with -msoft-float and optimization on powerpc-linux. -- dje at gcc dot gnu dot org changed: What|Removed |Added ---

[Bug c++/35078] ICE with reference in parallel for loop

2008-02-04 Thread rguenth at gcc dot gnu dot org
--- Comment #1 from rguenth at gcc dot gnu dot org 2008-02-04 14:27 --- Confirmed. -- rguenth at gcc dot gnu dot org changed: What|Removed |Added Status|UNCON

[Bug c++/35067] [4.2/4.3 Regression] multiple definition of virtual thunk

2008-02-04 Thread vincent dot riviere at freesbee dot fr
--- Comment #8 from vincent dot riviere at freesbee dot fr 2008-02-04 14:02 --- I confirm this problem is still present in GCC 4.3-20080201. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35067

[Bug java/35035] [4.3 Regression] Has any one managed to run the libjava test suite on powerpc-apple-darwin9?

2008-02-04 Thread dominiq at lps dot ens dot fr
--- Comment #29 from dominiq at lps dot ens dot fr 2008-02-04 14:01 --- > For ppc-darwin 64-bit there is _no_ libjava support. Bits are missing, namely > libffi for 64-bit, Now I remember, it is PR29152!-(2006-09-20) > I'm also not sure how boehm-gc works. It is broken for 4.2 and s

[Bug c++/35074] [4.3 regression] ICE with attribute "aligned" for template classes

2008-02-04 Thread reichelt at gcc dot gnu dot org
--- Comment #3 from reichelt at gcc dot gnu dot org 2008-02-04 13:59 --- Well, the ICE appeared before 2008-01-31 Douglas Gregor <[EMAIL PROTECTED]> Jakub Jelinek <[EMAIL PROTECTED]> PR c++/34935 PR c++/34936 * typeck.c (structural_comptypes): Handle

[Bug c++/35078] New: ICE with reference in parallel for loop

2008-02-04 Thread reichelt at gcc dot gnu dot org
The following invalid code snippet triggers an ICE since GCC 4.2.0 when compiled with -fopenmp: === template void foo() { #pragma omp parallel for for (int& i = 0; i < 10; ++i) ; } ===

[Bug java/35035] [4.3 Regression] Has any one managed to run the libjava test suite on powerpc-apple-darwin9?

2008-02-04 Thread andreast at gcc dot gnu dot org
--- Comment #28 from andreast at gcc dot gnu dot org 2008-02-04 13:48 --- For ppc-darwin 64-bit there is _no_ libjava support. Bits are missing, namely libffi for 64-bit, I'm also not sure how boehm-gc works. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35035

[Bug tree-optimization/34989] [4.3 Regression] ICE in get_addr_dereference_operands, at tree-ssa-operands.c:1698 with IMA

2008-02-04 Thread rguenth at gcc dot gnu dot org
--- Comment #10 from rguenth at gcc dot gnu dot org 2008-02-04 13:45 --- Created an attachment (id=15092) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=15092&action=view) queued forwprop cleanup -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34989

[Bug tree-optimization/34989] [4.3 Regression] ICE in get_addr_dereference_operands, at tree-ssa-operands.c:1698 with IMA

2008-02-04 Thread rguenth at gcc dot gnu dot org
--- Comment #9 from rguenth at gcc dot gnu dot org 2008-02-04 13:44 --- Mine. I have a patch that fixes this, but lets queue this for 4.3.1 instead. -- rguenth at gcc dot gnu dot org changed: What|Removed |Added ---

  1   2   >