Re: Error building 4.0.1-RC2

2005-06-20 Thread Mark Williams (MWP)
Yes i did... i always do and have never had a problem doing so before. I will try building in a different directory though and report back. http://gcc.gnu.org/install/configure.html To be honest I'm always surprised when it works at all. Ok, that fixed it, thanks. Maybe a warning

PATCH: PR/1025: binutils failed to build gcc 4.0.1 20050619

2005-06-20 Thread H. J. Lu
This patch fixes PR/1025. It also shows up on many platforms where indirect symbols aren't handled properly, like http://gcc.gnu.org/ml/gcc/2005-06/msg00842.html http://gcc.gnu.org/bugzilla/show_bug.cgi?id=22109 Those platforms need similar patch. H.J. - 2005-06-19 H.J. Lu [EMAIL

Re: Error building 4.0.1-RC2

2005-06-20 Thread Ranjit Mathew
Mark Williams (MWP) wrote: Thought i should report this... Building 4.0.1 RC2, i get this error: make[1]: Leaving directory `/data/backup/linux/gcc/gcc-4.0.1-20050616/intl' Looks like you're trying to build GCC in the source folder itself - this is not supported (yet). Try creating a

Re: GCC 4.0.1 RC2

2005-06-20 Thread Benjamin Kosnik
PR 22111 is about libstdc++-v3 being built with binutils 2.15, while 2.15.90 or later are required by the patch. I say we solve this instead by enabling the abi checking rule only for those platforms that are using symbol versioning. In addition, we try to come up with an autoconf macro that

Re: Reporting bugs: there is nothing to gain in frustrating reporters

2005-06-20 Thread Michael Veksler
[Gaby wants Vincent to explain:] Vincent Lefevre [EMAIL PROTECTED] writes: # This is complete non-sense. One doesn't prepare a patch for an invalid # bug. [Michael tries to interpret Vincent:] | I think that what Vincent meant was: | One doesn't prepare a patch for a PR marked as INVALID.

Re: Reporting bugs: there is nothing to gain in frustrating reporters

2005-06-20 Thread Steven Bosscher
On Jun 20, 2005 09:51 AM, Michael Veksler [EMAIL PROTECTED] wrote: Despite being descriptive and friendly, bug masters frustrate me and other users by being too eager to close the PR. I would suggest a policy change, a PR should be closed (as duplicate or as INVALID) only after discussion

Re: libstdc++-libc6.1-1.so.2 libraries

2005-06-20 Thread Jonathan Wakely
On Sun, Jun 19, 2005 at 06:49:32PM -0400, Bill wrote: Below is the error I receive when attempting to run a newly installed version of netscape 4.79 on centOS 4.0 (RHEL 3), which is my personal computer at home. This is the only browser that works on linux that is compatible with the Thorium

Re: basic VRP min/max range overflow question

2005-06-20 Thread Michael Veksler
Paul Schlie wrote on 20/06/2005 08:55:20: y = z ? z + x;// y == [INT_MIN+1, INT_MAX+2] Invalid syntax, what did you mean? I guess I simply believe that optimizations should never alter the logical behavior of a specified program relative to it's un-optimized form unless

Re: PowerPC small data sections.

2005-06-20 Thread Sergei Organov
Mike Stump [EMAIL PROTECTED] writes: On Friday, June 17, 2005, at 07:13 AM, Sergei Organov wrote: The first thing I'd like to get some advice on is which codebase do I use, gcc-4_0-branch? No, mainline. If it doesn't work there, is won't work anyplace else. :-( Once you get it working

Re: basic VRP min/max range overflow question

2005-06-20 Thread Robert Dewar
Paul Schlie wrote: My position is simply that an optimization should never remove a specified operation unless it is known to yield logically equivalent behavior, as producing a program which does not behave as specified is not a good idea That may be your position, but it is not the position

Re: basic VRP min/max range overflow question

2005-06-20 Thread Robert Dewar
Robert Dewar wrote: That may be your position, but it is not the position of the standard, and indeed it is not a well-formed position. Why, because the whole point is that when the behavior is undefined, then the change DOES yield a logically equivalent behavior, because undefined means

Re: Error building 4.0.1-RC2

2005-06-20 Thread Joseph S. Myers
On Mon, 20 Jun 2005, Mark Williams (MWP) wrote: Yes i did... i always do and have never had a problem doing so before. I will try building in a different directory though and report back. http://gcc.gnu.org/install/configure.html To be honest I'm always surprised when it

Re: basic VRP min/max range overflow question

2005-06-20 Thread Paul Schlie
From: Michael Veksler [EMAIL PROTECTED] Paul Schlie wrote on 20/06/2005 08:55:20: y = z ? z + x;// y == [INT_MIN+1, INT_MAX+2] Invalid syntax, what did you mean? Sorry, meant: y = z + x; // y == [INT_MIN, INT_MAX] + [1, 2] == [INT_MIN+1, INT_MAX+2] I guess I simply believe that

Re: basic VRP min/max range overflow question

2005-06-20 Thread Paul Schlie
From: Robert Dewar [EMAIL PROTECTED] Paul Schlie wrote: My position is simply that an optimization should never remove a specified operation unless it is known to yield logically equivalent behavior, as producing a program which does not behave as specified is not a good idea That may be

Re: basic VRP min/max range overflow question

2005-06-20 Thread Paul Schlie
From: Robert Dewar [EMAIL PROTECTED] Robert Dewar wrote: That may be your position, but it is not the position of the standard, and indeed it is not a well-formed position. Why, because the whole point is that when the behavior is undefined, then the change DOES yield a logically

Re: basic VRP min/max range overflow question

2005-06-20 Thread Robert Dewar
Paul Schlie wrote: As in my mind, the semantics of foo() dictate that it print the value of the storage location which was allocated to the variable a, where unless a is initialized with an explicit value, may be arbitrary. So I've got no problem with arbitrary results or behavior, I just

Re: basic VRP min/max range overflow question

2005-06-20 Thread Robert Dewar
Paul Schlie wrote: I too believe I understand your position, however don't believe it's the compiler's job to make life for the programmer harder than it need be when a program may contain an undefined behavior; but agree it would likely always be helpful to for it to point them out when

Re: basic VRP min/max range overflow question

2005-06-20 Thread Paul Schlie
From: Robert Dewar [EMAIL PROTECTED] Paul Schlie wrote: As in my mind, the semantics of foo() dictate that it print the value of the storage location which was allocated to the variable a, where unless a is initialized with an explicit value, may be arbitrary. So I've got no problem with

Re: basic VRP min/max range overflow question

2005-06-20 Thread Paul Schlie
From: Robert Dewar [EMAIL PROTECTED] Paul Schlie wrote: I too believe I understand your position, however don't believe it's the compiler's job to make life for the programmer harder than it need be when a program may contain an undefined behavior; but agree it would likely always be

Re: Reporting bugs: there is nothing to gain in frustrating reporters

2005-06-20 Thread Gabriel Dos Reis
Michael Veksler [EMAIL PROTECTED] writes: | [Gaby wants Vincent to explain:] | Vincent Lefevre [EMAIL PROTECTED] writes: | # This is complete non-sense. One doesn't prepare a patch for an invalid | # bug. | | [Michael tries to interpret Vincent:] | | I think that what Vincent meant was: | |

Re: basic VRP min/max range overflow question

2005-06-20 Thread Robert Dewar
Paul Schlie wrote: - You may be correct, although it's not obviously the case? (As requiring all undefined behavior be encapsulated between sequence points already seems implied to me, as I don't see any explicit counter examples requiring otherwise. There don't need to be examples.

Re: basic VRP min/max range overflow question

2005-06-20 Thread Robert Dewar
Michael Veksler wrote: Getting a consistent definition of bounded side-effects is a nontrivial task. Simply hacking and patching the definition does not work. Trust me, I've been there done that, got burnt and are still paying for my sins. Indeed! I think anyone who has been involved in the

Re: basic VRP min/max range overflow question

2005-06-20 Thread Michael Veksler
Paul Schlie wrote on 20/06/2005 14:13:33: From: Robert Dewar [EMAIL PROTECTED] ... Note that in the cases where something is statically optimized away (these are the easy cases), it is nice if the compiler warns that this is happening (that would certainly be the case in Ada in the

Re: basic VRP min/max range overflow question

2005-06-20 Thread Robert Dewar
Michael Veksler wrote: As for overflow, you can say that you want instead of undefined to treat is unspecified. In Ada 95 we introduced a new category of behavior, called a bounded error. We tried to recategorize as many erroneous (= C undefined) cases as possible to bounded error. A

Re: basic VRP min/max range overflow question

2005-06-20 Thread Paul Schlie
From: Robert Dewar [EMAIL PROTECTED] Paul Schlie wrote: - You may be correct, although it's not obviously the case? (As requiring all undefined behavior be encapsulated between sequence points already seems implied to me, as I don't see any explicit counter examples requiring

PATCH: PR 1022: binutils failed to build gcc 4.0.1 20050619

2005-06-20 Thread H. J. Lu
I checked in the following patch to fix PR 1022. H.J. 2005-06-20 H.J. Lu [EMAIL PROTECTED] PR 1022 * elf32-hppa.c (elf32_hppa_check_relocs): Handle indirect symbol. --- bfd/elf32-hppa.c.got2005-05-19 06:51:55.0 -0700 +++ bfd/elf32-hppa.c

Re: basic VRP min/max range overflow question

2005-06-20 Thread Robert Dewar
Paul Schlie wrote: There don't need to be examples. The as-if rule always applies, if you cannot write a legitimate C program that shows the difference between two possible implementations, then both are correct. ??? as-if means they're logically equivalent (i.e. there is no logical

Re: basic VRP min/max range overflow question

2005-06-20 Thread Robert Dewar
Paul Schlie wrote: - yes, effectively I don't perceive any necessity for undefined, vs unspecified; as I don't perceive any necessity to give the compiler the freedom to treat generate an arbitrary program which may contain a potentially ambiguous specific and isolatable behavior. OK, then

Re: basic VRP min/max range overflow question

2005-06-20 Thread Sebastian Pop
Robert Dewar wrote: Yes, absolutely, a compiler should generate warnings as much as possible when it is making these kind of assujmptions. Then, you will like the following kind of patches: Index: tree-data-ref.c === RCS file:

How to replace -O1 with corresponding -f's?

2005-06-20 Thread Sergei Organov
Hi, Using gcc compiled from gcc-4_0-branch, in an attempt to see which particular optimization option makes my test case to be mis-optimized, I try to replace -O1 (which toggles on the problem) with corresponding set of -fxxx optimization options. I first compile my code like this: gcc -v

Re: How to replace -O1 with corresponding -f's?

2005-06-20 Thread Andrew Haley
Sergei Organov writes: Hi, Using gcc compiled from gcc-4_0-branch, in an attempt to see which particular optimization option makes my test case to be mis-optimized, I try to replace -O1 (which toggles on the problem) with corresponding set of -fxxx optimization options. In general

Re: How to replace -O1 with corresponding -f's?

2005-06-20 Thread Scott Robert Ladd
Sergei Organov wrote: Using gcc compiled from gcc-4_0-branch, in an attempt to see which particular optimization option makes my test case to be mis-optimized, This sort of problem is exactly what my Acovea program was designed for; it will identify the pessimistic option by analyzing GCC's

Re: How to replace -O1 with corresponding -f's?

2005-06-20 Thread Andrew Pinski
On Jun 20, 2005, at 10:04 AM, Andrew Haley wrote: How one finds out what optimization pass misbehaves? Look at the dumps. If you use the gcc option -da you'll get a full set of RTL dump files. And -fdump-tree-all for the tree dumps. Thanks, Andrew Pinski

Re: How to replace -O1 with corresponding -f's?

2005-06-20 Thread Andrew Pinski
On Jun 20, 2005, at 9:38 AM, Sergei Organov wrote: 2. The resulting assembly is different from what I get with -O1 and doesn't contain the mis-optimization I'm trying to debug though it doesn't seem to have anything to do with loops. For reference, the code I'm trying to compile is:

Re: basic VRP min/max range overflow question

2005-06-20 Thread Michael Veksler
Paul Schlie [EMAIL PROTECTED] wrote on 20/06/2005 16:09:16: From: Michael Veksler [EMAIL PROTECTED] As for overflow, you can say that you want instead of undefined to treat is unspecified. Where each architecture / opsys / compiler must consistently define what happens on overflow:

Re: How to replace -O1 with corresponding -f's?

2005-06-20 Thread Sergei Organov
Andrew Pinski [EMAIL PROTECTED] writes: On Jun 20, 2005, at 10:04 AM, Andrew Haley wrote: How one finds out what optimization pass misbehaves? Look at the dumps. If you use the gcc option -da you'll get a full set of RTL dump files. And -fdump-tree-all for the tree dumps. The last

Re: towards reduction part 3/n: what does vec lower pass do to vector shifts?

2005-06-20 Thread Dorit Naishlos
Richard Henderson [EMAIL PROTECTED] wrote on 20/06/2005 01:13:11: On Sun, Jun 19, 2005 at 11:46:52PM +0300, Dorit Naishlos wrote: The thought was to supply an API that would let the vectorizer ask for the minimal capability it needs - if all we need is a vector shift of a constant value

Re: How to replace -O1 with corresponding -f's?

2005-06-20 Thread Andrew Pinski
On Jun 20, 2005, at 10:54 AM, Sergei Organov wrote: so SYMBOL_FLAG_SMALL (flags 0x6 vs 0x2) is somehow being missed when -O1 is turned on. Seems to be something at tree-to-RTX conversion time. Constant folding? No, it would mean that the target says that this is not a small data. Also try

Re: How to replace -O1 with corresponding -f's?

2005-06-20 Thread Sergei Organov
Andrew Pinski [EMAIL PROTECTED] writes: On Jun 20, 2005, at 9:38 AM, Sergei Organov wrote: 2. The resulting assembly is different from what I get with -O1 and doesn't contain the mis-optimization I'm trying to debug though it doesn't seem to have anything to do with loops. For

Re: How to replace -O1 with corresponding -f's?

2005-06-20 Thread Andrew Pinski
On Jun 20, 2005, at 11:28 AM, Sergei Organov wrote: Andrew Pinski [EMAIL PROTECTED] writes: On Jun 20, 2005, at 10:54 AM, Sergei Organov wrote: so SYMBOL_FLAG_SMALL (flags 0x6 vs 0x2) is somehow being missed when -O1 is turned on. Seems to be something at tree-to-RTX conversion time.

Re: How to replace -O1 with corresponding -f's?

2005-06-20 Thread Sergei Organov
Andrew Pinski [EMAIL PROTECTED] writes: On Jun 20, 2005, at 11:28 AM, Sergei Organov wrote: Andrew Pinski [EMAIL PROTECTED] writes: On Jun 20, 2005, at 10:54 AM, Sergei Organov wrote: so SYMBOL_FLAG_SMALL (flags 0x6 vs 0x2) is somehow being missed when -O1 is turned on. Seems

Re: Someone introduced a libiberty crashing bug in the past week

2005-06-20 Thread Andrew Pinski
On Jun 20, 2005, at 11:39 AM, Daniel Berlin wrote: This is blocking me fixing the structure aliasing regressions. This was caused by: 2005-06-15 Joseph S. Myers [EMAIL PROTECTED] * c-tree.h (default_function_array_conversion): Declare. * c-typeck.c

Re: GCC 4.0.1 RC2

2005-06-20 Thread Benjamin Kosnik
It is my strong preference to not do macro defines in c++config.h as per your last patch. Strike this, it's incorrect. Sorry Jakub. If doing this gets around the bad link behavior, at this point, I'm for it. I suggest you put in a link to 22109 to your patch. Then, the patches for 22109 and

Re: Someone introduced a libiberty crashing bug in the past week

2005-06-20 Thread Andrew Pinski
On Jun 20, 2005, at 11:39 AM, Daniel Berlin wrote: This is new, i assume. This is blocking me fixing the structure aliasing regressions. I've attached pex-unix.i. Compile with -pendantic to see the crash. Here is a reduced testcase: typedef union { union wait *__uptr; int

Re: Someone introduced a libiberty crashing bug in the past week

2005-06-20 Thread Joseph S. Myers
On Mon, 20 Jun 2005, Daniel Berlin wrote: The crash line is 3729 if (pedantic !DECL_IN_SYSTEM_HEADER (fundecl)) Here, fundecl is null. Any problem with fundecl being null should also be reproducible with a call through a function pointer where fundecl would never have been

Re: Someone introduced a libiberty crashing bug in the past week

2005-06-20 Thread Daniel Berlin
On Mon, 2005-06-20 at 16:05 +, Joseph S. Myers wrote: On Mon, 20 Jun 2005, Daniel Berlin wrote: The crash line is 3729 if (pedantic !DECL_IN_SYSTEM_HEADER (fundecl)) Here, fundecl is null. Any problem with fundecl being null should also be reproducible with a

Re: Cygwin build failure

2005-06-20 Thread François-Xavier Coudert
Knowing that you do regular Cygwin builds of gcc, I wonder can you advise me, please? For the better part of a month, I have not succeeded in building gcc from the CVS tree under Cygwin_NT-5.1 for one reason or another. That's PR 21766 (appropriately named Bootstrap failure on

Re: Cygwin build failure

2005-06-20 Thread Paul Thomas
Thanks Francois-Xavier and Andrew for replying, That's PR 21766 (appropriately named Bootstrap failure on i686-pc-cygwin). Opened almost a month ago. GCC mainline doesn't build on cygwin or mingw since that time. Seeing that almost no comment had been made by the maintainers on it, and no

Re: How to replace -O1 with corresponding -f's?

2005-06-20 Thread Sergei Organov
Andrew Pinski [EMAIL PROTECTED] writes: On Jun 20, 2005, at 11:28 AM, Sergei Organov wrote: Andrew Pinski [EMAIL PROTECTED] writes: On Jun 20, 2005, at 10:54 AM, Sergei Organov wrote: so SYMBOL_FLAG_SMALL (flags 0x6 vs 0x2) is somehow being missed when -O1 is turned on. Seems

Re: basic VRP min/max range overflow question

2005-06-20 Thread DJ Delorie
Then, you will like the following kind of patches: + warning (0, %H undefined behavior if loop runs for more than %qE iterations, +find_loop_location (loop), estimation); I think we would like them better if you could choose to silence them, especially when people use

Re: c/c++ validator

2005-06-20 Thread Kai Henningsen
[EMAIL PROTECTED] (Tommy Vercetti) wrote on 19.06.05 in [EMAIL PROTECTED]: I was looking on different ones, for C, that claimed to have ability to find security problems. One that I found the best, is splint. But it's still not able to find such obvious problem: Did you look at sparse? That

Re: basic VRP min/max range overflow question

2005-06-20 Thread Kai Henningsen
[EMAIL PROTECTED] (Robert Dewar) wrote on 19.06.05 in [EMAIL PROTECTED]: Kai Henningsen wrote: But at least, in that case, the compiler could easily issue the (presumably not required by the standard) warning that the else branch is unreachable code. Yes, absolutely, a compiler should

Re: c/c++ validator

2005-06-20 Thread Tommy Vercetti
On Monday 20 June 2005 10:12, Kai Henningsen wrote: [EMAIL PROTECTED] (Tommy Vercetti) wrote on 19.06.05 in [EMAIL PROTECTED]: I was looking on different ones, for C, that claimed to have ability to find security problems. One that I found the best, is splint. But it's still not able to

Re: 4.0.0-4.0.1 regression: Can't use 64-bit shared libs on powerpc-apple-darwin8.1.0

2005-06-20 Thread Bradley Lucier
On Jun 16, 2005, at 3:06 PM, Mike Stump wrote: Actually, by try, I meant try your application. :-) I can't seem to build any 64-bit shared library on powerpc-apple- darwin8.1.0, although I can now run the test suite more effectively; see http://gcc.gnu.org/bugzilla/show_bug.cgi?id=22110

Re: basic VRP min/max range overflow question

2005-06-20 Thread Mike Stump
General note, please, this list is for developers of gcc to develop gcc. Using it as a way to teach yourself how to read the C standard, isn't ok, please stop. On Saturday, June 18, 2005, at 07:15 AM, Paul Schlie wrote: Maybe I didn't phrase my statement well; I think you did, you are

Re: basic VRP min/max range overflow question

2005-06-20 Thread Mike Stump
On Jun 18, 2005, at 11:50 AM, Paul Schlie wrote: [ curiously can't find any actual reference stating that integer overflow is specifically results in undefined behavior, although it's obviously ill defined? Every operation that isn't defined is undefined. Only the operations that are

[Bug libstdc++/22109] [4.0 Regression] /home/dave/opt/gnu/bin/ld: BFD 2.16.91 20050612 internal error

2005-06-20 Thread hjl at lucon dot org
--- Additional Comments From hjl at lucon dot org 2005-06-20 06:23 --- It is a linker bug. I posted a patch for ia32/x86_64: http://sourceware.org/ml/binutils/2005-06/msg00500.html -- What|Removed |Added

[Bug libstdc++/22111] [4.0/4.1 Regression] libstdc++ abi_check

2005-06-20 Thread bkoz at gcc dot gnu dot org
--- Additional Comments From bkoz at gcc dot gnu dot org 2005-06-20 06:39 --- Ugh. Well, that's that way it used to work apparently now it's different. Here, this gets to the same place, and removes some misleading bits in the current configury. -benjamin --

[Bug libstdc++/22111] [4.0/4.1 Regression] libstdc++ abi_check

2005-06-20 Thread bkoz at gcc dot gnu dot org
--- Additional Comments From bkoz at gcc dot gnu dot org 2005-06-20 06:39 --- Ugh. Well, that's that way it used to work apparently now it's different. Here, this gets to the same place, and removes some misleading bits in the current configury. -benjamin --

[Bug libstdc++/22111] [4.0/4.1 Regression] libstdc++ abi_check

2005-06-20 Thread cvs-commit at gcc dot gnu dot org
--- Additional Comments From cvs-commit at gcc dot gnu dot org 2005-06-20 06:48 --- Subject: Bug 22111 CVSROOT:/cvs/gcc Module name:gcc Changes by: [EMAIL PROTECTED] 2005-06-20 06:48:28 Modified files: libstdc++-v3 : ChangeLog Makefile.in acinclude.m4

[Bug libstdc++/22109] [4.0 Regression] /home/dave/opt/gnu/bin/ld: BFD 2.16.91 20050612 internal error

2005-06-20 Thread bkoz at gcc dot gnu dot org
--- Additional Comments From bkoz at gcc dot gnu dot org 2005-06-20 07:04 --- We need a way to test for this in autoconf instead of just using a version number. Doing this seems hard. Can somebody smart figure it out while I'm sleeping? -benjamin --

[Bug fortran/18918] Eventually support the co-array f95 extension in gfortran

2005-06-20 Thread jblomqvi at cc dot hut dot fi
--- Additional Comments From jblomqvi at cc dot hut dot fi 2005-06-20 07:25 --- Apparently it has been decided that co-arrays will be included in the next revision of the Fortran standard. See http://www.nag.co.uk/sc22wg5/ and ftp://ftp.nag.co.uk/sc22wg5/N1601-N1650/N1639.txt

[Bug other/22126] New: gmake build failure ld: 0711-317 ERROR: Undefined symbol: ..libintl_gettext

2005-06-20 Thread dvoll01 at uniserv dot com
When trying to compile gcc3.4.3 I get the following error gmake[1]: Entering directory `/raid/tmp/gcc-3.4.3/gcc' gcc -g -O2 -DIN_GCC -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing- prototypes -pedantic -Wno-long-long-DHAVE_CONFIG_H -o cc1 \ c-parse.o c-lang.o

[Bug ada/15616] Compiler error on legal program using generic package

2005-06-20 Thread charlet at gcc dot gnu dot org
--- Additional Comments From charlet at gcc dot gnu dot org 2005-06-20 07:59 --- So the regression is fixed on mainline. Changing subject and keyword. Note that the ICE was apparently caused by a missing processing of the nested procedure, probably middle-end rather than front-end

[Bug ada/19385] ACATS c974012 fails at runtime on ppc-linux/darwin without ZCX

2005-06-20 Thread charlet at gcc dot gnu dot org
--- Additional Comments From charlet at gcc dot gnu dot org 2005-06-20 08:00 --- Since ZCX is now the default on darwin and linux, and since I doubt anyone will look at __builsetjmp/longjmp issues on GCC 4.x, I am closing this PR. -- What|Removed

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

2005-06-20 Thread dcb314 at hotmail dot com
--- Additional Comments From dcb314 at hotmail dot com 2005-06-20 08:10 --- I fiddled with the supplied patch, and got this --- expr.c.sav 2005-06-18 14:45:34.0 +0100 +++ expr.c 2005-06-19 11:19:02.0 +0100 @@ -5537,6 +5537,20 @@ tree low_bound = (domain

[Bug ada/19526] Windows errorcodes wrong in Ada when tasking

2005-06-20 Thread charlet at gcc dot gnu dot org
--- Additional Comments From charlet at gcc dot gnu dot org 2005-06-20 08:12 --- Closing, as discussed, it would be an undesirable performance hit to make changes in this area. Arno -- What|Removed |Added

[Bug rtl-optimization/21848] [4.1 Regression] load_mems / replace_loop_mems bug causes miscompilation of jcf-io.c / SEGV while processing java/lang/AbstractMethodError

2005-06-20 Thread amylaar at gcc dot gnu dot org
--- Additional Comments From amylaar at gcc dot gnu dot org 2005-06-20 08:48 --- (In reply to comment #2) This was fixed by reverting the patch which caused this. Which patch was this? -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21848

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

2005-06-20 Thread falk at debian dot org
--- Additional Comments From falk at debian dot org 2005-06-20 09:36 --- (In reply to comment #5) I fiddled with the supplied patch, and got this --- expr.c.sav2005-06-18 14:45:34.0 +0100 +++ expr.c2005-06-19 11:19:02.0 +0100 @@ -5537,6 +5537,20 @@

[Bug c++/22005] [4.1 Regression] ICE: SSA_NAME verification failure

2005-06-20 Thread Ralf dot Wildenhues at gmx dot de
--- Additional Comments From Ralf dot Wildenhues at gmx dot de 2005-06-20 09:38 --- Thanks a lot for fixing this so promptly. I can confirm that the code which triggered this compiles now and seems to be working fine again with CVS HEAD. (BTW, even with its share of bugs, CLN might be

[Bug libstdc++/21726] baseline_symbols.txt for powerpc64 missing

2005-06-20 Thread pcarlini at suse dot de
--- Additional Comments From pcarlini at suse dot de 2005-06-20 10:39 --- Up-to-date baselines are now both in 4_0-branch and mainline. -- What|Removed |Added

[Bug libstdc++/22111] [4.0/4.1 Regression] libstdc++ abi_check

2005-06-20 Thread themis_hv at yahoo dot co dot uk
--- Additional Comments From themis_hv at yahoo dot co dot uk 2005-06-20 10:56 --- The patch is ok, it removes the testsuite failure. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=22111

[Bug other/22126] gmake build failure ld: 0711-317 ERROR: Undefined symbol: ..libintl_gettext

2005-06-20 Thread pinskia at gcc dot gnu dot org
--- Additional Comments From pinskia at gcc dot gnu dot org 2005-06-20 12:04 --- the linking is picking up the wrong libintl. *** This bug has been marked as a duplicate of 12482 *** -- What|Removed |Added

[Bug bootstrap/12482] gcc 3.4 20030920 fails to build cc1 during second stage

2005-06-20 Thread pinskia at gcc dot gnu dot org
--- Additional Comments From pinskia at gcc dot gnu dot org 2005-06-20 12:04 --- *** Bug 22126 has been marked as a duplicate of this bug. *** -- What|Removed |Added

[Bug rtl-optimization/21848] [4.1 Regression] load_mems / replace_loop_mems bug causes miscompilation of jcf-io.c / SEGV while processing java/lang/AbstractMethodError

2005-06-20 Thread pinskia at gcc dot gnu dot org
--- Additional Comments From pinskia at gcc dot gnu dot org 2005-06-20 12:09 --- (In reply to comment #3) (In reply to comment #2) This was fixed by reverting the patch which caused this. Which patch was this? 2005-05-31 Pat Haugen [EMAIL PROTECTED] * loop.c

[Bug rtl-optimization/21848] [4.1 Regression] load_mems / replace_loop_mems bug causes miscompilation of jcf-io.c / SEGV while processing java/lang/AbstractMethodError

2005-06-20 Thread amylaar at gcc dot gnu dot org
--- Additional Comments From amylaar at gcc dot gnu dot org 2005-06-20 13:05 --- (In reply to comment #4) 2005-05-31 Pat Haugen [EMAIL PROTECTED] * loop.c (loop_invariant_p, valid_initial_value_p): Revert last change. The last change was: 2005-05-30 Pat Haugen

[Bug rtl-optimization/21848] [4.1 Regression] load_mems / replace_loop_mems bug causes miscompilation of jcf-io.c / SEGV while processing java/lang/AbstractMethodError

2005-06-20 Thread amylaar at gcc dot gnu dot org
--- Additional Comments From amylaar at gcc dot gnu dot org 2005-06-20 13:21 --- P.S.: I realize now that the code in gcc/java/jcf-io.c is no longer miscompiled for i686-pc-linux-gnu because the memory addresses contain stack pointer references, and the stack pointer is a fixed

[Bug libfortran/20970] gfortran - bus error -fdefault-integer-8

2005-06-20 Thread dir at lanl dot gov
--- Additional Comments From dir at lanl dot gov 2005-06-20 13:33 --- My example no longer crashes on powerpc-apple-darwin7.9.0 -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20970

[Bug libstdc++/22109] [4.0 Regression] /home/dave/opt/gnu/bin/ld: BFD 2.16.91 20050612 internal error

2005-06-20 Thread hjl at lucon dot org
--- Additional Comments From hjl at lucon dot org 2005-06-20 13:40 --- I checked in the linker patch to fix it. -- What|Removed |Added Status|NEW

[Bug libfortran/20970] gfortran - bus error -fdefault-integer-8

2005-06-20 Thread dir at lanl dot gov
--- Additional Comments From dir at lanl dot gov 2005-06-20 13:46 --- PR21083 ,also, works Ok on the powerpc-darwin. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20970

[Bug middle-end/22028] [4.0/4.1 Regression] ICE after invalid struct declaration

2005-06-20 Thread pinskia at gcc dot gnu dot org
--- Additional Comments From pinskia at gcc dot gnu dot org 2005-06-20 14:46 --- Patch here: http://gcc.gnu.org/ml/gcc-patches/2005-06/msg01667.html. -- What|Removed |Added

[Bug AWT/21978] GCC 4.0 Awt and Swing problem

2005-06-20 Thread abilalh at yahoo dot com
--- Additional Comments From abilalh at yahoo dot com 2005-06-20 14:52 --- (In reply to comment #7) I think you're trying to configure and compile GCC in the source folder. Unfortunately, this is not yet supported. Try creating a new folder totally outside of the GCC source tree

[Bug target/22006] New IRIX 6.5 testsuite failures with gas: .space repeat count is zero, ignored

2005-06-20 Thread ro at techfak dot uni-bielefeld dot de
--- Additional Comments From ro at techfak dot uni-bielefeld dot de 2005-06-20 15:18 --- Subject: Re: New IRIX 6.5 testsuite failures with gas: .space repeat count is zero, ignored echristo at redhat dot com writes: Did you happen to catch where the .space 0 were being emitted

Re: Someone introduced a libiberty crashing bug in the past week

2005-06-20 Thread Andrew Pinski
On Jun 20, 2005, at 11:39 AM, Daniel Berlin wrote: This is blocking me fixing the structure aliasing regressions. This was caused by: 2005-06-15 Joseph S. Myers [EMAIL PROTECTED] * c-tree.h (default_function_array_conversion): Declare. * c-typeck.c

Re: Someone introduced a libiberty crashing bug in the past week

2005-06-20 Thread Andrew Pinski
On Jun 20, 2005, at 11:39 AM, Daniel Berlin wrote: This is new, i assume. This is blocking me fixing the structure aliasing regressions. I've attached pex-unix.i. Compile with -pendantic to see the crash. Here is a reduced testcase: typedef union { union wait *__uptr; int

Re: Someone introduced a libiberty crashing bug in the past week

2005-06-20 Thread Joseph S. Myers
On Mon, 20 Jun 2005, Daniel Berlin wrote: The crash line is 3729 if (pedantic !DECL_IN_SYSTEM_HEADER (fundecl)) Here, fundecl is null. Any problem with fundecl being null should also be reproducible with a call through a function pointer where fundecl would never have been

[Bug libgcj/18266] SIGSEGV in GC_register_finalizer_inner ()

2005-06-20 Thread ovidr at users dot sourceforge dot net
--- Additional Comments From ovidr at users dot sourceforge dot net 2005-06-20 16:25 --- I've tried to create a testcase but can't seem to get a crash or infinite loop lockup. Anyway, I think I understand conceptually what must be done, but in practice I'm still unsure of how to go

[Bug c/22127] New: SPARC register window is not preserved after getcontext call

2005-06-20 Thread akr at m17n dot org
I found that following program loops infinitely on SPARC if it is optimized. % uname -a SunOS mule 5.8 Generic_108528-29 sun4u sparc SUNW,Ultra-80 % cat tst.i typedef unsigned int size_t; extern int printf(const char *, ...); typedef unsigned char uint8_t; typedef unsigned int uint32_t; typedef

[Bug target/22127] SPARC register window is not preserved after getcontext call

2005-06-20 Thread pinskia at gcc dot gnu dot org
-- What|Removed |Added Component|c |target http://gcc.gnu.org/bugzilla/show_bug.cgi?id=22127

[Bug middle-end/21957] IA-64 register stack is not preserved after getcontext call

2005-06-20 Thread pinskia at gcc dot gnu dot org
--- Additional Comments From pinskia at gcc dot gnu dot org 2005-06-20 17:04 --- Hmm, why do you think getcontext should return twice? It does not, GCC is emmitting correct asm for a normal function, why should getcontext be different? --

[Bug target/22127] SPARC register window is not preserved after getcontext call

2005-06-20 Thread pinskia at gcc dot gnu dot org
--- Additional Comments From pinskia at gcc dot gnu dot org 2005-06-20 17:05 --- GCC is emmitting correct asm for a normal function, why should getcontext be different? -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=22127

Re: Someone introduced a libiberty crashing bug in the past week

2005-06-20 Thread Daniel Berlin
On Mon, 2005-06-20 at 16:05 +, Joseph S. Myers wrote: On Mon, 20 Jun 2005, Daniel Berlin wrote: The crash line is 3729 if (pedantic !DECL_IN_SYSTEM_HEADER (fundecl)) Here, fundecl is null. Any problem with fundecl being null should also be reproducible with a

[Bug c/22127] SPARC register window is not preserved after getcontext call

2005-06-20 Thread akr at m17n dot org
--- Additional Comments From akr at m17n dot org 2005-06-20 17:22 --- It's because getcontext is similar to setjmp. Since setjmp/getcontext doesn't save registers in register window, modifications to the registers between first setjmp/getcontext return and longjmp/setcontext call is

[Bug middle-end/22127] SPARC register window is not preserved after getcontext call

2005-06-20 Thread pinskia at gcc dot gnu dot org
--- Additional Comments From pinskia at gcc dot gnu dot org 2005-06-20 17:27 --- Does this work correctly with say Sun's compiler? -- What|Removed |Added

[Bug c/22127] [3.4/4.0/4.1 Regression] register window not preserved after getcontext call

2005-06-20 Thread ebotcazou at gcc dot gnu dot org
--- Additional Comments From ebotcazou at gcc dot gnu dot org 2005-06-20 17:31 --- Confirmed. This happens to work with 2.95.3 so we have a regression. -- What|Removed |Added

[Bug c/22127] [3.4/4.0/4.1 Regression] register window not preserved after getcontext call

2005-06-20 Thread ebotcazou at gcc dot gnu dot org
--- Additional Comments From ebotcazou at gcc dot gnu dot org 2005-06-20 17:32 --- Does this work correctly with say Sun's compiler? Yes it does. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=22127

[Bug c/22127] [3.4/4.0/4.1 Regression] register window not preserved after getcontext call

2005-06-20 Thread akr at m17n dot org
--- Additional Comments From akr at m17n dot org 2005-06-20 17:36 --- Although I have no Sun's Compiler, I found some pragmas about header file in SunOS: #pragma unknown_control_flow(setjmp) #pragma unknown_control_flow(_setjmp) #pragma unknown_control_flow(sigsetjmp) #pragma

[Bug middle-end/22127] [3.4/4.0/4.1 Regression] register window not preserved after getcontext call

2005-06-20 Thread pinskia at gcc dot gnu dot org
--- Additional Comments From pinskia at gcc dot gnu dot org 2005-06-20 17:36 --- This is not a front-end bug. But I still think it accidentally worked in 2.95.3 or any compiler really because why do we have to treat function special. -- What|Removed

[Bug target/22077] [4.0/4.1 Regression] vec_all_eq does not produce good result

2005-06-20 Thread pinskia at gcc dot gnu dot org
--- Additional Comments From pinskia at gcc dot gnu dot org 2005-06-20 17:43 --- Patch posted here: http://gcc.gnu.org/ml/gcc-patches/2005-06/msg01685.html. -- What|Removed |Added

[Bug middle-end/22127] [3.4/4.0/4.1 Regression] register window not preserved after getcontext call

2005-06-20 Thread ebotcazou at gcc dot gnu dot org
--- Additional Comments From ebotcazou at gcc dot gnu dot org 2005-06-20 17:46 --- This is not a front-end bug. I disagree, the front-end should automatically recognize the function. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=22127

  1   2   >