[Bug target/22169] internal compiler error

2005-06-27 Thread ebotcazou at gcc dot gnu dot org
-- What|Removed |Added CC||ebotcazou at gcc dot gnu dot ||org http://gcc.gnu.org/bugzilla/

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

2005-06-27 Thread danglin at gcc dot gnu dot org
-- What|Removed |Added CC||danglin at gcc dot gnu dot ||org http://gcc.gnu.org/bugzilla/sh

[Bug testsuite/21865] gcc.dg/torture/pr21817-1.c fails on hppa2.0w-hpux

2005-06-27 Thread danglin at gcc dot gnu dot org
-- What|Removed |Added CC||danglin at gcc dot gnu dot ||org http://gcc.gnu.org/bugzilla/sh

[Bug libgcj/22211] New: Thread.interrupt sometimes causes abort if thread is already dead

2005-06-27 Thread greenrd at greenrd dot org
Thread.interrupt does not check if the thread is alive - it just signals the thread regardless. This sometimes causes a segfault followed by an abort, because the native thread library gets passed stale data. Unable to create a reproducable test case - but I would hope it's self-evident that the e

[Bug tree-optimization/21562] [4.0 Regression] Quiet bad codegen (unrolling + tail call interaction)

2005-06-27 Thread hubicka at ucw dot cz
--- Additional Comments From hubicka at ucw dot cz 2005-06-28 01:29 --- Subject: Re: [4.0 Regression] Quiet bad codegen (unrolling + tail call interaction) > > --- Additional Comments From mmitchel at gcc dot gnu dot org 2005-06-26 > 01:53 --- > Jan, would you please see if

[Bug fortran/12366] array assignment fails

2005-06-27 Thread pinskia at gcc dot gnu dot org
--- Additional Comments From pinskia at gcc dot gnu dot org 2005-03-29 15:38 --- *** Bug 20686 has been marked as a duplicate of this bug. *** -- What|Removed |Added

[Bug fortran/15382] frontend too lenient when checking variable declarations

2005-06-27 Thread pinskia at gcc dot gnu dot org
-- What|Removed |Added AssignedTo|Tobias dot Schlueter at |tobi at gcc dot gnu dot org |physik dot uni-muenchen dot | |de

[Bug tree-optimization/18373] [meta-bug] VRP Value Range Propagation

2005-06-27 Thread dnovillo at gcc dot gnu dot org
-- Bug 18373 depends on bug 21959, which changed state. Bug 21959 Summary: [4.1 Regression] vrp miscompiles Ada front-end, drops loop exit test in well-defined wrap-around circumstances http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21959 What|Old Value |New Valu

[Bug tree-optimization/21923] [4.1 Regression] Ada compiler fails to build on gcc 4.1

2005-06-27 Thread dnovillo at gcc dot gnu dot org
-- Bug 21923 depends on bug 21959, which changed state. Bug 21959 Summary: [4.1 Regression] vrp miscompiles Ada front-end, drops loop exit test in well-defined wrap-around circumstances http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21959 What|Old Value |New Valu

[Bug tree-optimization/21994] [4.1 regression] complex throwing functions cause ICE

2005-06-27 Thread dnovillo at gcc dot gnu dot org
-- Bug 21994 depends on bug 21959, which changed state. Bug 21959 Summary: [4.1 Regression] vrp miscompiles Ada front-end, drops loop exit test in well-defined wrap-around circumstances http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21959 What|Old Value |New Valu

[Bug tree-optimization/22019] [4.1 Regression] do_structure_copy ICE on Ada gnatlib

2005-06-27 Thread dnovillo at gcc dot gnu dot org
-- Bug 22019 depends on bug 21959, which changed state. Bug 21959 Summary: [4.1 Regression] vrp miscompiles Ada front-end, drops loop exit test in well-defined wrap-around circumstances http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21959 What|Old Value |New Valu

[Bug tree-optimization/21959] [4.1 Regression] vrp miscompiles Ada front-end, drops loop exit test in well-defined wrap-around circumstances

2005-06-27 Thread dnovillo at gcc dot gnu dot org
--- Additional Comments From dnovillo at gcc dot gnu dot org 2005-06-28 01:14 --- Fixed. -- What|Removed |Added Status|ASSIGNED|RESOLVED

[Bug target/21757] 64bit multilib for ppc-darwin

2005-06-27 Thread lucier at math dot purdue dot edu
--- Additional Comments From lucier at math dot purdue dot edu 2005-06-28 01:08 --- I'd like to point out that as documented extensively in bug report 22082, 64-bit compilation *does* work on powerpc-darwin-8 with gcc-4.0.0, and it doesn't now work on the mainline or the 4.0 branch. Mik

[Bug tree-optimization/21959] [4.1 Regression] vrp miscompiles Ada front-end, drops loop exit test in well-defined wrap-around circumstances

2005-06-27 Thread cvs-commit at gcc dot gnu dot org
--- Additional Comments From cvs-commit at gcc dot gnu dot org 2005-06-28 00:52 --- Subject: Bug 21959 CVSROOT:/cvs/gcc Module name:gcc Changes by: [EMAIL PROTECTED] 2005-06-28 00:52:35 Modified files: gcc: ChangeLog tree-ssa-loop-niter.c

[Bug other/21350] [4.0/4.1 Regression] release now requires bision

2005-06-27 Thread mmitchel at gcc dot gnu dot org
--- Additional Comments From mmitchel at gcc dot gnu dot org 2005-06-27 23:47 --- I don't understand this PR. Here is evidence that c-parse.c is in fact included: $ tar tjf gcc-core-4.0.1-20050616.tar.bz2 | grep c-parse gcc-4.0.1-20050616/gcc/c-parse.in gcc-4.0.1-20050616/gcc/c-parse.y

[Bug fortran/22210] gfc_conv_array_initializer weirdness

2005-06-27 Thread pinskia at gcc dot gnu dot org
--- Additional Comments From pinskia at gcc dot gnu dot org 2005-06-27 23:46 --- This is not the first time I have seen this in both the Ada and gfortran front-ends. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=22210

[Bug target/22209] [4.1 regression] libgfortran unresolvable symbols on irix6.5

2005-06-27 Thread pinskia at gcc dot gnu dot org
--- Additional Comments From pinskia at gcc dot gnu dot org 2005-06-27 23:44 --- This is a target bug. It should be implementing the TI mode functions. -- What|Removed |Added ---

[Bug fortran/22210] New: gfc_conv_array_initializer weirdness

2005-06-27 Thread giovannibajo at libero dot it
There seems to be something weird going on in gfc_conv_array_initializer. In the EXPR_ARRAY case, the code builds both an "index" and a "range". Then, optionally, it adds both of them to the constructor list being built. This is strange: I would expect either of them to be added, but not both.

[Bug libfortran/22209] New: [4.1 regression] libgfortran unresolvable symbols on irix6.5

2005-06-27 Thread billingd at gcc dot gnu dot org
All gfortran execute tests fail on mips-sgi-irix6.5 on mainline since 2005-06- 23 18:55 UTC. The run time loader rld reports that libgfortran.so has unresolvable symbols __udivti3 __divti3 __umodti3 and __multi3 The error is: 108352656:./PR19754_2.exe: rld: Error: unresolvable symbol in /disk4

[Bug rtl-optimization/22208] [4.0/4.1 Regression] flag_rename_registers is not enabled at -O3 or above

2005-06-27 Thread steven at gcc dot gnu dot org
--- Additional Comments From steven at gcc dot gnu dot org 2005-06-27 23:32 --- There are patches missing from 4.0 to fix some cases where regrename could produce wrong code. Besides, enabling passes on a release branch sounds like an awfully bad idea. Setting 4.1 as the target miles

[Bug middle-end/22207] Spurious 'might be used uninitialized' warnings in STL headers with -O2

2005-06-27 Thread pinskia at gcc dot gnu dot org
-- What|Removed |Added Component|libstdc++ |middle-end GCC host triplet|i686-pc-cygwin | GCC target triplet||i6

[Bug rtl-optimization/22208] [4.0/4.1 Regression] flag_rename_registers is not enabled at -O3 or above

2005-06-27 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=22208

[Bug rtl-optimization/15023] -frename-registers is buggy and slow

2005-06-27 Thread pinskia at gcc dot gnu dot org
-- What|Removed |Added OtherBugsDependingO||22208 nThis|| http://gcc.gnu.org/bugzilla/show_bug.cgi?id=15023

[Bug rtl-optimization/22208] New: [4.0/4.1 Regression] flag_rename_registers is not enabled at -O3 or above

2005-06-27 Thread pinskia at gcc dot gnu dot org
We should renable the this flag at least at -O3 and above. See PR 15023 for why it was disabled, every problem except for the compiler time issue was a latent target bug. -- Summary: [4.0/4.1 Regression] flag_rename_registers is not enabled at -O3 or above

[Bug libstdc++/22207] Spurious 'might be used uninitialized' warnings in STL headers with -O2

2005-06-27 Thread brian at dessent dot net
--- Additional Comments From brian at dessent dot net 2005-06-27 23:10 --- Created an attachment (id=9163) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=9163&action=view) Preprocessed source for testcase -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=22207

[Bug libstdc++/22207] New: Spurious 'might be used uninitialized' warnings in STL headers with -O2

2005-06-27 Thread brian at dessent dot net
The following reduced test case causes spurious -Wuninitialized warnings, but only with -O2: - #include #include class OptionSet { public: OptionSet (); std::vector const &nonOptions() const; private: std::vector nonoptions; }; OptionSet::OptionSet() { nonoptions = std::vector ();

[Bug c++/22206] gcc overload resolution fails to follow "using" in some cases

2005-06-27 Thread pinskia at gcc dot gnu dot org
--- Additional Comments From pinskia at gcc dot gnu dot org 2005-06-27 23:07 --- This is invalid code but I don't have the time to explain why except to say that when inside a namespace, you look into the inner most namespace first and if it does not find any then the outer for overl

[Bug c++/22206] New: gcc overload resolution fails to follow "using" in some cases

2005-06-27 Thread kjd at duda dot org
gcc-3.4.3 fails to accept this valid program: namespace Fwk { int valueToStrep( char const * ) { return 100;} } using Fwk::valueToStrep; namespace Foo { int valueToStrep( int ) { return 200; } int foo2() { return valueToStrep( "hello" ); } } If you comment out the second "valueToStrep" func

[Bug libstdc++/22205] [4.1 Regression] errors debug mode on aix

2005-06-27 Thread pinskia at gcc dot gnu dot org
--- Additional Comments From pinskia at gcc dot gnu dot org 2005-06-27 22:03 --- Actually if you look into the email which David sent, you would see: # 0 "" #define __GXX_WEAK__ Which means there is weak support. -- What|Removed |Added --

[Bug c++/22161] Template linking error

2005-06-27 Thread masse_nicolas at yahoo dot fr
--- Additional Comments From masse_nicolas at yahoo dot fr 2005-06-27 22:02 --- h well. I made an include at the end of my file... it works now. But this is not a nice solution I find. Well, I'll continue that way for now, and wait for the export method to be implemented. I will als

[Bug libstdc++/22205] [4.1 Regression] errors with -fno-weak vs. debug mode

2005-06-27 Thread dje at gcc dot gnu dot org
--- Additional Comments From dje at gcc dot gnu dot org 2005-06-27 22:01 --- AIX 5.2 does support weak, so I believe that there is something wrong with the analysis. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=22205

[Bug libstdc++/22200] numeric_limits::is_modulo is inconsistend with gcc

2005-06-27 Thread veksler at il dot ibm dot com
--- Additional Comments From veksler at il dot ibm dot com 2005-06-27 22:00 --- (In reply to comment #22) > (In reply to comment #21) > > 2. (OTOH) Undefind situations are unhelpful the the users, they complicate > >debugging, and make programming harder. Reducing rules that imply >

[Bug libstdc++/22205] [4.1 Regression] errors with -fno-weak vs. debug mode

2005-06-27 Thread pinskia at gcc dot gnu dot org
--- Additional Comments From pinskia at gcc dot gnu dot org 2005-06-27 21:59 --- This is a regression in that you no longer can use the debug mode with -fno-weak. -- What|Removed |Added

[Bug libstdc++/22200] numeric_limits::is_modulo is inconsistend with gcc

2005-06-27 Thread pinskia at gcc dot gnu dot org
--- Additional Comments From pinskia at gcc dot gnu dot org 2005-06-27 21:02 --- (In reply to comment #21) > 1. Sometimes using "undefined" simplifies the compiler and improves >generated code. > 2. (OTOH) Undefind situations are unhelpful the the users, they complicate >debuggin

[Bug c++/22204] [4.0/4.1 Regression] [repo] internal compiler error: Segmentation fault

2005-06-27 Thread pinskia at gcc dot gnu dot org
--- Additional Comments From pinskia at gcc dot gnu dot org 2005-06-27 20:30 --- And another testcase, this time with an array: #include template struct function1 { function1() { typeid(int[100]); } }; function1<1> b; -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=22204

[Bug c++/22204] [4.0/4.1 Regression] [repo] internal compiler error: Segmentation fault

2005-06-27 Thread pinskia at gcc dot gnu dot org
--- Additional Comments From pinskia at gcc dot gnu dot org 2005-06-27 20:28 --- we get this ICE: t.cc:11: internal compiler error: Segmentation fault Please submit a full bug report, with preprocessed source if appropriate. See http://gcc.gnu.org/bugs.html> for instructions. And the ba

[Bug libstdc++/22200] numeric_limits::is_modulo is inconsistend with gcc

2005-06-27 Thread veksler at il dot ibm dot com
--- Additional Comments From veksler at il dot ibm dot com 2005-06-27 20:28 --- (In reply to comment #13) > Invalid as the C++ standard says: > " True if the type is modulo.203) A type is modulo if it is possible to add > two positive numbers and > have a result that wraps around to a t

[Bug c++/22204] [4.0/4.1 Regression] [repo] internal compiler error: Segmentation fault

2005-06-27 Thread pinskia at gcc dot gnu dot org
--- Additional Comments From pinskia at gcc dot gnu dot org 2005-06-27 20:22 --- Reduced testcase: #include template struct function1 { function1(void (*f)(void)) { typeid(int (*)(char&)); } }; void inputclassifier(void){} function1<1> b(inputclassifier) ; -frepo is o

powerpc-eabi-gcc-3.4.3: CALL_V4_CLEAR_FP_ARGS flag not set

2005-06-27 Thread tong ho
Hi, Has anyone seen this? When a prototyped function of var-arg is called without any arguments to the variable part, "crxor 6,6,6" is not generated. "-O0 -mno-prototype" does NOT resolve the problem either. test.c int test(const char *a, ...); void test1(const char *a) { test

[Bug libstdc++/22205] extra testsuite errors with -fno-weak vs. debug mode

2005-06-27 Thread bkoz at gcc dot gnu dot org
--- Additional Comments From bkoz at gcc dot gnu dot org 2005-06-27 19:47 --- Created an attachment (id=9162) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=9162&action=view) libstdc++.log for AIX, demonstrating issue -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=22205

[Bug libstdc++/22205] New: extra testsuite errors with -fno-weak vs. debug mode

2005-06-27 Thread bkoz at gcc dot gnu dot org
On systems without weak, debug mode tests will fail. This causes some unpleasantness on AIX, for instance. This can be verified on x86/linux using -fno-weak. What needs to happen is that the debug mode tests should be smart enough to tell if the underlying system doesn't support weak, so that the

[Bug tree-optimization/21959] [4.1 Regression] vrp miscompiles Ada front-end, drops loop exit test in well-defined wrap-around circumstances

2005-06-27 Thread dnovillo at gcc dot gnu dot org
--- Additional Comments From dnovillo at gcc dot gnu dot org 2005-06-27 19:41 --- Testing patch. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21959

[Bug c++/22204] [4.0/4.1 Regression] [repo] internal compiler error: Segmentation fault

2005-06-27 Thread pinskia at gcc dot gnu dot org
-- What|Removed |Added Keywords||ice-on-valid-code Summary|internal compiler error:|[4.0/4.1 Regression] [repo]

[Bug c++/22204] internal compiler error: Segmentation fault

2005-06-27 Thread pplppp at gmail dot com
-- What|Removed |Added GCC target triplet||i686-pc-linux-gnu http://gcc.gnu.org/bugzilla/show_bug.cgi?id=22204

[Bug c++/22204] internal compiler error: Segmentation fault

2005-06-27 Thread pplppp at gmail dot com
--- Additional Comments From pplppp at gmail dot com 2005-06-27 19:24 --- Created an attachment (id=9161) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=9161&action=view) information specified in the bug reporting instructions -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=2220

[Bug c++/22204] New: internal compiler error: Segmentation fault

2005-06-27 Thread pplppp at gmail dot com
Please see attached file for information specified in the bug reporting instructions -- Summary: internal compiler error: Segmentation fault Product: gcc Version: 4.0.0 Status: UNCONFIRMED Severity: normal Priority: P2 Com

[Bug ada/20515] "stdcall" imports are not handled correctly

2005-06-27 Thread p dot obry at wanadoo dot fr
--- Additional Comments From p dot obry at wanadoo dot fr 2005-06-27 18:50 --- Danny, (In reply to comment #10) > The patch that was committed to fix this is wrong. > > #ifdef TARGET_DLLIMPORT_DECL_ATTRIBUTES is always true. It is defined to 0 > for > non-dll targets in defaults.h.

[Bug libstdc++/22200] numeric_limits::is_modulo is inconsistend with gcc

2005-06-27 Thread gdr at integrable-solutions dot net
--- Additional Comments From gdr at integrable-solutions dot net 2005-06-27 18:46 --- Subject: Re: numeric_limits::is_modulo is inconsistend with gcc "pinskia at gcc dot gnu dot org" <[EMAIL PROTECTED]> writes: | --- Additional Comments From pinskia at gcc dot gnu dot org 2005-06

[Bug java/21540] switch stmt problem

2005-06-27 Thread tromey at gcc dot gnu dot org
--- Additional Comments From tromey at gcc dot gnu dot org 2005-06-27 18:41 --- I checked in the fix on cvs trunk. -- What|Removed |Added Status|ASSIGNED

[Bug java/13788] Zero propogate right shift in static final int initializer causes error

2005-06-27 Thread tromey at gcc dot gnu dot org
--- Additional Comments From tromey at gcc dot gnu dot org 2005-06-27 18:41 --- I checked this in to cvs trunk. -- What|Removed |Added Status|ASSIGNED

[Bug java/21540] switch stmt problem

2005-06-27 Thread cvs-commit at gcc dot gnu dot org
--- Additional Comments From cvs-commit at gcc dot gnu dot org 2005-06-27 18:40 --- Subject: Bug 21540 CVSROOT:/cvs/gcc Module name:gcc Changes by: [EMAIL PROTECTED] 2005-06-27 18:40:17 Modified files: libjava: ChangeLog gcc/java : C

[Bug java/13788] Zero propogate right shift in static final int initializer causes error

2005-06-27 Thread cvs-commit at gcc dot gnu dot org
--- Additional Comments From cvs-commit at gcc dot gnu dot org 2005-06-27 18:40 --- Subject: Bug 13788 CVSROOT:/cvs/gcc Module name:gcc Changes by: [EMAIL PROTECTED] 2005-06-27 18:40:17 Modified files: libjava: ChangeLog gcc/java : C

[Bug libstdc++/22200] numeric_limits::is_modulo is inconsistend with gcc

2005-06-27 Thread pinskia at gcc dot gnu dot org
--- Additional Comments From pinskia at gcc dot gnu dot org 2005-06-27 18:34 --- (In reply to comment #16) > Thanks, I'm the author of . For all useful purposes, please > Andrew go back and read the link I gave to RTH's message. Yes and RTH's comment about trapping is wrong, because PP

[Bug libstdc++/22203] New: std::numeric_limits::traps is wrong on PPC

2005-06-27 Thread pinskia at gcc dot gnu dot org
The followign program should not abort on PPC because PPC has no trapping instructions integer division instruction. #include extern "C" void abort(void); int main(void) { if ( std::numeric_limits::traps) abort (); } -- Summary: std::numeric_limits::traps is wrong on PPC

[Bug libstdc++/22200] numeric_limits::is_modulo is inconsistend with gcc

2005-06-27 Thread gdr at integrable-solutions dot net
--- Additional Comments From gdr at integrable-solutions dot net 2005-06-27 18:27 --- Subject: Re: numeric_limits::is_modulo is inconsistend with gcc "pinskia at gcc dot gnu dot org" <[EMAIL PROTECTED]> writes: | --- Additional Comments From pinskia at gcc dot gnu dot org 2005-06

[Bug libstdc++/22200] numeric_limits::is_modulo is inconsistend with gcc

2005-06-27 Thread gdr at gcc dot gnu dot org
--- Additional Comments From gdr at gcc dot gnu dot org 2005-06-27 18:25 --- Andrew is being silly. -- What|Removed |Added Status|RESOLVED|UN

[Bug middle-end/22202] New: Superfluous space in description of max-variable-expansions-in-unroller

2005-06-27 Thread goeran at uddeborg dot se
The description of the parameter max-variable-expansions-in-unroller in param.def contains a lot of white space between "of" and "times" and between "expanded" and "during". It should just be a single space there I suppose. -- Summary: Superfluous space in description of max-variable-

[Bug libstdc++/22200] numeric_limits::is_modulo is inconsistend with gcc

2005-06-27 Thread gdr at integrable-solutions dot net
--- Additional Comments From gdr at integrable-solutions dot net 2005-06-27 18:23 --- Subject: Re: numeric_limits::is_modulo is inconsistend with gcc "pinskia at gcc dot gnu dot org" <[EMAIL PROTECTED]> writes: | --- Additional Comments From pinskia at gcc dot gnu dot org 2005-06

[Bug libstdc++/22200] numeric_limits::is_modulo is inconsistend with gcc

2005-06-27 Thread gdr at integrable-solutions dot net
--- Additional Comments From gdr at integrable-solutions dot net 2005-06-27 18:19 --- Subject: Re: numeric_limits::is_modulo is inconsistend with gcc "pinskia at physics dot uc dot edu" <[EMAIL PROTECTED]> writes: | Subject: Re: numeric_limits::is_modulo is inconsistend with gcc | |

[Bug middle-end/22201] Parameter description strings should all start with a capital letter

2005-06-27 Thread pinskia at gcc dot gnu dot org
--- Additional Comments From pinskia at gcc dot gnu dot org 2005-06-27 18:08 --- Confirmed. -- What|Removed |Added Status|UNCONFIRMED |NEW E

[Bug c++/22154] [DR 382] qualified names should allow typename keyword in front of it (even in non-templates)

2005-06-27 Thread pinskia at gcc dot gnu dot org
-- What|Removed |Added Status|NEW |SUSPENDED http://gcc.gnu.org/bugzilla/show_bug.cgi?id=22154

[Bug middle-end/22201] New: Parameter description strings should all start with a capital letter

2005-06-27 Thread goeran at uddeborg dot se
In the po files for version 4.0.1-b20050607 there are two strings from params.def: "how much can given compilation unit grow because of the inlining (in percent)" and "expense of call operation relative to ordinary aritmetic operations" All other description strings in this context begin wit

[Bug libstdc++/22200] numeric_limits::is_modulo is inconsistend with gcc

2005-06-27 Thread schlie at comcast dot net
--- Additional Comments From schlie at comcast dot net 2005-06-27 18:00 --- (In reply to comment #13) > Invalid as the C++ standard says: > " True if the type is modulo.203) A type is modulo if it is possible to add > two positive numbers and > have a result that wraps around to a thir

[Bug libstdc++/22200] numeric_limits::is_modulo is inconsistend with gcc

2005-06-27 Thread pinskia at gcc dot gnu dot org
--- Additional Comments From pinskia at gcc dot gnu dot org 2005-06-27 17:34 --- Invalid as the C++ standard says: " True if the type is modulo.203) A type is modulo if it is possible to add two positive numbers and have a result that wraps around to a third number that is less. Genera

[Bug libstdc++/22200] numeric_limits::is_modulo is inconsistend with gcc

2005-06-27 Thread pinskia at gcc dot gnu dot org
--- Additional Comments From pinskia at gcc dot gnu dot org 2005-06-27 17:29 --- (In reply to comment #7) > Andrew -- > > You do not seem to understand this PR. Please DO NOT close it. > Your eagerness to close PRs is doing harms -- that was already debated > last couple o weeks and I

[Bug testsuite/22176] [4.1 Regression] error executing dg-final: no files matched glob pattern "*.c.t??.dom*"

2005-06-27 Thread pinskia at gcc dot gnu dot org
--- Additional Comments From pinskia at gcc dot gnu dot org 2005-06-27 17:21 --- This is a regression and shows up every where. -- What|Removed |Added Status|UNC

[Bug fortran/19669] [gfortran] ICE (segfault) on legal (?) code

2005-06-27 Thread pinskia at gcc dot gnu dot org
--- Additional Comments From pinskia at gcc dot gnu dot org 2005-06-27 17:13 --- *** Bug 21986 has been marked as a duplicate of this bug. *** -- What|Removed |Added

[Bug fortran/21986] Bad .mod file, ICE upon USE

2005-06-27 Thread pinskia at gcc dot gnu dot org
--- Additional Comments From pinskia at gcc dot gnu dot org 2005-06-27 17:13 --- Here is a reduced testcase: MODULE module1 TYPE type1 INTEGER TYP1 END TYPE type1 END MODULE MODULE module2 TYPE type2 INTEGER TYP2 END TYPE type2 END MODULE MODULE mymodule CONTAINS SUBRO

[Bug target/19885] [4.0/4.1 Regression] avr dwarf-2 support is broken for head 4.0/4.1

2005-06-27 Thread bjoern dot m dot haase at web dot de
--- Additional Comments From bjoern dot m dot haase at web dot de 2005-06-27 17:09 --- Subject: Re: [4.0/4.1 Regression] avr dwarf-2 support is broken for head 4.0/4.1 Hi Andrew, One question about gcc policy: There exists a patch resolving 19885 since a couple of weeks. The latest

[Bug tree-optimization/21959] [4.1 Regression] vrp miscompiles Ada front-end, drops loop exit test in well-defined wrap-around circumstances

2005-06-27 Thread dnovillo at gcc dot gnu dot org
--- Additional Comments From dnovillo at gcc dot gnu dot org 2005-06-27 17:05 --- (In reply to comment #12) > Why does ivcanon/tree-ssa-loop-niter gets this correct (at 128) but VRP > cannot. > Wrong. scev fails to tell us that this variable may wrap around. -- http://gcc.gnu.org/

[Bug java/13788] Zero propogate right shift in static final int initializer causes error

2005-06-27 Thread tromey at gcc dot gnu dot org
--- Additional Comments From tromey at gcc dot gnu dot org 2005-06-27 16:59 --- I'm testing a fix. -- What|Removed |Added AssignedTo|unassigned at gcc dot gnu |tr

[Bug libstdc++/22200] numeric_limits::is_modulo is inconsistend with gcc

2005-06-27 Thread pinskia at physics dot uc dot edu
--- Additional Comments From pinskia at physics dot uc dot edu 2005-06-27 16:53 --- Subject: Re: numeric_limits::is_modulo is inconsistend with gcc On Jun 27, 2005, at 12:25 PM, gdr at integrable-solutions dot net wrote: > | Actually it is modulo for all operations. > > But then do r

Re: [Bug libstdc++/22200] numeric_limits::is_modulo is inconsistend with gcc

2005-06-27 Thread Andrew Pinski
On Jun 27, 2005, at 12:25 PM, gdr at integrable-solutions dot net wrote: | Actually it is modulo for all operations. But then do read the comment as far as the loop optimizer is concerned. It does not seem like it understands that it is modulo arithmetic. But that is because overflow is unde

[Bug java/13788] Zero propogate right shift in static final int initializer causes error

2005-06-27 Thread tromey at gcc dot gnu dot org
--- Additional Comments From tromey at gcc dot gnu dot org 2005-06-27 16:52 --- The problem here is that the code in patch_binop that converts URSHIFT_EXPR to RSHIFT_EXPR modifies the type and code of the tree in place -- but that is incorrect as it misses the final cast back to a signed

[Bug libstdc++/22102] [DR233] Implement resolution of DR 233

2005-06-27 Thread pcarlini at suse dot de
--- Additional Comments From pcarlini at suse dot de 2005-06-27 16:37 --- N.B. This first part will go also in 4_0-branch. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=22102

[Bug libstdc++/22102] [DR233] Implement resolution of DR 233

2005-06-27 Thread cvs-commit at gcc dot gnu dot org
--- Additional Comments From cvs-commit at gcc dot gnu dot org 2005-06-27 16:36 --- Subject: Bug 22102 CVSROOT:/cvs/gcc Module name:gcc Changes by: [EMAIL PROTECTED] 2005-06-27 16:35:51 Modified files: libstdc++-v3 : ChangeLog libstdc++-v3/inclu

[Bug libstdc++/22200] numeric_limits::is_modulo is inconsistend with gcc

2005-06-27 Thread veksler at il dot ibm dot com
--- Additional Comments From veksler at il dot ibm dot com 2005-06-27 16:35 --- In Comment #5 Andrew Pinski writes: > Actually it is modulo for all operations. > and INT_MAX/-1 does not raise a trap. That was a typo on my part. It was supposed to be INT_MIN/-1 INT_MAX/-1 does not re

[Bug libstdc++/22200] numeric_limits::is_modulo is inconsistend with gcc

2005-06-27 Thread themis_hv at yahoo dot co dot uk
--- Additional Comments From themis_hv at yahoo dot co dot uk 2005-06-27 16:32 --- (In reply to comment #1) > Why file this bug when the comments on the list say this is not a bug? It's for the potentially long debate. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=22200

[Bug tree-optimization/22071] [4.1 regression] ICE in first_vi_for_offset, at tree-ssa-structalias.c:2506

2005-06-27 Thread dberlin at gcc dot gnu dot org
--- Additional Comments From dberlin at gcc dot gnu dot org 2005-06-27 16:25 --- mine -- What|Removed |Added AssignedTo|unassigned at gcc dot gnu |dberlin at gcc d

[Bug libstdc++/22200] numeric_limits::is_modulo is inconsistend with gcc

2005-06-27 Thread gdr at integrable-solutions dot net
--- Additional Comments From gdr at integrable-solutions dot net 2005-06-27 16:25 --- Subject: Re: numeric_limits::is_modulo is inconsistend with gcc "pinskia at gcc dot gnu dot org" <[EMAIL PROTECTED]> writes: | Actually it is modulo for all operations. But then do read the commen

Re: [Bug libstdc++/22200] numeric_limits::is_modulo is inconsistend with gcc

2005-06-27 Thread Gabriel Dos Reis
"pinskia at gcc dot gnu dot org" <[EMAIL PROTECTED]> writes: | Actually it is modulo for all operations. But then do read the comment as far as the loop optimizer is concerned. It does not seem like it understands that it is modulo arithmetic. | and INT_MAX/-1 does not raise a trap. It that

[Bug libstdc++/22200] numeric_limits::is_modulo is inconsistend with gcc

2005-06-27 Thread gdr at gcc dot gnu dot org
--- Additional Comments From gdr at gcc dot gnu dot org 2005-06-27 16:21 --- (In reply to comment #1) > INT_MAX/-1 is undefined. > and signed overflow is undefined. > > Why file this bug when the comments on the list say this is not a bug? (In reply to comment #5) > Actually it is modu

[Bug libstdc++/22200] numeric_limits::is_modulo is inconsistend with gcc

2005-06-27 Thread gdr at integrable-solutions dot net
--- Additional Comments From gdr at integrable-solutions dot net 2005-06-27 16:09 --- Subject: Re: numeric_limits::is_modulo is inconsistend with gcc "pinskia at gcc dot gnu dot org" <[EMAIL PROTECTED]> writes: | I think we need to read: | "ISO/IEC 10967-1 Language Independent Arithme

[Bug libstdc++/22200] numeric_limits::is_modulo is inconsistend with gcc

2005-06-27 Thread pinskia at gcc dot gnu dot org
--- Additional Comments From pinskia at gcc dot gnu dot org 2005-06-27 16:07 --- Actually it is modulo for all operations. and INT_MAX/-1 does not raise a trap. -- What|Removed |Added -

[Bug libstdc++/22200] numeric_limits::is_modulo is inconsistend with gcc

2005-06-27 Thread gdr at integrable-solutions dot net
--- Additional Comments From gdr at integrable-solutions dot net 2005-06-27 16:06 --- Subject: Re: numeric_limits::is_modulo is inconsistend with gcc "pinskia at gcc dot gnu dot org" <[EMAIL PROTECTED]> writes: | INT_MAX/-1 is undefined. | and signed overflow is undefined. | | Why fi

[Bug target/22198] Miscompile of SSE2 _mm_madd_epi16 with -O2

2005-06-27 Thread hurbain at cri dot ensmp dot fr
--- Additional Comments From hurbain at cri dot ensmp dot fr 2005-06-27 15:45 --- Sorry, no segfault of ld. My mistake - wrong compilation options. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=22198

[Bug libstdc++/22200] numeric_limits::is_modulo is inconsistend with gcc

2005-06-27 Thread pinskia at gcc dot gnu dot org
--- Additional Comments From pinskia at gcc dot gnu dot org 2005-06-27 15:40 --- I think we need to read: "ISO/IEC 10967-1 Language Independent Arithmetic, part 1" since that is what the standard references for is_modulo. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=22200

[Bug libstdc++/22200] numeric_limits::is_modulo is inconsistend with gcc

2005-06-27 Thread veksler at il dot ibm dot com
--- Additional Comments From veksler at il dot ibm dot com 2005-06-27 15:33 --- This is a bug because std::numeric_limits::is_modulo should be true only if singed overflow is defined. This is not the case with gcc, because gcc does not have the extension "signed oveflow == module" then i

[Bug c/21920] alias violating

2005-06-27 Thread pinskia at gcc dot gnu dot org
--- Additional Comments From pinskia at gcc dot gnu dot org 2005-06-27 15:23 --- *** Bug 22198 has been marked as a duplicate of this bug. *** -- What|Removed |Added

[Bug target/22198] Miscompile of SSE2 _mm_madd_epi16 with -O2

2005-06-27 Thread pinskia at gcc dot gnu dot org
--- Additional Comments From pinskia at gcc dot gnu dot org 2005-06-27 15:23 --- *** This bug has been marked as a duplicate of 21920 *** -- What|Removed |Added

[Bug libstdc++/22200] numeric_limits::is_modulo is inconsistend with gcc

2005-06-27 Thread pinskia at gcc dot gnu dot org
--- Additional Comments From pinskia at gcc dot gnu dot org 2005-06-27 15:21 --- INT_MAX/-1 is undefined. and signed overflow is undefined. Why file this bug when the comments on the list say this is not a bug? -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=22200

[Bug libstdc++/22200] New: numeric_limits::is_modulo is inconsistend with gcc

2005-06-27 Thread veksler at il dot ibm dot com
GCC does not have a proper modulo overflow semantics for signed integral types. 1. The loop optimizer seems to assume that signed overflow does not happen (or is undefined). 2. On x86 INT_MAX/-1 seems to trap (instead of implementing modulo semantics). In that case numeric_limits:is_modulo

[Bug tree-optimization/22199] Unnecessary casts for comparison

2005-06-27 Thread pinskia at gcc dot gnu dot org
--- Additional Comments From pinskia at gcc dot gnu dot org 2005-06-27 15:17 --- A better example as on 32bit targets long and int are the same size which removes the casts: extern long long int llabs (long long int __x) __attribute__ ((__const__)); int main() { int a,b; foo(&a

[Bug target/22198] Miscompile of SSE2 _mm_madd_epi16 with -O2

2005-06-27 Thread hurbain at cri dot ensmp dot fr
--- Additional Comments From hurbain at cri dot ensmp dot fr 2005-06-27 15:14 --- Well, ld do segfault now... To be honest I don't know about C aliasing rules ;-( -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=22198

[Bug target/22198] Miscompile of SSE2 _mm_madd_epi16 with -O2

2005-06-27 Thread pinskia at gcc dot gnu dot org
--- Additional Comments From pinskia at gcc dot gnu dot org 2005-06-27 15:06 --- Does -fno-strict-aliasing help as you are violating C aliasing rules: a128 = _mm_load_si128((__m128i *)a_storage); -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=22198

[Bug tree-optimization/22199] New: Unnecessary casts for comparison

2005-06-27 Thread tkoenig at gcc dot gnu dot org
$ cat labs.c extern long int labs (long int __x) __attribute__ ((__const__)); int main() { int a,b; foo(&a, &b); if (labs(a) > b) return 1; else return 0; } is translated with $ gcc -O3 -fdump-tree-optimized -S labs.c into : foo (&a, &b); return (int) (ABS_E

[Bug target/22198] Miscompile of SSE2 _mm_madd_epi16 with -O2

2005-06-27 Thread hurbain at cri dot ensmp dot fr
--- Additional Comments From hurbain at cri dot ensmp dot fr 2005-06-27 15:03 --- Created an attachment (id=9160) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=9160&action=view) Testcase -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=22198

[Bug target/22198] Miscompile of SSE2 _mm_madd_epi16 with -O2

2005-06-27 Thread pinskia at gcc dot gnu dot org
-- What|Removed |Added Component|c |target Keywords||wrong-code http://gcc.gnu.org/bugzilla/show_bug.cgi?id

[Bug c/22198] New: Miscompile of SSE2 _mm_madd_epi16 with -O2

2005-06-27 Thread hurbain at cri dot ensmp dot fr
The attached code is OK with gcc 3.3.6 debian and gcc 4.0 without -O2 but does not generate pmaddw instruction with gcc 4.0 and -O2. The compile line is /usr/local/bin/gcc -save-temps -msse2 -Wall -O2 -o bug-report bug-report.c and the values are NOT initialized in the gcc 4.0 -O2 setup. --

[Bug c++/16625] Discarded Linkonce sections in .rodata

2005-06-27 Thread marc dot price at rd dot bbc dot co dot uk
--- Additional Comments From marc dot price at rd dot bbc dot co dot uk 2005-06-27 14:31 --- Has this bug been fixed yet? Would really like to upgrade my linux box, but can't because this bug prevents me from compiling a vital suite of software. Can we bump-up the priority? TIA Marc

  1   2   >