Re: gcc 3.4.4 bug

2005-07-25 Thread Danny Smith
> I have found an apparent bug in gcc 3.4.4 under Cygwin. The attached test > case (and the code > it's derived from) works as expected with Cygwin gcc 3.3.3 with the exact > same Cygwin install > except the compiler packages. It also works fine with various versions of gcc > on other > platform

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

2005-07-25 Thread schwab at suse dot de
--- Additional Comments From schwab at suse dot de 2005-07-25 21:37 --- I have not been able to reproduce it with a cross compiler (neither on a ppc nor ia64 host). I also tried with --param ggc-min-expand=0 --param ggc-min-heapsize=0. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?i

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

2005-07-25 Thread pinskia at gcc dot gnu dot org
--- Additional Comments From pinskia at gcc dot gnu dot org 2005-07-25 21:38 --- (In reply to comment #1) > I have not been able to reproduce it with a cross compiler (neither on a ppc > nor ia64 host). I also tried with --param ggc-min-expand=0 --param > ggc-min-heapsize=0. That mi

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

2005-07-25 Thread pinskia at gcc dot gnu dot org
--- Additional Comments From pinskia at gcc dot gnu dot org 2005-07-25 21:41 --- You might want to try delta: http://www.cs.berkeley.edu/~dsw/ I use the following script with delta to reduce stuff like this: #!/usr/bin/python # Using delta debugging on GCC input #import psyco #from psyc

[Bug fortran/23065] MAXPATHLEN usage in fortran/{scanner,module}.c

2005-07-25 Thread kargl at gcc dot gnu dot org
--- Additional Comments From kargl at gcc dot gnu dot org 2005-07-25 21:41 --- So, GNU does not follow IEEE Std 1003.1, 2004? gfortran.h contains #include #ifndef PATH_MAX /* This is defined in a IEEE Std 1003.1, 2004 */ # include # define PATH_MAX MAXPATHLEN #endif -

[Bug c++/21232] [3.4 Regression] g++ segfaults

2005-07-25 Thread giovannibajo at libero dot it
--- Additional Comments From giovannibajo at libero dot it 2005-07-25 21:43 --- Works for me too on today's 3.4 branch. No feedback in 3 months. -- What|Removed |Added

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

2005-07-25 Thread doko at cs dot tu-berlin dot de
--- Additional Comments From doko at cs dot tu-berlin dot de 2005-07-25 22:07 --- Subject: Re: [4.1 regression] [m68k-linux] bootstrap error on m68k-linux pinskia at gcc dot gnu dot org writes: > > --- Additional Comments From pinskia at gcc dot gnu dot org 2005-07-25 > 21:38 --

[Bug tree-optimization/23059] [4.1 Regression] ICE: verify_ssa failed with -O3 -ftree-vectorize -Woverloaded-virtual

2005-07-25 Thread pinskia at gcc dot gnu dot org
--- Additional Comments From pinskia at gcc dot gnu dot org 2005-07-25 22:14 --- Reducing. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23059

[Bug c++/17655] [3.4 regression] ICE with using a C99 initializer in an if-condition

2005-07-25 Thread giovannibajo at libero dot it
--- Additional Comments From giovannibajo at libero dot it 2005-07-25 22:17 --- Downgrading to normal. This is a bug in a C++ extension (borrowed from C99) which has been broken since 3.0. The bug appears to be in the FINISH_COND macro which does not seem ready to handle the additiona

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

2005-07-25 Thread schwab at suse dot de
--- Additional Comments From schwab at suse dot de 2005-07-25 22:29 --- I'm starting a new bootstrap with this change: occr = (struct unoccr *) obstack_alloc (&unoccr_obstack, - sizeof (struct occr)); +

[Bug other/23066] New: [missed-optimization] loading a word from an unknown alignment.

2005-07-25 Thread pluto at agmk dot net
the simplest way (from C-lang) to load a word from unknown alignment is: typedef struct { unsigned value __attribute__((packed)); } unaligned_uint; unsigned load(const unaligned_uint* ptr) { return ptr->value; } load_little_endian: // cycle times ldrbr3, [r0,

[Bug other/23066] [missed-optimization] loading a word from an unknown alignment.

2005-07-25 Thread pluto at agmk dot net
-- What|Removed |Added Severity|normal |enhancement http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23066

[Bug target/23066] loading a word from an unknown alignment.

2005-07-25 Thread pinskia at gcc dot gnu dot org
-- What|Removed |Added Component|other |target GCC build triplet|* | GCC host triplet|* | GCC

[Bug libstdc++/23053] Const-correctness issue in TR1 hashtable

2005-07-25 Thread cvs-commit at gcc dot gnu dot org
--- Additional Comments From cvs-commit at gcc dot gnu dot org 2005-07-25 22:46 --- Subject: Bug 23053 CVSROOT:/cvs/gcc Module name:gcc Changes by: [EMAIL PROTECTED] 2005-07-25 22:46:48 Modified files: libstdc++-v3 : ChangeLog libstdc++-v3/inclu

[Bug middle-end/22626] [4.1 Regression] ICE with optimization turned on while trying to exand complex multiply

2005-07-25 Thread cvs-commit at gcc dot gnu dot org
--- Additional Comments From cvs-commit at gcc dot gnu dot org 2005-07-25 23:04 --- Subject: Bug 22626 CVSROOT:/cvs/gcc Module name:gcc Changes by: [EMAIL PROTECTED] 2005-07-25 23:04:33 Modified files: gcc: ChangeLog Makefile.in tree-complex.c

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

2005-07-25 Thread cvs-commit at gcc dot gnu dot org
--- Additional Comments From cvs-commit at gcc dot gnu dot org 2005-07-25 23:22 --- Subject: Bug 23043 CVSROOT:/cvs/gcc Module name:gcc Changes by: [EMAIL PROTECTED] 2005-07-25 23:22:07 Modified files: gcc: ChangeLog postreload-gcse.c Log mes

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

2005-07-25 Thread schwab at suse dot de
--- Additional Comments From schwab at suse dot de 2005-07-25 23:22 --- Fixed. -- What|Removed |Added Status|ASSIGNED|RESOLVED Resol

[Bug tree-optimization/22504] [4.1 Regression] benchmark - galgel fails at runtime with miscompare output

2005-07-25 Thread steven at gcc dot gnu dot org
--- Additional Comments From steven at gcc dot gnu dot org 2005-07-26 00:30 --- This is miscompiled: SUBROUTINE foo (A, B) IMPLICIT NONE COMPLEX*16 A, Im1 REAL*8 B Im1 = Dcmplx(0.D0, 1.D0) A = A + Im1 * B RETURN

[Bug middle-end/22626] [4.1 Regression] ICE with optimization turned on while trying to exand complex multiply

2005-07-25 Thread pinskia at gcc dot gnu dot org
--- Additional Comments From pinskia at gcc dot gnu dot org 2005-07-26 00:40 --- Fixed. -- What|Removed |Added Status|ASSIGNED|RESOLVED

[Bug c/23067] New: Incorrect struct layout on darwin

2005-07-25 Thread sabre at nondot dot org
The Darwin ABI specifies that this struct should be 12 bytes in size and have 4-byte alignment. Current mainline gives it 8-byte alignment and 16-byte size. struct ULL { int X; long long Y; }; ULL *ULLSize(ULL *ARG, int *P) { *P = sizeof(ULL); return ARG+1; } In general, the special cases in

[Bug target/23067] Incorrect struct layout on darwin

2005-07-25 Thread pinskia at gcc dot gnu dot org
--- Additional Comments From pinskia at gcc dot gnu dot org 2005-07-26 02:07 --- I don't think the ABI says this. I think it only mentions double. -- What|Removed |Added

[Bug target/23067] Incorrect struct layout on darwin

2005-07-25 Thread pinskia at gcc dot gnu dot org
--- Additional Comments From pinskia at gcc dot gnu dot org 2005-07-26 02:15 --- Not a regression in FSF's gcc. -- What|Removed |Added Keywords|

[Bug target/23067] Incorrect struct layout on darwin

2005-07-25 Thread pinskia at gcc dot gnu dot org
--- Additional Comments From pinskia at gcc dot gnu dot org 2005-07-26 02:27 --- FSF's gcc has always got this wrong. Apple's 3.3 gcc got this right. I don't know what is correct or not. -- What|Removed |Added --

[Bug target/23067] Incorrect struct layout on darwin

2005-07-25 Thread pinskia at gcc dot gnu dot org
--- Additional Comments From pinskia at gcc dot gnu dot org 2005-07-26 02:29 --- The ABI is here: http://developer.apple.com/documentation/DeveloperTools/Conceptual/PowerPCRuntime/Data/ chapter_2_section_3.html#//apple_ref/doc/uid/TP40001520-CH210-BCIFEEFG -- http://gcc.gnu.org/bugzi

[Bug target/23067] Incorrect struct layout on darwin

2005-07-25 Thread pinskia at gcc dot gnu dot org
--- Additional Comments From pinskia at gcc dot gnu dot org 2005-07-26 02:32 --- The comment in darwin.h seems to contradict what is here: /* Darwin word-aligns FP doubles but doubleword-aligns 64-bit ints. */ /* Darwin increases natural record alignment to doubleword if the first fi

[Bug target/23067] Incorrect struct layout on darwin

2005-07-25 Thread pinskia at gcc dot gnu dot org
--- Additional Comments From pinskia at gcc dot gnu dot org 2005-07-26 02:36 --- Looks like the ABI in darwin.h is just a copy of the one in aix.h which might mean this was on purpose and Apple's GCC is wrong. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23067

[Bug target/23067] Incorrect struct layout on darwin

2005-07-25 Thread geoffk at gcc dot gnu dot org
--- Additional Comments From geoffk at gcc dot gnu dot org 2005-07-26 03:17 --- Doesn't matter if the printed docs differ; Apple's GCC sets the ABI for Darwin. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23067

[Bug target/15642] NAN Is Not a Constant Because __APPLE_CC__ is Not Defined (OK in Apple 3.3.0)

2005-07-25 Thread pinskia at gcc dot gnu dot org
--- Additional Comments From pinskia at gcc dot gnu dot org 2005-07-26 03:26 --- I will take of this soon. -- What|Removed |Added AssignedTo|unassigned at gcc dot gn

[Bug debug/20161] [4.0/4.1 Regression] ICE with dwarf for incomplete element type argument

2005-07-25 Thread flash at pobox dot com
--- Additional Comments From flash at pobox dot com 2005-07-26 04:09 --- PalmSource bug 105106. Happens on code which is supposedly valid, but I haven't verified that. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20161

[Bug target/16719] [ColdFire] Illegal move of byte itno address register causes compiler to ICE

2005-07-25 Thread cvs-commit at gcc dot gnu dot org
--- Additional Comments From cvs-commit at gcc dot gnu dot org 2005-07-26 04:40 --- Subject: Bug 16719 CVSROOT:/cvs/gcc Module name:gcc Branch: gcc-4_0-branch Changes by: [EMAIL PROTECTED] 2005-07-26 04:40:44 Modified files: gcc: Change

[Bug target/18421] ICE in reload_cse_simplify_operands, at postreload.c:391

2005-07-25 Thread cvs-commit at gcc dot gnu dot org
--- Additional Comments From cvs-commit at gcc dot gnu dot org 2005-07-26 04:40 --- Subject: Bug 18421 CVSROOT:/cvs/gcc Module name:gcc Branch: gcc-4_0-branch Changes by: [EMAIL PROTECTED] 2005-07-26 04:40:44 Modified files: gcc: Change

[Bug target/23067] Incorrect struct layout on darwin

2005-07-25 Thread sabre at nondot dot org
--- Additional Comments From sabre at nondot dot org 2005-07-26 04:49 --- The ABI clearly states that the maximum alignment for non-initial structure elements is 32-bits. -Chris -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23067

[Bug c/23068] New: errors in comparison operator < for char

2005-07-25 Thread Jean-pierre dot vial at wanadoo dot fr
The < operator returns 1 for comparison of char (or unsigned char) when it should return 0. The <= operator does not show this bug. gcc-4.1 snapshots 20050604 and latest 20050723 compiled and used on i686-pc-linux (Suse 8.1) Here is a (very small) test source. ***

[Bug tree-optimization/23068] [4.1 Regression] errors in comparison operator < for char

2005-07-25 Thread pinskia at gcc dot gnu dot org
--- Additional Comments From pinskia at gcc dot gnu dot org 2005-07-26 05:33 --- I cannot reproduce it on 20050725. What options are you using to create the executable. I tried with -O0, -O1, -O2, and -O3 and no success. -- What|Removed |Added

[Bug tree-optimization/23068] [4.1 Regression] errors in comparison operator < for char

2005-07-25 Thread pinskia at gcc dot gnu dot org
--- Additional Comments From pinskia at gcc dot gnu dot org 2005-07-26 05:33 --- I mean no success at getting the failures you get. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23068

[Bug libmudflap/20003] libmudflap.cth

2005-07-25 Thread gschafer at zip dot com dot au
--- Additional Comments From gschafer at zip dot com dot au 2005-07-26 06:07 --- (In reply to comment #1) > Fixed at least in 4.0.1. No it's not. Please see these results for example (all from different folks): http://gcc.gnu.org/ml/gcc-testresults/2005-07/msg01370.html http://gcc.gnu.

[Bug libmudflap/23069] New: libmudflap.cth timeouts too short

2005-07-25 Thread gschafer at zip dot com dot au
In these files: libmudflap/testsuite/libmudflap.cth/pass3{7,9}-frag.c the timeout is overridden to 3 seconds. This is way too short if for example running the testsuite with -j3 on an SMP box. It results in many timeouts as per these examples: http://gcc.gnu.org/ml/gcc-testresults/2005-07/msg011

[Bug c/23070] New: CALL_V4_CLEAR_FP_ARGS flag not properly set

2005-07-25 Thread tong_ho at yahoo dot com
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(a, 0); } void test2(const c

[Bug tree-optimization/23068] [4.1 Regression] errors in comparison operator < for char

2005-07-25 Thread Jean-pierre dot vial at wanadoo dot fr
--- Additional Comments From Jean-pierre dot vial at wanadoo dot fr 2005-07-26 06:36 --- (In reply to comment #1) > I cannot reproduce it on 20050725. What options are you using to create the executable. > > I tried with -O0, -O1, -O2, and -O3 and no success. no bug with -

[Bug target/23071] New: Darwin alignment ignores "attribute packed" for first 'double' element of a struct

2005-07-25 Thread sabre at nondot dot org
Darwin ignores the alignment/packed attributes on this structure, forcing the structure to have 8-byte alignment and 16-byte size: --- struct Test { double D __attribute__((packed,aligned(4))); short X; }; --- Ian Lance Taylor did a great analysis of the history of this, tracking it back to a

<    1   2