[Bug tree-optimization/20514] hoisting of label out of jumptable would take place at cse, should happen at trees

2006-09-17 Thread pinskia at gcc dot gnu dot org
--- Comment #5 from pinskia at gcc dot gnu dot org 2006-09-17 07:59 --- (In reply to comment #2) Two things, we just don't jump thread. The testcase mentioned in comment #2 is fixed but we still don't make an infinite loop for the orginal case: L9:; switch (i_lsm.25) { case

[Bug tree-optimization/26400] Missed jump threading on the tree level

2006-09-17 Thread pinskia at gcc dot gnu dot org
-- pinskia at gcc dot gnu dot org changed: What|Removed |Added Severity|normal |enhancement Last reconfirmed|2006-02-22 09:55:47

[Bug tree-optimization/15558] [tree-ssa] A missed forward propagation opportunity involving floats

2006-09-17 Thread pinskia at gcc dot gnu dot org
--- Comment #3 from pinskia at gcc dot gnu dot org 2006-09-17 08:25 --- I was thinking about this one recently, I might implement this because we could do it also for: int f(_Bool a) { if (!a) return 1000; return 1001; } Where we really only need to swap the two arms and such.

[Bug tree-optimization/15347] [tree-ssa] fold if (12ers + 1 == 0).

2006-09-17 Thread pinskia at gcc dot gnu dot org
--- Comment #8 from pinskia at gcc dot gnu dot org 2006-09-17 08:44 --- Just to clarify what testcase is still broken, here it is: void baz (void) { if (12ers + 1 == 0) bar (); } -- The reason why strchr testcase is fixed is because we turn the strchr call into 12ers[1]. --

[Bug c/28568] compiler generates incorrect ARM instructions when using long bitfields

2006-09-17 Thread jason dot morgan at vpnsolutions dot uk dot com
--- Comment #7 from jason dot morgan at vpnsolutions dot uk dot com 2006-09-17 08:47 --- Subject: RE: compiler generates incorrect ARM instructions when using long bitfields Why not? What are the criteria? It is obviously wrong and would be so simple to fix, even optionally with a

[Bug target/28568] compiler generates incorrect ARM instructions when using long bitfields

2006-09-17 Thread pinskia at gcc dot gnu dot org
--- Comment #8 from pinskia at gcc dot gnu dot org 2006-09-17 08:51 --- (In reply to comment #7) Subject: RE: compiler generates incorrect ARM instructions when using long bitfields Why not? What are the criteria? It is obviously wrong and would be so simple to fix, even

[Bug c++/29105] [4.2 Regression] segfault in add_candidates

2006-09-17 Thread pinskia at gcc dot gnu dot org
--- Comment #2 from pinskia at gcc dot gnu dot org 2006-09-17 09:08 --- Reduced testcase: struct Observer { template typename T void observeComponent (); }; template typename T struct TagFilter : Observer { TagFilter () { observeComponent int (); } }; -- This

[Bug tree-optimization/21591] not vectorizing a loop with access to structs

2006-09-17 Thread irar at gcc dot gnu dot org
--- Comment #8 from irar at gcc dot gnu dot org 2006-09-17 09:18 --- Subject: Bug 21591 Author: irar Date: Sun Sep 17 09:17:51 2006 New Revision: 117003 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=117003 Log: PR tree-opt/21591 * tree-data-ref.c

[Bug c++/22620] Accepts invalid, inaccessible overloaded function is accepted

2006-09-17 Thread pinskia at gcc dot gnu dot org
--- Comment #2 from pinskia at gcc dot gnu dot org 2006-09-17 09:18 --- Fixed on the mainline: t1.cc:4: error: ‘int foo::mf()’ is private t1.cc:10: error: within this context -- pinskia at gcc dot gnu dot org changed: What|Removed |Added

[Bug rtl-optimization/21299] [4.0/4.1/4.2 Regression] internal error on invalid asm statement

2006-09-17 Thread steven at gcc dot gnu dot org
--- Comment #8 from steven at gcc dot gnu dot org 2006-09-17 09:54 --- Created an attachment (id=12286) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=12286action=view) patch implementing what Ian suggested See http://gcc.gnu.org/ml/gcc-patches/2006-08/msg00271.html -- steven

[Bug fortran/29115] New: ICE in structure constructor for array, ponter component with non-pointer data

2006-09-17 Thread pault at gcc dot gnu dot org
[EMAIL PROTECTED] pr29098]# cat ../prs/homer.f90 type :: homer integer, pointer :: bart(:) end type homer type(homer) :: marge integer :: duff_beer marge = homer (duff_beer) end [EMAIL PROTECTED] pr29098]# /svn-4.2/bin/gfortran ../prs/homer.f90f90 ../prs/homer.f90: In function

[Bug fortran/29098] allocation of a pointer to a derived type crashes

2006-09-17 Thread patchapp at dberlin dot org
--- Comment #4 from patchapp at dberlin dot org 2006-09-17 11:30 --- Subject: Bug number PR29098 A patch for this bug has been added to the patch tracker. The mailing list url for the patch is http://gcc.gnu.org/ml/gcc-patches/2006-09/msg00671.html --

[Bug fortran/29060] spread causes ICE in gfc_trans_array_constructor

2006-09-17 Thread patchapp at dberlin dot org
--- Comment #4 from patchapp at dberlin dot org 2006-09-17 11:40 --- Subject: Bug number PR29060 A patch for this bug has been added to the patch tracker. The mailing list url for the patch is http://gcc.gnu.org/ml/gcc-patches/2006-09/msg00672.html --

[Bug fortran/28817] [gfortran] problems with -Wunused

2006-09-17 Thread patchapp at dberlin dot org
--- Comment #3 from patchapp at dberlin dot org 2006-09-17 12:45 --- Subject: Bug number PR28817 A patch for this bug has been added to the patch tracker. The mailing list url for the patch is http://gcc.gnu.org/ml/gcc-patches/2006-09/msg00674.html --

[Bug c/25993] [4.0/4.1/4.2 Regression] -std= produces incorrect preprocessor output for .S

2006-09-17 Thread steven at gcc dot gnu dot org
--- Comment #4 from steven at gcc dot gnu dot org 2006-09-17 13:15 --- Subject: Bug 25993 Author: steven Date: Sun Sep 17 13:14:53 2006 New Revision: 117005 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=117005 Log: gcc/ PR c/25993 * c-opts.c

[Bug c/25993] [4.0/4.1 Regression] -std= produces incorrect preprocessor output for .S

2006-09-17 Thread steven at gcc dot gnu dot org
--- Comment #5 from steven at gcc dot gnu dot org 2006-09-17 13:17 --- Fixed on the trunk. -- steven at gcc dot gnu dot org changed: What|Removed |Added Known to

[Bug fortran/28974] Extremely slow compilation of enumerated DATA statements.

2006-09-17 Thread bdavis at gcc dot gnu dot org
--- Comment #4 from bdavis at gcc dot gnu dot org 2006-09-17 13:54 --- before the patch: $ time /usr/local/bin/gfortran -c data.f90 real3m1.263s user3m0.519s sys 0m0.120s after: $ time /usr/local/bin/gfortran -c data.f90 real0m3.215s user0m3.052s sys 0m0.092s

[Bug target/29114] [4.1/4.2 Regression] ICE when cross-compiling glibc for hppa on a 64bit host

2006-09-17 Thread steven at gcc dot gnu dot org
--- Comment #2 from steven at gcc dot gnu dot org 2006-09-17 13:57 --- Probably a problem with all 64 bit hosts. -- steven at gcc dot gnu dot org changed: What|Removed |Added

[Bug target/29114] [4.1/4.2 Regression] ICE when cross-compiling glibc for hppa on a 64bit host

2006-09-17 Thread steven at gcc dot gnu dot org
--- Comment #3 from steven at gcc dot gnu dot org 2006-09-17 13:59 --- This is an initial RTL generation problem. The ICE happens in instantiate-virtual-regs but the offending insn already exists right after expand: ;; Generating RTL for tree basic block 2 ;; a = 25214903917 (insn 7

[Bug target/29114] [4.1/4.2 Regression] ICE when cross-compiling glibc for hppa on a 64bit host

2006-09-17 Thread steven at gcc dot gnu dot org
--- Comment #4 from steven at gcc dot gnu dot org 2006-09-17 14:07 --- Are you _really_ sure this worked with GCC 3.4.5? $ ./cc1 --version GNU C version 3.4.6 (hppa2.0-linux-gnu) compiled by GNU C version 4.0.2 20050901 (prerelease) (SUSE Linux). GGC heuristics: --param

[Bug target/29114] [4.1/4.2 Regression] ICE when cross-compiling glibc for hppa on a 64bit host

2006-09-17 Thread steven at gcc dot gnu dot org
--- Comment #5 from steven at gcc dot gnu dot org 2006-09-17 14:18 --- $ ./cc1 --version GNU C version 3.3.6-hammer 20050117 (prerelease) (hppa2.0-linux-gnu) compiled by GNU C version 4.0.2 20050901 (prerelease) (SUSE Linux). GGC heuristics: --param ggc-min-expand=98 --param

[Bug target/29114] ICE when cross-compiling glibc for hppa on a 64bit host

2006-09-17 Thread steven at gcc dot gnu dot org
-- steven at gcc dot gnu dot org changed: What|Removed |Added Status|WAITING |NEW Known to fail|4.1.1 4.2.0 |3.3.6 3.4.6 4.1.1

[Bug c/29116] New: Failure to diagnose violation of constraint 6.7.5.2p2

2006-09-17 Thread neil at gcc dot gnu dot org
int n = 0, p[n * 0 + 1]; For C90 and C99, as of June SVN at least, and going back at least as far as 3.3.3. Almost certainly because of overly early CF. -- Summary: Failure to diagnose violation of constraint 6.7.5.2p2 Product: gcc Version: 4.2.0

[Bug target/28568] compiler generates incorrect ARM instructions when using long bitfields

2006-09-17 Thread jason dot morgan at vpnsolutions dot uk dot com
--- Comment #9 from jason dot morgan at vpnsolutions dot uk dot com 2006-09-17 15:14 --- Subject: RE: compiler generates incorrect ARM instructions when using long bitfields Surely that's the definition of a bug? I've heard of If it ain't broke, don't fix it.. but never If it's

[Bug target/28568] compiler generates incorrect ARM instructions when using long bitfields

2006-09-17 Thread pinskia at gcc dot gnu dot org
--- Comment #10 from pinskia at gcc dot gnu dot org 2006-09-17 15:21 --- (In reply to comment #9) Subject: RE: compiler generates incorrect ARM instructions when using long bitfields Surely that's the definition of a bug? I've heard of If it ain't broke, don't fix it.. but

[Bug tree-optimization/21591] not vectorizing a loop with access to structs

2006-09-17 Thread pinskia at gcc dot gnu dot org
--- Comment #9 from pinskia at gcc dot gnu dot org 2006-09-17 15:23 --- Fixed. -- pinskia at gcc dot gnu dot org changed: What|Removed |Added Status|ASSIGNED

[Bug c/29116] Failure to diagnose violation of constraint 6.7.5.2p2

2006-09-17 Thread pinskia at gcc dot gnu dot org
--- Comment #1 from pinskia at gcc dot gnu dot org 2006-09-17 15:26 --- Confirmed, not a regression. -- pinskia at gcc dot gnu dot org changed: What|Removed |Added

[Bug fortran/29115] ICE in structure constructor for array, ponter component with non-pointer data

2006-09-17 Thread pinskia at gcc dot gnu dot org
--- Comment #1 from pinskia at gcc dot gnu dot org 2006-09-17 15:32 --- Confirmed. -- pinskia at gcc dot gnu dot org changed: What|Removed |Added

[Bug bootstrap/29102] mudflap's configure tries to link a binary and fails because I don

2006-09-17 Thread pinskia at gcc dot gnu dot org
--- Comment #3 from pinskia at gcc dot gnu dot org 2006-09-17 15:39 --- So what is the problem here? This works for me when I am building a cross compiler with a sysroot. What configure options are you using? -- pinskia at gcc dot gnu dot org changed: What|Removed

[Bug c++/29117] New: Copy constructor is called with this == rhs

2006-09-17 Thread oschmidt at gmx dot net
/* Hi, in the following program the copy constructor of class C is called with the constructor argument having the same address as the to be constructed object. Best regards, Oliver Schmidt $ for i in g++-3.3 g++-3.4 g++-4.0; do echo ; $i --version; $i -Wall t3.cpp; a.out ;

[Bug libstdc++/29118] New: Timeouts in libstdc++, libjava and libgomp testsuites

2006-09-17 Thread danglin at gcc dot gnu dot org
=== libstdc++ tests === Running target unix WARNING: program timed out. FAIL: 19_diagnostics/23591_thread-1.c execution test ... WARNING: program timed out. FAIL: ext/mt_allocator/22309_thread.cc execution test WARNING: program timed out. FAIL: thread/18185.cc execution test WARNING: program

[Bug fortran/20779] ALLOCATEing the STAT variable not detected

2006-09-17 Thread patchapp at dberlin dot org
--- Comment #4 from patchapp at dberlin dot org 2006-09-17 17:40 --- Subject: Bug number PR20779 A patch for this bug has been added to the patch tracker. The mailing list url for the patch is http://gcc.gnu.org/ml/gcc-patches/2006-09/msg00680.html --

[Bug c++/26167] -Wconversion fails to detect signedness conversion from int to unsigned int in fuction call

2006-09-17 Thread kristian dot hermansen at gmail dot com
--- Comment #7 from kristian dot hermansen at gmail dot com 2006-09-17 18:37 --- Will gcc/g++ integrate the Wcoercion project's solution? It seems to have been sponsored by Google's Summer of Code 2006. Maybe it will be tested/included soon? Here is the developer: [EMAIL PROTECTED]

[Bug c++/26167] -Wconversion fails to detect signedness conversion from int to unsigned int in fuction call

2006-09-17 Thread kristian dot hermansen at gmail dot com
--- Comment #8 from kristian dot hermansen at gmail dot com 2006-09-17 18:39 --- Sorry, I didn't notice at first that this was you!!! Will you integrate Wcoercion into gcc/g++ soon or will it always remain a side project? It would be nice to see such a warning come from using -Wall.

[Bug c++/29117] Copy constructor is called with this == rhs

2006-09-17 Thread pinskia at gcc dot gnu dot org
--- Comment #1 from pinskia at gcc dot gnu dot org 2006-09-17 18:51 --- Well d2, we call the default operator= with lhs and rhs as the same. So which version do you think have a bug? -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29117

[Bug target/29114] ICE when cross-compiling glibc for hppa on a 64bit host

2006-09-17 Thread vapier at gentoo dot org
--- Comment #6 from vapier at gentoo dot org 2006-09-17 19:13 --- i had a report from someone that it worked with 3.4.5; i only verified that 4.1.1 was ICEing -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29114

[Bug c++/29106] [4.0/4.1 Regression] sizeof(*var) in expression drops entire line of code out of compile

2006-09-17 Thread pinskia at gcc dot gnu dot org
--- Comment #4 from pinskia at gcc dot gnu dot org 2006-09-17 19:27 --- Confirmed, still broken as of today 4.1.2 20060917. -- pinskia at gcc dot gnu dot org changed: What|Removed |Added

[Bug c++/27732] [4.0/4.1/4.2 Regression] Parentheses elicit spurious error: missing '' to terminate the template argument list

2006-09-17 Thread pinskia at gcc dot gnu dot org
-- pinskia at gcc dot gnu dot org changed: What|Removed |Added CC||pinskia at gcc dot gnu dot |

[Bug tree-optimization/25211] [4.1 Regression] verify_ssa ICE with -Os -ftree-loop-linear

2006-09-17 Thread pinskia at gcc dot gnu dot org
--- Comment #10 from pinskia at gcc dot gnu dot org 2006-09-17 19:31 --- Fixed. -- pinskia at gcc dot gnu dot org changed: What|Removed |Added Status|NEW

[Bug c++/26988] [4.0/4.1/4.2 Regression] template constructor in template class derived from virtual base can not be specialized

2006-09-17 Thread pinskia at gcc dot gnu dot org
-- pinskia at gcc dot gnu dot org changed: What|Removed |Added Summary|template constructor in |[4.0/4.1/4.2 Regression] |template class derived

[Bug libgcj/9715] Not all required character encodings are supported

2006-09-17 Thread pinskia at gcc dot gnu dot org
-- pinskia at gcc dot gnu dot org changed: What|Removed |Added Target Milestone|4.1.2 |--- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=9715

[Bug ada/29015] Ada 2005 observer pattern with mutually dependent packages and containers produces compiler error

2006-09-17 Thread laguest at archangeli dot demon dot co dot uk
==+ | 4.2.0 20060917 (experimental) (i686-pc-linux-gnu) Assert_Failure atree.adb:812| | Error detected at subjects.ads:17:3 | | Please submit a bug report; see http://gcc.gnu.org/bugs.html.| | Use a subject line meaningful to you and us to track

[Bug middle-end/21107] [4.0/4.1/4.2 regression] internal compiler error: in expand_one_stack_var_at, at cfgexpand.c:476

2006-09-17 Thread pinskia at gcc dot gnu dot org
--- Comment #7 from pinskia at gcc dot gnu dot org 2006-09-17 19:49 --- Fixed by: 2005-11-12 Eric Botcazou [EMAIL PROTECTED] * function.c (assign_stack_local_1): Restrict sanity check on frame size overflow to 32-bit and above platforms. -- pinskia at gcc dot gnu

[Bug c++/20173] [4.0 regression] gcc accepts invalid partial specialization attempt of member function

2006-09-17 Thread pinskia at gcc dot gnu dot org
--- Comment #16 from pinskia at gcc dot gnu dot org 2006-09-17 19:57 --- Fixed so closing as such. -- pinskia at gcc dot gnu dot org changed: What|Removed |Added

[Bug c++/26433] [4.0 Regression] Syntax error using __FUNCTION__ in catch handler

2006-09-17 Thread pinskia at gcc dot gnu dot org
--- Comment #9 from pinskia at gcc dot gnu dot org 2006-09-17 19:57 --- Fixed so closing as such. -- pinskia at gcc dot gnu dot org changed: What|Removed |Added

[Bug middle-end/29111] [4.2 Regression] FAIL: gcc.dg/torture/pr26565.c -O0 execution test

2006-09-17 Thread danglin at gcc dot gnu dot org
--- Comment #3 from danglin at gcc dot gnu dot org 2006-09-17 20:05 --- There's a question in my mind as to whether we should always be emitting a library call: /* When not optimizing, generate calls to library functions for a certain set of builtins. */ if (!optimize

[Bug fortran/29101] Memory leak in gfortran

2006-09-17 Thread jvdelisle at gcc dot gnu dot org
--- Comment #2 from jvdelisle at gcc dot gnu dot org 2006-09-17 20:14 --- Problem is not in library side. -- jvdelisle at gcc dot gnu dot org changed: What|Removed |Added

[Bug middle-end/29111] [4.2 Regression] FAIL: gcc.dg/torture/pr26565.c -O0 execution test

2006-09-17 Thread danglin at gcc dot gnu dot org
--- Comment #4 from danglin at gcc dot gnu dot org 2006-09-17 20:21 --- Hmmm, seems this is a known issue that never got fixed. See this thread: http://gcc.gnu.org/ml/gcc-patches/2006-03/msg01558.html -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29111

[Bug c++/26167] -Wconversion fails to detect signedness conversion from int to unsigned int in fuction call

2006-09-17 Thread tbm at cyrius dot com
--- Comment #9 from tbm at cyrius dot com 2006-09-17 20:31 --- It's aiming for inclusion in GCC 4.3, see http://gcc.gnu.org/wiki/GCC_4.3_Release_Planning -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=26167

[Bug c++/26298] -Wconversion fails to detect signedness change during widening conversion

2006-09-17 Thread rguenth at gcc dot gnu dot org
--- Comment #5 from rguenth at gcc dot gnu dot org 2006-09-17 21:02 --- Well, you are right. This bug is a dup of the bug requesting -Wcoercion (if we have such). -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=26298

[Bug c/29119] New: Internal compiler error while adding __asm__ statement

2006-09-17 Thread remy dot saissy at gmail dot com
Hi, I got an internal compiler error while compiling a source file. I was not able to reproduce the bug on a smaller source file. I only notice that the error occurs when I add an __asm__ volatile (movl %0,%%eax::m(get_segment_base_address(*entry))); but not at the line of this addition. On gcc

[Bug c/29119] Internal compiler error while adding __asm__ statement

2006-09-17 Thread remy dot saissy at gmail dot com
--- Comment #1 from remy dot saissy at gmail dot com 2006-09-17 21:25 --- Created an attachment (id=12287) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=12287action=view) The .i file -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29119

[Bug inline-asm/29119] [4.0/4.1/4.2 Regression] Internal compiler error while adding __asm__ statement

2006-09-17 Thread pinskia at gcc dot gnu dot org
--- Comment #2 from pinskia at gcc dot gnu dot org 2006-09-17 21:57 --- Reduced testcase: void ldt_add_entry(void) { __asm__ ( :: m(({unsigned __v; __v;}))); } -- pinskia at gcc dot gnu dot org changed: What|Removed |Added

[Bug inline-asm/29119] [4.0/4.1/4.2 Regression] Internal compiler error while adding __asm__ statement

2006-09-17 Thread pinskia at gcc dot gnu dot org
--- Comment #3 from pinskia at gcc dot gnu dot org 2006-09-17 22:01 --- We must had forgot to mark the variable as ADDRESSABLE. Also this used to work with the C++ front-end in 4.1.x but now does not in 4.2.0. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29119

[Bug target/28919] IV selection is messed up

2006-09-17 Thread rakdver at gcc dot gnu dot org
--- Comment #6 from rakdver at gcc dot gnu dot org 2006-09-17 22:48 --- (In reply to comment #4) Actually this is just a problem of IV selection, what is happening is the IV selection chooses the 1024+(const char *)base[quad] as the IV instead of just base[quad] which causes the

[Bug c/24542] potential integer overflow should be warned on assignment to wider variable

2006-09-17 Thread pinskia at gcc dot gnu dot org
--- Comment #9 from pinskia at gcc dot gnu dot org 2006-09-18 00:18 --- We should never warn on multiply because it is just too crazy to. This is what debugging is about, debug your program for mistakes like this. -- pinskia at gcc dot gnu dot org changed: What

[Bug c++/28211] [4.0/4.1/4.2 Regression] wrong linkage of template argument, diagnostic could be improved

2006-09-17 Thread pinskia at gcc dot gnu dot org
--- Comment #1 from pinskia at gcc dot gnu dot org 2006-09-18 00:48 --- Confirmed, a regression from 3.3.3 which gave: t.cc:4: error: address of non-extern `foo' cannot be used as template argument -- pinskia at gcc dot gnu dot org changed: What|Removed

[Bug bootstrap/21544] xgcc fails (1rst stage) if binutils is not installed into --prefix directory

2006-09-17 Thread pinskia at gcc dot gnu dot org
--- Comment #1 from pinskia at gcc dot gnu dot org 2006-09-18 01:15 --- Can you try a 4.0.2 or a 4.1.1 version of GCC? Also can you give the part of the log of where the command failed? -- pinskia at gcc dot gnu dot org changed: What|Removed

[Bug bootstrap/21544] xgcc fails (1rst stage) if binutils is not installed into --prefix directory

2006-09-17 Thread pinskia at gcc dot gnu dot org
-- pinskia at gcc dot gnu dot org changed: What|Removed |Added Status|UNCONFIRMED |WAITING http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21544

[Bug middle-end/22072] bizarre code for int*int/2 for -Os

2006-09-17 Thread pinskia at gcc dot gnu dot org
--- Comment #11 from pinskia at gcc dot gnu dot org 2006-09-18 01:24 --- So the only bug here is that -Os produces an extra move. That comes from the register allocator/reload: Reloads for insn # 13 Reload 0: reload_in (SI) = (reg:SI 1 dx [65]) GENERAL_REGS, RELOAD_FOR_INPUT

[Bug c/25151] GCC issues warnings to a syntactically correct expression.

2006-09-17 Thread pinskia at gcc dot gnu dot org
--- Comment #3 from pinskia at gcc dot gnu dot org 2006-09-18 01:38 --- This code still involes undefined runtime behavior. So the warning is valid. -- pinskia at gcc dot gnu dot org changed: What|Removed |Added

[Bug target/23605] memset() Optimization on x86-32 bit

2006-09-17 Thread pinskia at gcc dot gnu dot org
--- Comment #17 from pinskia at gcc dot gnu dot org 2006-09-18 01:45 --- (In reply to comment #13) Notice in the tektester.386.s testcase, you have an xor instruction on ebx, when all what's needed to clear out al/ax/eax is a mov $0, al/ax/eax xor is both faster and has a smaller

[Bug target/24156] sibling call with -O2 copies parameters twice

2006-09-17 Thread pinskia at gcc dot gnu dot org
--- Comment #1 from pinskia at gcc dot gnu dot org 2006-09-18 01:49 --- Confirmed. -- pinskia at gcc dot gnu dot org changed: What|Removed |Added

[Bug tree-optimization/28887] [4.2 Regression] rejects valid code (bitfields and loops) with -O1 -fprefetch-loop-arrays

2006-09-17 Thread sayle at gcc dot gnu dot org
--- Comment #7 from sayle at gcc dot gnu dot org 2006-09-18 01:54 --- Subject: Bug 28887 Author: sayle Date: Mon Sep 18 01:54:33 2006 New Revision: 117012 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=117012 Log: 2006-09-17 Zdenek Dvorak [EMAIL PROTECTED] PR

[Bug tree-optimization/28887] [4.2 Regression] rejects valid code (bitfields and loops) with -O1 -fprefetch-loop-arrays

2006-09-17 Thread pinskia at gcc dot gnu dot org
--- Comment #8 from pinskia at gcc dot gnu dot org 2006-09-18 02:04 --- Fixed. -- pinskia at gcc dot gnu dot org changed: What|Removed |Added Status|ASSIGNED

[Bug target/18562] SSE constant vector initialization produces dead constant values on stack

2006-09-17 Thread pinskia at gcc dot gnu dot org
--- Comment #13 from pinskia at gcc dot gnu dot org 2006-09-18 03:13 --- The problem here is the x86 back-end pushes constant vectors to the constant pool. Note my patch will not work any more because it has been outdated to take into account the new CONSTRUCTOR layout. -- pinskia

[Bug target/26792] [4.2 Regression] need to use autoconf when using newly-added libgcc functions

2006-09-17 Thread bryce at mckinlay dot net dot nz
--- Comment #17 from bryce at mckinlay dot net dot nz 2006-09-18 03:49 --- (In reply to comment #15) Yes, I think the #ifdef is a reasonable solution. Stack traces will be inaccurate when GetIPInfo is unavailable, but I don't see any easy way around that. --

[Bug target/28919] IV selection is messed up

2006-09-17 Thread steven at gcc dot gnu dot org
--- Comment #7 from steven at gcc dot gnu dot org 2006-09-18 04:15 --- To cut down the estimate for the loop size, you need to treat CALL_EXPRs to machine specific builtins specially (and probably some of the normal builtins too). See estimate_num_insns_1, the case for CALL_EXPR. You

[Bug target/26792] [4.2 Regression] need to use autoconf when using newly-added libgcc functions

2006-09-17 Thread howarth at nitro dot med dot uc dot edu
--- Comment #18 from howarth at nitro dot med dot uc dot edu 2006-09-18 04:34 --- Created an attachment (id=12288) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=12288action=view) Patch to revert to _Unwind_GetIP when HAVE_GETIPINFO undefined --

[Bug target/26792] [4.2 Regression] need to use autoconf when using newly-added libgcc functions

2006-09-17 Thread howarth at nitro dot med dot uc dot edu
--- Comment #19 from howarth at nitro dot med dot uc dot edu 2006-09-18 04:40 --- Tested the patch on Darwin 8 with no regressions. Verified that the _Unwind_GetIPInfo symbols are absent for libgcj with HAVE_GETIPINFO undefined. While the patch is over 10 lines, I would argue that I

[Bug target/26792] [4.2 Regression] need to use autoconf when using newly-added libgcc functions

2006-09-17 Thread howarth at nitro dot med dot uc dot edu
--- Comment #20 from howarth at nitro dot med dot uc dot edu 2006-09-18 04:58 --- Created an attachment (id=12289) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=12289action=view) clean up whitespace in Changelog for patch to revert to _Unwind_GetIP when HAVE_GETIPINFO undefined

[Bug c/24542] potential integer overflow should be warned on assignment to wider variable

2006-09-17 Thread alexey at hyperroll dot com
--- Comment #10 from alexey at hyperroll dot com 2006-09-18 05:48 --- (In reply to comment #9) We should never warn on multiply because it is just too crazy to. This is what debugging is about, debug your program for mistakes like this. The citation may be used to eliminate every

[Bug target/28919] IV selection is messed up

2006-09-17 Thread tbptbp at gmail dot com
--- Comment #8 from tbptbp at gmail dot com 2006-09-18 05:52 --- Subject: Re: IV selection is messed up On 17 Sep 2006 22:48:12 -, rakdver at gcc dot gnu dot org [EMAIL PROTECTED] wrote: Regarding the -fprefetch-loop-arrays's heuristic is way off the mark part, gcc badly