[Bug rtl-optimization/34085] ICE with -freorder-blocks-and-partition

2007-11-16 Thread eres at il dot ibm dot com
--- Comment #16 from eres at il dot ibm dot com 2007-11-17 06:36 --- (In reply to comment #15) > (In reply to comment #14) > > I still can't reproduce it. What does your gcc -v say? > Configured with: ../gcc/configure --prefix=/home/eres/check_final/build > --with-cpu=default32 --enable

[Bug rtl-optimization/34085] ICE with -freorder-blocks-and-partition

2007-11-16 Thread eres at il dot ibm dot com
--- Comment #15 from eres at il dot ibm dot com 2007-11-17 06:24 --- (In reply to comment #14) > I still can't reproduce it. What does your gcc -v say? Configured with: ../gcc/configure --prefix=/home/eres/check_final/build --with-cpu=default32 --enable-checking --disable-bootstrap --e

[Bug tree-optimization/34113] [4.3 Regression] ICE in get_addr_dereference_operands, at tree-ssa-operands.c:1746

2007-11-16 Thread dirtyepic at gentoo dot org
--- Comment #7 from dirtyepic at gentoo dot org 2007-11-17 02:19 --- Confirmed, thanks. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34113

[Bug ada/34098] xgcc: Internal error: Segmentation fault (program gnat1)

2007-11-16 Thread danglin at gcc dot gnu dot org
--- Comment #2 from danglin at gcc dot gnu dot org 2007-11-17 02:03 --- Actually, it's the following change: 2007-11-08 Tom Tromey <[EMAIL PROTECTED]> * common.opt (fshow-column): Default to 0. * configure: Rebuilt. * configure.ac (--enable-mapped-location): D

[Bug c/34130] New: the builtin abs() gives wrong result when used in some expression

2007-11-16 Thread pengchengzou at gmail dot com
tried the following code on both gcc 4.1 and gcc 3.2,: int result, i; i = 0; result = -2*abs(i-2); printf("result = %d\n", result); the result is 4, while the

[Bug fortran/34108] ICE: Segmentation fault occurs by "write(*,0)" statement

2007-11-16 Thread fxcoudert at gcc dot gnu dot org
--- Comment #4 from fxcoudert at gcc dot gnu dot org 2007-11-17 00:22 --- Fixed. Thanks for the bug report. -- fxcoudert at gcc dot gnu dot org changed: What|Removed |Added --

[Bug fortran/34108] ICE: Segmentation fault occurs by "write(*,0)" statement

2007-11-16 Thread fxcoudert at gcc dot gnu dot org
--- Comment #3 from fxcoudert at gcc dot gnu dot org 2007-11-17 00:10 --- Subject: Bug 34108 Author: fxcoudert Date: Sat Nov 17 00:10:00 2007 New Revision: 130249 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=130249 Log: PR fortran/34108 * io.c (check_format_s

[Bug fortran/34128] slow gfortran 4.x (library?) compared to g77 3.4

2007-11-16 Thread fxcoudert at gcc dot gnu dot org
--- Comment #1 from fxcoudert at gcc dot gnu dot org 2007-11-17 00:07 --- While I'm trying to understand what happens, I should say that a simply workaround is to make your calculation happen in double precision (change "3.14159" into "3.14159d0"; after all, you want a double-precision

[Bug fortran/34040] [4.3 Regression] ICE: in simplify_subreg, at simplify-rtx.c:4921 building libgfortran

2007-11-16 Thread fxcoudert at gcc dot gnu dot org
--- Comment #7 from fxcoudert at gcc dot gnu dot org 2007-11-16 23:42 --- (In reply to comment #6) > Yes. When -m2e is specified on SH, DOUBLE_TYPE_SIZE is set to > 32 and double_type_node has the SF type. > Perhaps all targets which set DOUBLE_TYPE_SIZE to other than 64 > might have t

[Bug fortran/34108] ICE: Segmentation fault occurs by "write(*,0)" statement

2007-11-16 Thread fxcoudert at gcc dot gnu dot org
--- Comment #2 from fxcoudert at gcc dot gnu dot org 2007-11-16 23:29 --- I submitted a patch that removes the ICE and adds a better error message. -- fxcoudert at gcc dot gnu dot org changed: What|Removed |Added --

[Bug ada/34117] Please enable range checks by default (-gnato)

2007-11-16 Thread listor3 dot rombobeorn at tdcpost dot se
--- Comment #3 from listor3 dot rombobeorn at tdcpost dot se 2007-11-16 23:16 --- I've never seen any numbers on just how expensive -gnato is, but provided that the cost is moderate I think it should be on by default. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34117

[Bug fortran/34112] Add $!DEC ATTRIBUTE support for 32bit Windows' STDCALL

2007-11-16 Thread dannysmith at users dot sourceforge dot net
--- Comment #2 from dannysmith at users dot sourceforge dot net 2007-11-16 23:09 --- > The problem with decorate is that its meaning depends on the platform. It may > decorate the "name" of alias with a "_" prefix and "@n" postfix or only with a > "_" prefix. Maybe one should start with

[Bug libfortran/33583] FAIL: gfortran.dg/gamma_1.f90

2007-11-16 Thread fxcoudert at gcc dot gnu dot org
-- fxcoudert at gcc dot gnu dot org changed: What|Removed |Added Target Milestone|--- |4.3.0 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33583

[Bug libfortran/33698] FAIL: gfortran.dg/gamma_5.f90

2007-11-16 Thread fxcoudert at gcc dot gnu dot org
--- Comment #23 from fxcoudert at gcc dot gnu dot org 2007-11-16 22:46 --- I hope it's now fixed. If there is something more to it, please reopen the PR or file a new one. -- fxcoudert at gcc dot gnu dot org changed: What|Removed |Added --

[Bug libfortran/33583] FAIL: gfortran.dg/gamma_1.f90

2007-11-16 Thread fxcoudert at gcc dot gnu dot org
--- Comment #9 from fxcoudert at gcc dot gnu dot org 2007-11-16 22:46 --- I hope it's now fixed. If there is something more to it, please reopen the PR or file a new one. -- fxcoudert at gcc dot gnu dot org changed: What|Removed |Added ---

[Bug fortran/33957] gfortran rejects valid initialization expression

2007-11-16 Thread fxcoudert at gcc dot gnu dot org
--- Comment #7 from fxcoudert at gcc dot gnu dot org 2007-11-16 22:40 --- Fixed. -- fxcoudert at gcc dot gnu dot org changed: What|Removed |Added Status|ASSI

[Bug other/34129] backtrace () requires malloc () during initialization

2007-11-16 Thread pinskia at gcc dot gnu dot org
--- Comment #3 from pinskia at gcc dot gnu dot org 2007-11-16 22:38 --- backtrace is part of the GNU libc project and not the GCC Project, report the bug to them (http://www.sourceware.org/bugzilla ). -- pinskia at gcc dot gnu dot org changed: What|Removed

[Bug fortran/33957] gfortran rejects valid initialization expression

2007-11-16 Thread fxcoudert at gcc dot gnu dot org
--- Comment #6 from fxcoudert at gcc dot gnu dot org 2007-11-16 22:38 --- Subject: Bug 33957 Author: fxcoudert Date: Fri Nov 16 22:38:21 2007 New Revision: 130246 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=130246 Log: PR fortran/33957 * gfortran.dg/initiali

[Bug bootstrap/34126] [4.3 regression] bootstrap: build/genmodes missing

2007-11-16 Thread wilson at gcc dot gnu dot org
--- Comment #4 from wilson at gcc dot gnu dot org 2007-11-16 22:37 --- This problem occurs if you accidentally run ../gcc/gcc/configure instead of ../gcc/configure I've tried looking at make -d output, and there isn't enough info there to see what is going wrong. In the second case

[Bug other/34129] backtrace () requires malloc () during initialization

2007-11-16 Thread stephenc at cisco dot com
--- Comment #2 from stephenc at cisco dot com 2007-11-16 22:36 --- Created an attachment (id=14570) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=14570&action=view) Preprocessed example source -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34129

[Bug other/34129] backtrace () requires malloc () during initialization

2007-11-16 Thread stephenc at cisco dot com
--- Comment #1 from stephenc at cisco dot com 2007-11-16 22:35 --- Created an attachment (id=14569) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=14569&action=view) Output from gcc -v -save-temps -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34129

[Bug other/34129] New: backtrace () requires malloc () during initialization

2007-11-16 Thread stephenc at cisco dot com
The following stack shows backtrace () requiring malloc () when initializing. This makes writing memory tools slightly problematic. In the example, the code deadlocks in my malloc () during initialization: #0 malloc (size=28) at example.cpp:17 #1 0x006821d8 in _dl_map_object_deps () from /lib/ld

[Bug libfortran/33583] FAIL: gfortran.dg/gamma_1.f90

2007-11-16 Thread fxcoudert at gcc dot gnu dot org
--- Comment #8 from fxcoudert at gcc dot gnu dot org 2007-11-16 22:31 --- Subject: Bug 33583 Author: fxcoudert Date: Fri Nov 16 22:31:28 2007 New Revision: 130245 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=130245 Log: PR libfortran/33583 PR libfortran/33698

[Bug libfortran/33698] FAIL: gfortran.dg/gamma_5.f90

2007-11-16 Thread fxcoudert at gcc dot gnu dot org
--- Comment #22 from fxcoudert at gcc dot gnu dot org 2007-11-16 22:31 --- Subject: Bug 33698 Author: fxcoudert Date: Fri Nov 16 22:31:28 2007 New Revision: 130245 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=130245 Log: PR libfortran/33583 PR libfortran/33698

[Bug debug/33739] [4.3 Regression] Failure of gfortran.dg/literal_character_constant_1_*.F with -m64 -g on Darwin

2007-11-16 Thread fxcoudert at gcc dot gnu dot org
--- Comment #14 from fxcoudert at gcc dot gnu dot org 2007-11-16 22:24 --- Reopening, since the fix cause a regression (PR 34084). Please remember to fix both problems at the same time. The other problem is: INCLUDE 'anything' PROGRAM test_cg END PROGRAM test_cg The INCLUDE file can c

[Bug fortran/34084] [4.3 regression] Error in November 9 version of gfortran when the first line in a source file is an INCLUDE statement

2007-11-16 Thread fxcoudert at gcc dot gnu dot org
--- Comment #4 from fxcoudert at gcc dot gnu dot org 2007-11-16 22:24 --- Regression fixed by reverting the patch, sorry for the breakage. -- fxcoudert at gcc dot gnu dot org changed: What|Removed |Added ---

[Bug libfortran/34128] New: slow gfortran 4.x (library?) compared to g77 3.4

2007-11-16 Thread mnoble at space dot mit dot edu
The following codes (compiled as demo1.f and demo2.f) PROGRAM demo1 PROGRAM demo2 integer i integer i double precision result double precision result do i=1,800do i=1,5 result =

[Bug debug/33739] [4.3 Regression] Failure of gfortran.dg/literal_character_constant_1_*.F with -m64 -g on Darwin

2007-11-16 Thread fxcoudert at gcc dot gnu dot org
--- Comment #13 from fxcoudert at gcc dot gnu dot org 2007-11-16 22:20 --- Subject: Bug 33739 Author: fxcoudert Date: Fri Nov 16 22:20:44 2007 New Revision: 130244 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=130244 Log: PR fortran/33739 PR fortran/34084

[Bug fortran/34084] [4.3 regression] Error in November 9 version of gfortran when the first line in a source file is an INCLUDE statement

2007-11-16 Thread fxcoudert at gcc dot gnu dot org
--- Comment #3 from fxcoudert at gcc dot gnu dot org 2007-11-16 22:20 --- Subject: Bug 34084 Author: fxcoudert Date: Fri Nov 16 22:20:44 2007 New Revision: 130244 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=130244 Log: PR fortran/33739 PR fortran/34084

[Bug tree-optimization/23936] There should be a simplify_replace_tree like simplify_replace_rtx

2007-11-16 Thread pinskia at gcc dot gnu dot org
--- Comment #2 from pinskia at gcc dot gnu dot org 2007-11-16 22:12 --- There is no need for this any more. It is not that useful really anyways. -- pinskia at gcc dot gnu dot org changed: What|Removed |Added --

[Bug rtl-optimization/25609] too agressive printf optimization

2007-11-16 Thread pinskia at gmail dot com
--- Comment #15 from pinskia at gmail dot com 2007-11-16 22:11 --- Subject: Re: too agressive printf optimization > Is there any difference in the standard behaviour between printf("%s", NULL) > and puts(NULL)? I mean, why printf("%s", NULL) receives special consideration > but neither

Re: [Bug rtl-optimization/25609] too agressive printf optimization

2007-11-16 Thread Andrew Pinski
> Is there any difference in the standard behaviour between printf("%s", NULL) > and puts(NULL)? I mean, why printf("%s", NULL) receives special consideration > but neither puts(NULL) nor fprintf(stdout, "%s", NULL) do? No both are undefined. -- Pinski

[Bug middle-end/34030] [4.1/4.2 Regression] ICE in in compare_values_warnv, at tree-vrp.c:701

2007-11-16 Thread rguenth at gcc dot gnu dot org
--- Comment #11 from rguenth at gcc dot gnu dot org 2007-11-16 21:51 --- Fixed. -- rguenth at gcc dot gnu dot org changed: What|Removed |Added Status|ASSIGNE

[Bug tree-optimization/34030] [4.1/4.2 Regression] ICE in in compare_values_warnv, at tree-vrp.c:701

2007-11-16 Thread rguenth at gcc dot gnu dot org
--- Comment #10 from rguenth at gcc dot gnu dot org 2007-11-16 21:50 --- Subject: Bug 34030 Author: rguenth Date: Fri Nov 16 21:50:20 2007 New Revision: 130242 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=130242 Log: 2007-11-16 Richard Guenther <[EMAIL PROTECTED]>

[Bug tree-optimization/34030] [4.1/4.2 Regression] ICE in in compare_values_warnv, at tree-vrp.c:701

2007-11-16 Thread rguenth at gcc dot gnu dot org
--- Comment #9 from rguenth at gcc dot gnu dot org 2007-11-16 21:45 --- Subject: Bug 34030 Author: rguenth Date: Fri Nov 16 21:44:58 2007 New Revision: 130240 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=130240 Log: 2007-11-16 Richard Guenther <[EMAIL PROTECTED]> PR

[Bug tree-optimization/34030] [4.1/4.2 Regression] ICE in in compare_values_warnv, at tree-vrp.c:701

2007-11-16 Thread rguenth at gcc dot gnu dot org
--- Comment #8 from rguenth at gcc dot gnu dot org 2007-11-16 21:35 --- Subject: Bug 34030 Author: rguenth Date: Fri Nov 16 21:34:39 2007 New Revision: 130238 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=130238 Log: 2007-11-16 Richard Guenther <[EMAIL PROTECTED]> PR

[Bug other/32508] g++ emits concept checks instantiations (code size blows up).

2007-11-16 Thread pluto at agmk dot net
--- Comment #4 from pluto at agmk dot net 2007-11-16 21:34 --- --enable-concept-checks in current boost-based way won't be fixed. we're waiting for real concepts from c++0x. -- pluto at agmk dot net changed: What|Removed |Added

[Bug fortran/31213] ICE on valid code with gfortran

2007-11-16 Thread pault at gcc dot gnu dot org
--- Comment #7 from pault at gcc dot gnu dot org 2007-11-16 21:22 --- Ah! ubound.51 is not declared anywhere in spec_test. Paul -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31213

[Bug other/28322] GCC new warnings and compatibility

2007-11-16 Thread ian at davenant dot greenend dot org dot uk
--- Comment #9 from ian at davenant dot greenend dot org dot uk 2007-11-16 21:18 --- All that's really needed is to remember all of the unknown -Wno-* options seen. From the point of view of the core of the option parser, accept them, but just store the string as provided. When the fi

[Bug rtl-optimization/34085] ICE with -freorder-blocks-and-partition

2007-11-16 Thread steven at gcc dot gnu dot org
--- Comment #14 from steven at gcc dot gnu dot org 2007-11-16 21:15 --- I still can't reproduce it. What does your gcc -v say? -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34085

[Bug c/34127] ICE: tree-ssa-operands.c:1688

2007-11-16 Thread rwgk at yahoo dot com
--- Comment #1 from rwgk at yahoo dot com 2007-11-16 21:11 --- Created an attachment (id=14568) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=14568&action=view) reproducer -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34127

[Bug c/34127] New: ICE: tree-ssa-operands.c:1688

2007-11-16 Thread rwgk at yahoo dot com
/vol1/tmp/rwgk/gcc_trunk_130232_x86_64_fc7 --enable-languages=c,c++,fortran --with-mpfr=/usr Thread model: posix gcc version 4.3.0 20071116 (experimental) (GCC) I'll attach a stand-alone reproducer. It works with -O0 but not -O1 or higher: % gcc -c -fno-strict-aliasing -O1 -Wall ice_ssa.c ice_

[Bug bootstrap/34126] [4.3 regression] bootstrap: build/genmodes missing

2007-11-16 Thread tkoenig at gcc dot gnu dot org
--- Comment #3 from tkoenig at gcc dot gnu dot org 2007-11-16 21:00 --- Hi Mark, this should probably be a P1. Booting on Linux isn't all that uncommon. -- tkoenig at gcc dot gnu dot org changed: What|Removed |Added --

[Bug fortran/29458] Spurious -Wuninitialized warning for implied do-loop counter

2007-11-16 Thread terry at chem dot gu dot se
--- Comment #6 from terry at chem dot gu dot se 2007-11-16 20:57 --- I'd just like to remind everyone that this is still an issue in gcc version 4.3.0 20071109 -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29458

[Bug bootstrap/34126] bootstrap: build/genmodes missing

2007-11-16 Thread tkoenig at gcc dot gnu dot org
--- Comment #2 from tkoenig at gcc dot gnu dot org 2007-11-16 20:56 --- Created an attachment (id=14567) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=14567&action=view) gcc/Makefile Makefile in gcc. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34126

[Bug bootstrap/34126] bootstrap: build/genmodes missing

2007-11-16 Thread tkoenig at gcc dot gnu dot org
--- Comment #1 from tkoenig at gcc dot gnu dot org 2007-11-16 20:55 --- Created an attachment (id=14566) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=14566&action=view) Output of "make bootstrap" -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34126

[Bug bootstrap/34126] New: bootstrap: build/genmodes missing

2007-11-16 Thread tkoenig at gcc dot gnu dot org
bootstrap fails with i686-pc-linux-gnu with revision 130208. Configured with $ ../../gcc/trunk/configure --prefix=$HOME --enable-languages=c,fortran make bootstrap then fails with Error message: build/genmodes -h > tmp-modes.h /bin/sh: build/genmodes: No such file or directory make[3]: *** [s-

[Bug middle-end/21628] GCC much slower than ICL. Lack of inlining?

2007-11-16 Thread laurent at ient dot rwth-aachen dot de
--- Comment #6 from laurent at ient dot rwth-aachen dot de 2007-11-16 20:42 --- > Note that for completely inlining kernels you can use the > __attribute__((flatten)) > on the *calling* function. Usually with expression templates that is the > function > containing the loops, like > vo

[Bug fortran/31213] ICE on valid code with gfortran

2007-11-16 Thread pault at gcc dot gnu dot org
--- Comment #6 from pault at gcc dot gnu dot org 2007-11-16 20:34 --- The reduced testcase of #2 is fixed by: Index: gcc/fortran/resolve.c === *** gcc/fortran/resolve.c (revision 129882) --- gcc/fortran/resolve.c

[Bug tree-optimization/33434] [4.3 Regression] inlining miscompilation

2007-11-16 Thread jakub at gcc dot gnu dot org
--- Comment #16 from jakub at gcc dot gnu dot org 2007-11-16 20:29 --- Tried to bootstrap that, and while just for make check it basically just needed gcc_assert (!value || !TREE_SIDE_EFFECTS (value)); because e.g. some Fortran testcases have value == NULL, bootstrap fails, e.g. on i386.

[Bug c++/34125] auto_ptr ambiguous conversion

2007-11-16 Thread pcarlini at suse dot de
--- Comment #1 from pcarlini at suse dot de 2007-11-16 20:26 --- *** This bug has been marked as a duplicate of 34124 *** -- pcarlini at suse dot de changed: What|Removed |Added

[Bug ada/34118] Please enable stack checking (-fstack-check) by default

2007-11-16 Thread pinskia at gmail dot com
--- Comment #3 from pinskia at gmail dot com 2007-11-16 20:26 --- Subject: Re: Please enable stack checking (-fstack-check) by default On 16 Nov 2007 18:35:15 -, ebotcazou at gcc dot gnu dot org <[EMAIL PROTECTED]> wrote: > That's not true of probes in general, only of the generic

[Bug c++/34124] auto_ptr ambiguous conversion

2007-11-16 Thread pcarlini at suse dot de
--- Comment #1 from pcarlini at suse dot de 2007-11-16 20:26 --- *** Bug 34125 has been marked as a duplicate of this bug. *** -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34124

Re: [Bug ada/34118] Please enable stack checking (-fstack-check) by default

2007-11-16 Thread Andrew Pinski
On 16 Nov 2007 18:35:15 -, ebotcazou at gcc dot gnu dot org <[EMAIL PROTECTED]> wrote: > That's not true of probes in general, only of the generic implementation of > the probing method in GCC. The implementation on Alpha/Tru64 doesn't suffer > from this defect for example. Or even the spu-el

[Bug c++/34125] New: auto_ptr ambiguous conversion

2007-11-16 Thread cfekete1 at gmail dot com
Hi, Running the following code: #include using namespace std; class CBase {}; class CDerived : public CBase {}; void Set(auto_ptr base) { } int main(int argc, char *argv[]) { auto_ptr derived(new CDerived); Set(derived); // error: conversion from 'std::auto_ptr' to 'std::auto_ptr' is am

[Bug tree-optimization/34113] [4.3 Regression] ICE in get_addr_dereference_operands, at tree-ssa-operands.c:1746

2007-11-16 Thread rguenth at gcc dot gnu dot org
--- Comment #6 from rguenth at gcc dot gnu dot org 2007-11-16 13:14 --- Fixed. -- rguenth at gcc dot gnu dot org changed: What|Removed |Added Status|ASSIGNED

[Bug middle-end/33088] [4.1/4.2/4.3 Regression] spurious exceptions with -ffloat-store

2007-11-16 Thread jakub at gcc dot gnu dot org
--- Comment #5 from jakub at gcc dot gnu dot org 2007-11-16 14:50 --- /usr/src/gcc/obj35/gcc/xgcc -B /usr/src/gcc/obj35/gcc/ -v 2>&1 | tail -n 1; /usr/src/gcc/obj35/gcc/xgcc -B /usr/src/gcc/obj35/gcc/ -m32 -O2 -ffloat-store -o pr33088{,.c} -lm; ./pr33088; echo $? gcc version 4.3.0 200711

[Bug fortran/34008] ICE in gfc_trans_call, at fortran/trans-stmt.c:389 on elemental assignment

2007-11-16 Thread pault at gcc dot gnu dot org
--- Comment #6 from pault at gcc dot gnu dot org 2007-11-16 14:49 --- Fixed on trunk Paul -- pault at gcc dot gnu dot org changed: What|Removed |Added Status

[Bug c++/34022] C++0x: rvalue references and std::forward() broken with built-in types

2007-11-16 Thread dgregor at gcc dot gnu dot org
--- Comment #3 from dgregor at gcc dot gnu dot org 2007-11-16 20:10 --- I'm working on it -- dgregor at gcc dot gnu dot org changed: What|Removed |Added AssignedT

[Bug other/28322] GCC new warnings and compatibility

2007-11-16 Thread manu at gcc dot gnu dot org
--- Comment #8 from manu at gcc dot gnu dot org 2007-11-16 20:01 --- > Specification of the proposed new behaviour: > > 1. GCC should ignore unknown -Wno-* options if no other warnings are to >be issued. This is always correct since the only effect of such an >option would be t

[Bug tree-optimization/33092] [4.3 Regrsssion] Using -O1 -fno-tree-salias results in ICE

2007-11-16 Thread rob dot quill at gmail dot com
--- Comment #6 from rob dot quill at gmail dot com 2007-11-16 20:00 --- I'm working on adding a new pass for this. Rob -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33092

[Bug middle-end/28581] Illegal loading the address of a label with -O2

2007-11-16 Thread pinskia at gcc dot gnu dot org
--- Comment #4 from pinskia at gcc dot gnu dot org 2007-11-16 19:57 --- *** Bug 34116 has been marked as a duplicate of this bug. *** -- pinskia at gcc dot gnu dot org changed: What|Removed |Added ---

[Bug c/34116] GCC for CELL processor does NOT relocate properly with Optimization Turned on.,

2007-11-16 Thread pinskia at gcc dot gnu dot org
--- Comment #1 from pinskia at gcc dot gnu dot org 2007-11-16 19:57 --- This is not a GCC bug. There are no computed gotos in your function so the label can be moved anywhere around. The scheduler moves around the label in this case. *** This bug has been marked as a duplicate of 28581

[Bug c++/34124] New: auto_ptr ambiguous conversion

2007-11-16 Thread cfekete1 at gmail dot com
Hi, Running the following code: #include using namespace std; class CBase {}; class CDerived : public CBase {}; void Set(auto_ptr base) { } int main(int argc, char *argv[]) { auto_ptr derived(new CDerived); Set(derived); // error: conversion from 'std::auto_ptr' to 'std::auto_ptr' is am

[Bug middle-end/21628] GCC much slower than ICL. Lack of inlining?

2007-11-16 Thread manu at gcc dot gnu dot org
--- Comment #1 from manu at gcc dot gnu dot org 2007-11-16 15:49 --- What does -Winline say? Have you tried with always_inline? Example: /* Prototype. */ inline void foo (const char) __attribute__((always_inline)); See http://gcc.gnu.org/onlinedocs/gcc/Function-Attribut

[Bug ada/20615] IP address 255.255.255.255 cannot be set with GNAT.Sockets

2007-11-16 Thread sam at rfc1149 dot net
--- Comment #2 from sam at rfc1149 dot net 2007-11-16 14:14 --- This bug does not exist in current GCC sources, which have a special test case for 255.255.255.255 in g-socket.adb. I suggest that this bug be closed. -- sam at rfc1149 dot net changed: What|Removed

[Bug ada/34118] Please enable stack checking (-fstack-check) by default

2007-11-16 Thread ebotcazou at gcc dot gnu dot org
--- Comment #2 from ebotcazou at gcc dot gnu dot org 2007-11-16 18:35 --- > GCC supports two ways to implement stack overflow checks: using guard pages > called "probes", and inserting stack checking code into every subprogram. That's confused. Probes are not "guard pages" and you alw

[Bug middle-end/20982] alignment attribute ignired for vector pointers types

2007-11-16 Thread manu at gcc dot gnu dot org
--- Comment #2 from manu at gcc dot gnu dot org 2007-11-16 19:32 --- (In reply to comment #1) > aligned can never decrease the required alignment. > Can we detect this and emit a diagnostic? We do it for declarations already but not for types. I tried the following patch as a wild gues

[Bug tree-optimization/34030] [4.1/4.2 Regression] ICE in in compare_values_warnv, at tree-vrp.c:701

2007-11-16 Thread rguenth at gcc dot gnu dot org
--- Comment #4 from rguenth at gcc dot gnu dot org 2007-11-16 18:20 --- Or rather a frontend bug if it doesn't promote either the integer to a pointer or the pointer to an integer: ./cc1 -quiet -O2 t.i -quiet t.i: In function ‘foo’: t.i:9: warning: comparison between pointer and integer

[Bug ada/34118] Please enable stack checking (-fstack-check) by default

2007-11-16 Thread niklas dot holsti at tidorum dot fi
--- Comment #1 from niklas dot holsti at tidorum dot fi 2007-11-16 18:19 --- It would certainly be in the Ada spirit to have stack-checking enabled by default. If GCC offers a selection of stack-checking methods, I think the default method should be the most reliable and general one, e

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

2007-11-16 Thread tbm at gcc dot gnu dot org
--- Comment #14 from tbm at gcc dot gnu dot org 2007-11-16 19:16 --- *** Bug 31080 has been marked as a duplicate of this bug. *** -- tbm at gcc dot gnu dot org changed: What|Removed |Added --

[Bug c++/31080] ice for legal code with -O2

2007-11-16 Thread tbm at gcc dot gnu dot org
--- Comment #3 from tbm at gcc dot gnu dot org 2007-11-16 19:16 --- Works for me with trunk. *** This bug has been marked as a duplicate of 31037 *** -- tbm at gcc dot gnu dot org changed: What|Removed |Added -

[Bug tree-optimization/34030] [4.1/4.2 Regression] ICE in in compare_values_warnv, at tree-vrp.c:701

2007-11-16 Thread rguenth at gcc dot gnu dot org
--- Comment #7 from rguenth at gcc dot gnu dot org 2007-11-16 18:48 --- Created an attachment (id=14565) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=14565&action=view) patch Still needs testing, applies to all branches and trunk. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?

[Bug tree-optimization/34123] [4.3 Regression] verify_ssa failed (definition in block 11 does not dominate use in block 7)

2007-11-16 Thread tbm at cyrius dot com
--- Comment #2 from tbm at cyrius dot com 2007-11-16 19:14 --- This was introduced between 20070422 and 20070515. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34123

[Bug tree-optimization/34123] [4.3 Regression] verify_ssa failed (definition in block 11 does not dominate use in block 7)

2007-11-16 Thread tbm at cyrius dot com
--- Comment #1 from tbm at cyrius dot com 2007-11-16 19:08 --- /* Testcase by Martin Michlmayr <[EMAIL PROTECTED]> */ static unsigned char sbox[] = { }; void MD2Transform (unsigned char state[16]) { unsigned char t = 0; int i, j; for (i = 0; i < 16; i++) { for (j = 0; j

[Bug tree-optimization/34123] New: [4.3 Regression] verify_ssa failed (definition in block 11 does not dominate use in block 7)

2007-11-16 Thread tbm at cyrius dot com
With current trunk: (sid)[EMAIL PROTECTED]:~$ /usr/lib/gcc-snapshot/bin/gcc -c -O -ftree-loop-linear md2.c md2.c: In function 'MD2Transform': md2.c:6: error: definition in block 11 does not dominate use in block 7 for SSA_NAME: t_20 in statement: t_10 = PHI PHI argument t_20 for PHI node t_10 = P

[Bug tree-optimization/34030] [4.1/4.2 Regression] ICE in in compare_values_warnv, at tree-vrp.c:701

2007-11-16 Thread rguenth at gcc dot gnu dot org
--- Comment #6 from rguenth at gcc dot gnu dot org 2007-11-16 18:38 --- On the trunk this doesn't fail because there STRIP_SIGN_NOPS (as applied to comparisons) doesn't strip conversions to/from pointers. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34030

[Bug tree-optimization/34122] [4.3 Regression] ICE in get_addr_dereference_operands, at tree-ssa-operands.c:1746

2007-11-16 Thread tbm at cyrius dot com
--- Comment #1 from tbm at cyrius dot com 2007-11-16 18:04 --- /* Testcase by Martin Michlmayr <[EMAIL PROTECTED]> */ void sqlite3VdbeChangeP3 (const char *zP3) { freeP3 ((void *) *(char **) &zP3); } -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34122

[Bug bootstrap/34110] gcc fails to build on i686

2007-11-16 Thread us15 at os dot inf dot tu-dresden dot de
--- Comment #4 from us15 at os dot inf dot tu-dresden dot de 2007-11-16 18:58 --- The workaround fixes my build problem. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34110

[Bug tree-optimization/34030] [4.1/4.2 Regression] ICE in in compare_values_warnv, at tree-vrp.c:701

2007-11-16 Thread rguenth at gcc dot gnu dot org
--- Comment #5 from rguenth at gcc dot gnu dot org 2007-11-16 18:33 --- Mine. Still wrong on the trunk. -- rguenth at gcc dot gnu dot org changed: What|Removed |Added

[Bug middle-end/21628] GCC much slower than ICL. Lack of inlining?

2007-11-16 Thread pcarlini at suse dot de
--- Comment #5 from pcarlini at suse dot de 2007-11-16 18:03 --- (In reply to comment #2) > I once found a page, where a very important person in the Linux world (cannot > remember who now, Linux Toward probably) complained about the lack of inlining > in linux-Kernel, that there were no

[Bug tree-optimization/34030] [4.1/4.2 Regression] ICE in in compare_values_warnv, at tree-vrp.c:701

2007-11-16 Thread rguenth at gcc dot gnu dot org
--- Comment #3 from rguenth at gcc dot gnu dot org 2007-11-16 18:17 --- Confirmed. Still broken on the 4.1 and 4.2 branches. Wrong types on the comparison: D.1530_7 == 0B (gdb) call debug_tree (expr) unit size align 8 symtab 0 alias set -1 precision 1 min max >

[Bug tree-optimization/34122] New: [4.3 Regression] ICE in get_addr_dereference_operands, at tree-ssa-operands.c:1746

2007-11-16 Thread tbm at cyrius dot com
I get the following ICE with current trunk. This didn't happen with a compiler from trunk on 2007-10-27. (sid)[EMAIL PROTECTED]:~$ /usr/lib/gcc-snapshot/bin/gcc -c -O sqlitebrowser-vdbeaux.c sqlitebrowser-vdbeaux.c: In function 'sqlite3VdbeChangeP3': sqlitebrowser-vdbeaux.c:6: internal compiler e

[Bug middle-end/21628] GCC much slower than ICL. Lack of inlining?

2007-11-16 Thread manu at gcc dot gnu dot org
--- Comment #4 from manu at gcc dot gnu dot org 2007-11-16 18:01 --- (In reply to comment #2) > Whaow, I have posted this report for a while...!!! I guess this report fell through the cracks of bugzilla. Reporting the status on new versions of GCC would have probably helped. > But Sin

[Bug ada/34117] Please enable range checks by default (-gnato)

2007-11-16 Thread niklas dot holsti at tidorum dot fi
--- Comment #2 from niklas dot holsti at tidorum dot fi 2007-11-16 18:07 --- (In reply to comment #1) > Seems like a good idea. I think so, too. > I do wonder if perhaps a new flag that just disables range checking to get the > 'old' behavior would be warranted? Yes, that would defin

[Bug middle-end/21628] GCC much slower than ICL. Lack of inlining?

2007-11-16 Thread rguenth at gcc dot gnu dot org
--- Comment #3 from rguenth at gcc dot gnu dot org 2007-11-16 18:00 --- Note that for completely inlining kernels you can use the __attribute__((flatten)) on the *calling* function. Usually with expression templates that is the function containing the loops, like void __attribute__((fl

[Bug fortran/31608] wrong types in character array/scalar binop

2007-11-16 Thread pault at gcc dot gnu dot org
--- Comment #63 from pault at gcc dot gnu dot org 2007-11-16 17:01 --- I suppose that, after all, I should reassign myself. Paul -- pault at gcc dot gnu dot org changed: What|Removed |Added -

[Bug c++/34119] gcc incorrectly allows constant zero-sized array

2007-11-16 Thread pcarlini at suse dot de
--- Comment #1 from pcarlini at suse dot de 2007-11-16 15:12 --- 3.4.x is not maintained anymore. Otherwise, -pedantic is enough. -- pcarlini at suse dot de changed: What|Removed |Added --

[Bug middle-end/21628] GCC much slower than ICL. Lack of inlining?

2007-11-16 Thread laurent at ient dot rwth-aachen dot de
--- Comment #2 from laurent at ient dot rwth-aachen dot de 2007-11-16 17:46 --- (In reply to comment #1) > What does -Winline say? > > Have you tried with always_inline? Example: > > /* Prototype. */ > inline void foo (const char) __attribute__((always_inline)); > Whaow, I

[Bug c++/34121] wrong this pointer passed to constructor of temporary object

2007-11-16 Thread peter_foelsche at agilent dot com
--- Comment #2 from peter_foelsche at agilent dot com 2007-11-16 16:42 --- the attached piece of source code does exhibit the compiler problem with the new compiler. When compiling using -O3 the code works fine. When compiling using -g the bug happens. Some temporary objects are being c

[Bug middle-end/33088] [4.1/4.2/4.3 Regression] spurious exceptions with -ffloat-store

2007-11-16 Thread joseph at codesourcery dot com
--- Comment #6 from joseph at codesourcery dot com 2007-11-16 16:53 --- Subject: Re: [4.1/4.2/4.3 Regression] spurious exceptions with -ffloat-store The failure still appears with a compiler from revision 130227, after the patch for PR 34099 was committed. -- http://gcc.gnu.org/

[Bug tree-optimization/32636] [4.3 regression] 25_algorithms/search_n/iterator.cc: pch-related verify_ssa failure

2007-11-16 Thread jakub at gcc dot gnu dot org
--- Comment #20 from jakub at gcc dot gnu dot org 2007-11-16 14:31 --- Does the problem go away if you mv include/*-*-*/bits/stdc++.h.gch{,bad} and recompile the test? If yes, can you please check with -fdump-tree-all at which pass the dumps start to differ between compilation with stdc

[Bug c++/34121] wrong this pointer passed to constructor of temporary object

2007-11-16 Thread peter_foelsche at agilent dot com
--- Comment #3 from peter_foelsche at agilent dot com 2007-11-16 16:45 --- We tested this only for the 64bit version. I don't know if this happens for the 32bit version. The operating system is LINUX: Linux bonfire 2.4.21-47.0.1.EL #1 SMP Fri Oct 13 17:51:36 EDT 2006 x86_64 x86_64 x86_

[Bug c++/34111] [4.3 Regression] new overload resolution error

2007-11-16 Thread jakub at gcc dot gnu dot org
--- Comment #3 from jakub at gcc dot gnu dot org 2007-11-16 16:58 --- Introduced by http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=129596 -- jakub at gcc dot gnu dot org changed: What|Removed |Added ---

[Bug c++/34121] New: wrong this pointer passed to constructor of temporary object

2007-11-16 Thread peter_foelsche at agilent dot com
When compiling with -O3 everything is fine. When compiling with -g this pointer passed to constructors and destructors don't line up. I guess the this pointer passed to the constructor is bogus. -- Summary: wrong this pointer passed to constructor of temporary obje

[Bug rtl-optimization/25609] too agressive printf optimization

2007-11-16 Thread manu at gcc dot gnu dot org
--- Comment #14 from manu at gcc dot gnu dot org 2007-11-16 16:17 --- Is there any difference in the standard behaviour between printf("%s", NULL) and puts(NULL)? I mean, why printf("%s", NULL) receives special consideration but neither puts(NULL) nor fprintf(stdout, "%s", NULL) do? Any

[Bug c++/34121] wrong this pointer passed to constructor of temporary object

2007-11-16 Thread peter_foelsche at agilent dot com
--- Comment #1 from peter_foelsche at agilent dot com 2007-11-16 16:38 --- Created an attachment (id=14564) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=14564&action=view) test.cpp contains a main function at the end which calls printf() with some temporary objects. I put printf

[Bug tree-optimization/33870] [4.3 Regression] miscompiles sqlite

2007-11-16 Thread rguenth at gcc dot gnu dot org
--- Comment #27 from rguenth at gcc dot gnu dot org 2007-11-16 14:40 --- Subject: Bug 33870 Author: rguenth Date: Fri Nov 16 14:40:04 2007 New Revision: 130231 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=130231 Log: 2007-11-16 Richard Guenther <[EMAIL PROTECTED]>

[Bug target/21216] Spontaneous cc1 rebuild during parallel make causes build failure.

2007-11-16 Thread manu at gcc dot gnu dot org
--- Comment #2 from manu at gcc dot gnu dot org 2007-11-16 15:42 --- I am tempted to close this since it is almost impossible to debug. We would need an exact copy of your setup (for example, which files you touched and which ones you didn't since last built). And still this may be due t

[Bug middle-end/24153] memory leak

2007-11-16 Thread manu at gcc dot gnu dot org
--- Comment #3 from manu at gcc dot gnu dot org 2007-11-16 15:59 --- Is this still valid? -- manu at gcc dot gnu dot org changed: What|Removed |Added CC|

  1   2   >