[Bug middle-end/33992] [4.3 Regression] Miscompiles a function, breaks profiledbootstrap

2008-02-10 Thread ubizjak at gmail dot com
--- Comment #26 from ubizjak at gmail dot com 2008-02-10 08:23 --- Following is significantly minimized testcase: --cut here-- #include #include struct real_value { unsigned long sig[3]; }; #ifdef INLINE static inline void __attribute__((always_inline)) #else static void __attrib

[Bug fortran/35152] New: Implicit procedure with keyword=argument is accepted

2008-02-10 Thread burnus at gcc dot gnu dot org
external bar call bar(a=5) end The "a=" is invalid as there is no explicit interface. "12.4 Procedure reference" "R1220 actual-arg-spec is [ keyword = ] actual-arg" "C1225 (R1220) The keyword = shall not appear if the interface of the procedure is implicit in the scoping unit." Found at: http://

[Bug c++/35153] New: Taking address of result of calling function returning rvalue reference should not compile.

2008-02-10 Thread gcc-bugzilla at contacts dot eelis dot net
Consider: int && f(); void g() { &(f()); } GCC accepts, but shouldn't, because by 5.3.1p2 (in n2461) the operand of unary & must be an lvalue, and by 5p6 (f()) is an rvalue. I'm using g++ (GCC) 4.3.0 20080106 (experimental). -- Summary: Taking address of result of calling funct

[Bug c++/35149] ICE: in expand_call_inline, at tree-inline.c:2653

2008-02-10 Thread Ralf dot Wildenhues at gmx dot de
--- Comment #2 from Ralf dot Wildenhues at gmx dot de 2008-02-10 09:52 --- Created an attachment (id=15126) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=15126&action=view) slightly reduced testcase This is what multidelta gets me (see

[Bug c++/35149] ICE: in expand_call_inline, at tree-inline.c:2653

2008-02-10 Thread Ralf dot Wildenhues at gmx dot de
--- Comment #3 from Ralf dot Wildenhues at gmx dot de 2008-02-10 09:53 --- Created an attachment (id=15127) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=15127&action=view) fix mime type of gzipped testcase -- Ralf dot Wildenhues at gmx dot de changed: What|Rem

[Bug middle-end/33992] [4.3 Regression] Miscompiles a function with inlining, breaks profiledbootstrap

2008-02-10 Thread ubizjak at gmail dot com
--- Comment #27 from ubizjak at gmail dot com 2008-02-10 10:44 --- Minimum testcase, fails also for 32bits: --cut here-- extern void abort (); void __attribute__((noinline)) bar (unsigned long long i) { if (i) abort (); } void __attribute__((always_inline)) foo (unsigned long lo

[Bug middle-end/33992] [4.3 Regression] Miscompiles function with inlining, breaks profiledbootstrap

2008-02-10 Thread ubizjak at gmail dot com
--- Comment #28 from ubizjak at gmail dot com 2008-02-10 11:10 --- This testcase can be used to analyze the failure: --cut here-- extern void abort (); void __attribute__((noinline)) bar (unsigned long long i) { if (i) abort (); } #ifdef INLINE void __attribute__((always_inline)

[Bug libfortran/35132] Formatted stream I/O write should truncate

2008-02-10 Thread tkoenig at gcc dot gnu dot org
--- Comment #5 from tkoenig at gcc dot gnu dot org 2008-02-10 11:43 --- Hi Jerry, _unformatted_ stream should not truncate, you can put bytes into the middle of a file there. Does your patch do that? (I can't test right now). Thomas -- tkoenig at gcc dot gnu dot org changed:

[Bug fortran/35154] New: Unable to reference symbols in Fortran COMMON due to .stabs format

2008-02-10 Thread george at gly dot bris dot ac dot uk
Problem is fixed with approved (but uncommitted) patch at http://gcc.gnu.org/ml/gcc-patches/2008-02/msg00286.html Arises on different systems lacking either: 1) loader ability to process external (i.e. non-.TEXT) SYMBOL+offset in .stabs; or 2) gdb ability to process same. Darwin is one; FX Coude

[Bug middle-end/33992] [4.3 Regression] Miscompiles function with inlining, breaks profiledbootstrap

2008-02-10 Thread ubizjak at gmail dot com
--- Comment #29 from ubizjak at gmail dot com 2008-02-10 12:27 --- The problem is in forwprop4 pass: When testcase from #28 is compiled with "-O2 -DINLINE", forwprop4 pass transforms: --cut here-- ;; Function do_test (do_test) do_test (r) { long long unsigned int shifttmp.49; long

[Bug tree-optimization/33992] [4.3 Regression] Miscompiles function with inlining, breaks profiledbootstrap

2008-02-10 Thread ubizjak at gmail dot com
--- Comment #30 from ubizjak at gmail dot com 2008-02-10 12:31 --- tree-optimization -- ubizjak at gmail dot com changed: What|Removed |Added Component|middle-en

[Bug libstdc++/16251] bogus default constructor for std::basic_iostream

2008-02-10 Thread manu at gcc dot gnu dot org
--- Comment #4 from manu at gcc dot gnu dot org 2008-02-10 13:01 --- This is still a problem in GCC 4.1.2 and GCC 4.3 [EMAIL PROTECTED]:~$ ./test terminate called after throwing an instance of 'std::bad_cast' what(): St8bad_cast foobarAborted -- manu at gcc dot gnu dot org change

[Bug ada/35143] [4.3 regression] Serious regression on ACATS results since 4.2.3

2008-02-10 Thread charlet at adacore dot com
--- Comment #12 from charlet at adacore dot com 2008-02-10 13:12 --- Subject: Re: [4.3 regression] Serious regression on ACATS results since 4.2.3 > I found remnants of a suggested > EH change Arnaud had made to me and removed it. I do not think it was me. Possibly Laurent Guerby. >

[Bug c++/20478] poor parse error diagnostic

2008-02-10 Thread manu at gcc dot gnu dot org
--- Comment #8 from manu at gcc dot gnu dot org 2008-02-10 13:38 --- I am all for making parser errors more accurate but I honestly think we should close this as WONTFIX because this particular testcase is a waste of time. I don't think automatic reduction is possible since small changes

[Bug target/21691] ICE in reload_cse_simplify_operands, at postreload.c:391 (ARM -mthumb -Os)

2008-02-10 Thread manu at gcc dot gnu dot org
--- Comment #3 from manu at gcc dot gnu dot org 2008-02-10 13:41 --- CCing ARM maintainers. -- manu at gcc dot gnu dot org changed: What|Removed |Added CC

[Bug c++/35117] Vectorization on power PC

2008-02-10 Thread eyal at geomage dot com
--- Comment #21 from eyal at geomage dot com 2008-02-10 13:48 --- (In reply to comment #14) > Giving it another thought, this is not necessary an alias analysis issue, even > that it fails to tell that the pointers not alias. Since in this case the > pointers do differ, the runtime test

[Bug c++/35149] ICE: in expand_call_inline, at tree-inline.c:2653

2008-02-10 Thread Ralf dot Wildenhues at gmx dot de
--- Comment #4 from Ralf dot Wildenhues at gmx dot de 2008-02-10 13:55 --- Created an attachment (id=15128) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=15128&action=view) slightly more reduced testcase -- Ralf dot Wildenhues at gmx dot de changed: What|Remove

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

2008-02-10 Thread dfranke at gcc dot gnu dot org
--- Comment #2 from dfranke at gcc dot gnu dot org 2008-02-10 14:00 --- Patch: http://gcc.gnu.org/ml/fortran/2008-02/msg00079.html -- dfranke at gcc dot gnu dot org changed: What|Removed |Added --

[Bug libfortran/35132] Formatted stream I/O write should truncate

2008-02-10 Thread jvdelisle at gcc dot gnu dot org
--- Comment #6 from jvdelisle at gcc dot gnu dot org 2008-02-10 13:51 --- The patch only touches on formatted stream io: case FORMATTED_STREAM: case FORMATTED_SEQUENTIAL: ---snip--- if (is_stream_io (dtp)) { dtp->u.p.current_unit->strm_pos +=

[Bug tree-optimization/33992] [4.3 Regression] Miscompiles function with inlining, breaks profiledbootstrap

2008-02-10 Thread pinskia at gcc dot gnu dot org
--- Comment #32 from pinskia at gcc dot gnu dot org 2008-02-10 13:49 --- - fold_convert (TREE_TYPE (op1), rhs0), + fold_convert (TREE_TYPE (rhs0), rhs0), op1, !sing

[Bug tree-optimization/33992] [4.3 Regression] Miscompiles function with inlining, breaks profiledbootstrap

2008-02-10 Thread ubizjak at gmail dot com
--- Comment #31 from ubizjak at gmail dot com 2008-02-10 13:45 --- Patch in testing: Index: tree-ssa-forwprop.c === --- tree-ssa-forwprop.c (revision 132202) +++ tree-ssa-forwprop.c (working copy) @@ -376,7 +376,7 @@ forwar

[Bug ada/35155] New: Ada not building on gcc-4.2.3

2008-02-10 Thread bugzilla-gcc at thewrittenword dot com
Ada in gcc-4.2.3 does not build with a pre-existing Ada build from gcc-3.4.3: $ bzip2 -dc gcc-4.2.3.tar.bz2 | tar xf - $ mkdir gcc-4.2.3-objdir $ cd gcc-4.2.3-objdir $ LIBPATH=/opt/TWWfsw/libgmp42/lib:/opt/TWWfsw/libmpfr22/lib CC=gcc bash /opt/build/china/gcc-4.2.3/configure --enable-nls --

[Bug target/20810] ICE in reload_cse_simplify_operands, at postreload.c:391

2008-02-10 Thread manu at gcc dot gnu dot org
--- Comment #3 from manu at gcc dot gnu dot org 2008-02-10 13:43 --- CCing ARM maintainers. -- manu at gcc dot gnu dot org changed: What|Removed |Added CC

[Bug c++/26950] Error diagnostic not issued for unacceptable result of lookup for a name used in a nested-name-specifier

2008-02-10 Thread manu at gcc dot gnu dot org
--- Comment #5 from manu at gcc dot gnu dot org 2008-02-10 14:08 --- Confirmed in g++ 4.3. -- manu at gcc dot gnu dot org changed: What|Removed |Added CC|

[Bug tree-optimization/33992] [4.3 Regression] Miscompiles function with inlining, breaks profiledbootstrap

2008-02-10 Thread ubizjak at gmail dot com
--- Comment #33 from ubizjak at gmail dot com 2008-02-10 14:31 --- (In reply to comment #32) > Seriously this needs more thinking that patch. Since after your patch, we > have > a type mismatch. I will leave this problem to tree expert then. (BTW: There is another fold_convert in fo

[Bug libstdc++/16251] bogus default constructor for std::basic_iostream

2008-02-10 Thread pcarlini at suse dot de
--- Comment #5 from pcarlini at suse dot de 2008-02-10 14:36 --- On it. I think we can safely implement submitter' suggestion. -- pcarlini at suse dot de changed: What|Removed |Added -

[Bug treelang/24844] syntax error when running treelang testsuite

2008-02-10 Thread manu at gcc dot gnu dot org
--- Comment #1 from manu at gcc dot gnu dot org 2008-02-10 14:43 --- This was fixed by: r113201 | doko | 2006-04-23 20:15:34 +0200 (Sun, 23 Apr 2006) | 4 lines 2006-04-22 Matthias Klose <[EMAIL PROTECTED]>

[Bug tree-optimization/33992] [4.3 Regression] Miscompiles function with inlining, breaks profiledbootstrap

2008-02-10 Thread ubizjak at gmail dot com
--- Comment #34 from ubizjak at gmail dot com 2008-02-10 14:32 --- BTW: Although patch from Comment #31 is probably not correct, it fixes profiledbootstrap. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33992

[Bug fortran/18428] No preprocessing option -cpp for gfortran

2008-02-10 Thread dfranke at gcc dot gnu dot org
--- Comment #8 from dfranke at gcc dot gnu dot org 2008-02-10 14:35 --- Ancient, but still valid. -- dfranke at gcc dot gnu dot org changed: What|Removed |Added A

[Bug debug/26475] tree-ssa loses line numbers for initializations (constants for PHIs)

2008-02-10 Thread manu at gcc dot gnu dot org
--- Comment #2 from manu at gcc dot gnu dot org 2008-02-10 14:50 --- I think this is confirmed. -- manu at gcc dot gnu dot org changed: What|Removed |Added

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

2008-02-10 Thread dfranke at gcc dot gnu dot org
--- Comment #3 from dfranke at gcc dot gnu dot org 2008-02-10 15:13 --- Fixed in trunk. Closing. -- dfranke at gcc dot gnu dot org changed: What|Removed |Added

[Bug fortran/35123] [4.2 only] ICE in fold_convert, at fold-const.c:2248

2008-02-10 Thread fxcoudert at gcc dot gnu dot org
--- Comment #4 from fxcoudert at gcc dot gnu dot org 2008-02-10 15:16 --- It's 4.2 only and not a regression, so it will not be fixed. Closing as WONTFIX, if someone else has a reason to suggest otherwise please speak up and reopen it. Sorry for the time you spent reducing it, Salvator

[Bug c++/35117] Vectorization on power PC

2008-02-10 Thread victork at gcc dot gnu dot org
--- Comment #22 from victork at gcc dot gnu dot org 2008-02-10 15:06 --- 1. It looks like vectorizer was enabled in both cases, since -O3 enables the vectorizer by the default. You need to add -fno-tree-vectorize to disable it explicitly. 2. To get better results from vectorized versio

[Bug c++/35117] Vectorization on power PC

2008-02-10 Thread eyal at geomage dot com
--- Comment #23 from eyal at geomage dot com 2008-02-10 15:47 --- (In reply to comment #22) > 1. It looks like vectorizer was enabled in both cases, since -O3 enables the > vectorizer by the default. You need to add -fno-tree-vectorize to disable it > explicitly. > 2. To get better resul

[Bug libstdc++/16251] bogus default constructor for std::basic_iostream

2008-02-10 Thread paolo at gcc dot gnu dot org
--- Comment #6 from paolo at gcc dot gnu dot org 2008-02-10 15:48 --- Subject: Bug 16251 Author: paolo Date: Sun Feb 10 15:48:10 2008 New Revision: 132214 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=132214 Log: 2008-02-10 Paolo Carlini <[EMAIL PROTECTED]> PR libstd

[Bug libstdc++/16251] bogus default constructor for std::basic_iostream

2008-02-10 Thread pcarlini at suse dot de
--- Comment #7 from pcarlini at suse dot de 2008-02-10 15:51 --- Nothing will be done in older branches (by the way, I'm coming to the conclusion that adding the default constructor was probably an error, but unfortunately is *exported* and in any case we can't just remove it now :( --

[Bug preprocessor/28079] #line range not verified without -pedantic

2008-02-10 Thread manu at gcc dot gnu dot org
--- Comment #2 from manu at gcc dot gnu dot org 2008-02-10 15:52 --- Tom, as the libcpp maintainer, could you give your opinion about this? I personally think a warning could be useful, it may point out some bug in an auto-generated file. Moreover, I think that the standard also require

[Bug fortran/35130] OpenMP: Private variable passed to subroutine

2008-02-10 Thread fxcoudert at gcc dot gnu dot org
--- Comment #3 from fxcoudert at gcc dot gnu dot org 2008-02-10 15:37 --- I have managed to reduce it a bit more, and it does not involve passing the loop variable as an argument: program outer integer k, a(1) a = 0.0 !$OMP PARALLEL DO do k = 1, 1 call inner end do !$OMP EN

[Bug fortran/35156] New: [patch] Deprecate -M

2008-02-10 Thread burnus at gcc dot gnu dot org
Consists of two parts: a) Deprecation: http://gcc.gnu.org/ml/fortran/2008-01/msg00366.html (This patch has been OKed and waits for the 4.4.0 trunk to open.) b) Some clean up cf PR 35019 for gcc/fortran/options.c OPT_M cannot be reached and "Only one -J option" is detected already earlie

[Bug preprocessor/28079] #line range not verified without -pedantic

2008-02-10 Thread manu at gcc dot gnu dot org
--- Comment #3 from manu at gcc dot gnu dot org 2008-02-10 16:12 --- Also, I noticed that there is an implicit conversion from ulong to uint when calling _cpp_do_file_change in do_linemarker. That is the point where the truncation takes place. -- http://gcc.gnu.org/bugzilla/show_bug

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

2008-02-10 Thread ubizjak at gmail dot com
--- Comment #14 from ubizjak at gmail dot com 2008-02-10 16:13 --- (In reply to comment #11) > Latest gcc now reports only: Please post results to gcc-testresutls@ mailing list on a regular basis if you want your target-dependant failures to be looked at and eventually fixed. BTW: Ther

[Bug other/16600] gcc/configure.ac problem: gcc_gxx_include_dir computation wrong

2008-02-10 Thread manu at gcc dot gnu dot org
--- Comment #2 from manu at gcc dot gnu dot org 2008-02-10 16:20 --- This seems to have slipped through the cracks, sorry about that. This works for me in GCC 4.3 and gcc 3.4.1 is too old already. Please, reopen if you are still able to reproduce the bug with a recent release of GCC. T

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

2008-02-10 Thread uros at gcc dot gnu dot org
--- Comment #13 from uros at gcc dot gnu dot org 2008-02-10 16:07 --- Subject: Bug 35047 Author: uros Date: Sun Feb 10 16:06:56 2008 New Revision: 132215 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=132215 Log: PR testsuite/35047 * gcc.dg/tree-ssa/gen-vect-2.c:

[Bug ada/35143] [4.3 regression] Serious regression on ACATS results since 4.2.3

2008-02-10 Thread joel dot sherrill at oarcorp dot com
--- Comment #13 from joel dot sherrill at oarcorp dot com 2008-02-10 16:16 --- Subject: Re: [4.3 regression] Serious regression on ACATS results since 4.2.3 charlet at adacore dot com wrote: > --- Comment #12 from charlet at adacore dot com 2008-02-10 13:12 --- > Subject: Re

[Bug libfortran/35063] [Regression wrt g77] I/O leaks handles/memory on Windows XP

2008-02-10 Thread jb at gcc dot gnu dot org
--- Comment #35 from jb at gcc dot gnu dot org 2008-02-10 16:55 --- Patch with __gthread_mutex_destroy for all implementations: http://gcc.gnu.org/ml/fortran/2008-02/msg00082.html -- jb at gcc dot gnu dot org changed: What|Removed |Added -

[Bug c++/34094] [4.2/4.3 Regression] Undefined static data member in anonymous namespace can acquire a definition anyway

2008-02-10 Thread jason at gcc dot gnu dot org
-- jason at gcc dot gnu dot org changed: What|Removed |Added AssignedTo|unassigned at gcc dot gnu |jason at gcc dot gnu dot org |dot org

[Bug other/35148] make pdf has missing file in 4.3-20080208

2008-02-10 Thread hal at oz dot net
--- Comment #4 from hal at oz dot net 2008-02-10 17:18 --- Yes, redoing the configure with an absolute path does solve the problem. (The original was, indeed, configured with a relative path -- old habit, avoiding absolute paths whenever I can.) For the record, I've got this version of

[Bug other/35148] make pdf has missing file in 4.3-20080208

2008-02-10 Thread Ralf dot Wildenhues at gmx dot de
--- Comment #5 from Ralf dot Wildenhues at gmx dot de 2008-02-10 17:21 --- Subject: Re: make pdf has missing file in 4.3-20080208 * hal at oz dot net wrote on Sun, Feb 10, 2008 at 06:18:02PM CET: > > I'd be glad to try changing the rule for gcc-vers.texi to see if that fixes > the >

[Bug fortran/35123] [4.2 only] ICE in fold_convert, at fold-const.c:2248

2008-02-10 Thread sfilippone at uniroma2 dot it
--- Comment #5 from sfilippone at uniroma2 dot it 2008-02-10 17:58 --- (In reply to comment #4) Fair enough. While reducing the test case I also found a workaround, so it's not a problem for me.. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35123

[Bug libfortran/35063] [Regression wrt g77] I/O leaks handles/memory on Windows XP

2008-02-10 Thread jvdelisle at gcc dot gnu dot org
--- Comment #36 from jvdelisle at gcc dot gnu dot org 2008-02-10 18:07 --- Subject: Bug 35063 Author: jvdelisle Date: Sun Feb 10 18:06:34 2008 New Revision: 132217 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=132217 Log: 2008-02-10 Danny Smith <[EMAIL PROTECTED]> P

[Bug c++/34094] [4.2/4.3 Regression] Undefined static data member in anonymous namespace can acquire a definition anyway

2008-02-10 Thread jason at gcc dot gnu dot org
--- Comment #15 from jason at gcc dot gnu dot org 2008-02-10 18:12 --- Subject: Bug 34094 Author: jason Date: Sun Feb 10 18:12:01 2008 New Revision: 132218 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=132218 Log: PR c++/34094 * decl2.c (cp_write_global_declarat

[Bug libfortran/35063] [Regression wrt g77] I/O leaks handles/memory on Windows XP

2008-02-10 Thread jvdelisle at gcc dot gnu dot org
--- Comment #37 from jvdelisle at gcc dot gnu dot org 2008-02-10 18:09 --- Interim windows only patch committed. Followup on Comment #35 for 4.4. Keeping this PR open until then. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35063

[Bug rtl-optimization/34279] ira branch/-fdump-rtl-ira ICE at at ira-call.c:525

2008-02-10 Thread astrange at ithinksw dot com
--- Comment #2 from astrange at ithinksw dot com 2008-02-10 19:14 --- fixed -- astrange at ithinksw dot com changed: What|Removed |Added Status|UNCONFIRMED

[Bug fortran/29549] matmul slow for complex matrices

2008-02-10 Thread jb at gcc dot gnu dot org
--- Comment #5 from jb at gcc dot gnu dot org 2008-02-10 19:19 --- The big culprit seems to be -fcx-limited-range. The other flags enabled by -ffast-math help very little. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29549

[Bug fortran/35157] New: accepts keyword argument without explicit interface

2008-02-10 Thread tkoenig at gcc dot gnu dot org
>From a recent c.l.f. thread (reduced): $ cat foo.f90 program main call foo(myarg=1.0) end program main $ gfortran -S foo.f90 -- Summary: accepts keyword argument without explicit interface Product: gcc Version: 4.3.0 Status: UNCONFIRMED

[Bug other/35148] make pdf has missing file in 4.3-20080208

2008-02-10 Thread joseph at codesourcery dot com
--- Comment #6 from joseph at codesourcery dot com 2008-02-10 20:25 --- Subject: Re: make pdf has missing file in 4.3-20080208 On Sun, 10 Feb 2008, Ralf dot Wildenhues at gmx dot de wrote: > --- a/gcc/Makefile.in > +++ b/gcc/Makefile.in > @@ -3653,7 +3653,7 @@ gcc-vers.texi: $(BASEVER

[Bug other/35148] make pdf has missing file in 4.3-20080208

2008-02-10 Thread Ralf dot Wildenhues at gmx dot de
--- Comment #7 from Ralf dot Wildenhues at gmx dot de 2008-02-10 20:30 --- Subject: Re: make pdf has missing file in 4.3-20080208 * joseph at codesourcery dot com wrote on Sun, Feb 10, 2008 at 09:25:09PM CET: > On Sun, 10 Feb 2008, Ralf dot Wildenhues at gmx dot de wrote: > > --- a/gc

[Bug fortran/35152] Implicit procedure with keyword=argument is accepted

2008-02-10 Thread dfranke at gcc dot gnu dot org
--- Comment #1 from dfranke at gcc dot gnu dot org 2008-02-10 20:37 --- *** Bug 35157 has been marked as a duplicate of this bug. *** -- dfranke at gcc dot gnu dot org changed: What|Removed |Added ---

[Bug fortran/35157] accepts keyword argument without explicit interface

2008-02-10 Thread dfranke at gcc dot gnu dot org
--- Comment #1 from dfranke at gcc dot gnu dot org 2008-02-10 20:37 --- *** This bug has been marked as a duplicate of 35152 *** -- dfranke at gcc dot gnu dot org changed: What|Removed |Added --

[Bug tree-optimization/33992] [4.3 Regression] Miscompiles function with inlining, breaks profiledbootstrap

2008-02-10 Thread rguenth at gcc dot gnu dot org
--- Comment #35 from rguenth at gcc dot gnu dot org 2008-02-10 22:08 --- The source is very likely a type mismatch in the IL (the foldings are correct, but also strictly unneccessary). In principle it goes as follows. We have a comparison op0 OP op1 where op0 and op1 are required

[Bug target/31868] Non-Linux DWARF EH x86-64 targets have broken crtend.o

2008-02-10 Thread hjl at gcc dot gnu dot org
--- Comment #8 from hjl at gcc dot gnu dot org 2008-02-10 22:26 --- Subject: Bug 31868 Author: hjl Date: Sun Feb 10 22:25:24 2008 New Revision: 13 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=13 Log: 2008-02-10 H.J. Lu <[EMAIL PROTECTED]> Backport from mainl

[Bug fortran/29549] matmul slow for complex matrices

2008-02-10 Thread tkoenig at gcc dot gnu dot org
--- Comment #6 from tkoenig at gcc dot gnu dot org 2008-02-10 22:47 --- (In reply to comment #5) > The big culprit seems to be -fcx-limited-range. The other flags enabled by > -ffast-math help very little. C has some strange rules for complex types, which are mandated by the C standard

[Bug tree-optimization/33992] [4.3 Regression] Miscompiles function with inlining, breaks profiledbootstrap

2008-02-10 Thread rguenth at gcc dot gnu dot org
--- Comment #37 from rguenth at gcc dot gnu dot org 2008-02-10 22:43 --- Created an attachment (id=15129) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=15129&action=view) patch I'm bootstrapping and regtesting it (it fixes the testcase). Maybe someone can do a profiledbootstrap

[Bug tree-optimization/33992] [4.3 Regression] Miscompiles function with inlining, breaks profiledbootstrap

2008-02-10 Thread rguenth at gcc dot gnu dot org
--- Comment #36 from rguenth at gcc dot gnu dot org 2008-02-10 22:36 --- Actually the wrong types are caused by loop IM which replaces the bittest D.1210_17 = D.1208_13 >> 63; D.1211_2 = (int) D.1210_17; if (D.1211_1 != 0) by shifttmp.48_12 = 0x8000; shifttmp.48

[Bug middle-end/35149] [4.3 Regression] ICE: in expand_call_inline, at tree-inline.c:2653

2008-02-10 Thread rguenth at gcc dot gnu dot org
--- Comment #5 from rguenth at gcc dot gnu dot org 2008-02-10 23:01 --- I can confirm the ICE on i686 with -m64 (the reduced testcase doesn't fail with -m32 on i686 for me). Adding any optimization flag makes the ICE go away (thus, non-SSA inlining ICEs). /* We have missing edge

[Bug other/35148] make pdf has missing file in 4.3-20080208

2008-02-10 Thread rguenth at gcc dot gnu dot org
-- rguenth at gcc dot gnu dot org changed: What|Removed |Added Status|UNCONFIRMED |NEW Ever Confirmed|0 |1 Keyw

[Bug c++/35146] [4.1/4.2 regression] weird error in template function specialization

2008-02-10 Thread rguenth at gcc dot gnu dot org
--- Comment #3 from rguenth at gcc dot gnu dot org 2008-02-10 23:06 --- While the original testcase works for me on trunk, the testcase in comment #2 does not. Or am I missing sth? -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35146

[Bug c++/35144] [4.3 regression] ICE in generate_element_copy

2008-02-10 Thread rguenth at gcc dot gnu dot org
--- Comment #3 from rguenth at gcc dot gnu dot org 2008-02-10 23:14 --- This is probably hard to fix for 4.3. SRA should be looking up structure elements by offset, size and element type, not by using field_decls. Maybe we can make it not SRA in this case for 4.3. -- http://gcc.gn

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

2008-02-10 Thread jrp at dial dot pipex dot com
--- Comment #15 from jrp at dial dot pipex dot com 2008-02-10 23:05 --- Cool. We're down to === gcc tests === Running target unix FAIL: gcc.dg/compat/vector-2 c_compat_x_tst.o-c_compat_y_tst.o execute XPASS: gcc.dg/cpp/cmdlne-dI-M.c scan-file (^|n)cmdlne-dI-M.*:[

[Bug other/35148] make pdf has missing file in 4.3-20080208

2008-02-10 Thread hal at oz dot net
--- Comment #8 from hal at oz dot net 2008-02-11 00:46 --- I checked, and that patch does fix the original problem on my machine. Thanks. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35148

[Bug c++/35158] New: g++ does not compile valid C++ for loops with -fopenmp

2008-02-10 Thread kugelfang at gentoo dot org
The following C++ programm will not compile using current either gcc-4.2.2 or gcc-4.3.0(svn): int main(int argc, char *argv[]) { #pragma omp parallel for for (int i(0) ; i < 10 ; i++) ; return 0; } The error messages for 'g++ -fopenmp -o foo foo.cc' are: foo.cc: In fun

[Bug tree-optimization/33992] [4.3 Regression] Miscompiles function with inlining, breaks profiledbootstrap

2008-02-10 Thread dirtyepic at gentoo dot org
--- Comment #38 from dirtyepic at gentoo dot org 2008-02-11 01:34 --- yep, profiledbootstrap w/ BOOT_CFLAGS="-O2" on x86_64 is working now. i'll try to get it tested on ppc64 to see if it fixes PR34720 too. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33992

[Bug c++/35146] [4.1/4.2 regression] weird error in template function specialization

2008-02-10 Thread bangerth at dealii dot org
--- Comment #4 from bangerth at dealii dot org 2008-02-11 03:38 --- (In reply to comment #3) > While the original testcase works for me on trunk, the testcase in comment #2 > does > not. Or am I missing sth? I see the same behavior with yesterday's svn version. The testcase in commen

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

2008-02-10 Thread ghazi at gcc dot gnu dot org
--- Comment #6 from ghazi at gcc dot gnu dot org 2008-02-11 04:56 --- The original issue reported in here was a "deprecated conversion" warning in gcc-4.2. Later on to confuse things an execution failure was noted on mainline and an LP64 problem was reported on gcc-4.1 in the same testc

[Bug c++/35159] New: g++ inoperable with no error message

2008-02-10 Thread nightstrike at gmail dot com
To summarize, c++ doesn't work in a native build for x86_64-pc-mingw32. We have found that not all of c++ is broken, and I've been narrowing it down further. The problem manifests itself as a segfault and ICE that is only visible when you use the -E switch -- otherwise, the failure is silent. This

[Bug bootstrap/28326] [4.1 regression] profiledbootstrap will produce an ICE with "-mtune=power3 -mcpu=power3" in BOOT_CFLAGS

2008-02-10 Thread ubizjak at gmail dot com
--- Comment #7 from ubizjak at gmail dot com 2008-02-11 07:04 --- (In reply to comment #3) > I did some testing and this are the results: > > gcc versions 3.4.6, 4.0.3 and 4.2-20060708 do all _not_ fail with > profiledbootstrap and "-mtune=power3 -mcpu=power3" in BOOT_CFLAGS. > > which

[Bug objc++/34193] [4.3 regression] FAIL: obj-c++.dg/gnu-runtime-2.mm (test for excess errors)

2008-02-10 Thread ghazi at gcc dot gnu dot org
--- Comment #4 from ghazi at gcc dot gnu dot org 2008-02-11 04:39 --- mine -- ghazi at gcc dot gnu dot org changed: What|Removed |Added AssignedTo|unassigned at g

[Bug objc++/34193] [4.3 regression] FAIL: obj-c++.dg/gnu-runtime-2.mm (test for excess errors)

2008-02-10 Thread ghazi at gcc dot gnu dot org
--- Comment #5 from ghazi at gcc dot gnu dot org 2008-02-11 04:40 --- Patch installed, fixed. -- ghazi at gcc dot gnu dot org changed: What|Removed |Added Sta

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

2008-02-10 Thread ghazi at gcc dot gnu dot org
-- ghazi at gcc dot gnu dot org changed: What|Removed |Added AssignedTo|unassigned at gcc dot gnu |ghazi at gcc dot gnu dot org |dot org

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

2008-02-10 Thread ubizjak at gmail dot com
--- Comment #16 from ubizjak at gmail dot com 2008-02-11 07:36 --- (In reply to comment #15) > FAIL: gcc.dg/compat/vector-2 c_compat_x_tst.o-c_compat_y_tst.o execute This one also fails due to enabled MMX. BTW: Please don't change Status to WAITING. Status should be NEW, otherwise th

[Bug c++/35159] g++ inoperable with no error message

2008-02-10 Thread nightstrike at gmail dot com
-- nightstrike at gmail dot com changed: What|Removed |Added Severity|normal |blocker http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35159