[Bug target/39939] MinGW 4.3.0 fails to link sample programme.

2009-04-30 Thread julian1844 at yahoo dot com
--- Comment #8 from julian1844 at yahoo dot com 2009-04-30 06:38 --- (In reply to comment #7) ok, mingw should be linking against libpthreads with -fopenmp (it should also be linking against libgomp also) I don't think libgomp has been ported to mingw yet. I wonder if the source

[Bug fortran/27452] gfortran support for non-standard sind,cosd and friends intrinsics

2009-04-30 Thread ruben at tapir dot caltech dot edu
--- Comment #8 from ruben at tapir dot caltech dot edu 2009-04-30 07:33 --- In my considered opinion, the need to support these functions has little to do with efficiency or with convenience. It has more to do with accuracy and symmetries; relations such as sind(30)=0.5, cosd(90)=0.0,

[Bug fortran/27452] gfortran support for non-standard sind,cosd and friends intrinsics

2009-04-30 Thread ruben at tapir dot caltech dot edu
--- Comment #9 from ruben at tapir dot caltech dot edu 2009-04-30 07:38 --- Someone suggested multiplying or dividing the argument by a factor. That does not do - the floating point precision achieved would be insufficient. Someone complains about the names of these functions. I

[Bug fortran/27452] gfortran support for non-standard sind,cosd and friends intrinsics

2009-04-30 Thread steven at gcc dot gnu dot org
--- Comment #10 from steven at gcc dot gnu dot org 2009-04-30 07:51 --- These functions will *not* be implemented, period. And even if they would be implemented, they'd internally just return sin(arg*180/pi) co. The compiler and the runtime library don't actually calculate sin/cos

[Bug debug/35462] anonymous struct in c++ has wrong name in -gdwarf-2

2009-04-30 Thread jan dot kratochvil at redhat dot com
--- Comment #2 from jan dot kratochvil at redhat dot com 2009-04-30 07:52 --- Please close it as DUPLICATE of PR debug/35463. -- jan dot kratochvil at redhat dot com changed: What|Removed |Added

[Bug tree-optimization/39621] Delaying operation to end of function causes high stack usage

2009-04-30 Thread ramana at gcc dot gnu dot org
-- ramana at gcc dot gnu dot org changed: What|Removed |Added Status|UNCONFIRMED |NEW Component|c |tree-optimization

[Bug bootstrap/39968] [4.5 Regression] ./plugin-version.h:11: error: 'gcc_version' defined but not used

2009-04-30 Thread espindola at google dot com
--- Comment #4 from espindola at google dot com 2009-04-30 08:07 --- Probably fixed on 146998. Andrew Pinski, we cannot use a shared library for this. The idea is for the plugin to remember what gcc version it was compiled for. A shared library can change after the fact. --

[Bug middle-end/39973] [4.5 Regression] 416.gamess in SPEC CPU 2006 is miscompiled

2009-04-30 Thread rguenth at gcc dot gnu dot org
-- rguenth at gcc dot gnu dot org changed: What|Removed |Added Target Milestone|--- |4.5.0 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39973

[Bug middle-end/39972] [4.5 Regression] 465.tonto in SPEC CPU 2006 is miscompiled

2009-04-30 Thread rguenth at gcc dot gnu dot org
-- rguenth at gcc dot gnu dot org changed: What|Removed |Added Target Milestone|--- |4.5.0 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39972

[Bug target/35586] seg fault when compiling liboil 0.3.13, file conv_c.c

2009-04-30 Thread ramana at gcc dot gnu dot org
--- Comment #4 from ramana at gcc dot gnu dot org 2009-04-30 09:02 --- Can you try with a later version of the compiler (in the set of released versions) 4.3.4 , 4.4.0 or trunk and report back ? Don't get this failure with arm-eabi configurations. -- ramana at gcc dot gnu dot org

[Bug target/39942] Nonoptimal code - leaveq; xchg %ax,%ax; retq

2009-04-30 Thread jakub at gcc dot gnu dot org
--- Comment #16 from jakub at gcc dot gnu dot org 2009-04-30 09:07 --- Created an attachment (id=17783) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=17783action=view) gcc45-pr39942.patch Patch that attempts to take into account .p2align directives that are emitted for (some)

[Bug libfortran/36689] PRINT and WRITE eat minus sign

2009-04-30 Thread pault at gcc dot gnu dot org
--- Comment #10 from pault at gcc dot gnu dot org 2009-04-30 09:52 --- (In reply to comment #9) (In reply to comment #8) I have remote access to the machine now. Having trouble with gcc build. Not forgotton. I remember our admin talking about needing an updated ld to be able to

[Bug target/38571] [arm] -mthumb generates unnecessary padding between functions

2009-04-30 Thread ramana at gcc dot gnu dot org
--- Comment #8 from ramana at gcc dot gnu dot org 2009-04-30 10:05 --- Subject: Bug 38571 Author: ramana Date: Thu Apr 30 10:04:52 2009 New Revision: 147000 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=147000 Log: Fix PR target/38571 Modified: trunk/gcc/ChangeLog

[Bug target/38571] [arm] -mthumb generates unnecessary padding between functions

2009-04-30 Thread ramana at gcc dot gnu dot org
--- Comment #9 from ramana at gcc dot gnu dot org 2009-04-30 10:05 --- This is now fixed with r147000 -- ramana at gcc dot gnu dot org changed: What|Removed |Added

[Bug target/38571] [arm] -mthumb generates unnecessary padding between functions

2009-04-30 Thread ramana at gcc dot gnu dot org
-- ramana at gcc dot gnu dot org changed: What|Removed |Added Target Milestone|--- |4.5.0 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38571

[Bug bootstrap/39968] [4.5 Regression] ./plugin-version.h:11: error: 'gcc_version' defined but not used

2009-04-30 Thread joseph at codesourcery dot com
--- Comment #5 from joseph at codesourcery dot com 2009-04-30 10:09 --- Subject: Re: [4.5 Regression] ./plugin-version.h:11: error: 'gcc_version' defined but not used On Thu, 30 Apr 2009, pinskia at gcc dot gnu dot org wrote: Really I think plugin support is flawed. There should

[Bug bootstrap/22479] Use of --prefix and --exec-prefix breaks compiler build with --with-headers

2009-04-30 Thread ramana at gcc dot gnu dot org
--- Comment #1 from ramana at gcc dot gnu dot org 2009-04-30 10:10 --- Can you try with a compiler of more recent vintage and report back. -- ramana at gcc dot gnu dot org changed: What|Removed |Added

[Bug bootstrap/29780] temporary file breaks cross-build

2009-04-30 Thread ramana at gcc dot gnu dot org
--- Comment #5 from ramana at gcc dot gnu dot org 2009-04-30 10:18 --- Can you try with a compiler of more recent vintage and report back ? -- ramana at gcc dot gnu dot org changed: What|Removed |Added

[Bug target/39975] New: Support big endian ARM by default.

2009-04-30 Thread ramana at gcc dot gnu dot org
Create a default configuration that honours big endian ARM by default. PR31938 refers to this. -- Summary: Support big endian ARM by default. Product: gcc Version: unknown Status: UNCONFIRMED Severity: enhancement Priority: P3

[Bug target/39975] Support big endian ARM by default.

2009-04-30 Thread ramana at gcc dot gnu dot org
-- ramana at gcc dot gnu dot org changed: What|Removed |Added Status|UNCONFIRMED |NEW Ever Confirmed|0 |1 Last

[Bug target/31938] Wrong code on int to short cast on armeb

2009-04-30 Thread ramana at gcc dot gnu dot org
--- Comment #4 from ramana at gcc dot gnu dot org 2009-04-30 10:25 --- If there is a request to support a big endian default configuration for ARM, there should be a separate enhancement request for that. Given this, I'd close this bug as being invalid. I've filed PR39975 for this

[Bug middle-end/31241] Post Increment opportunity missed

2009-04-30 Thread ramana at gcc dot gnu dot org
--- Comment #4 from ramana at gcc dot gnu dot org 2009-04-30 10:30 --- Not sure if this is related to PR31849 as well. -- ramana at gcc dot gnu dot org changed: What|Removed |Added

[Bug libfortran/36689] PRINT and WRITE eat minus sign

2009-04-30 Thread dennis dot wassel at googlemail dot com
--- Comment #11 from dennis dot wassel at googlemail dot com 2009-04-30 10:31 --- It is working with 4.3.3, so it seems to have been silently fixed somewhere. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36689

[Bug middle-end/38696] gcc.dg/torture/pr37868.c wrong code at -O2 and above for 4.3 and trunk / bit packing

2009-04-30 Thread rguenth at gcc dot gnu dot org
--- Comment #4 from rguenth at gcc dot gnu dot org 2009-04-30 10:37 --- For 4.3 try if -fno-tree-sra fixes the failures. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38696

[Bug target/33519] Invalid code generated with a combination of thumb, AAPCS and -Os.

2009-04-30 Thread ramana at gcc dot gnu dot org
--- Comment #3 from ramana at gcc dot gnu dot org 2009-04-30 10:39 --- We need more information on what the exact problem is with the code generated. Could you try with a compiler of more recent vintage and report back ? -- ramana at gcc dot gnu dot org changed: What

[Bug target/38570] [arm] -mthumb generates sub-optimal prolog/epilog

2009-04-30 Thread ramana at gcc dot gnu dot org
-- ramana at gcc dot gnu dot org changed: What|Removed |Added Status|UNCONFIRMED |NEW Ever Confirmed|0 |1 Last

[Bug tree-optimization/39974] New: [4.5 regression] Bogus array subscript is below array bounds warning in compiler generated code

2009-04-30 Thread reichelt at gcc dot gnu dot org
The following code snippet produces a bogus warning when compiled with -O2 -Wall on trunk: bug.cc: In function 'void _Z41__static_initialization_and_destruction_0ii.clone.0()': bug.cc:3: warning: array subscript is below array bounds bug.cc:3: warning: array subscript is below array bounds

[Bug middle-end/38696] gcc.dg/torture/pr37868.c wrong code at -O2 and above for 4.3 and trunk / bit packing

2009-04-30 Thread ramana at gcc dot gnu dot org
--- Comment #3 from ramana at gcc dot gnu dot org 2009-04-30 09:27 --- Seems to work today on gcc50 with gcc 4.4.0 and trunk on the simulator .I don't see these failures in recent testresults on gcc-testresults@ from the auto-tester at gcc50. -- ramana at gcc dot gnu dot org

[Bug rtl-optimization/29336] shorten_branches and machine-dependent constant pool placement should be integrated

2009-04-30 Thread ramana at gcc dot gnu dot org
-- ramana at gcc dot gnu dot org changed: What|Removed |Added Status|UNCONFIRMED |NEW Ever Confirmed|0 |1 GCC target

[Bug target/35562] internal compiler error compiling qemu on arm

2009-04-30 Thread ramana at gcc dot gnu dot org
--- Comment #2 from ramana at gcc dot gnu dot org 2009-04-30 11:29 --- gcc 3.4 is no longer supported. Marking this as WONTFIX. -- ramana at gcc dot gnu dot org changed: What|Removed |Added

[Bug tree-optimization/39974] [4.5 regression] Bogus array subscript is below array bounds warning in compiler generated code

2009-04-30 Thread reichelt at gcc dot gnu dot org
-- reichelt at gcc dot gnu dot org changed: What|Removed |Added Target Milestone|--- |4.5.0 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39974

[Bug java/39940] [4.5 Regression] Bootstrap failure in libjava on i686-apple-darwin9

2009-04-30 Thread dominiq at lps dot ens dot fr
--- Comment #5 from dominiq at lps dot ens dot fr 2009-04-30 11:25 --- Does http://gcc.gnu.org/ml/gcc-cvs/2009-04/msg01619.html fix this? No! Still fails at revision 146999. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39940

[Bug rtl-optimization/29336] shorten_branches and machine-dependent constant pool placement should be integrated

2009-04-30 Thread rearnsha at gcc dot gnu dot org
-- rearnsha at gcc dot gnu dot org changed: What|Removed |Added Severity|normal |enhancement http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29336

[Bug libfortran/36689] PRINT and WRITE eat minus sign

2009-04-30 Thread dennis dot wassel at googlemail dot com
--- Comment #12 from dennis dot wassel at googlemail dot com 2009-04-30 12:44 --- Closing, works with 4.3.3 -- dennis dot wassel at googlemail dot com changed: What|Removed |Added

[Bug debug/35462] anonymous struct in c++ has wrong name in -gdwarf-2

2009-04-30 Thread jakub at gcc dot gnu dot org
--- Comment #3 from jakub at gcc dot gnu dot org 2009-04-30 12:46 --- *** This bug has been marked as a duplicate of 35463 *** -- jakub at gcc dot gnu dot org changed: What|Removed |Added

[Bug debug/35463] typedef missing in debug information with -gdwarf-2 for c++

2009-04-30 Thread jakub at gcc dot gnu dot org
--- Comment #3 from jakub at gcc dot gnu dot org 2009-04-30 12:46 --- *** Bug 35462 has been marked as a duplicate of this bug. *** -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35463

[Bug middle-end/39973] [4.5 Regression] Revision 146817 miscompiled 416.gamess in SPEC CPU 2006

2009-04-30 Thread hjl dot tools at gmail dot com
--- Comment #1 from hjl dot tools at gmail dot com 2009-04-30 13:00 --- Revision 146817: http://gcc.gnu.org/ml/gcc-cvs/2009-04/msg01459.html is the cause. -- hjl dot tools at gmail dot com changed: What|Removed |Added

[Bug middle-end/39972] [4.5 Regression] 465.tonto in SPEC CPU 2006 is miscompiled

2009-04-30 Thread hjl dot tools at gmail dot com
--- Comment #2 from hjl dot tools at gmail dot com 2009-04-30 13:02 --- Revision 146817: http://gcc.gnu.org/ml/gcc-cvs/2009-04/msg01459.html may be the cause. -- hjl dot tools at gmail dot com changed: What|Removed |Added

[Bug debug/35463] typedef missing in debug information with -gdwarf-2 for c++

2009-04-30 Thread jakub at gcc dot gnu dot org
--- Comment #4 from jakub at gcc dot gnu dot org 2009-04-30 13:05 --- I think this has been fixed by http://gcc.gnu.org/viewcvs?root=gccview=revrev=146137 http://gcc.gnu.org/viewcvs?root=gccview=revrev=146290 http://gcc.gnu.org/viewcvs?root=gccview=revrev=146897 on the trunk. --

[Bug rtl-optimization/34849] Missed autoincrement opportunities due to a different basic block structure.

2009-04-30 Thread ramana at gcc dot gnu dot org
-- ramana at gcc dot gnu dot org changed: What|Removed |Added Status|UNCONFIRMED |NEW Ever Confirmed|0 |1 Last

[Bug java/39940] [4.5 Regression] Bootstrap failure in libjava on i686-apple-darwin9

2009-04-30 Thread bonzini at gnu dot org
--- Comment #6 from bonzini at gnu dot org 2009-04-30 14:56 --- Fails after PRE. Reduced testcase requiring just a jc1 executable (assuming gcc is built in a subdirectory of the toplevel, i.e. ../configure): ./jc1 ../../libjava/classpath/lib/gnu/CORBA/Poa/gnuPOA\$RefTemplate.class

[Bug java/39940] [4.5 Regression] Bootstrap failure in libjava on i686-apple-darwin9

2009-04-30 Thread bonzini at gnu dot org
--- Comment #7 from bonzini at gnu dot org 2009-04-30 14:56 --- Ah, I didn't bootstrap so jc1 cannot be miscompiled. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39940

[Bug fortran/39667] I/O possibly unneccesary truncations

2009-04-30 Thread jb at gcc dot gnu dot org
--- Comment #2 from jb at gcc dot gnu dot org 2009-04-30 15:12 --- Subject: Bug 39667 Author: jb Date: Thu Apr 30 15:12:37 2009 New Revision: 147004 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=147004 Log: Fix PR libfortran/39667 Modified: trunk/gcc/testsuite/ChangeLog

[Bug debug/35463] typedef missing in debug information with -gdwarf-2 for c++

2009-04-30 Thread jan dot kratochvil at redhat dot com
anonymous struct on: g++ (GCC) 4.4.0 20090427 (Red Hat 4.4.0-3) and gives DW_TAG_structure_type DW_AT_name type27 on: g++ (GCC) 4.5.0 20090430 (experimental) -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35463

[Bug fortran/27452] gfortran support for non-standard sind,cosd and friends intrinsics

2009-04-30 Thread sgk at troutmask dot apl dot washington dot edu
--- Comment #11 from sgk at troutmask dot apl dot washington dot edu 2009-04-30 16:09 --- Subject: Re: gfortran support for non-standard sind,cosd and friends intrinsics On Thu, Apr 30, 2009 at 07:38:31AM -, ruben at tapir dot caltech dot edu wrote: --- Comment #9 from

[Bug fortran/39971] kinds.h fails at building libgfortran

2009-04-30 Thread gustcr at yahoo dot com dot ar
--- Comment #2 from gustcr at yahoo dot com dot ar 2009-04-30 16:24 --- (In reply to comment #1) Change Severity to normal. Fortran bugs are never major. AFAIK, there will be no further releases from the gcc-4.1.x branch, so it is highly unlikely that this bug will be fixed.

[Bug regression/39976] New: [4.5 Regression] Big sixtrack degradation on powerpc 32/64 after revision r146817

2009-04-30 Thread luisgpm at linux dot vnet dot ibm dot com
We have a hot spot on sixtrack in a function called thin6d. Such loop is generated by the old (pre-146817) gcc as a single BB, thus the only way inside that loop is by executing instructions until we fall into that code. The post-146817 gcc breaks that loop in two BB's, such that we can actually

[Bug tree-optimization/39955] [4.5 Regression] struct-layout-1 test failures passing struct containing _Decimal32

2009-04-30 Thread janis at gcc dot gnu dot org
--- Comment #12 from janis at gcc dot gnu dot org 2009-04-30 16:30 --- In comment #10 I meant that the tests in gcc.c-torture/execute now pass for powerpc64-linux with -m32 and -m64, and that the 3 tests in gcc.target/powerpc listed in comment #7 still fail for powerpc64-linux with

[Bug middle-end/39972] [4.5 Regression] Revision 146817 miscompiled 465.tonto in SPEC CPU 2006

2009-04-30 Thread hjl dot tools at gmail dot com
--- Comment #3 from hjl dot tools at gmail dot com 2009-04-30 16:32 --- Revision 146817 is the cause. It is reproducible with test data, -i test. -- hjl dot tools at gmail dot com changed: What|Removed |Added

[Bug rtl-optimization/38373] 32-bit Vortex degradation on PPC due to bad RTL aliasing

2009-04-30 Thread luisgpm at linux dot vnet dot ibm dot com
--- Comment #3 from luisgpm at linux dot vnet dot ibm dot com 2009-04-30 16:33 --- This is already in 4.4, but we would like to add additional checks on 4.5 that would be risky to have on 4.4 (since it was almost being released). I have the additional patch and will attach it soon.

[Bug fortran/39971] kinds.h fails at building libgfortran

2009-04-30 Thread kargl at gcc dot gnu dot org
--- Comment #3 from kargl at gcc dot gnu dot org 2009-04-30 16:35 --- (In reply to comment #2) (In reply to comment #1) Change Severity to normal. Fortran bugs are never major. AFAIK, there will be no further releases from the gcc-4.1.x branch, so it is highly unlikely that

[Bug bootstrap/39977] New: r1467817 broke bootstrap on PA

2009-04-30 Thread sje at cup dot hp dot com
The 32 bit PA build broke with version 146817. The failure can be reproduced by compiling the included test program. The failure is: x.c: In function '__fixtfdi': x.c:9: internal compiler error: in expand_expr_addr_expr_1, at expr.c:6825 Please submit a full bug report, with preprocessed source

[Bug middle-end/39976] [4.5 Regression] Big sixtrack degradation on powerpc 32/64 after revision r146817

2009-04-30 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 fortran/38863] WHERE with multiple elemental defined assignments gives wrong answer

2009-04-30 Thread pault at gcc dot gnu dot org
--- Comment #16 from pault at gcc dot gnu dot org 2009-04-30 17:03 --- module m type t integer :: i,j end type t interface assignment (=) module procedure i_to_t end interface contains elemental subroutine i_to_t (p, q) type(t), intent(out) :: p integer,

[Bug tree-optimization/39978] New: [4.5 Regression] SEGV compiling libiberty/regex.c in stage2

2009-04-30 Thread danglin at gcc dot gnu dot org
if [ x-fPIC != x ]; then \ /home/dave/gnu/gcc/objdir/./prev-gcc/xgcc -B/home/dave/gnu/gcc/objdir/./prev-gcc/ -B/home/dave/opt/gnu/gcc/gcc-4.5.0/arm-none-linux-gnueabi/bin/ -c -DHAVE_CONFIG_H -g -O2 -I/home/dave/opt/gnu/include -I. -I../../gcc/libiberty/../include -W -Wall

[Bug bootstrap/39977] r1467817 broke bootstrap on PA

2009-04-30 Thread danglin at gcc dot gnu dot org
--- Comment #1 from danglin at gcc dot gnu dot org 2009-04-30 17:27 --- See the same error on hppa-unknown-linux-gnu: libtool: compile: /home/dave/gnu/gcc/objdir/./gcc/gfortran -B/home/dave/gnu/gcc /objdir/./gcc/ -B/home/dave/opt/gnu/gcc/gcc-4.5.0/hppa-linux/bin/ -B/home/dave/o

[Bug other/39979] New: possible wrong code at -O0.

2009-04-30 Thread pluto at agmk dot net
hi, i'm currently testing gcc-4.4.1-20090427 on my large c++ codebase. the application uses threads, contains over 100+ shared components and the tested debug build (-O0 -g2 -fpic) needs over 2GB of disk space, so creating reduced testcase at this point isn't trivial thing. i've observed that

[Bug testsuite/39776] FAIL: g++.dg/ext/altivec-15.C

2009-04-30 Thread janis at gcc dot gnu dot org
--- Comment #4 from janis at gcc dot gnu dot org 2009-04-30 17:48 --- Subject: Bug 39776 Author: janis Date: Thu Apr 30 17:48:03 2009 New Revision: 147010 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=147010 Log: PR testsuite/39776 * g++.dg/ext/altivec-15.C:

[Bug testsuite/39776] FAIL: g++.dg/ext/altivec-15.C

2009-04-30 Thread janis at gcc dot gnu dot org
--- Comment #5 from janis at gcc dot gnu dot org 2009-04-30 17:53 --- Subject: Bug 39776 Author: janis Date: Thu Apr 30 17:53:23 2009 New Revision: 147011 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=147011 Log: PR testsuite/39776 * g++.dg/ext/altivec-15.C:

[Bug middle-end/39978] [4.5 Regression] SEGV compiling libiberty/regex.c in stage2

2009-04-30 Thread pinskia at gcc dot gnu dot org
--- Comment #1 from pinskia at gcc dot gnu dot org 2009-04-30 17:55 --- Interesting. I Knew about a PIC failure on arm but I the backtrace was different, see http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39929#c12 . -- pinskia at gcc dot gnu dot org changed: What

[Bug bootstrap/39977] [4.5 Regression] r1467817 broke bootstrap on PA

2009-04-30 Thread pinskia at gcc dot gnu dot org
--- Comment #2 from pinskia at gcc dot gnu dot org 2009-04-30 17:59 --- Seems related to http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29209 which seems like it was worked around in 4.3 and 4.4 but exposed again with the SSA expand patch. -- pinskia at gcc dot gnu dot org changed:

[Bug c++/39980] New: C++ ICE in tsubst

2009-04-30 Thread sje at cup dot hp dot com
I will attach the preprocessed source code. I think the code is valid but I am not sure of that after using delta to cut it down as far as I could. x.cc:40: internal compiler error: tree check: accessed elt 3 of tree_vec with 2 elts in tsubst, at cp/pt.c:9249 Please submit a full bug report,

[Bug c++/39980] C++ ICE in tsubst

2009-04-30 Thread sje at cup dot hp dot com
--- Comment #1 from sje at cup dot hp dot com 2009-04-30 18:41 --- Created an attachment (id=17784) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=17784action=view) Preprocessed test case -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39980

[Bug middle-end/39964] compilation with -fprofile-generate causes code to segfault.

2009-04-30 Thread jv244 at cam dot ac dot uk
--- Comment #3 from jv244 at cam dot ac dot uk 2009-04-30 18:48 --- a bug in the code that is triggered by the option. closing as invalid. -- jv244 at cam dot ac dot uk changed: What|Removed |Added

[Bug c++/39981] New: zero-size base class optimization fails in certain scenarios

2009-04-30 Thread navinkumar+bugs at gmail dot com
Scenario1A: When class X inherits from A, B, and C; and A and C are empty classes, then gcc properly creates X such that: sizeof(X) == sizeof(B) Scenario1B: When class X inherits from A and B; and A is an empty class, then gcc properly creates X such that: sizeof(X) == sizeof(B) Scenario2A:

[Bug c++/39981] zero-size base class optimization fails in certain scenarios

2009-04-30 Thread navinkumar+bugs at gmail dot com
--- Comment #1 from navinkumar+bugs at gmail dot com 2009-04-30 18:54 --- Created an attachment (id=17785) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=17785action=view) demonstrates scenarios when zero-size base class optimization fails compile with flag: -std=c++0x --

[Bug c++/39981] zero-size base class optimization fails in certain scenarios

2009-04-30 Thread navinkumar+bugs at gmail dot com
--- Comment #2 from navinkumar+bugs at gmail dot com 2009-04-30 18:57 --- Tested with 2 versions of GCC, same behavior; Version #1 Using built-in specs. Target: x86_64-unknown-linux-gnu Configured with: /1123/scratch/gcc4.4.0/src/configure --prefix=/1123/software/gcc4.4.0

[Bug c++/39981] zero-size base class optimization fails in certain scenarios

2009-04-30 Thread pinskia at gcc dot gnu dot org
--- Comment #3 from pinskia at gcc dot gnu dot org 2009-04-30 19:01 --- I think GCC is doing the correct thing here as there is no padding to put _2_emptyB in. And this is not a zero-size base class optimization but rather padding filling class optimization. Have you read the IA64

[Bug c++/39981] zero-size base class optimization fails in certain scenarios

2009-04-30 Thread navinkumar+bugs at gmail dot com
--- Comment #4 from navinkumar+bugs at gmail dot com 2009-04-30 19:22 --- Since std::is_empty_2_emptyB::value std::is_empty_2_emptyA::value (as verified by the static assertions), GCC should not treat _2_emptyB differently from _2_emptyA when computing the structure's layout. The

[Bug c++/39982] New: Fail to use constructor to initialize volatile declaration (no matching function for call)

2009-04-30 Thread sergei_lus at yahoo dot com
This problem originates in peren_c++. The test (Sec13/3_1_3/P13290.C) exercising the following clause: ISO/IEC 14882:1998, 13.3.1.3. (When a user-defined conversion is invoked to convert an assignment-expression to a type cv T, where T is a class type, a constructor of T is considered a

[Bug middle-end/39976] [4.5 Regression] Big sixtrack degradation on powerpc 32/64 after revision r146817

2009-04-30 Thread luisgpm at linux dot vnet dot ibm dot com
--- Comment #1 from luisgpm at linux dot vnet dot ibm dot com 2009-04-30 19:29 --- ASM code for the bad loop .L145: fmul 10,8,13 fmul 5,8,0 addis 3,4,0xffe5 lfd 22,8(7) addi 7,4,8 lfd 6,9472(3) fmadd 10,9,0,10 fmsub

[Bug c++/39967] Ignored static qualifier on a local variable

2009-04-30 Thread sergei_lus at yahoo dot com
--- Comment #5 from sergei_lus at yahoo dot com 2009-04-30 19:32 --- Please close this issue. I think the real problem is in libc, not in the compiler. (test passes with -fno-threadsafe-statics). Thank you for support. -- sergei_lus at yahoo dot com changed: What

[Bug middle-end/39976] [4.5 Regression] Big sixtrack degradation on powerpc 32/64 after revision r146817

2009-04-30 Thread luisgpm at linux dot vnet dot ibm dot com
--- Comment #2 from luisgpm at linux dot vnet dot ibm dot com 2009-04-30 19:38 --- Created an attachment (id=17786) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=17786action=view) Last tree pass for the bad code -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39976

[Bug boehm-gc/34544] pthread_default_stacksize_np failed.

2009-04-30 Thread danglin at gcc dot gnu dot org
--- Comment #1 from danglin at gcc dot gnu dot org 2009-04-30 19:47 --- Still present in 4.4.0. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34544

[Bug middle-end/39976] [4.5 Regression] Big sixtrack degradation on powerpc 32/64 after revision r146817

2009-04-30 Thread pinskia at gcc dot gnu dot org
--- Comment #3 from pinskia at gcc dot gnu dot org 2009-04-30 19:51 --- bb 45: # crkveuk_lsm.686_3635 = PHI crkveuk_lsm.686_517(44) # cikve_lsm.685_3640 = PHI cikve_lsm.685_528(44) # crkveuk_lsm.686_3564 = PHI crkveuk_lsm.686_517(44) Interesting, I wonder if that causes expand

[Bug middle-end/39976] [4.5 Regression] Big sixtrack degradation on powerpc 32/64 after revision r146817

2009-04-30 Thread hjl dot tools at gmail dot com
--- Comment #4 from hjl dot tools at gmail dot com 2009-04-30 20:17 --- I am not sure if it is related. Revision 146817 miscompiled 465.tonto in SPEC CPU 2006 on Linux/ia32 with -O3 -msse2 -mfpmath=sse -ffast-math -funroll-loops -m32 The resulting tonto binary generated the wrong

[Bug target/39939] MinGW 4.3.0 fails to link sample programme.

2009-04-30 Thread dannysmith at users dot sourceforge dot net
--- Comment #9 from dannysmith at users dot sourceforge dot net 2009-04-30 20:57 --- (In reply to comment #6) (In reply to comment #4) Your libpthreads is doing something wrong. Re. comment 5 The command was actually gcc -fopemnp test.c -lgomp -o test.exe That command works

[Bug middle-end/39983] New: ICE: type mismatch in address expression

2009-04-30 Thread dimhen at gmail dot com
version 4.5.0 20090430 (experimental) [trunk revision 147009] (GCC) -- Summary: ICE: type mismatch in address expression Product: gcc Version: 4.5.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: middle-end

[Bug target/39939] MinGW 4.3.0 fails to link sample programme.

2009-04-30 Thread dannysmith at users dot sourceforge dot net
--- Comment #10 from dannysmith at users dot sourceforge dot net 2009-04-30 21:07 --- (In reply to comment #9) (In reply to comment #6) (In reply to comment #4) Your libpthreads is doing something wrong. Re. comment 5 The command was actually gcc -fopemnp test.c -lgomp -o

[Bug java/39940] [4.5 Regression] Bootstrap failure in libjava on i686-apple-darwin9

2009-04-30 Thread dominiq at lps dot ens dot fr
--- Comment #8 from dominiq at lps dot ens dot fr 2009-04-30 21:07 --- I successfully bootstrapped libjava on powerpc-apple-darwin9 at revision 146999. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39940

[Bug libgomp/39939] MinGW 4.3.0 fails to link sample programme.

2009-04-30 Thread dannysmith at users dot sourceforge dot net
-- dannysmith at users dot sourceforge dot net changed: What|Removed |Added Component|target |libgomp Target Milestone|---

[Bug java/39940] [4.5 Regression] Bootstrap failure in libjava on i686-apple-darwin9

2009-04-30 Thread bonzini at gnu dot org
--- Comment #9 from bonzini at gnu dot org 2009-04-30 21:10 --- Subject: Re: [4.5 Regression] Bootstrap failure in libjava on i686-apple-darwin9 I successfully bootstrapped libjava on powerpc-apple-darwin9 at revision 146999. Interesting, can you try the command-line I

[Bug tree-optimization/39984] New: ggc-pr37574.c gets ICE in tree_node_structure

2009-04-30 Thread janis at gcc dot gnu dot org
Test gcc.dg/vect/ggc-pr37574.c started failing on powerpc64-linux with -m32 or -m64 with this patch: http://gcc.gnu.org/viewcvs?view=revrev=146888 r146888 | rguenth | 2009-04-28 12:16:22 + (Tue, 28 Apr 2009) with the following options to cc1, which are used in the testsuite:

[Bug middle-end/39579] [4.5 regression] revisions 145171/145172 caused 2 extra failures

2009-04-30 Thread sje at gcc dot gnu dot org
--- Comment #4 from sje at gcc dot gnu dot org 2009-04-30 21:43 --- Subject: Bug 39579 Author: sje Date: Thu Apr 30 21:43:21 2009 New Revision: 147018 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=147018 Log: PR middle-end/39579 * gcc.dg/vect/vect-35.c: XFAIL for

[Bug tree-optimization/39955] [4.5 Regression] struct-layout-1 test failures passing struct containing _Decimal32

2009-04-30 Thread meissner at gcc dot gnu dot org
--- Comment #13 from meissner at gcc dot gnu dot org 2009-04-30 22:00 --- Subject: Bug 39955 Author: meissner Date: Thu Apr 30 21:59:49 2009 New Revision: 147021 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=147021 Log: fix for PR 39955 Modified: trunk/gcc/ChangeLog

[Bug c/39985] New: Type qualifiers not actually ignored on function return type

2009-04-30 Thread anders at kaseorg dot com
The warning printed with -Wignored-qualifiers (“warning: type qualifiers ignored on function return type”) seems to be lying. The const on a function’s return type is not actually ignored, as can be demonstrated using typeof(). I think that the warning should be right and the typeof() behavior

[Bug fortran/39971] kinds.h fails at building libgfortran

2009-04-30 Thread gustcr at yahoo dot com dot ar
--- Comment #4 from gustcr at yahoo dot com dot ar 2009-05-01 00:10 --- (In reply to comment #3) I couldn't find any other gmp or mpfr in the system. Also tried using the system's ld and as (both version 2.11.2) but the same error pops up (see below). Using ps ax I checked that the

[Bug fortran/39988] New: F2008: Default initialization, structure constructors, and allocatable components

2009-04-30 Thread w6ws at earthlink dot net
Consider the following test case: program defallocatable implicit none ! Demonstrate structure constructors with default initialization ! and allocatable arrays. (Unspecified in F2003, initialized to ! unallocated in F2008.) type mytype_t integer, allocatable :: data(:) end type