[Bug target/43810] [4.5 Regression] linking results in undefined references to _savegpr_* _restgpr_*_x

2010-04-29 Thread patrick at motec dot com dot au
--- Comment #9 from patrick at motec dot com dot au 2010-04-30 06:57 --- Khem, Your libgcc.a looks fine. As far as I know, libgcc.a is supposed to be the last library listed when linking so the behaviour you are seeing is normal. My problem is that libgcc.a does not contain _savegpr_*

[Bug fortran/41829] [OOP] Runtime error with dynamic dispatching

2010-04-29 Thread pault at gcc dot gnu dot org
--- Comment #7 from pault at gcc dot gnu dot org 2010-04-30 06:51 --- Fixed on trunk. Thanks for the help, Salvatore - I hope that it will continue. Paul and Janus -- pault at gcc dot gnu dot org changed: What|Removed |Added -

[Bug c++/43779] Parts of message not available for translation

2010-04-29 Thread pzhao at gcc dot gnu dot org
--- Comment #2 from pzhao at gcc dot gnu dot org 2010-04-30 06:16 --- Subject: Bug 43779 Author: pzhao Date: Fri Apr 30 06:16:26 2010 New Revision: 158919 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=158919 Log: 2010-04-30 Shujing Zhao PR c++/43779 * typeck

[Bug c++/43943] "warning: no return statement in function returning non-void" should be an error

2010-04-29 Thread david at rothlis dot net
--- Comment #3 from david at rothlis dot net 2010-04-30 06:05 --- > a function with a missing return is valid I just can't reconcile that with the following line from the C++ standard: "It is now invalid to return (explicitly or implicitly) from a function which is declared to return a

[Bug libstdc++/36231] ostream includes unistd.h outside namespace std, polluting

2010-04-29 Thread igodard at pacbell dot net
--- Comment #6 from igodard at pacbell dot net 2010-04-30 05:28 --- I guess I'm still not being clear. I'm not using *any* of those names; I'm not using C; I'm not using POSIX. I'm only using ostream, which is a plain old C++ library, but when I include I'm getting C library functions l

[Bug target/43810] [4.5 Regression] linking results in undefined references to _savegpr_* _restgpr_*_x

2010-04-29 Thread raj dot khem at gmail dot com
--- Comment #8 from raj dot khem at gmail dot com 2010-04-30 04:55 --- below is the linker command that reports liking error. /scratch/oe/efika/cross/ppc603e/lib/gcc/powerpc-oe-linux/4.5.0/crtend.o: In function `__do_global_ctors_aux': crtstuff.c:(.text+0xc): undefined reference to `_sa

[Bug target/43810] [4.5 Regression] linking results in undefined references to _savegpr_* _restgpr_*_x

2010-04-29 Thread raj dot khem at gmail dot com
--- Comment #7 from raj dot khem at gmail dot com 2010-04-30 04:34 --- calls to _savegpr_31 and _restgpr_31_x are only generated when compiling libgcc with -Os same compiled with -O2 it does not emit the calls here is a reduced testcase from crtstuff.c compile it will -Os and then with

[Bug c++/43890] [4.6 Regression] invalid uninitialized reference in class

2010-04-29 Thread jason at gcc dot gnu dot org
--- Comment #5 from jason at gcc dot gnu dot org 2010-04-30 04:23 --- Subject: Bug 43890 Author: jason Date: Fri Apr 30 04:23:00 2010 New Revision: 158918 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=158918 Log: PR c++/43890 * init.c (diagnose_uninitialized_cst

[Bug target/43810] [4.5 Regression] linking results in undefined references to _savegpr_* _restgpr_*_x

2010-04-29 Thread raj dot khem at gmail dot com
--- Comment #6 from raj dot khem at gmail dot com 2010-04-30 04:13 --- I have similar problem when building glibc for 603e. When I dump libgcc.a then it shows these symbols but they are hidden crtsavfpr.o: file format elf32-powerpc g F .text 004c .hidden _savefpr_1

[Bug libfortran/43844] open(unit, status="scratch") fails to create tempporary file

2010-04-29 Thread kargl at gcc dot gnu dot org
--- Comment #16 from kargl at gcc dot gnu dot org 2010-04-30 03:23 --- (In reply to comment #15) > (In reply to comment #13) > > Kai, what about the GetTempPath? Cf. the rough draft in attachment 20460 > > [edit] [edit] ? > > Compare choose_tmpdir() in libiberty/make_temp_file.c > Can

[Bug libfortran/43844] open(unit, status="scratch") fails to create tempporary file

2010-04-29 Thread dannysmith at users dot sourceforge dot net
--- Comment #15 from dannysmith at users dot sourceforge dot net 2010-04-30 03:02 --- (In reply to comment #13) > Kai, what about the GetTempPath? Cf. the rough draft in attachment 20460 > [edit] ? Compare choose_tmpdir() in libiberty/make_temp_file.c Danny -- http://gcc.gnu.org

[Bug libstdc++/36231] ostream includes unistd.h outside namespace std, polluting

2010-04-29 Thread paolo dot carlini at oracle dot com
--- Comment #5 from paolo dot carlini at oracle dot com 2010-04-30 01:03 --- Note that Jon closed the PR as WONTFIX not as INVALID. If you are more happy then let's keep it open, but for sure *nothing* will happen for a looonn time. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?i

[Bug libstdc++/36231] ostream includes unistd.h outside namespace std, polluting

2010-04-29 Thread redi at gcc dot gnu dot org
--- Comment #4 from redi at gcc dot gnu dot org 2010-04-30 01:02 --- hiding them behind an adaptor function has a cost and personally I don't think it's worth fixing which is why I closed it as WONTFIX I'll leave it open but I'm not interested in fixing it. It's nothing to do with mixin

[Bug other/43944] libgcc2 fails to build in gcc 4.5.0

2010-04-29 Thread ramana at gcc dot gnu dot org
--- Comment #1 from ramana at gcc dot gnu dot org 2010-04-30 00:31 --- (In reply to comment #0) > Here is the concerning part of the log. > In all-stageprofile-target-libgcc: > building _moddi3.o > ... > ../../../gcc-4.5.0/libgcc/../gcc/libgcc2.c: In function '__moddi3': > ../../../gcc-4

[Bug c/43782] Erroneous expansion of __asm__() directive

2010-04-29 Thread beebe at math dot utah dot edu
--- Comment #7 from beebe at math dot utah dot edu 2010-04-30 00:23 --- Subject: Re: Erroneous expansion of __asm__() directive I accept the explanation of the problem with my sample __asm__() directive, and I think that we can close my bug report at http://gcc.gnu.org/bugzill

[Bug debug/43942] [4.5/4.6 Regression] -fcompare-debug faulure with external declaration in function.

2010-04-29 Thread hjl dot tools at gmail dot com
--- Comment #17 from hjl dot tools at gmail dot com 2010-04-29 23:57 --- (In reply to comment #13) > Created an attachment (id=20520) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=20520&action=view) [edit] > patch2 > > Alternative patch for auto_var_in_fn_p > I think auto_var_i

[Bug debug/43942] [4.5/4.6 Regression] -fcompare-debug faulure with external declaration in function.

2010-04-29 Thread hjl dot tools at gmail dot com
--- Comment #16 from hjl dot tools at gmail dot com 2010-04-29 23:53 --- Another testcase --- char * bar (void) { extern char ext[]; return ext; } char * foo (void) { return bar (); } -- #2 0x00cecc94 in can_be_nonlocal (decl=0x7190b0a0, id=0x7fffdba0) at /

[Bug libstdc++/36231] ostream includes unistd.h outside namespace std, polluting

2010-04-29 Thread igodard at pacbell dot net
--- Comment #3 from igodard at pacbell dot net 2010-04-29 23:35 --- Reopened, because comment#2 mistakes the problem. I don't want to get anything included into namespace std. However, I also do not want tyo get C header names imported into my application's global space merely because I

[Bug libstdc++/36231] ostream includes unistd.h outside namespace std, polluting

2010-04-29 Thread redi at gcc dot gnu dot org
--- Comment #2 from redi at gcc dot gnu dot org 2010-04-29 23:16 --- it would be wrong to declare e.g. open(2) and close(2) in namespace std because they are not part of ISO C++, they are part of your OS If you are referring to ISO C names which get included in the global namespace such

[Bug rtl-optimization/40838] gcc shouldn't assume that the stack is aligned

2010-04-29 Thread dirtyepic at gentoo dot org
--- Comment #75 from dirtyepic at gentoo dot org 2010-04-29 22:58 --- if some libraries, (zlib and fontconfig i've had personal experience with, i've also heard libgcrypt) are compiled with -ftree-vectorize (ie. -O3) on x86 systems supporting SSE2, it causes segfaults in certain packages

[Bug c++/34778] terminate called after throwing an instance of

2010-04-29 Thread redi at gcc dot gnu dot org
--- Comment #10 from redi at gcc dot gnu dot org 2010-04-29 22:56 --- (In reply to comment #9) > you're throwing a string literal and trying to catch a char*, that's invalid I should clarify that - it's not invalid to TRY to catch a char* but it will fail, and the program will terminate

[Bug c++/34778] terminate called after throwing an instance of

2010-04-29 Thread redi at gcc dot gnu dot org
--- Comment #9 from redi at gcc dot gnu dot org 2010-04-29 22:55 --- you're throwing a string literal and trying to catch a char*, that's invalid if you change it to catch(const char*) it works fine with 4.4.3 -- redi at gcc dot gnu dot org changed: What|Removed

[Bug c++/33475] New warning suggestion: virtual functions called from constructors/destructors

2010-04-29 Thread redi at gcc dot gnu dot org
-- redi at gcc dot gnu dot org changed: What|Removed |Added Severity|normal |enhancement Keywords||diagnostic

[Bug c++/33350] copy constructor error

2010-04-29 Thread redi at gcc dot gnu dot org
--- Comment #7 from redi at gcc dot gnu dot org 2010-04-29 22:29 --- compiles without error using 4.4.3 and 4.6.0 -- redi at gcc dot gnu dot org changed: What|Removed |Added --

[Bug c++/43890] [4.6 Regression] invalid uninitialized reference in class

2010-04-29 Thread jarrydb at cse dot unsw dot edu dot au
--- Comment #4 from jarrydb at cse dot unsw dot edu dot au 2010-04-29 21:57 --- that fixes it for me on x86 and x86_64. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43890

[Bug target/42895] Low registers are preferred than register ip in thumb2 mode

2010-04-29 Thread bernds at gcc dot gnu dot org
--- Comment #7 from bernds at gcc dot gnu dot org 2010-04-29 21:37 --- Subject: Bug 42895 Author: bernds Date: Thu Apr 29 21:37:01 2010 New Revision: 158911 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=158911 Log: PR target/42895 * doc/tm.texi (ADJUST_REG_ALLOC

[Bug middle-end/43853] [4.6 Regression] FAIL: gcc.dg/lto/20090126-1 c_lto_20090126-1_0.o-c_lto_20090126-1_0.o

2010-04-29 Thread hp at gcc dot gnu dot org
--- Comment #1 from hp at gcc dot gnu dot org 2010-04-29 21:16 --- I'm unsure whether I should tag along on this PR, because the failing range (last_worked:first_failed) for cris-elf is 158755:158765, which doesn't include 158610. But, I'm doing it anyhow. From gcc-restresults@ it looks

[Bug target/37440] [4.4/4.5/4.6 Regression] GNAT Bug Box a-ngcefu.adb:397

2010-04-29 Thread joel at gcc dot gnu dot org
--- Comment #9 from joel at gcc dot gnu dot org 2010-04-29 21:03 --- Still broken. | 4.6.0 20100428 (experimental) [trunk revision 158844] (arm-unknown-rtems4.10) GCC error:| | in find_valid_class, at reload.c:704 | | Error detected around a-ngcefu.ad

[Bug other/43944] New: libgcc2 fails to build in gcc 4.5.0

2010-04-29 Thread viriketo at gmail dot com
Here is the concerning part of the log. In all-stageprofile-target-libgcc: building _moddi3.o ... ../../../gcc-4.5.0/libgcc/../gcc/libgcc2.c: In function '__moddi3': ../../../gcc-4.5.0/libgcc/../gcc/libgcc2.c:1103:1: error: total size of local objects too large The same kind of configuration built

[Bug debug/43942] [4.5/4.6 Regression] -fcompare-debug faulure with external declaration in function.

2010-04-29 Thread jakub at gcc dot gnu dot org
--- Comment #15 from jakub at gcc dot gnu dot org 2010-04-29 20:46 --- All the patches so far completely untested. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43942

[Bug debug/43942] [4.5/4.6 Regression] -fcompare-debug faulure with external declaration in function.

2010-04-29 Thread jakub at gcc dot gnu dot org
--- Comment #14 from jakub at gcc dot gnu dot org 2010-04-29 20:46 --- Created an attachment (id=20521) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=20521&action=view) patch3 Patch to allow vars with non-vla types to be nonlocal if they weren't used and their type hasn't been rem

[Bug debug/43942] [4.5/4.6 Regression] -fcompare-debug faulure with external declaration in function.

2010-04-29 Thread jakub at gcc dot gnu dot org
--- Comment #13 from jakub at gcc dot gnu dot org 2010-04-29 20:45 --- Created an attachment (id=20520) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=20520&action=view) patch2 Alternative patch for auto_var_in_fn_p -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43942

[Bug debug/43942] [4.5/4.6 Regression] -fcompare-debug faulure with external declaration in function.

2010-04-29 Thread jakub at gcc dot gnu dot org
--- Comment #12 from jakub at gcc dot gnu dot org 2010-04-29 20:40 --- Created an attachment (id=20519) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=20519&action=view) patch1 Patch for tree-tailcall.c, only useful if the second patch isn't used. -- http://gcc.gnu.org/bugzill

[Bug tree-optimization/43924] [4.6 Regression] FAIL: gfortran.dg/array_constructor_11.f90 -O3 -g (internal compiler error)

2010-04-29 Thread hp at gcc dot gnu dot org
--- Comment #6 from hp at gcc dot gnu dot org 2010-04-29 20:40 --- Well, guess what, cris-elf too! Worked with 158780, failed with 158788 (and after) as in the description, except the line number I see for r158788 is 10648; I'm guessing the description is from 158793 or later. -- hp

[Bug c++/43911] [4.4/4.5 Regression] g++ can't compile any even trivial c++ source: undefined reference to `_Unwind_GetIPInfo'

2010-04-29 Thread dougmencken at gmail dot com
--- Comment #17 from dougmencken at gmail dot com 2010-04-29 20:40 --- (In reply to comment #16) > > This means you didn't install libgcc. > So can you please tell me how to "install libgcc" then? I posted all options I sent to ./configure for each 4.4.2, 4.4.3 and 4.5.0. I also posted

[Bug middle-end/41952] patch to improve Wuninitialized

2010-04-29 Thread hjl dot tools at gmail dot com
--- Comment #5 from hjl dot tools at gmail dot com 2010-04-29 20:40 --- Fixed by revision 158567: http://gcc.gnu.org/ml/gcc-cvs/2010-04/msg00673.html -- hjl dot tools at gmail dot com changed: What|Removed |Added --

[Bug c++/43943] "warning: no return statement in function returning non-void" should be an error

2010-04-29 Thread redi at gcc dot gnu dot org
--- Comment #2 from redi at gcc dot gnu dot org 2010-04-29 20:36 --- that should be -Werror=return-type but spelling aside, this is not a bug now the compiler MUST NOT reject it by default, since a function with a missing return is valid as long as the caller does not use the (missing

[Bug c++/43943] "warning: no return statement in function returning non-void" should be an error

2010-04-29 Thread pinskia at gcc dot gnu dot org
--- Comment #1 from pinskia at gcc dot gnu dot org 2010-04-29 20:31 --- -Werror=Wreturn-type will turn just that warning into an error message in recent GCC's. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43943

[Bug debug/43942] [4.5/4.6 Regression] -fcompare-debug faulure with external declaration in function.

2010-04-29 Thread jakub at gcc dot gnu dot org
--- Comment #11 from jakub at gcc dot gnu dot org 2010-04-29 20:29 --- So, the first difference that happens is that with -g the extern var is removed from BLOCK_VARs, with -g it is kept there. This happens in remove_unused_scope_block_p. Next during inlining in remap_decls can_be_nonl

[Bug c++/43943] New: "warning: no return statement in function returning non-void" should be an error

2010-04-29 Thread david at rothlis dot net
I know that dozens of bugs have been opened for this over the years, but please read this through. If you have a C++ program missing a return statement from a function that is supposed to return a value, g++ will compile it happily with no errors (or even a warning, unless -Wreturn-type or -Wall i

[Bug bootstrap/42347] [4.5/4.6 Regression] sched-deps.c:3840:1: internal compiler error: in fixup_reorder_chain, at cfglayout.c:796

2010-04-29 Thread armin76 at gentoo dot org
--- Comment #14 from armin76 at gentoo dot org 2010-04-29 19:36 --- I tried to bisect it, however there is an issue: gcc failed to build since http://repo.or.cz/w/official-gcc.git/commit/598767c938d0d001bbbe41e0a189104bb53e3580 Gives this error: /root/build/./prev-gcc/xgcc -B/root/buil

[Bug debug/43942] [4.5/4.6 Regression] -fcompare-debug faulure with external declaration in function.

2010-04-29 Thread jakub at gcc dot gnu dot org
--- Comment #10 from jakub at gcc dot gnu dot org 2010-04-29 19:23 --- That doesn't sound like the right fix. I'll look into this. -- jakub at gcc dot gnu dot org changed: What|Removed |Added ---

[Bug debug/43942] [4.5/4.6 Regression] -fcompare-debug faulure with external declaration in function.

2010-04-29 Thread hjl dot tools at gmail dot com
--- Comment #9 from hjl dot tools at gmail dot com 2010-04-29 19:16 --- This patch --- diff --git a/gcc/tree.c b/gcc/tree.c index 8eeecff..0d79020 100644 --- a/gcc/tree.c +++ b/gcc/tree.c @@ -7937,7 +7937,8 @@ auto_var_in_fn_p (const_tree var, const_tree fn) { return (DECL_P (var) &

[Bug fortran/43326] [fortran-dev Regression] dynamic dispatch with CLASS components

2010-04-29 Thread pault at gcc dot gnu dot org
--- Comment #13 from pault at gcc dot gnu dot org 2010-04-29 19:11 --- Subject: Bug 43326 Author: pault Date: Thu Apr 29 19:10:48 2010 New Revision: 158910 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=158910 Log: 2010-04-29 Janus Weil PR fortran/43896 * sym

[Bug fortran/43896] [OOP] ICE in gfc_conv_variable, at fortran/trans-expr.c:551

2010-04-29 Thread pault at gcc dot gnu dot org
--- Comment #16 from pault at gcc dot gnu dot org 2010-04-29 19:11 --- Subject: Bug 43896 Author: pault Date: Thu Apr 29 19:10:48 2010 New Revision: 158910 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=158910 Log: 2010-04-29 Janus Weil PR fortran/43896 * sym

[Bug fortran/41829] [OOP] Runtime error with dynamic dispatching

2010-04-29 Thread pault at gcc dot gnu dot org
--- Comment #6 from pault at gcc dot gnu dot org 2010-04-29 19:11 --- Subject: Bug 41829 Author: pault Date: Thu Apr 29 19:10:48 2010 New Revision: 158910 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=158910 Log: 2010-04-29 Janus Weil PR fortran/43896 * symb

[Bug fortran/42353] [fortran-dev] Bogus Error: Name 'vtype$...' at (1) is an ambiguous reference ...

2010-04-29 Thread pault at gcc dot gnu dot org
--- Comment #33 from pault at gcc dot gnu dot org 2010-04-29 19:11 --- Subject: Bug 42353 Author: pault Date: Thu Apr 29 19:10:48 2010 New Revision: 158910 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=158910 Log: 2010-04-29 Janus Weil PR fortran/43896 * sym

[Bug fortran/43492] [fortran-dev Regression] ICE in gfc_add_component_ref, at fortran/expr.c:352

2010-04-29 Thread pault at gcc dot gnu dot org
--- Comment #8 from pault at gcc dot gnu dot org 2010-04-29 19:11 --- Subject: Bug 43492 Author: pault Date: Thu Apr 29 19:10:48 2010 New Revision: 158910 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=158910 Log: 2010-04-29 Janus Weil PR fortran/43896 * symb

[Bug fortran/42274] [fortran-dev Regression] ICE: segmentation fault

2010-04-29 Thread pault at gcc dot gnu dot org
--- Comment #38 from pault at gcc dot gnu dot org 2010-04-29 19:11 --- Subject: Bug 42274 Author: pault Date: Thu Apr 29 19:10:48 2010 New Revision: 158910 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=158910 Log: 2010-04-29 Janus Weil PR fortran/43896 * sym

[Bug fortran/42680] [fortran-dev, Regression] ICE in gimplify_expr, at gimplify.c:7176

2010-04-29 Thread pault at gcc dot gnu dot org
--- Comment #13 from pault at gcc dot gnu dot org 2010-04-29 19:11 --- Subject: Bug 42680 Author: pault Date: Thu Apr 29 19:10:48 2010 New Revision: 158910 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=158910 Log: 2010-04-29 Janus Weil PR fortran/43896 * sym

[Bug fortran/42958] Weird temporary array allocation

2010-04-29 Thread tkoenig at gcc dot gnu dot org
--- Comment #24 from tkoenig at gcc dot gnu dot org 2010-04-29 19:09 --- (In reply to comment #22) > It is my intention to change the array descriptor representation and > to start with an API that provides the (lbound, ubound,stride) values. > In fact, this API has already been put i

[Bug debug/43942] [4.5/4.6 Regression] -fcompare-debug faulure with external declaration in function.

2010-04-29 Thread hjl dot tools at gmail dot com
--- Comment #8 from hjl dot tools at gmail dot com 2010-04-29 18:44 --- Tail call optimization doesn't handle # DEBUG event => 0 properly. -- hjl dot tools at gmail dot com changed: What|Removed |Added

[Bug debug/43942] [4.5/4.6 Regression] -fcompare-debug faulure with external declaration in function.

2010-04-29 Thread pinskia at gcc dot gnu dot org
--- Comment #7 from pinskia at gcc dot gnu dot org 2010-04-29 18:27 --- Even more reduced testcase: invoke_plugin_callbacks (int event) { extern unsigned char flag_plugin_added; return invoke_plugin_callbacks_full (event); } ggc_collect (void) { invoke_plugin_callbacks (0); } --

[Bug debug/43942] -fcompare-debug failure with external declaration in function

2010-04-29 Thread hjl dot tools at gmail dot com
--- Comment #6 from hjl dot tools at gmail dot com 2010-04-29 18:26 --- -foptimize-sibling-calls is affected by external declaration in function. -- hjl dot tools at gmail dot com changed: What|Removed |Added ---

[Bug debug/43942] -fcompare-debug faulure with external declaration in function.

2010-04-29 Thread hjl dot tools at gmail dot com
--- Comment #5 from hjl dot tools at gmail dot com 2010-04-29 18:23 --- Tail call optimization is disabled with -g. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43942

[Bug debug/43942] -fcompare-debug faulure with external declaration in function.

2010-04-29 Thread hjl dot tools at gmail dot com
--- Comment #4 from hjl dot tools at gmail dot com 2010-04-29 18:18 --- It also failed with gcc 4.5.0. -- hjl dot tools at gmail dot com changed: What|Removed |Added

[Bug debug/43942] -fcompare-debug faulure

2010-04-29 Thread hjl dot tools at gmail dot com
--- Comment #3 from hjl dot tools at gmail dot com 2010-04-29 18:16 --- [...@gnu-6 stage2-gcc]$ cat x.i enum plugin_event { PLUGIN_GGC_START, PLUGIN_GGC_END }; extern int invoke_plugin_callbacks_full (int, void *); static __inline__ int invoke_plugin_callbacks (int event __attribute__ ((

[Bug debug/43942] -fcompare-debug faulure

2010-04-29 Thread pinskia at gcc dot gnu dot org
--- Comment #2 from pinskia at gcc dot gnu dot org 2010-04-29 18:05 --- Reducing. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43942

[Bug bootstrap/43936] [4.6 regression] Revision 158896 fails to bootstrap

2010-04-29 Thread hjl dot tools at gmail dot com
--- Comment #15 from hjl dot tools at gmail dot com 2010-04-29 17:59 --- Fixed. -- hjl dot tools at gmail dot com changed: What|Removed |Added Status|NEW

[Bug debug/43942] -fcompare-debug faulure

2010-04-29 Thread hjl dot tools at gmail dot com
--- Comment #1 from hjl dot tools at gmail dot com 2010-04-29 17:57 --- Created an attachment (id=20518) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=20518&action=view) A testcase On Linux/x86-64, [...@gnu-6 stage2-gcc]$ ./xgcc -B./ -c -g -O2 -Wc++-compat -fno-common pr43942.i

[Bug debug/43942] New: -fcompare-debug faulure

2010-04-29 Thread hjl dot tools at gmail dot com
>From PR 43936, -fcompare-debug failed with external declaration in function. -- Summary: -fcompare-debug faulure Product: gcc Version: 4.6.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: debug Assig

[Bug bootstrap/43936] [4.6 regression] Revision 158896 fails to bootstrap

2010-04-29 Thread hjl at gcc dot gnu dot org
--- Comment #14 from hjl at gcc dot gnu dot org 2010-04-29 17:55 --- Subject: Bug 43936 Author: hjl Date: Thu Apr 29 17:55:00 2010 New Revision: 158909 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=158909 Log: Correct entry of fix for PR bootstrap/43936. Modified: trunk/gc

[Bug bootstrap/43935] [4.6 Regression] Bootstrap failure: cc1: all warnings being treated as errors

2010-04-29 Thread hjl at gcc dot gnu dot org
--- Comment #5 from hjl at gcc dot gnu dot org 2010-04-29 16:29 --- Subject: Bug 43935 Author: hjl Date: Thu Apr 29 16:29:10 2010 New Revision: 158905 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=158905 Log: Move flag_plugin_added out of invoke_plugin_callbacks. 2010-04-29 H

[Bug libstdc++/43918] gcc 4.5.0 is failing for i586-pc-msdosdjgpp

2010-04-29 Thread andris dot pavenis at iki dot fi
--- Comment #7 from andris dot pavenis at iki dot fi 2010-04-29 16:27 --- I had similar patch for this file when I last built GCC for DJGPP (gcc-4.4.2 as native compiler and gcc-4.4.3 as cross-compiler). The version for gcc-4.4.2 is in archive http://ap1.pp.fi/djgpp/gcc/4.4.2/src/gcc

[Bug bootstrap/43941] New: Impossible to build any version beyond 4.2.4

2010-04-29 Thread h dot m dot brand at xs4all dot nl
Managed to build gmp-5.0.1, mpfr-2.4.2, and mpc-0.8.1 with gcc-4.2.4/64 (all -mlp64). Had to set $ABI to 64 to make that pass. Due to the endless annoying libtool, building with HP C-ANSI-C was impossible. With that triplet installed, and hand-forced iconv to be unavailable (--disable-nls does no

[Bug bootstrap/43936] [4.6 regression] Revision 158896 fails to bootstrap

2010-04-29 Thread hjl dot tools at gmail dot com
--- Comment #13 from hjl dot tools at gmail dot com 2010-04-29 15:57 --- A patch is posted at http://gcc.gnu.org/ml/gcc-patches/2010-04/msg01827.html -- hjl dot tools at gmail dot com changed: What|Removed |Added -

[Bug bootstrap/43936] [4.6 regression] Revision 158896 fails to bootstrap

2010-04-29 Thread hjl dot tools at gmail dot com
--- Comment #12 from hjl dot tools at gmail dot com 2010-04-29 15:38 --- I am testing this patch: -- diff --git a/gcc/plugin.h b/gcc/plugin.h index 94663dd..3269641 100644 --- a/gcc/plugin.h +++ b/gcc/plugin.h @@ -35,6 +35,8 @@ extern void print_plugins_versions (FILE *file, const char

[Bug bootstrap/43936] [4.6 regression] Revision 158896 fails to bootstrap

2010-04-29 Thread jakub at gcc dot gnu dot org
--- Comment #11 from jakub at gcc dot gnu dot org 2010-04-29 15:37 --- No, otherwise -fcompare-debug or even the whole bootstrap comparison which compares -g -gtoggle built stage2 with -g built stage3 would fail much more often. Strangely, I saw the comparison failure on the trunk, but

[Bug tree-optimization/43879] -fipa-pta causes various miscompilations

2010-04-29 Thread rguenth at gcc dot gnu dot org
--- Comment #10 from rguenth at gcc dot gnu dot org 2010-04-29 15:37 --- And the bug is: struct TBL tbl = { foo }; but: Generating constraints for global initializers ... tbl = NONLOCAL tbl = &NULL ouch. I have a patch. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43879

[Bug bootstrap/43936] [4.6 regression] Revision 158896 fails to bootstrap

2010-04-29 Thread hjl dot tools at gmail dot com
--- Comment #10 from hjl dot tools at gmail dot com 2010-04-29 15:31 --- Do we do inline differently with and without -g? -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43936

[Bug tree-optimization/43879] -fipa-pta causes various miscompilations

2010-04-29 Thread rguenth at gcc dot gnu dot org
--- Comment #9 from rguenth at gcc dot gnu dot org 2010-04-29 15:29 --- Wow, thanks for the testcase! -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43879

[Bug bootstrap/43936] [4.6 regression] Revision 158896 fails to bootstrap

2010-04-29 Thread hjl dot tools at gmail dot com
--- Comment #9 from hjl dot tools at gmail dot com 2010-04-29 15:29 --- Also those failed files call invoke_plugin_callbacks. -- hjl dot tools at gmail dot com changed: What|Removed |Added ---

[Bug target/43921] Bootstrap comparison fails when using -march=atom

2010-04-29 Thread nisselarsson at home dot se
--- Comment #3 from nisselarsson at home dot se 2010-04-29 15:21 --- I can confirm that the patch above applies and gcc-4.5 now complies successfully. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43921

[Bug bootstrap/43858] [4.6 Regression] Bootstrap failure for powerpc-apple-darwin9: cannot compute suffix of object files

2010-04-29 Thread rguenth at gcc dot gnu dot org
--- Comment #28 from rguenth at gcc dot gnu dot org 2010-04-29 15:11 --- Fixed. -- rguenth at gcc dot gnu dot org changed: What|Removed |Added Status|UNCONFI

[Bug bootstrap/43936] [4.6 regression] Revision 158896 fails to bootstrap

2010-04-29 Thread rguenth at gcc dot gnu dot org
--- Comment #8 from rguenth at gcc dot gnu dot org 2010-04-29 15:10 --- because we build with bootstrap-debug by default. Bootstrap works fine for me with and without --enable-plugin. -- rguenth at gcc dot gnu dot org changed: What|Removed |Added

[Bug other/43620] [4.3/4.4 Regression] Uploading to gnu.org will fail due to automake security issue

2010-04-29 Thread jakub at gcc dot gnu dot org
--- Comment #8 from jakub at gcc dot gnu dot org 2010-04-29 15:03 --- Subject: Bug 43620 Author: jakub Date: Thu Apr 29 15:03:38 2010 New Revision: 158903 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=158903 Log: PR other/43620 libgomp/ * configure.ac (AM_INIT_A

[Bug tree-optimization/43940] New: DOM doesn't propagate constants properly

2010-04-29 Thread rguenth at gcc dot gnu dot org
For int main() { void *p = __builtin_malloc (4); if (p) { __builtin_free (p); p = 0; } __builtin_free (p); return 0; } DOM does not propagate p == 0 on the else path leaving : p_2 = __builtin_malloc (4); if (p_2 != 0B) goto ; else goto ; : __builtin_f

[Bug bootstrap/43936] [4.6 regression] Revision 158896 fails to bootstrap

2010-04-29 Thread hjl dot tools at gmail dot com
--- Comment #7 from hjl dot tools at gmail dot com 2010-04-29 14:47 --- For some reason, c-decl.o in stage2 has no debug sections: There are 16 section headers, starting at offset 0x1fbf8: Section Headers: [Nr] Name Type Address Offset Size

[Bug bootstrap/43936] [4.6 regression] Revision 158896 fails to bootstrap

2010-04-29 Thread dominiq at lps dot ens dot fr
--- Comment #6 from dominiq at lps dot ens dot fr 2010-04-29 14:39 --- > On rs6000, the miscompare seems to start at revision 158633 ... I think what you see at revision 158633 is a bootstrap failure due to a missing prototype in optabs.h, fixed with revision 158643. Meanwhile revision

[Bug tree-optimization/26854] [4.3/4.4/4.5/4.6 Regression] Inordinate compile times on large routines

2010-04-29 Thread bergner at gcc dot gnu dot org
--- Comment #119 from bergner at gcc dot gnu dot org 2010-04-29 14:34 --- Subject: Bug 26854 Author: bergner Date: Thu Apr 29 14:34:35 2010 New Revision: 158902 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=158902 Log: Backport from mainline. 2009-08-30 Alan

[Bug rtl-optimization/33928] [4.3/4.4/4.5/4.6 Regression] 30% performance slowdown in floating-point code caused by r118475

2010-04-29 Thread bergner at gcc dot gnu dot org
--- Comment #113 from bergner at gcc dot gnu dot org 2010-04-29 14:34 --- Subject: Bug 33928 Author: bergner Date: Thu Apr 29 14:34:35 2010 New Revision: 158902 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=158902 Log: Backport from mainline. 2009-08-30 Alan

[Bug target/41081] redundant ZERO_EXTENDs

2010-04-29 Thread bergner at gcc dot gnu dot org
--- Comment #15 from bergner at gcc dot gnu dot org 2010-04-29 14:34 --- Subject: Bug 41081 Author: bergner Date: Thu Apr 29 14:34:35 2010 New Revision: 158902 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=158902 Log: Backport from mainline. 2009-08-30 Alan M

[Bug fortran/43931] coarrays: Wrong code (segfault) with allocatable coarrays

2010-04-29 Thread burnus at gcc dot gnu dot org
--- Comment #3 from burnus at gcc dot gnu dot org 2010-04-29 14:34 --- The issue is that a.dim[] is too small, which was traced by Alexander Monakov (thanks!). This is in turn due to: gfc_get_array_descriptor_base (int dimen, int codimen, bool restricted) { int idx = 2 * (dime

[Bug c++/43932] conditional operator can't convert 0 to pointer

2010-04-29 Thread redi at gcc dot gnu dot org
--- Comment #6 from redi at gcc dot gnu dot org 2010-04-29 14:17 --- for further confirmation, the original case is covered by: http://www.open-std.org/jtc1/sc22/wg21/docs/cwg_defects.html#367 and my cases are covered by: http://www.open-std.org/jtc1/sc22/wg21/docs/cwg_active.html#236

[Bug tree-optimization/43934] LIM should handle PHI nodes

2010-04-29 Thread rguenth at gcc dot gnu dot org
--- Comment #1 from rguenth at gcc dot gnu dot org 2010-04-29 14:16 --- I have a patch. -- rguenth at gcc dot gnu dot org changed: What|Removed |Added AssignedTo|

[Bug debug/43937] [4.6 regression] FAIL: gcc.dg/guality/inline-params.c

2010-04-29 Thread rguenth at gcc dot gnu dot org
-- rguenth at gcc dot gnu dot org changed: What|Removed |Added Target Milestone|--- |4.6.0 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43937

[Bug middle-end/43938] [4.6 regression] gcc.dg/lto/const-uniq c_lto_const-uniq_0.o-c_lto_const-uniq_1.o link

2010-04-29 Thread rguenth at gcc dot gnu dot org
-- rguenth at gcc dot gnu dot org changed: What|Removed |Added Target Milestone|--- |4.6.0 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43938

[Bug c++/43932] conditional operator can't convert 0 to pointer

2010-04-29 Thread redi at gcc dot gnu dot org
--- Comment #5 from redi at gcc dot gnu dot org 2010-04-29 14:11 --- the definition of integral constant expression has changed between C++03 and C++0x, so that int() is a valid integral constant expression, as is int(b?0:0) So that makes my 'f' and 'g' examples valid. However, by [exp

[Bug bootstrap/43935] [4.6 Regression] Bootstrap failure: cc1: all warnings being treated as errors

2010-04-29 Thread rguenth at gcc dot gnu dot org
--- Comment #4 from rguenth at gcc dot gnu dot org 2010-04-29 14:11 --- Subject: Bug 43935 Author: rguenth Date: Thu Apr 29 14:10:39 2010 New Revision: 158901 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=158901 Log: 2010-04-29 Richard Guenther PR bootstrap/43935

[Bug bootstrap/43935] [4.6 Regression] Bootstrap failure: cc1: all warnings being treated as errors

2010-04-29 Thread rguenth at gcc dot gnu dot org
--- Comment #3 from rguenth at gcc dot gnu dot org 2010-04-29 14:10 --- Fixed. -- rguenth at gcc dot gnu dot org changed: What|Removed |Added Status|UNCONFIRM

[Bug bootstrap/43936] [4.6 regression] Revision 158896 fails to bootstrap

2010-04-29 Thread dominiq at lps dot ens dot fr
--- Comment #5 from dominiq at lps dot ens dot fr 2010-04-29 13:50 --- > ... and a SEGV configuring libgcc at rev 158639. This is probably pr43858 and it should be fixed by revision 158898. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43936

[Bug fortran/43931] coarrays: Wrong code (segfault) with allocatable coarrays

2010-04-29 Thread burnus at gcc dot gnu dot org
--- Comment #2 from burnus at gcc dot gnu dot org 2010-04-29 13:49 --- Created an attachment (id=20516) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=20516&action=view) Assembler (x86-64-linux) -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43931

[Bug fortran/43931] coarrays: Wrong code (segfault) with allocatable coarrays

2010-04-29 Thread burnus at gcc dot gnu dot org
--- Comment #1 from burnus at gcc dot gnu dot org 2010-04-29 13:49 --- Created an attachment (id=20515) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=20515&action=view) 142t.optimized dump -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43931

[Bug middle-end/43938] [4.6 regression] gcc.dg/lto/const-uniq c_lto_const-uniq_0.o-c_lto_const-uniq_1.o link

2010-04-29 Thread hubicka at gcc dot gnu dot org
-- hubicka at gcc dot gnu dot org changed: What|Removed |Added AssignedTo|unassigned at gcc dot gnu |hubicka at gcc dot gnu dot |dot org

[Bug c++/43932] conditional operator can't convert 0 to pointer

2010-04-29 Thread redi at gcc dot gnu dot org
--- Comment #4 from redi at gcc dot gnu dot org 2010-04-29 13:34 --- That example 'f' is equivalent to this, which also compiles: int* g(bool b) { return int(b ? 0 : 0); } that's /definitely/ wrong -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43932

[Bug c++/43932] conditional operator can't convert 0 to pointer

2010-04-29 Thread redi at gcc dot gnu dot org
--- Comment #3 from redi at gcc dot gnu dot org 2010-04-29 13:31 --- See [expr.cond]p2 if one operand is a throw-expression the result of the conditional-expression is an rvalue of the type of the other operand (i.e. int) I think it's actually a bug that this compiles: int* f(bool b) {

[Bug bootstrap/43936] [4.6 regression] Revision 158896 fails to bootstrap

2010-04-29 Thread dje at gcc dot gnu dot org
--- Comment #4 from dje at gcc dot gnu dot org 2010-04-29 13:29 --- On rs6000, the miscompare seems to start at revision 158633 and a SEGV configuring libgcc at rev 158639. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43936

[Bug bootstrap/43936] [4.6 regression] Revision 158896 fails to bootstrap

2010-04-29 Thread dje at gcc dot gnu dot org
--- Comment #3 from dje at gcc dot gnu dot org 2010-04-29 13:25 --- rs6000 also is experiencing stage 2/3 comparison failures on both Linux and AIX. -- dje at gcc dot gnu dot org changed: What|Removed |Added

[Bug middle-end/43938] [4.6 regression] gcc.dg/lto/const-uniq c_lto_const-uniq_0.o-c_lto_const-uniq_1.o link

2010-04-29 Thread hjl dot tools at gmail dot com
--- Comment #1 from hjl dot tools at gmail dot com 2010-04-29 13:24 --- Revision 158854: http://gcc.gnu.org/ml/gcc-cvs/2010-04/msg00961.html is the cause. -- hjl dot tools at gmail dot com changed: What|Removed |Added

[Bug middle-end/43938] New: [4.6 regression] gcc.dg/lto/const-uniq c_lto_const-uniq_0.o-c_lto_const-uniq_1.o link

2010-04-29 Thread hjl dot tools at gmail dot com
On Linux/x86, revision 158895 gave FAIL: gcc.dg/lto/const-uniq c_lto_const-uniq_0.o-c_lto_const-uniq_1.o link Revision 158852 is OK. -- Summary: [4.6 regression] gcc.dg/lto/const-uniq c_lto_const- uniq_0.o-c_lto_const-uniq_1.o link Product: gcc

  1   2   >