Re: Local variables optimization

2005-07-24 Thread Hanzac Chen
Ian Lance Taylor wrote: You neglected to mention which version of gcc you were using, or which target. The description and test case sound like GCC PR 9997: http://gcc.gnu.org/PR9997 which was fixed for the 4.0 release. Sorry, I'm using GCC 3.4.4, haven't tested on 4.0.X. I saw the PR

Re: Add clog10 to builtins.def, round 2

2005-07-24 Thread François-Xavier Coudert
* builtins.def: Add DEF_EXT_C99RES_BUILTIN to define builtins that C99 reserve for future use. Use it to define clog10, clog10f and clog10l. Ok. Commited. Thanks, FX

Re: Someone broke bootstrap with gfortran, again!

2005-07-24 Thread Manfred Hollstein
On Sat, 23 Jul 2005, 15:53:21 +0200, Daniel Berlin wrote: On Fri, 2005-07-22 at 17:53 -0700, Steve Kargl wrote: On Fri, Jul 22, 2005 at 05:44:44PM -0700, Jerry DeLisle wrote: Steve Kargl wrote: Does this look familiar to anyone? I was having troubles doing a build after a cvs

Bugzilla querys via email interface

2005-07-24 Thread Gabriel Dos Reis
Hi Dan, Commands for querying open bugs for a specific target (say 3.4.5) of a product do not seem to exist. The documentation for index says index product component But what I'm looking for is something like index product component target probably augmented with known-to-fail or

Re: Bugzilla querys via email interface

2005-07-24 Thread Daniel Berlin
On Sun, 2005-07-24 at 19:44 +0200, Gabriel Dos Reis wrote: Hi Dan, Commands for querying open bugs for a specific target (say 3.4.5) of a product do not seem to exist. The documentation for index says index product component But what I'm looking for is something like

Re: Bugzilla querys via email interface

2005-07-24 Thread Gabriel Dos Reis
Daniel Berlin [EMAIL PROTECTED] writes: | But what I'm looking for is something like | | index product component target | | probably augmented with known-to-fail or known-to-work. But the | pressing need for me is the ability to specify the target. | | | I just added this form. |

Re: Bugzilla querys via email interface

2005-07-24 Thread Gabriel Dos Reis
Daniel Berlin [EMAIL PROTECTED] writes: | Fixed now Indeed. works now. It would be great if bugzilla could send a notice back when it decides to ignore commands :-) | Sorry about that. No problem. Thanks for the quick fix! -- Gaby

Re: Bugzilla querys via email interface

2005-07-24 Thread Daniel Berlin
On Sun, 2005-07-24 at 22:06 +0200, Gabriel Dos Reis wrote: Daniel Berlin [EMAIL PROTECTED] writes: | Fixed now Indeed. works now. It would be great if bugzilla could send a notice back when it decides to ignore commands :-) Perl error handling is hard :( | Sorry about that. No

Re: Surprising behavior of __attribute__((deprecated)) in ctor

2005-07-24 Thread Mathieu Malaterre
mrs $ g++-3.3 t7.cc t7.cc: In constructor `A::A(int)': t7.cc:11: warning: `A' is deprecated (declared at t7.cc:9) t7.cc: In constructor `A::A(int)': t7.cc:11: warning: `A' is deprecated (declared at t7.cc:9) Yup, right testcase... To support Panther I defined a MACRO: # if

Re: Bugzilla querys via email interface

2005-07-24 Thread Gabriel Dos Reis
Daniel Berlin [EMAIL PROTECTED] writes: | On Sun, 2005-07-24 at 22:06 +0200, Gabriel Dos Reis wrote: | Daniel Berlin [EMAIL PROTECTED] writes: | | | Fixed now | | Indeed. works now. | It would be great if bugzilla could send a notice back when it decides | to ignore commands :-) | |

Stack protector documentation still missing

2005-07-24 Thread Steven Bosscher
Hi, You added the stack protector patch on May 12, but Joseph already pointed out then that you did not add user documentation (see his mail: http://gcc.gnu.org/ml/gcc-patches/2005-05/msg01235.html). Can you add this documentation please? Gr. Steven

Re: Bugzilla querys via email interface

2005-07-24 Thread Gabriel Dos Reis
Daniel Berlin [EMAIL PROTECTED] writes: | Done on both counts. Great! Thanks, -- Gaby

front-end that translate C++ to C

2005-07-24 Thread Yi-kwon Hwang
Hi all, Are there any open-source(or free) front-end which translates C++ to C? I could find some commercial things - Comeau, ATT Cfront, etc., but these have many limitations(especially, It's too difficult to get cfront because there are few cfront-based compiler at present) Cheers, --

Re: Problem compiling libstdc++ is current 4.0.2 cvs (volatile strikes again)

2005-07-24 Thread Michael Veksler
Kean Johnston wrote on 22/07/2005 00:41:06: [...] I hope someone can help me. I am C++ impaired, and I am getting the following error when trying to bootstrap the current 4.0.2 CVS. The error is coming from include/ext/bitmap_allocator.h line 111. The relevant code snippet is: class

[Bug c++/22635] OVERLOAD should not be a linked list of trees

2005-07-24 Thread pinskia at gcc dot gnu dot org
--- Additional Comments From pinskia at gcc dot gnu dot org 2005-07-24 06:28 --- If you look at both PR 8361 and 12850, they average both more than 40 Overloadeds. Those are both real code so I don't know why people think this is stupid. Also linked lists especially with extra

[Bug target/23043] New: [4.1 regression] [m68k-linux] bootstrap error on m68k-linux

2005-07-24 Thread debian-gcc at lists dot debian dot org
seen with CVS 20050723 stage1/xgcc -Bstage1/ -B/usr/lib/gcc-snapshot/m68k-linux-gnu/bin/ -c -O2 -DIN_GCC -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -pedantic -Wno-long-long -Wno-variadic-macros -Wold-style-definition -fno-common -DHAVE_CONFIG_H-I. -I.

[Bug c++/18835] memory consumption is high for C++ testcase

2005-07-24 Thread pinskia at gcc dot gnu dot org
-- What|Removed |Added BugsThisDependsOn||23044 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18835

[Bug c++/23044] New: [4.0/4.1 Regression] ICE on vaild code

2005-07-24 Thread pinskia at gcc dot gnu dot org
This is reduced from PR 14719/18835: struct no_context { template class Event void no_function( const Event ); }; template class Event, class Destination, class TransitionContext = no_context, void ( TransitionContext::*pTransitionAction )( const Event ) = no_context::no_function Event

[Bug c++/23044] [4.0/4.1 Regression] ICE on vaild code

2005-07-24 Thread pinskia at gcc dot gnu dot org
-- What|Removed |Added Target Milestone|--- |4.0.2 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23044

[Bug c++/23045] New: ICE in force_decl_die, at dwarf2out.c:12621

2005-07-24 Thread dank at kegel dot com
In testing gcc-4.1-20050716 for i686: I originally ran into the following error internal compiler error: tree check: expected tree that contains 'decl minimal' structure, have 'record_type' in lookup_decl_die, at dwarf2out.c:5461 on the last line of a program. While starting to come up with

[Bug c++/23046] New: ICE in set_value_range, at tree-vrp.c:191

2005-07-24 Thread dank at kegel dot com
While testing gcc-4.1-20050716, I ran across the error bar.cc: In static member function 'static std::string Blort::ConstructFullName(const std::string, const std::vectorstd::string, std::allocatorstd::string *, const std::string, Blort::TwoValuedEnumType)': bar.cc:1214: internal compiler error:

[Bug libstdc++/22634] partial_sum is too constrained

2005-07-24 Thread pcarlini at suse dot de
--- Additional Comments From pcarlini at suse dot de 2005-07-24 09:06 --- Ok, let's suspend it for now: in the meanwhile I checked that at least another implementation behaves exactly like GCC, another good reason to wait for feedback from the committee before taking any action. Gaby,

[Bug tree-optimization/22526] vectorizer produces mis-match types in conditionals

2005-07-24 Thread cvs-commit at gcc dot gnu dot org
--- Additional Comments From cvs-commit at gcc dot gnu dot org 2005-07-24 10:11 --- Subject: Bug 22526 CVSROOT:/cvs/gcc Module name:gcc Changes by: [EMAIL PROTECTED] 2005-07-24 10:10:54 Modified files: gcc: ChangeLog tree-vectorizer.c Log

[Bug other/22631] ICE / ada / error in gimple_add_tmp_var, at gimplify.c:557

2005-07-24 Thread laurent at guerby dot net
--- Additional Comments From laurent at guerby dot net 2005-07-24 10:11 --- (In reply to comment #6) (In reply to comment #5) Bootstraped completed on x86_64-linux for LAST_UPDATED Sat Jul 23 17:57:57 UTC 2005 with Andrew's patch. have You done a full `make bootstrap` ?

[Bug other/22631] ICE / ada / error in gimple_add_tmp_var, at gimplify.c:557

2005-07-24 Thread laurent at guerby dot net
--- Additional Comments From laurent at guerby dot net 2005-07-24 10:12 --- Created an attachment (id=9341) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=9341action=view) Current diff -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=22631

[Bug other/22631] ICE / ada / error in gimple_add_tmp_var, at gimplify.c:557

2005-07-24 Thread pluto at agmk dot net
--- Additional Comments From pluto at agmk dot net 2005-07-24 10:33 --- (In reply to comment #14) (In reply to comment #6) (In reply to comment #5) Bootstraped completed on x86_64-linux for LAST_UPDATED Sat Jul 23 17:57:57 UTC 2005 with Andrew's patch. have

[Bug fortran/17123] Assertion fail in trans-const.c

2005-07-24 Thread refson dot temp at ntlworld dot com
--- Additional Comments From refson dot temp at ntlworld dot com 2005-07-24 10:36 --- Please accept my apologies. I had not realised that this was a gcc-developers-only site and that bug reports from users are not welcome. I have no expertise in compiler development so the likelyhood

[Bug libstdc++/22634] partial_sum is too constrained

2005-07-24 Thread gdr at integrable-solutions dot net
--- Additional Comments From gdr at integrable-solutions dot net 2005-07-24 11:35 --- Subject: Re: partial_sum is too constrained pcarlini at suse dot de [EMAIL PROTECTED] writes: | Gaby, maybe adjacent_difference should also be in the DR? yes, you're right. -- Gaby --

[Bug c++/22635] OVERLOAD should not be a linked list of trees

2005-07-24 Thread giovannibajo at libero dot it
--- Additional Comments From giovannibajo at libero dot it 2005-07-24 12:40 --- Can you measure how much memory do all the overload nodes take in the big testcases? Theoretically, an OVERLOAD could measure 8 bytes or so (on 32 bit systems). So we currently waste more than 100 bytes

[Bug tree-optimization/23046] ICE in set_value_range, at tree-vrp.c:191

2005-07-24 Thread pinskia at gcc dot gnu dot org
-- What|Removed |Added Component|c++ |tree-optimization Keywords||ice-on-valid-code

[Bug tree-optimization/23046] [4.1 Regression] ICE in set_value_range, at tree-vrp.c:191

2005-07-24 Thread pinskia at gcc dot gnu dot org
-- What|Removed |Added Summary|ICE in set_value_range, at |[4.1 Regression] ICE in |tree-vrp.c:191 |set_value_range, at tree-

[Bug c++/22635] OVERLOAD should not be a linked list of trees

2005-07-24 Thread pinskia at gcc dot gnu dot org
--- Additional Comments From pinskia at gcc dot gnu dot org 2005-07-24 13:23 --- PR 12850 has the numbers. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=22635

[Bug c++/23045] ICE in force_decl_die, at dwarf2out.c:12621

2005-07-24 Thread pinskia at gcc dot gnu dot org
--- Additional Comments From pinskia at gcc dot gnu dot org 2005-07-24 13:25 --- lookup_decl_die is most likely PR 22034. force_decl_die is most likely PR 22514. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23045

[Bug tree-optimization/23046] [4.1 Regression] ICE in set_value_range, at tree-vrp.c:191

2005-07-24 Thread pinskia at gcc dot gnu dot org
--- Additional Comments From pinskia at gcc dot gnu dot org 2005-07-24 13:37 --- Hmm, nothing can be done without a testcase. -- What|Removed |Added CC|

[Bug rtl-optimization/23047] New: Combine ignores flag_wrapv

2005-07-24 Thread phython at gcc dot gnu dot org
The following testcase aborts with gcc 3.4, 4.0 and 4.1 when optimizing. It looks like combine is removing the condition here. #include limits.h void abort (); void exit (int); void f (int a) { if (abs(a) 0) return; abort (); } int main (int argc, char *argv[]) {

[Bug rtl-optimization/23047] Combine ignores flag_wrapv

2005-07-24 Thread pinskia at gcc dot gnu dot org
--- Additional Comments From pinskia at gcc dot gnu dot org 2005-07-24 13:57 --- Confirmed. Note this is does not effect i686 because on i686 we expand abs right away. -- What|Removed |Added

[Bug rtl-optimization/23047] Combine ignores flag_wrapv

2005-07-24 Thread pinskia at gcc dot gnu dot org
--- Additional Comments From pinskia at gcc dot gnu dot org 2005-07-24 14:01 --- Caused by: 2002-07-20 Roger Sayle [EMAIL PROTECTED] * simplify-rtx.c (simplify_relational_operation): Optimize abs(x) 0.0 (and abs(x) = 0.0 when using -ffast-math). This was introduced

[Bug c++/23044] [4.0/4.1 Regression] ICE on vaild code

2005-07-24 Thread pinskia at gcc dot gnu dot org
--- Additional Comments From pinskia at gcc dot gnu dot org 2005-07-24 14:06 --- This was working on 20041124 but failing with 20050225. Here is something a little smaller: struct no_context { template class Event void no_function( const Event ); }; template class Event, class

[Bug tree-optimization/23048] New: Segfault with -O1 -ftree-vectorize on 4.1.x

2005-07-24 Thread drab at kepler dot fjfi dot cvut dot cz
The example (attached below), when compiled by following gcc --- $ gcc -v Using built-in specs. Target: i686-pc-linux-gnu Configured with: ../../../gcc-CVS-20050723/gcc-CVS-20050723/configure --host=i686-pc-linux-gnu --prefix=/usr/local/opt/gcc-4.1

[Bug tree-optimization/23048] Segfault with -O1 -ftree-vectorize on 4.1.x

2005-07-24 Thread drab at kepler dot fjfi dot cvut dot cz
--- Additional Comments From drab at kepler dot fjfi dot cvut dot cz 2005-07-24 14:10 --- Created an attachment (id=9342) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=9342action=view) Triggers the bug -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23048

[Bug tree-optimization/23048] Segfault with -O1 -ftree-vectorize on 4.1.x

2005-07-24 Thread pinskia at gcc dot gnu dot org
-- What|Removed |Added Severity|critical|normal GCC target triplet||i?86-*-*, x86_64-*-* Keywords|

[Bug tree-optimization/23048] ICE in get_loop_body with -O1 -ftree-vectorize on 4.1.x

2005-07-24 Thread pinskia at gcc dot gnu dot org
--- Additional Comments From pinskia at gcc dot gnu dot org 2005-07-24 14:13 --- Reducing. -- What|Removed |Added CC||pinskia at

[Bug c++/23044] [4.0/4.1 Regression] ICE on vaild code

2005-07-24 Thread belyshev at depni dot sinp dot msu dot ru
--- Additional Comments From belyshev at depni dot sinp dot msu dot ru 2005-07-24 14:15 --- Confirmed, introduced between 2005-01-07 00:20 UTC and 2005-01-08 00:20 UTC. -- What|Removed |Added

[Bug c++/23044] [4.0/4.1 Regression] ICE on vaild code

2005-07-24 Thread pinskia at gcc dot gnu dot org
--- Additional Comments From pinskia at gcc dot gnu dot org 2005-07-24 14:19 --- Caused by: +2005-01-07 Nathan Sidwell [EMAIL PROTECTED] + + PR c++/19298 + * pt.c (tsubst_qualified_id): Call convert_from_reference. + -- What|Removed

[Bug tree-optimization/23049] New: ICE with -O3 -ftree-vectorize on 4.1.x

2005-07-24 Thread drab at kepler dot fjfi dot cvut dot cz
The example (attached below), when compiled by following gcc --- $ gcc -v Using built-in specs. Target: i686-pc-linux-gnu Configured with: ../../../gcc-CVS-20050723/gcc-CVS-20050723/configure --host=i686-pc-linux-gnu --prefix=/usr/local/opt/gcc-4.1

[Bug tree-optimization/23049] ICE with -O3 -ftree-vectorize on 4.1.x

2005-07-24 Thread drab at kepler dot fjfi dot cvut dot cz
--- Additional Comments From drab at kepler dot fjfi dot cvut dot cz 2005-07-24 14:23 --- Created an attachment (id=9343) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=9343action=view) Triggers the problem -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23049

[Bug tree-optimization/23049] ICE with -O3 -ftree-vectorize on 4.1.x

2005-07-24 Thread drab at kepler dot fjfi dot cvut dot cz
--- Additional Comments From drab at kepler dot fjfi dot cvut dot cz 2005-07-24 14:24 --- It doesn't seem to be related to the Bug 23048 to me, so i reported it separately. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23049

[Bug tree-optimization/23049] ICE with -O3 -ftree-vectorize on 4.1.x

2005-07-24 Thread drab at kepler dot fjfi dot cvut dot cz
--- Additional Comments From drab at kepler dot fjfi dot cvut dot cz 2005-07-24 14:32 --- Created an attachment (id=9344) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=9344action=view) Seems to trigger the same problem The behaviour is exactly the same as with my first example, so

[Bug tree-optimization/23048] [4.1 Regression] ICE in get_loop_body with -O1 -ftree-vectorize on 4.1.x

2005-07-24 Thread pinskia at gcc dot gnu dot org
--- Additional Comments From pinskia at gcc dot gnu dot org 2005-07-24 14:35 --- Confirmed, reduced testcase: void find_variables (const char *string) { char c; do c = *++string; while ((c = 'A' c = 'Z') || (c = 'a' c = 'z') || c == '_'); } -- What|Removed

[Bug tree-optimization/23049] ICE with -O3 -ftree-vectorize on 4.1.x

2005-07-24 Thread pinskia at gcc dot gnu dot org
--- Additional Comments From pinskia at gcc dot gnu dot org 2005-07-24 14:57 --- Reducing the first one. It is a stack overflow. -- What|Removed |Added CC|

[Bug tree-optimization/23048] [4.1 Regression] ICE in get_loop_body with -O1 -ftree-vectorize on 4.1.x

2005-07-24 Thread belyshev at depni dot sinp dot msu dot ru
--- Additional Comments From belyshev at depni dot sinp dot msu dot ru 2005-07-24 15:06 --- Introduced between 2005-04-09 00:20 UTC and 2005-04-10 00:20 UTC -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23048

[Bug tree-optimization/23048] [4.1 Regression] ICE in get_loop_body with -O1 -ftree-vectorize on 4.1.x

2005-07-24 Thread pinskia at gcc dot gnu dot org
--- Additional Comments From pinskia at gcc dot gnu dot org 2005-07-24 15:09 --- Looks like it was caused by: +2005-04-08 Diego Novillo [EMAIL PROTECTED] + + Merge from tree-cleanup-branch: VRP, store CCP, store + copy-prop, incremental SSA updating of FUD chains and +

[Bug other/22631] ICE / ada / error in gimple_add_tmp_var, at gimplify.c:557

2005-07-24 Thread pluto at agmk dot net
--- Additional Comments From pluto at agmk dot net 2005-07-24 15:10 --- with pinskia1.patch bootstrap gcc doesn't ice. patch linked to PR22533 causes an ice. /close. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=22631

Re: [Bug other/22631] ICE / ada / error in gimple_add_tmp_var, at gimplify.c:557

2005-07-24 Thread Andrew Pinski
--- Additional Comments From pluto at agmk dot net 2005-07-24 15:10 --- with pinskia1.patch bootstrap gcc doesn't ice. patch linked to PR22533 causes an ice. Guess I have to fix that then :(. -- Pinski

[Bug other/22631] ICE / ada / error in gimple_add_tmp_var, at gimplify.c:557

2005-07-24 Thread pinskia at physics dot uc dot edu
--- Additional Comments From pinskia at physics dot uc dot edu 2005-07-24 15:13 --- Subject: Re: ICE / ada / error in gimple_add_tmp_var, at gimplify.c:557 --- Additional Comments From pluto at agmk dot net 2005-07-24 15:10 --- with pinskia1.patch bootstrap gcc

[Bug tree-optimization/23049] [4.1 Regression] ICE with -O3 -ftree-vectorize on 4.1.x

2005-07-24 Thread pinskia at gcc dot gnu dot org
-- What|Removed |Added Known to fail||4.1.0 Known to work||4.0.0 Summary|ICE with -O3 -ftree-

[Bug tree-optimization/23049] [4.1 Regression] ICE with -O3 -ftree-vectorize on 4.1.x

2005-07-24 Thread pinskia at gcc dot gnu dot org
--- Additional Comments From pinskia at gcc dot gnu dot org 2005-07-24 15:37 --- Reduced testcase for the first one: static unsigned short int crc_table[256]; void AC3_encode_init(void) { unsigned int c, n, k; for(n=0; n256; n++) { c = n 8; for (k = 0; k 8; k++) {

[Bug tree-optimization/23049] [4.1 Regression] ICE with -O3 -ftree-vectorize on 4.1.x

2005-07-24 Thread pinskia at gcc dot gnu dot org
--- Additional Comments From pinskia at gcc dot gnu dot org 2005-07-24 15:40 --- Note the backtrace is: #5211 0x003f58d0 in fold_ternary (code=COND_EXPR, type=0x1e0e5b0, op0=0x1ee9d50, op1=0x1e18200, op2=0x1ee2080) at ../../gcc/fold-const.c:9905 #5212 0x003f8368 in fold_build3

[Bug tree-optimization/23049] [4.1 Regression] ICE with -O3 -ftree-vectorize on 4.1.x

2005-07-24 Thread belyshev at depni dot sinp dot msu dot ru
--- Additional Comments From belyshev at depni dot sinp dot msu dot ru 2005-07-24 15:43 --- (In reply to comment #5) Reduced testcase for the first one: introduced between 2005-05-17 00:20 UTC and 2005-05-18 00:20 UTC -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23049

[Bug tree-optimization/23049] [4.1 Regression] ICE with -O3 -ftree-vectorize on 4.1.x

2005-07-24 Thread pinskia at gcc dot gnu dot org
--- Additional Comments From pinskia at gcc dot gnu dot org 2005-07-24 15:56 --- The reduced testcase for the second one: unsigned long CRCTab[256]; void InitCRC(void) { int I, J; unsigned long C; for (I=0; I256; I++) { for (C=I,J=0;J8;J++) C=(C 1) ? (C1)^0xEDB88320L

[Bug c++/23042] This is the first, two similar incidents followed which are probably related.

2005-07-24 Thread pinskia at gcc dot gnu dot org
--- Additional Comments From pinskia at gcc dot gnu dot org 2005-07-24 16:01 --- You need to use the full comand line to reproduce the failure you are getting. -- What|Removed |Added

[Bug target/23043] [4.1 regression] [m68k-linux] bootstrap error on m68k-linux

2005-07-24 Thread pinskia at gcc dot gnu dot org
-- What|Removed |Added Keywords||build, ice-on-valid-code Target Milestone|--- |4.1.0

[Bug tree-optimization/22591] [4.0 Regression] std::swap() followed by list::erase() produces incorrect list::begin()

2005-07-24 Thread pinskia at gcc dot gnu dot org
--- Additional Comments From pinskia at gcc dot gnu dot org 2005-07-24 16:04 --- This is a strict aliasing bug. -- What|Removed |Added Component|c++

[Bug tree-optimization/23049] [4.1 Regression] ICE with -O3 -ftree-vectorize on 4.1.x

2005-07-24 Thread belyshev at depni dot sinp dot msu dot ru
--- Additional Comments From belyshev at depni dot sinp dot msu dot ru 2005-07-24 16:13 --- (In reply to comment #8) The reduced testcase for the second one: to make it fail on amd64 one needs to change long - int. and this testcase started to fail at the same time as testcase in

[Bug rtl-optimization/22591] [4.0/4.1 Regression] std::swap() followed by list::erase() produces incorrect list::begin()

2005-07-24 Thread pinskia at gcc dot gnu dot org
--- Additional Comments From pinskia at gcc dot gnu dot org 2005-07-24 16:15 --- Hmm, this test does not fail on ppc-darwin but does on i686-pc-linux-gnu. I think this is a RTL problem as the tree dumps for both i686 and ppc are the same at -O2. Then again this might be a bug in the

[Bug tree-optimization/22591] [4.0/4.1 Regression] std::swap() followed by list::erase() produces incorrect list::begin()

2005-07-24 Thread pinskia at gcc dot gnu dot org
--- Additional Comments From pinskia at gcc dot gnu dot org 2005-07-24 16:25 --- Actually I take that back. the tree dumps are different. Hmm, maybe we are miscompiling more than just the testcase. -- What|Removed |Added

[Bug tree-optimization/22591] [4.0/4.1 Regression] std::swap() followed by list::erase() produces incorrect list::begin()

2005-07-24 Thread pinskia at gcc dot gnu dot org
--- Additional Comments From pinskia at gcc dot gnu dot org 2005-07-24 16:33 --- (In reply to comment #22) Hmm, maybe we are miscompiling more than just the testcase. Nope. Compiling for x86_64 from ppc-darwin, we get the same failure here. --

[Bug libstdc++/22634] partial_sum is too constrained

2005-07-24 Thread squell at alumina dot nl
--- Additional Comments From squell at alumina dot nl 2005-07-24 16:42 --- (In reply to comment #7) Yes, the standard requirements for iterators exhibit inconsistencies at many places; for example an InputIterator is not required (by the Standard) to be copy-constructible;

[Bug libstdc++/22634] partial_sum is too constrained

2005-07-24 Thread gdr at integrable-solutions dot net
--- Additional Comments From gdr at integrable-solutions dot net 2005-07-24 17:18 --- Subject: Re: partial_sum is too constrained squell at alumina dot nl [EMAIL PROTECTED] writes: | --- Additional Comments From squell at alumina dot nl 2005-07-24 16:42 --- | (In reply to

[Bug other/22631] ICE / ada / error in gimple_add_tmp_var, at gimplify.c:557

2005-07-24 Thread pinskia at gcc dot gnu dot org
--- Additional Comments From pinskia at gcc dot gnu dot org 2005-07-24 17:26 --- Note this works just fine on ppc-darwin with my patch so I don't know what is going on. -- What|Removed |Added

[Bug c++/23045] ICE in force_decl_die, at dwarf2out.c:12621

2005-07-24 Thread dank at kegel dot com
--- Additional Comments From dank at kegel dot com 2005-07-24 17:28 --- Yep. Compiling PR22034's testcase yields pr22034.cc:6: internal compiler error: tree check: expected tree that contains 'decl minimal' structure, have 'record_type' in lookup_decl_die, at dwarf2out.c:5461 And

[Bug c++/23045] ICE in force_decl_die, at dwarf2out.c:12621

2005-07-24 Thread pinskia at gcc dot gnu dot org
--- Additional Comments From pinskia at gcc dot gnu dot org 2005-07-24 17:29 --- *** This bug has been marked as a duplicate of 22034 *** -- What|Removed |Added

[Bug c++/22034] [4.1 Regression], ICE on valid, dwarf2

2005-07-24 Thread pinskia at gcc dot gnu dot org
--- Additional Comments From pinskia at gcc dot gnu dot org 2005-07-24 17:29 --- *** Bug 23045 has been marked as a duplicate of this bug. *** -- What|Removed |Added

[Bug c++/20724] function overload resolution fails when any template is declared

2005-07-24 Thread kjd at duda dot org
--- Additional Comments From kjd at duda dot org 2005-07-24 17:33 --- I will admit I've had difficulty understanding the interaction between scope searching and overload resolution, but I cannot believe gcc is handling this right. Consider the example program: /* 1 */ namespace N {

[Bug SWING/22617] reopen 13414: ImageIcon() throws IllegalArgumentException

2005-07-24 Thread pinskia at gcc dot gnu dot org
--- Additional Comments From pinskia at gcc dot gnu dot org 2005-07-24 17:57 --- *** This bug has been marked as a duplicate of 22979 *** -- What|Removed |Added

[Bug c++/20724] function overload resolution fails when any template is declared

2005-07-24 Thread pinskia at gcc dot gnu dot org
--- Additional Comments From pinskia at gcc dot gnu dot org 2005-07-24 18:02 --- Both ICC and Comeau accept this. -- What|Removed |Added Status|REOPENED

[Bug c++/20724] function overload resolution fails when any template is declared

2005-07-24 Thread gdr at integrable-solutions dot net
--- Additional Comments From gdr at integrable-solutions dot net 2005-07-24 18:21 --- Subject: Re: function overload resolution fails when any template is declared pinskia at gcc dot gnu dot org [EMAIL PROTECTED] writes: | Both ICC and Comeau accept this. just a note that since ICC

[Bug libgcj/14696] URL constructor incorrectly causes file canonicalization

2005-07-24 Thread tromey at gcc dot gnu dot org
--- Additional Comments From tromey at gcc dot gnu dot org 2005-07-24 19:27 --- This is fixed in 4.0 and on cvs head. Now we do textual canonicalization, and we don't use the filesystem. -- What|Removed |Added

[Bug libgcj/16229] [meta-bug] http, URL, and URLConnection issues

2005-07-24 Thread tromey at gcc dot gnu dot org
-- Bug 16229 depends on bug 14696, which changed state. Bug 14696 Summary: URL constructor incorrectly causes file canonicalization http://gcc.gnu.org/bugzilla/show_bug.cgi?id=14696 What|Old Value |New Value

[Bug libgcj/20169] Serialization: readResolve does not work

2005-07-24 Thread tromey at gcc dot gnu dot org
--- Additional Comments From tromey at gcc dot gnu dot org 2005-07-24 19:36 --- Note that this is fixed in Classpath but not in libgcj as we still have divergences in serialization. -- What|Removed |Added

[Bug libgcj/20198] java.security.CodeSource.getLocation output is different than expected

2005-07-24 Thread green at redhat dot com
--- Additional Comments From green at redhat dot com 2005-07-24 19:49 --- Created an attachment (id=9352) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=9352action=view) Proposed patch This patch makes your test program emit an absolute path. I'm not sure it's 100% correct. For

[Bug tree-optimization/22623] [4.1 Regression] type mismatch between an SSA_NAME and its symbol

2005-07-24 Thread pinskia at gcc dot gnu dot org
--- Additional Comments From pinskia at gcc dot gnu dot org 2005-07-24 22:01 --- Fixed. -- What|Removed |Added Status|NEW |RESOLVED

[Bug tree-optimization/22591] [4.0/4.1 Regression] std::swap() followed by list::erase() produces incorrect list::begin()

2005-07-24 Thread reichelt at gcc dot gnu dot org
--- Additional Comments From reichelt at gcc dot gnu dot org 2005-07-24 22:29 --- Just another data point: The problem disappeared on mainline with Dan's patch http://gcc.gnu.org/ml/gcc-cvs/2005-06/msg01108.html -- What|Removed |Added

[Bug tree-optimization/22591] [4.0/4.1 Regression] std::swap() followed by list::erase() produces incorrect list::begin()

2005-07-24 Thread pinskia at gcc dot gnu dot org
--- Additional Comments From pinskia at gcc dot gnu dot org 2005-07-24 22:32 --- (In reply to comment #25) Just another data point: The problem disappeared on mainline with Dan's patch Not according to my testing, it still fails on the mainline as of today. --

[Bug rtl-optimization/23047] Combine ignores flag_wrapv

2005-07-24 Thread phython at gcc dot gnu dot org
--- Additional Comments From phython at gcc dot gnu dot org 2005-07-24 22:38 --- Created an attachment (id=9353) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=9353action=view) Honour flag_wrapv -- What|Removed |Added

Re: Internal compiler error

2005-07-24 Thread Andrew Pinski
This is a multi-part message in MIME format. --=_NextPart_000_0035_01C5906D.A0EF4EC0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 7bit GCC Version: 4.0.1 System Type: Windows ME Options given when GCC was configured/built: arm-elf-gcc -v Complete

[Bug middle-end/22287] [4.1 Regression] gcc.c-torture/execute/simd-2.c fails (simd-1.c too for some).

2005-07-24 Thread pinskia at gcc dot gnu dot org
--- Additional Comments From pinskia at gcc dot gnu dot org 2005-07-24 22:53 --- Fixed. -- What|Removed |Added Status|NEW |RESOLVED

[Bug tree-optimization/22493] [4.1 Regression] with -fwrapv -INT_MIN is still not positive

2005-07-24 Thread pinskia at gcc dot gnu dot org
--- Additional Comments From pinskia at gcc dot gnu dot org 2005-07-25 00:11 --- Patch posted here: http://gcc.gnu.org/ml/gcc-patches/2005-07/msg01566.html. -- What|Removed |Added

[Bug tree-optimization/22591] [4.0/4.1 Regression] std::swap() followed by list::erase() produces incorrect list::begin()

2005-07-24 Thread reichelt at gcc dot gnu dot org
--- Additional Comments From reichelt at gcc dot gnu dot org 2005-07-25 00:15 --- Not according to my testing, it still fails on the mainline as of today. Indeed, I have to add -march=pentium4 to trigger the bug, though. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=22591

[Bug bootstrap/22440] make install fails with --enable-bootstrap

2005-07-24 Thread belyshev at depni dot sinp dot msu dot ru
--- Additional Comments From belyshev at depni dot sinp dot msu dot ru 2005-07-25 00:26 --- Fixed by: 2005-07-24 Paolo Bonzini [EMAIL PROTECTED] * Makefile.tpl: Wrap install between unstage and stage * Makefile.in: Regenerate. -- What|Removed

[Bug tree-optimization/22630] [4.1 Regression] vrp produces wrong code

2005-07-24 Thread phython at gcc dot gnu dot org
--- Additional Comments From phython at gcc dot gnu dot org 2005-07-25 00:35 --- Calling vrp_evaluate_condition with use_equiv_p = false in tree-ssa-propagate.c could fix this problem. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=22630

[Bug other/22631] ICE / ada / error in gimple_add_tmp_var, at gimplify.c:557

2005-07-24 Thread pinskia at gcc dot gnu dot org
--- Additional Comments From pinskia at gcc dot gnu dot org 2005-07-25 00:43 --- Oh, If I change the second agrument to create_tmp_var/create_tmp_var_raw to C instead of NULL, we no longer get an ICE. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=22631

[Bug c++/22545] [3.4/4.0/4.1 Regression] ICE with pointer to class member user defined conversion operator

2005-07-24 Thread mmitchel at gcc dot gnu dot org
-- What|Removed |Added AssignedTo|unassigned at gcc dot gnu |mark at codesourcery dot com |dot org | Status|NEW

[Bug c++/23051] New: weird include path?

2005-07-24 Thread andre dot maute at gmx dot de
Suppose you have the following bash script called memory in your current directory memory --- #/bin/sh memory --- and the following mini C++ file hello.cxx - #include iostream hello.cxx - calling

[Bug c++/23051] weird include path?

2005-07-24 Thread andre dot maute at gmx dot de
--- Additional Comments From andre dot maute at gmx dot de 2005-07-25 01:06 --- (In reply to comment #0) the compiler will print MANY errors. it looks like it will include the local file memory the compiler prints MANY errors. it looks like it includes the local file

[Bug c++/23051] weird include path?

2005-07-24 Thread pinskia at gcc dot gnu dot org
--- Additional Comments From pinskia at gcc dot gnu dot org 2005-07-25 01:10 --- -I puts the directory at the front of the standard include path. You want to use -idirafter . instead. -- What|Removed |Added

[Bug c/12245] [3.4/4.0/4.1 regression] Uses lots of memory when compiling large initialized arrays

2005-07-24 Thread pinskia at gcc dot gnu dot org
--- Additional Comments From pinskia at gcc dot gnu dot org 2005-07-25 01:27 --- c-typeck.c:5987 (output_init_element) 0: 0.0% 23955160:100.0% 22770552:20.9% 13171408:99.1% 19 convert.c:671 (convert_to_integer) 52184768:37.8%

[Bug c/12245] [3.4/4.0/4.1 regression] Uses lots of memory when compiling large initialized arrays

2005-07-24 Thread pinskia at gcc dot gnu dot org
--- Additional Comments From pinskia at gcc dot gnu dot org 2005-07-25 01:30 --- There must be a better way to add on to celt in output_init_element. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=12245

[Bug c++/14179] [3.4/4.0/4.1 Regression] out of memory while parsing array with many initializers

2005-07-24 Thread pinskia at gcc dot gnu dot org
--- Additional Comments From pinskia at gcc dot gnu dot org 2005-07-25 01:34 --- Using the testcase from PR 12245: cp/parser.c:285 (cp_lexer_new_main) 0: 0.0% 372302336:88.5% 0: 0.0% 104391168:79.7% 9 cp/parser.c:270 (cp_lexer_new_main)

[Bug gcov/profile/23052] New: return of class object sometimes reported as uncovered code

2005-07-24 Thread jbuck at gcc dot gnu dot org
With the attached test case, do % g++ -ftest-coverage -fprofile-arcs covbug.cpp -o covbug % ./covbug % gcov covbug.cpp There will be two lines flagged as uncovered: % grep '' covbug.cpp.gcov #: 29:m_bits = new unsigned[nw]; #: 37: return result; The first is

  1   2   >