Re: Question about merging two instructions.

2005-08-22 Thread Paolo Bonzini
This approach seems reasonable. The current structure of the code in simplify_replace_rtx is intended to handle RTL expressions rather than patterns, so normally it would be passed just SET_SRC (pat), instead of the whole set. Which is why, OTOH, I would be *extremely* cautious doing such a

Re: [patch] Fix behavior of TER on unrolled loops

2005-08-22 Thread Paolo Bonzini
Maybe everyone else manages to get good code without something like TER. That's because we lack other things that people have, like a sane instruction selection and expression reordering pass: other compilers probably have something akin to TER as part of instruction selection. Like many

Redundant limit check for switch

2005-08-22 Thread Piotr Fusik
The following code: #include stdio.h void Switch4(int x) { switch (x 7) { case 0: printf(0\n); break; case 1: printf(1\n); break; case 2: printf(2\n); break; case 3: printf(3\n); break; case 4: printf(4\n); break; case 5: printf(5\n); break; case 6: printf(6\n);

Re: ISO C++ forbids initialization in array new?

2005-08-22 Thread WU Yongwei
On 8/19/05, Jonathan Wakely [EMAIL PROTECTED] wrote: WU Yongwei wrote: Well, I see this in the gcc error message. Can someone here kindly point to me which part of the Standard specified this behaviour? I thought it should be in 5.3.4, but was not able to find the words there. [snipped]

Build report for AIX 5.1

2005-08-22 Thread Mario Linke
Hi, i just built GCC 4.0.1 on AIX 5.1 using the following commands: ../gcc-4.0.1/configure --with-libiconv-prefix=/usr --disable-nls --disable-multilib make bootstrap-lean make install $ config.guess powerpc-ibm-aix5.1.0.0 $ gcc -v Using built-in specs. Target:

PR/23303 (not using leal on ix86)

2005-08-22 Thread Paolo Bonzini
It looks like Jan's patch at http://gcc.gnu.org/ml/gcc-patches/2005-07/msg02021.html is causing a code size regression in i686. I'll consider a 32-bit target, and this testcase char ** VTallocbuf(char **allbuf, unsigned long savelines) { return allbuf[savelines]; } For i686 we

Re: Bootstrap failure on powerpc-apple-darwin8 with Ada

2005-08-22 Thread Richard Kenner
I disbelieve you can get this in C or C++. The fragment above is a syntax error. AFAIK, all of this is simple laziness in the Ada front end: generating constructor is how things were done at the beginning of time, and it was easier to change this in the gimplifier than to

Re: Redundant limit check for switch

2005-08-22 Thread Paolo Bonzini
void Switch4(int x) { switch (x 7) { } } .globl _Switch4 .def _Switch4; .scl 2; .type 32; .endef _Switch4: pushl %ebp movl %esp, %ebp movl 8(%ebp), %eax andl $7, %eax cmpl $7, %eax ja L12 jmp *L11(,%eax,4) cmpl+ja are redundant in both cases. Do you think it is possible for gcc to

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

2005-08-22 Thread Kai Ruottu
Haren Visavadia wrote: You missed The GCC team has been urged to drop support for SCO Unix from GCC, as a protest against SCO's irresponsible aggression against free software. When starting my Unix learnings with SCO Xenix/286, SCO Xenix/386 and SCO Unix (all some kind of trademarks), I have

Searching for a branch for the see optimization.

2005-08-22 Thread Leehod Baruch
Hello, I would like to know if someone knows a suitable branch for the sign extension optimization pass. This pass stands for itself. There are not many changes to the other parts of the gcc. For details see: http://gcc.gnu.org/ml/gcc-patches/2005-08/msg01087.html Thanks, Leehod.

Re: Question about merging two instructions.

2005-08-22 Thread Leehod Baruch
Paolo Bonzini [EMAIL PROTECTED] wrote on 22/08/2005 10:10:40: I tried to use simplify_replace_rtx to replace any use of (reg r) with[in] the right-hand-side of the extension and simplify the result. If he want to replace uses within the RHS of the extension, he should pass SET_SRC

Re: [patch] Fix behavior of TER on unrolled loops

2005-08-22 Thread Steven Bosscher
On Monday 22 August 2005 09:28, Paolo Bonzini wrote: I think Zdenek's patch is fine, because *everything* in TER is a hack. My thoughts exactly ;-) Zdenek, maybe you could you try and see if enabling pre-regalloc scheduling would also make this particular problem you're seeing go away,

Re: Question about merging two instructions.

2005-08-22 Thread Paolo Bonzini
Note that I don't want to replace any *def* and uses may appear in the LHS. Ok, I see. But you have to cope with *def*s appearing in the LHS: you don't want to replace them, yet your modified simplify_replace_rtx will! My plan was to use: replace_regs () to replace every use of (reg r)

Re: Question about merging two instructions.

2005-08-22 Thread Richard Henderson
On Mon, Aug 22, 2005 at 03:37:27PM +0200, Paolo Bonzini wrote: It may still make sense changing the default case of simplify_replace_rtx to invoke replace_rtx rather than returning x. But this is unrelated, because nobody is currently passing a SET to simplify_replace_rtx (only

Re: GCC 4.1 Status Report (2005-08-21)

2005-08-22 Thread Ian Lance Taylor
Mark Mitchell [EMAIL PROTECTED] writes: My first comment is that we had a lot of bugs targeted at 4.1.0 that should never have been so targeted. Please remember that bugs that do not effect primary or secondary targets should not have a target milestone. There are several PRs that seem to

Re: Where have all the conditional moves gone?

2005-08-22 Thread James E Wilson
Piotr Wyderski wrote: I have disassembled my program produced by g++ 4.0.0 and I see a very strange behaviour -- the compiler doesn't generate cmov-s (-O3 -march=pentium3). G++ 3.4 generates them. So, how can I reactivate cmov-s in the newest version of the compiler? fif-conversion doesn't

[RFA] Nonfunctioning split in rs6000 back-end

2005-08-22 Thread Paolo Bonzini
While researching who is really using flow's computed LOG_LINKS, I found a define_split in the rs6000 back-end that uses them through find_single_use. It turns out the only users are combine, this split, and a function in regmove. The split dates back to revision 1.5 of old-gcc. ;; If we

Re: Building of fixincludes with 4.0.1 uses wrong gcc

2005-08-22 Thread James E Wilson
[EMAIL PROTECTED] wrote: 1. bootstrapping the gcc 4.0.1 under Sparc/Solaris I found that the building in fixincludes uses the gcc (with no PATH specification) instead of the xgcc build by the last stage. It may crash, it happens on my environment, because I've migrated from Solaris 9 to

Re: [RFA] Nonfunctioning split in rs6000 back-end

2005-08-22 Thread David Edelsohn
Paolo Bonzini writes: Paolo I'm testing a patch that does this replacement, and I can post it Paolo tomorrow morning. It has triggered only a dozen times so far (half in Paolo libgcc, half in the compiler), but it may be worth keeping it. It would be nice to keep this type of

Re: GCC 4.1 Status Report (2005-08-21)

2005-08-22 Thread Mark Mitchell
Ian Lance Taylor wrote: Mark Mitchell [EMAIL PROTECTED] writes: My first comment is that we had a lot of bugs targeted at 4.1.0 that should never have been so targeted. Please remember that bugs that do not effect primary or secondary targets should not have a target milestone. There are

Memory usage reduction in loop.c ?

2005-08-22 Thread Christophe Jaillet
I think that the structure 'struct loop_info' in loop.c could be shrinked a bit if all the 'int has_XXX' fields where turned into a bitfield just as in 'struct iv_class' or 'struct induction' in the same file. I don't know if it worse it (in term of memory usage reduction) neither the impact in

Re: Question about pointer arithmetics in GIMPLE

2005-08-22 Thread Jeffrey A Law
On Sun, 2005-08-21 at 20:32 +0200, Falk Hueffner wrote: Hi, I'm trying to implement a tree pass that warns about bad array accesses as suggested for PR 8268 by Jeff Law. However, I have trouble with the following: char digit_vector[5]; const char *ggc_alloc_string(int length) {

Re: Question about pointer arithmetics in GIMPLE

2005-08-22 Thread Daniel Berlin
Warning for pointer generation is going to be a *lot* harder and I suspect will always result in more false positives. In order to increase the accuracy of the data dependence analysis, i do, at some point, plan on tracking the sizes of malloc sites, and giving an upper bound on them (for

Bug in builtin_floor optimization

2005-08-22 Thread Dale Johannesen
There is some clever code in convert_to_real that converts double d; (float)floor(d) to floorf((float)d) (on targets where floor and floorf are considered builtins.) This is wrong, because the (float)d conversion normally uses round-to-nearest and can round up to the next integer. For

gcc.c-torture/execute/stdarg-2.c: long vs int

2005-08-22 Thread DJ Delorie
This test assumes that integer constants passed as varargs are promoted to a type at least as big as long, which is not valid on 16 bit hosts. For example: void f1 (int i, ...) { va_start (gap, i); x = va_arg (gap, long); int main (void) { f1 (1, 79); if (x != 79) abort ();

compile error for 990203-1.c

2005-08-22 Thread ibanez
I'm porting a back-end for gcc. My back-end crached in the compile test pattern 990203-1.c, and the error message is main.c:7: internal compiler error: in purge_addressof, at function.c:3423 for (insn = insns; insn; insn = NEXT_INSN (insn)) if (INSN_P (insn)) { if (!

[Bug libstdc++/23358] _Destroy doesn't optimize for scalar types

2005-08-22 Thread dank at kegel dot com
--- Additional Comments From dank at kegel dot com 2005-08-22 06:33 --- Yes, Tommy mailed the patch, see http://gcc.gnu.org/ml/gcc-patches/2005-08/msg01195.html -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23358

[Bug libstdc++/23358] _Destroy doesn't optimize for scalar types

2005-08-22 Thread dank at kegel dot com
--- Additional Comments From dank at kegel dot com 2005-08-22 06:34 --- I think the patch applies cleanly to gcc-4.0.x; it's so small, seems like the target for this bug ought to be gcc-4.0.2. -- What|Removed |Added

[Bug c++/23512] New: wrong code with boolean refs, -O2

2005-08-22 Thread mec at google dot com
gcc generates wrong code command line: gcc -O2 works on: 3.4.4, 4.1.0-20050819 wrong code on: 4.0.1, 4.0.2-20050818 I am just guessing at the priority + severity levels. Test program attached. It can be compiled and run standalone -- it succeeds normally, and aborts if wrong-code is generated.

[Bug c++/23512] wrong code with boolean refs, -O2

2005-08-22 Thread mec at google dot com
--- Additional Comments From mec at google dot com 2005-08-22 06:59 --- Created an attachment (id=9551) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=9551action=view) source file to demonstrate wrong code -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23512

[Bug objc/19324] [3.4/4.0/4.1 Regression] weird message for interface way in implementation

2005-08-22 Thread lars dot sonchocky-helldorf at hamburg dot de
--- Additional Comments From lars dot sonchocky-helldorf at hamburg dot de 2005-08-22 07:04 --- (In reply to comment #3) Objective-C is not release-critical. Sadly so. This is a very cheap way to get the numbers of bugs down for a release. :-( --

[Bug c++/23089] [4.0/4.1 Regression] internal compiler error: in int_mode_for_mode, at stor-layout.c:251 at -O1

2005-08-22 Thread cvs-commit at gcc dot gnu dot org
--- Additional Comments From cvs-commit at gcc dot gnu dot org 2005-08-22 08:37 --- Subject: Bug 23089 CVSROOT:/cvs/gcc Module name:gcc Changes by: [EMAIL PROTECTED] 2005-08-22 08:37:18 Modified files: gcc/cp : ChangeLog decl.c

[Bug c++/23089] [4.0/4.1 Regression] internal compiler error: in int_mode_for_mode, at stor-layout.c:251 at -O1

2005-08-22 Thread cvs-commit at gcc dot gnu dot org
--- Additional Comments From cvs-commit at gcc dot gnu dot org 2005-08-22 08:48 --- Subject: Bug 23089 CVSROOT:/cvs/gcc Module name:gcc Branch: gcc-4_0-branch Changes by: [EMAIL PROTECTED] 2005-08-22 08:48:06 Modified files: gcc/cp :

[Bug c++/23089] [4.0/4.1 Regression] internal compiler error: in int_mode_for_mode, at stor-layout.c:251 at -O1

2005-08-22 Thread reichelt at gcc dot gnu dot org
--- Additional Comments From reichelt at gcc dot gnu dot org 2005-08-22 08:49 --- Fixed on mainline and the 4.0 branch. -- What|Removed |Added Status|ASSIGNED

[Bug middle-end/22480] [4.1 Regression] ICE in convert_move, at expr.c:390 with -ftree-vectorize

2005-08-22 Thread micis at gmx dot de
--- Additional Comments From micis at gmx dot de 2005-08-22 09:03 --- This ICE is still present with the actual snapshot (20050819) -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=22480

[Bug c++/23513] New: overload resolution fails to select a more specialized template

2005-08-22 Thread maxim dot yegorushkin at gmail dot com
This well-formed complete source is rejected by g++, but compiles fine with comeau online 4.3.3 BETA August 4, 2003. A related discussion on clc++ http://groups-beta.google.com/group/comp. lang.c++/msg/1475f4e8f1ff9982 struct A { templateclass T void operator(T); }; templateclass T struct B

[Bug c++/22233] [3.4/4.0/4.1 regression] ICE with wrong number of template parameters

2005-08-22 Thread cvs-commit at gcc dot gnu dot org
--- Additional Comments From cvs-commit at gcc dot gnu dot org 2005-08-22 09:48 --- Subject: Bug 22233 CVSROOT:/cvs/gcc Module name:gcc Changes by: [EMAIL PROTECTED] 2005-08-22 09:48:26 Modified files: gcc/cp : ChangeLog pt.c

[Bug c++/22233] [3.4/4.0/4.1 regression] ICE with wrong number of template parameters

2005-08-22 Thread cvs-commit at gcc dot gnu dot org
--- Additional Comments From cvs-commit at gcc dot gnu dot org 2005-08-22 09:55 --- Subject: Bug 22233 CVSROOT:/cvs/gcc Module name:gcc Branch: gcc-4_0-branch Changes by: [EMAIL PROTECTED] 2005-08-22 09:54:43 Modified files: gcc/cp :

[Bug target/21571] ICE in rs6000.c with -msdata=default.

2005-08-22 Thread amodra at bigpond dot net dot au
--- Additional Comments From amodra at bigpond dot net dot au 2005-08-22 10:05 --- http://gcc.gnu.org/ml/gcc-patches/2005-08/msg01277.html -- What|Removed |Added

[Bug ada/23514] New: fixed point error cause Ada exception block does NOT work

2005-08-22 Thread kuan_long at hotmail dot com
the bug should be only in windows OS my test evnironment is win2k and win xp. they are not work well. I have try those compiler: Gnat 3.15 p / mingw 3.42 / mingw 4.1 --the test code is With Ada.Text_Io; Procedure Trading Is Type Price Is Delta 0.01 Digits 18; Type PriceArray Is Array

[Bug tree-optimization/23512] [4.0 Regression] wrong code with boolean refs, -O2

2005-08-22 Thread pinskia at gcc dot gnu dot org
--- Additional Comments From pinskia at gcc dot gnu dot org 2005-08-22 10:49 --- This is most likely a dup of PR 23326. -- What|Removed |Added Component|c++

[Bug middle-end/23511] [4.1 Regression] Segfault in fold_binary

2005-08-22 Thread pinskia at gcc dot gnu dot org
-- What|Removed |Added Keywords||ice-on-valid-code Summary|Segfault in fold_binary |[4.1 Regression] Segfault in

[Bug target/23303] [4.1 Regression] 4.1 generates sall + addl instead of leal

2005-08-22 Thread bonzini at gcc dot gnu dot org
--- Additional Comments From bonzini at gcc dot gnu dot org 2005-08-22 11:01 --- I'm not confident that using salq in Steven's test case is really a pessimization. I'll consider a 32-bit target then, and this testcase char ** VTallocbuf(char **allbuf, unsigned long savelines) {

[Bug middle-end/23511] [4.1 Regression] Segfault in fold_binary

2005-08-22 Thread pinskia at gcc dot gnu dot org
--- Additional Comments From pinskia at gcc dot gnu dot org 2005-08-22 11:06 --- Reducing. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23511

[Bug c++/22233] [3.4 regression] ICE with wrong number of template parameters

2005-08-22 Thread reichelt at gcc dot gnu dot org
--- Additional Comments From reichelt at gcc dot gnu dot org 2005-08-22 11:17 --- Fixed on mainline and 4.0 branch. -- What|Removed |Added Summary|[3.4/4.0/4.1

[Bug c++/23513] [4.0/4.1 Regression] overload resolution fails to select a more specialized template

2005-08-22 Thread pinskia at gcc dot gnu dot org
-- What|Removed |Added Keywords||rejects-valid Known to fail||4.0.2 4.1.0 Known to work|

[Bug bootstrap/21268] [4.0/4.1 Regression] Bootstrap, configuration problem and insn-conditions.c

2005-08-22 Thread v dot haisman at sh dot cvut dot cz
--- Additional Comments From v dot haisman at sh dot cvut dot cz 2005-08-22 11:21 --- I have tried it and successfully bootstrapped the compiler with. It works, thanks. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21268

[Bug c++/23171] [4.1 Regression] ICE on pointer initialization

2005-08-22 Thread pinskia at gcc dot gnu dot org
--- Additional Comments From pinskia at gcc dot gnu dot org 2005-08-22 11:46 --- (In reply to comment #2) How does the C front end represent this expression? Using a COMPOUND_LITERAL_EXPR which should solve this and PR 23172. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23171

[Bug middle-end/23511] [4.1 Regression] Segfault in fold_binary

2005-08-22 Thread pinskia at gcc dot gnu dot org
--- Additional Comments From pinskia at gcc dot gnu dot org 2005-08-22 11:50 --- Confirmed, reduced testcase: struct locale_data { int t; union locale_data_value { const char *string; }values []; }; void f(const char*); extern const struct locale_data _nl_C_LC_TIME ;

[Bug libgcj/23466] Double.toString(0.0010) --- 0.001 ISO 0.0010

2005-08-22 Thread veldema at cs dot fau dot de
--- Additional Comments From veldema at cs dot fau dot de 2005-08-22 12:03 --- 1) I will file a bug report with SUN and see what they say and report back here 2) I read the comments with _dtoa and for floats the arg is interpretted as single-precision if mode = 16 (seems for a double

[Bug c++/23273] gcc doesn't compile the stl headers

2005-08-22 Thread gcc-bugzilla2 at imperialviolet dot org
--- Additional Comments From gcc-bugzilla2 at imperialviolet dot org 2005-08-22 12:11 --- I have the same problem when building Gambit (a Scheme-C compiler). Since the original reporter doesn't seem to have replied to the request for a -save-temps file I thought that mine could be of

[Bug tree-optimization/23512] [4.0 Regression] wrong code with boolean refs, -O2

2005-08-22 Thread pinskia at gcc dot gnu dot org
--- Additional Comments From pinskia at gcc dot gnu dot org 2005-08-22 12:15 --- Yes looking at the tree dumps comfirm that this is a dup of bug 23326 which already have a patch for. *** This bug has been marked as a duplicate of 23326 *** -- What|Removed

[Bug tree-optimization/23326] [4.0 Regression] Wrong code from forwprop

2005-08-22 Thread pinskia at gcc dot gnu dot org
--- Additional Comments From pinskia at gcc dot gnu dot org 2005-08-22 12:15 --- *** Bug 23512 has been marked as a duplicate of this bug. *** -- What|Removed |Added

[Bug tree-optimization/17506] [4.0/4.1 regression] warning about uninitialized variable points to wrong location

2005-08-22 Thread pinskia at gcc dot gnu dot org
-- What|Removed |Added Severity|normal |minor http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17506

[Bug libgcj/23466] Double.toString(0.0010) --- 0.001 ISO 0.0010

2005-08-22 Thread veldema at cs dot fau dot de
--- Additional Comments From veldema at cs dot fau dot de 2005-08-22 12:18 --- Confirmed, this is a bug in SUN's JDK since 2001. Perhaps a a bug should be introduced to make libgcj/classpath bug compatible ? if (double_string == 0.00x x != '0') return return 0.00x0 should do the

[Bug tree-optimization/21513] [4.0/4.1 Regression] __builtin_expect getting in the way of uninitialized warnings

2005-08-22 Thread pinskia at gcc dot gnu dot org
-- What|Removed |Added Severity|normal |minor GCC build triplet|i686-pc-linux-gnu | GCC host triplet|i686-pc-linux-gnu | GCC

[Bug tree-optimization/21548] [4.0 regression] Wrong warning about uninitialized variable

2005-08-22 Thread pinskia at gcc dot gnu dot org
--- Additional Comments From pinskia at gcc dot gnu dot org 2005-08-22 12:25 --- As I mentioned, this will be come a regression again once fixing PR 21559. -- What|Removed |Added

[Bug tree-optimization/23511] [4.1 Regression] Segfault in fold_binary

2005-08-22 Thread sebastian dot pop at cri dot ensmp dot fr
--- Additional Comments From sebastian dot pop at cri dot ensmp dot fr 2005-08-22 12:34 --- The following patch fixes the problem. However I cannot boot'n'regtest it for the moment. I will commit it only tomorow once it is validated. seb *** tree-ssa-loop-niter.c.~2.39.~

[Bug c/8268] no compile time array index checking

2005-08-22 Thread sebastian dot pop at cri dot ensmp dot fr
--- Additional Comments From sebastian dot pop at cri dot ensmp dot fr 2005-08-22 12:38 --- (In reply to comment #14) (In reply to comment #9) If we really wanted to tackle this better a compile-time, we'd run a pass to look at all the ARRAY_REFs for those which have an

[Bug ada/23514] fixed point error cause Ada exception block does NOT work

2005-08-22 Thread pinskia at gcc dot gnu dot org
-- What|Removed |Added Severity|critical|normal http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23514

[Bug rtl-optimization/11707] [3.4 Regression] [new unroller] constants not propagated in unrolled loop iterations with a conditional

2005-08-22 Thread pinskia at gcc dot gnu dot org
-- What|Removed |Added Severity|critical|normal http://gcc.gnu.org/bugzilla/show_bug.cgi?id=11707

[Bug classpath/23238] split-for-gcj.sh should use CONFIG_SHELL

2005-08-22 Thread pinskia at gcc dot gnu dot org
--- Additional Comments From pinskia at gcc dot gnu dot org 2005-08-22 12:49 --- Fixed, classpath should be merged soon too. -- What|Removed |Added Status|NEW

[Bug libgcj/23466] Double.toString(0.0010) --- 0.001 ISO 0.0010

2005-08-22 Thread robilad at kaffe dot org
--- Additional Comments From robilad at kaffe dot org 2005-08-22 13:25 --- It seems to be clearly a bug in how some non-free implementation implements the specifications. Since Sun Microsystems has confirmed the bug in their implementation, and the specification is clear on the matter,

[Bug c++/23273] gcc doesn't compile the stl headers

2005-08-22 Thread pinskia at gcc dot gnu dot org
--- Additional Comments From pinskia at gcc dot gnu dot org 2005-08-22 13:35 --- This is not a bug. You have a macro max which is defined and so you get: std::(((size())(__n))?(size()):(__n)) which is a bug. It is a bug in your code. -- What|Removed

[Bug c++/23273] gcc doesn't compile the stl headers

2005-08-22 Thread gcc-bugzilla2 at imperialviolet dot org
--- Additional Comments From gcc-bugzilla2 at imperialviolet dot org 2005-08-22 13:00 --- An uncomfortable, but functional, solution this this problem is to replace std::max with max on each of the erroring lines. Since the STL lives in the std namespace anyway I think this should work

[Bug c++/22454] [4.0/4.1 Regression] ICE with operator in default argument in template class

2005-08-22 Thread nathan at gcc dot gnu dot org
-- What|Removed |Added AssignedTo|unassigned at gcc dot gnu |nathan at gcc dot gnu dot |dot org |org Status|NEW

[Bug middle-end/23484] __builtin___memcpy_chk miscompilation

2005-08-22 Thread jakub at gcc dot gnu dot org
-- What|Removed |Added AssignedTo|unassigned at gcc dot gnu |jakub at gcc dot gnu dot org |dot org | URL|

[Bug libgcj/23466] call to _dtoa is possibly incorrect

2005-08-22 Thread tromey at gcc dot gnu dot org
--- Additional Comments From tromey at gcc dot gnu dot org 2005-08-22 15:00 --- I would prefer to leave the PR open to address the _dtoa issue. I've updated the PR synopsis to reflect this. I agree that we should not change our toString output, as ours is correct. -- What

[Bug target/21091] -many flag causes problems

2005-08-22 Thread amodra at bigpond dot net dot au
--- Additional Comments From amodra at bigpond dot net dot au 2005-08-22 15:24 --- -m405 -many works for any gas later than 20030904. Versions earlier than that date will suffer from the problem reported here. gcc (now) documents that binutils 2.15 is needed for powerpc. --

[Bug fortran/23515] New: ICE on correct code

2005-08-22 Thread pault at gcc dot gnu dot org
[EMAIL PROTECTED] mytests]# cat foo.f90 program foo common /x/ a a = 1 call bar () contains subroutine bar () equivalence (a,b) print *, b end subroutine bar end program foo [EMAIL PROTECTED] mytests]# /gcc-4.0/bin/gfortran foo.f90 foo.f90: In function ‘MAIN__’: foo.f90:8:

[Bug fortran/23516] New: IMAG is not a generic function when implicit none is declared

2005-08-22 Thread federico dot carminati at cern dot ch
The following code does not compile program bug implicit none double complex blop double precision blopr blopr=imag(blop) blopr=sin(blop) end removing implicit none will let the code to compile. The compiler accepts sin as a generic function but not

[Bug java/18175] Can't find default package with redundant package import

2005-08-22 Thread cvs-commit at gcc dot gnu dot org
--- Additional Comments From cvs-commit at gcc dot gnu dot org 2005-08-22 16:21 --- Subject: Bug 18175 CVSROOT:/cvs/gcc Module name:gcc Changes by: [EMAIL PROTECTED] 2005-08-22 16:21:19 Modified files: gcc: ChangeLog c-common.c

[Bug c/18715] [4.0/4.1 Regression] warning: enumeration value not handled in switch for '...' ranges

2005-08-22 Thread cvs-commit at gcc dot gnu dot org
--- Additional Comments From cvs-commit at gcc dot gnu dot org 2005-08-22 16:21 --- Subject: Bug 18715 CVSROOT:/cvs/gcc Module name:gcc Changes by: [EMAIL PROTECTED] 2005-08-22 16:21:19 Modified files: gcc: ChangeLog c-common.c

[Bug java/18175] Can't find default package with redundant package import

2005-08-22 Thread pinskia at gcc dot gnu dot org
--- Additional Comments From pinskia at gcc dot gnu dot org 2005-08-22 16:23 --- Ignore that commit, I got 7 and 1 switched around. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18175

[Bug c/18715] [4.0/4.1 Regression] warning: enumeration value not handled in switch for '...' ranges

2005-08-22 Thread cvs-commit at gcc dot gnu dot org
--- Additional Comments From cvs-commit at gcc dot gnu dot org 2005-08-22 16:26 --- Subject: Bug 18715 CVSROOT:/cvs/gcc Module name:gcc Changes by: [EMAIL PROTECTED] 2005-08-22 16:26:06 Modified files: gcc/testsuite : ChangeLog Log message: Fix

[Bug c/18715] [4.0/4.1 Regression] warning: enumeration value not handled in switch for '...' ranges

2005-08-22 Thread pinskia at gcc dot gnu dot org
--- Additional Comments From pinskia at gcc dot gnu dot org 2005-08-22 16:28 --- Fixed. -- What|Removed |Added Status|ASSIGNED|RESOLVED

[Bug c/18715] [4.0/4.1 Regression] warning: enumeration value not handled in switch for '...' ranges

2005-08-22 Thread cvs-commit at gcc dot gnu dot org
--- Additional Comments From cvs-commit at gcc dot gnu dot org 2005-08-22 16:29 --- Subject: Bug 18715 CVSROOT:/cvs/gcc Module name:gcc Branch: gcc-4_0-branch Changes by: [EMAIL PROTECTED] 2005-08-22 16:29:02 Modified files: gcc:

[Bug rtl-optimization/15248] [4.0 Regression] Reload may generate stores to read-only memory

2005-08-22 Thread mmitchel at gcc dot gnu dot org
--- Additional Comments From mmitchel at gcc dot gnu dot org 2005-08-22 16:31 --- Let's go with the quick fix, for 4.0.2, for now. If we get a better fix, fine; but let's not have this bug in 4.0.2. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=15248

[Bug fortran/23516] IMAG is not a generic function when implicit none is declared

2005-08-22 Thread kargl at gcc dot gnu dot org
--- Additional Comments From kargl at gcc dot gnu dot org 2005-08-22 16:47 --- IMAG() is neither a generic intrinsic procedure nor a specific intrinsic procedure. You want AIMAG() or you need to explicitly declare IMAG() and provide a function. --

[Bug rtl-optimization/23478] [3.4 regression] Miscompilation due to reloading of a var that is also used in EH pad

2005-08-22 Thread cvs-commit at gcc dot gnu dot org
--- Additional Comments From cvs-commit at gcc dot gnu dot org 2005-08-22 16:59 --- Subject: Bug 23478 CVSROOT:/cvs/gcc Module name:gcc Changes by: [EMAIL PROTECTED] 2005-08-22 16:58:50 Modified files: gcc: ChangeLog flow.c global.c regs.h

[Bug target/23376] ICE on GCC 4.x with -O1 -funroll-loops -fvariable-expansion-in-unroller

2005-08-22 Thread mmitchel at gcc dot gnu dot org
--- Additional Comments From mmitchel at gcc dot gnu dot org 2005-08-22 17:32 --- Yes, I think it's a good idea to put this patch in 4.0.2, given that it is in mainline, and given that it is so very simple. However, I don't think it's critical either way. --

[Bug fortran/23515] ICE on correct code

2005-08-22 Thread pinskia at gcc dot gnu dot org
--- Additional Comments From pinskia at gcc dot gnu dot org 2005-08-22 17:40 --- Confirmed. Back trace: #0 translate_common (common=0x9037228, var_list=Variable var_list is not available. ) at /home/peshtigo/pinskia/src/gnu/gcc/src/gcc/fortran/trans-common.c:823 #1 0x0808ebf5 in

[Bug java/10304] ICE when compiling OpenNMS (jcf-write.c:1041)

2005-08-22 Thread tromey at gcc dot gnu dot org
--- Additional Comments From tromey at gcc dot gnu dot org 2005-08-22 18:00 --- No feedback in nearly a year. -- What|Removed |Added Status|ASSIGNED

[Bug tree-optimization/23382] [4.1 Regression] Does not remove the old HEAP virtual variables in clobbered

2005-08-22 Thread pinskia at gcc dot gnu dot org
-- What|Removed |Added OtherBugsDependingO|15855 | nThis|| http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23382

[Bug libgcj/21074] Trivial bug in the method getHeaderFieldKey() in the file java/net/protocol/http/HTTPURLConnection.java

2005-08-22 Thread tromey at gcc dot gnu dot org
--- Additional Comments From tromey at gcc dot gnu dot org 2005-08-22 18:05 --- Committed to 4.0 branch. -- What|Removed |Added Status|ASSIGNED

[Bug libgcj/21074] Trivial bug in the method getHeaderFieldKey() in the file java/net/protocol/http/HTTPURLConnection.java

2005-08-22 Thread cvs-commit at gcc dot gnu dot org
--- Additional Comments From cvs-commit at gcc dot gnu dot org 2005-08-22 18:06 --- Subject: Bug 21074 CVSROOT:/cvs/gcc Module name:gcc Branch: gcc-4_0-branch Changes by: [EMAIL PROTECTED] 2005-08-22 18:06:36 Modified files: libjava:

[Bug fortran/23515] ICE on correct code

2005-08-22 Thread paulthomas2 at wanadoo dot fr
--- Additional Comments From paulthomas2 at wanadoo dot fr 2005-08-22 18:18 --- Subject: Re: ICE on correct code pinskia at gcc dot gnu dot org wrote: --- Additional Comments From pinskia at gcc dot gnu dot org 2005-08-22 17:40 --- Confirmed. Back trace: #0

Re: [Bug fortran/23515] ICE on correct code

2005-08-22 Thread Andrew Pinski
On Aug 22, 2005, at 2:18 PM, paulthomas2 at wanadoo dot fr wrote: PS peshtigo? I don't know where it comes from for this machine, as I did not name them. It looks like where the deadest fire in American history happened. http://www.peshtigofire.info/ -- Pinski

[Bug fortran/23515] ICE on correct code

2005-08-22 Thread pinskia at physics dot uc dot edu
--- Additional Comments From pinskia at physics dot uc dot edu 2005-08-22 18:26 --- Subject: Re: ICE on correct code On Aug 22, 2005, at 2:18 PM, paulthomas2 at wanadoo dot fr wrote: PS peshtigo? I don't know where it comes from for this machine, as I did not name them. It looks

[Bug middle-end/23517] can't cast between generic vector types and target supported vector types

2005-08-22 Thread amylaar at gcc dot gnu dot org
--- Additional Comments From amylaar at gcc dot gnu dot org 2005-08-22 18:51 --- Created an attachment (id=9555) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=9555action=view) proposed patch -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23517

[Bug libgcj/23499] [4.1 regression] libgcj/classpath create empty directory $PREFIX/share/classpath/api/

2005-08-22 Thread tromey at gcc dot gnu dot org
--- Additional Comments From tromey at gcc dot gnu dot org 2005-08-22 18:53 --- I fixed this in classpath. It will be brought in by the next merge. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23499

[Bug libgcj/23431] [4.0/4.1 regression] gcj allows overriding with less restrictive access

2005-08-22 Thread tromey at gcc dot gnu dot org
--- Additional Comments From tromey at gcc dot gnu dot org 2005-08-22 19:12 --- Here is a test case that needs only libgcj: abstract class B implements Runnable { public B() { } abstract void run(); } class C extends B { void run() { } } class A { private C c = null;

[Bug middle-end/23517] [4.0/4.1 Regression] can't cast between generic vector types and target supported vector types

2005-08-22 Thread pinskia at gcc dot gnu dot org
--- Additional Comments From pinskia at gcc dot gnu dot org 2005-08-22 19:22 --- It looks like it was caused by: 2004-07-22 Paolo Bonzini [EMAIL PROTECTED] * stor-layout.c (layout_type): Pick a mode for vector types. ... -- What|Removed

[Bug rtl-optimization/23518] New: some gcc optimizations do not take overflow into account

2005-08-22 Thread pterjan at gmail dot com
This has been tested on 3.3.6, 3.4.1 and 4.0.1 The following test is considered always false and the block is dropped but a being int, (a + 1 0) is true. [EMAIL PROTECTED] tmp]$ cat lim.c #include stdio.h #include limits.h int main (void) { int a = INT_MAX; if ((a 0) || (a + 1

[Bug middle-end/23518] some gcc optimizations do not take overflow into account with -fwrapv

2005-08-22 Thread pinskia at gcc dot gnu dot org
--- Additional Comments From pinskia at gcc dot gnu dot org 2005-08-22 19:45 --- Note signed overflow is undefined unless you use -fwrapv except that does not fix this. This is a bug in fold, most likely build_range_check. -- What|Removed |Added

[Bug libstdc++/23497] [4.1 regression] Bogus 'is used uninitialized...' warning about std::complexT

2005-08-22 Thread gdr at integrable-solutions dot net
--- Additional Comments From gdr at integrable-solutions dot net 2005-08-22 19:49 --- Subject: Re: [4.1 regression] Bogus 'is used uninitialized...' warning about std::complexT pinskia at gcc dot gnu dot org [EMAIL PROTECTED] writes: | This is a bug in libstdc++ headers. Since

[Bug middle-end/23518] some gcc optimizations do not take overflow into account with -fwrapv

2005-08-22 Thread pinskia at gcc dot gnu dot org
--- Additional Comments From pinskia at gcc dot gnu dot org 2005-08-22 19:52 --- Here is a java program (since -fwrapv is turned on by default for java front-end unlike the C front-end since it is undefined in C and defined in java): class t { public static void main(String as[])

[Bug middle-end/23517] [4.0/4.1 Regression] can't cast between generic vector types and target supported vector types

2005-08-22 Thread bonzini at gcc dot gnu dot org
-- What|Removed |Added AssignedTo|unassigned at gcc dot gnu |bonzini at gcc dot gnu dot |dot org |org Status|NEW

[Bug libgcj/23499] [4.1 regression] libgcj/classpath create empty directory $PREFIX/share/classpath/api/

2005-08-22 Thread cvs-commit at developer dot classpath dot org
--- Additional Comments From cvs-commit at developer dot classpath dot org 2005-08-22 19:56 --- Subject: Bug 23499 CVSROOT:/cvsroot/classpath Module name:classpath Branch: Changes by: Tom Tromey [EMAIL PROTECTED] 05/08/22 18:50:11 Modified files: .

[Bug ada/23514] fixed point error cause Ada exception block does NOT work

2005-08-22 Thread laurent at guerby dot net
--- Additional Comments From laurent at guerby dot net 2005-08-22 20:01 --- With 4.1.0 20050822 (experimental) on x86-linux, I get as output 27 times average: 10.00 followed by three times average:error here! which seems the correct behaviour since you do for the three last iterations

  1   2   >