[Bug middle-end/23463] [4.1 Regression] va-arg-22.c execution fails

2005-08-26 Thread amodra at bigpond dot net dot au
--- Additional Comments From amodra at bigpond dot net dot au 2005-08-27 06:18 --- bootstrapped and regression tested powerpc-linux, all languages except ada. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23463

[Bug preprocessor/20348] [4.0/4.1 Regression] File not included when file with same name is included before

2005-08-26 Thread neil at daikokuya dot co dot uk
--- Additional Comments From neil at daikokuya dot co dot uk 2005-08-27 05:44 --- Subject: Re: [4.0/4.1 Regression] File not included when file with same name is included before jakub at gcc dot gnu dot org wrote:- > > --- Additional Comments From jakub at gcc dot gnu dot org 2

Re: [Bug preprocessor/20348] [4.0/4.1 Regression] File not included when file with same name is included before

2005-08-26 Thread Neil Booth
jakub at gcc dot gnu dot org wrote:- > > --- Additional Comments From jakub at gcc dot gnu dot org 2005-08-26 > 15:57 --- > This got broken by the libcpp/files.c part of > http://gcc.gnu.org/ml/gcc-patches/2004-06/msg00272.html > My understanding of the change was that this was just a p

[Bug target/23589] internal compiler error: in rest_of_handle_final, at toplev.c:2067

2005-08-26 Thread dannysmith at users dot sourceforge dot net
--- Additional Comments From dannysmith at users dot sourceforge dot net 2005-08-27 04:44 --- Thisis a dllimport bug. In this case the template member template Point::Point(pointIterator ptStart, pointIterator ptStop) is being marked as dllimport. Later it is instantiated and the defin

[Bug libstdc++/23591] New: exceptions in plugins in threads cause segmentation violation by leaving bad exit handler for the pthread

2005-08-26 Thread gcc-bugzilla at gcc dot gnu dot org
libstdc++ registers some handlers with pthreads in conjunction with throw statements. Those handlers are not properly removed when libstdc++ is unloaded, causing pthread_join to jump to a bad address. gcc -ldl -lpthread main.c -o main g++ -shared -lstdc++ -lc -lm plug.cc \ -o plug.so ./main In p

[Bug tree-optimization/13761] [tree-ssa] component refs to the same struct should not alias

2005-08-26 Thread pinskia at gcc dot gnu dot org
-- What|Removed |Added Status|REOPENED|ASSIGNED http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13761

[Bug target/23589] internal compiler error: in rest_of_handle_final, at toplev.c:2067

2005-08-26 Thread pinskia at gcc dot gnu dot org
--- Additional Comments From pinskia at gcc dot gnu dot org 2005-08-27 03:37 --- *** Bug 23590 has been marked as a duplicate of this bug. *** -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23589

[Bug c++/23590] internal compiler error: in rest_of_handle_final, at toplev.c:2067

2005-08-26 Thread pinskia at gcc dot gnu dot org
--- Additional Comments From pinskia at gcc dot gnu dot org 2005-08-27 03:37 --- *** This bug has been marked as a duplicate of 23589 *** -- What|Removed |Added

[Bug c++/23590] New: internal compiler error: in rest_of_handle_final, at toplev.c:2067

2005-08-26 Thread gregc at cgl dot ucsf dot edu
This code works with the previous cygwin compiler that was based on gcc 3.3.3. Thank you for looking at this. "gcc -v" gives: Reading specs from /usr/lib/gcc/i686-pc-cygwin/3.4.4/specs Configured with: /gcc/gcc-3.4.4/gcc-3.4.4-1/configure --verbose --prefix=/usr --exec-prefix=/usr --sysconfdir=/e

[Bug tree-optimization/23584] [4.1 Regression] ipa-pure-const pass ignores dereferencing a volatile pointer type

2005-08-26 Thread pinskia at gcc dot gnu dot org
--- Additional Comments From pinskia at gcc dot gnu dot org 2005-08-27 03:35 --- Fixed. -- What|Removed |Added Status|NEW |RESOLVED

[Bug target/23589] internal compiler error: in rest_of_handle_final, at toplev.c:2067

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

[Bug target/23589] internal compiler error: in rest_of_handle_final, at toplev.c:2067

2005-08-26 Thread pinskia at gcc dot gnu dot org
-- What|Removed |Added Component|c++ |target Keywords||ice-on-valid-code http://gcc.gnu.org/bugzilla/show_bug

[Bug c++/23589] New: internal compiler error: in rest_of_handle_final, at toplev.c:2067

2005-08-26 Thread gregc at cgl dot ucsf dot edu
This code works with the previous cygwin compiler that was based on gcc 3.3.3. Thank you for looking at this. "gcc -v" gives: Reading specs from /usr/lib/gcc/i686-pc-cygwin/3.4.4/specs Configured with: /gcc/gcc-3.4.4/gcc-3.4.4-1/configure --verbose --prefix=/usr --exec-prefix=/usr --sysconfdir=/e

[Bug tree-optimization/23588] CCP not fully propagating constants

2005-08-26 Thread pinskia at gcc dot gnu dot org
--- Additional Comments From pinskia at gcc dot gnu dot org 2005-08-27 03:31 --- Confirmed. The same thing happens with s/-1/0/ s/|/&/ . -- What|Removed |Added

[Bug tree-optimization/23588] New: CCP not fully propagating constants

2005-08-26 Thread dberlin at gcc dot gnu dot org
Consider int main(int a, int b, int c, int d) { d = -1; int e = (a | b) | (c | d); int f = (c | a) | (b | d); return e | f; } Because d == -1, the whole thing folds to return -1; CCP doesn't do this however. It takes: # BLOCK 0 # PRED: ENTRY (fallthru) d_1 = -1; D.1285_4 = a_2 | b_

[Bug c/23587] Missing "warning: comparison is always false due to limited range of data type"

2005-08-26 Thread pinskia at gcc dot gnu dot org
-- What|Removed |Added Known to fail||2.95.3 3.2.3 3.4.0 4.0.0 ||4.1.0 Known to work|2.95.3 3.2.3

[Bug c/23587] Missing "warning: comparison is always false due to limited range of data type"

2005-08-26 Thread pinskia at gcc dot gnu dot org
-- What|Removed |Added Component|c++ |c Keywords||diagnostic Known to work||2

[Bug c++/23587] New: Missing "warning: comparison is always false due to limited range of data type"

2005-08-26 Thread v dot haisman at sh dot cvut dot cz
The following test warns about the comparison being always true only for two of the six tests: #include void a (unsigned char x) { if (x < 0) abort (); } void b (unsigned short x) { if (x < 0) abort (); } void c (unsigned int x) { if (x < 0) abort (); } void d (unsigned lon

[Bug target/23539] C & C++ compiler generating misaligned references regardless of compiler flags

2005-08-26 Thread dje at gcc dot gnu dot org
--- Additional Comments From dje at gcc dot gnu dot org 2005-08-26 23:55 --- rs6000.c:expand_block_move() is losing the alignment because of a typo/thinko in the decision tree. -- What|Removed |Added ---

[Bug target/23539] C & C++ compiler generating misaligned references regardless of compiler flags

2005-08-26 Thread dje at gcc dot gnu dot org
--- Additional Comments From dje at gcc dot gnu dot org 2005-08-26 23:55 --- Confirmed. -- What|Removed |Added Status|UNCONFIRMED |NEW Ever

[Bug tree-optimization/23584] [4.1 Regression] ipa-pure-const pass ignores dereferencing a volatile pointer type

2005-08-26 Thread cvs-commit at gcc dot gnu dot org
--- Additional Comments From cvs-commit at gcc dot gnu dot org 2005-08-26 22:42 --- Subject: Bug 23584 CVSROOT:/cvs/gcc Module name:gcc Changes by: [EMAIL PROTECTED] 2005-08-26 22:42:45 Modified files: gcc: ChangeLog ipa-pure-const.c Log mess

[Bug other/23581] Build failure on MINGW for gcc-4.1-20050819

2005-08-26 Thread dcorbit at connx dot com
--- Additional Comments From dcorbit at connx dot com 2005-08-26 22:37 --- Subject: RE: Build failure on MINGW for gcc-4.1-20050819 > -Original Message- > From: pinskia at gcc dot gnu dot org [mailto:[EMAIL PROTECTED] > Sent: Friday, August 26, 2005 12:56 PM > To: Dann Corbit

[Bug c++/23586] [3.4/4.0/4.1 regression] Bad diagnostic for invalid namespace-name

2005-08-26 Thread pinskia at gcc dot gnu dot org
--- Additional Comments From pinskia at gcc dot gnu dot org 2005-08-26 22:20 --- Confirmed. -- What|Removed |Added Severity|normal |minor

[Bug c++/23586] [3.4/4.0/4.1 regression] Bad diagnostic for invalid namespace-name

2005-08-26 Thread reichelt at gcc dot gnu dot org
--- Additional Comments From reichelt at gcc dot gnu dot org 2005-08-26 22:21 --- Btw, the problem is related to PR13377. The problem there is twofold: The compiler fails to report which name is not a namespace-name (N2) and why (because it's ambiguous). The patch would only fix the fir

[Bug c++/23586] New: [3.4/4.0/4.1 regression] Bad diagnostic for invalid namespace-name

2005-08-26 Thread reichelt at gcc dot gnu dot org
For an invalid code snippet like int i; namespace N = i; we issue the error message bug.cc:2: error: expected namespace-name before ';' token bug.cc:2: error: unknown namespace '' with the not very helpful ''. The situation for the code snippet int i; using namespace i; is simila

[Bug rtl-optimization/23560] [4.0 Regression] Strength-reduction breaking unsigned COMPARE

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

[Bug c++/23585] mem_fun* code fine with -O1, bus error with -O2

2005-08-26 Thread pinskia at gcc dot gnu dot org
--- Additional Comments From pinskia at gcc dot gnu dot org 2005-08-26 22:14 --- I think this has already been fixed in 4.0.2 but I have not tested it. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23585

[Bug c++/23585] New: mem_fun* code fine with -O1, bus error with -O2

2005-08-26 Thread matti dot rintala at iki dot fi
The following code (definitions of mem_fun* taken from ) works fine when compiled with -O1, but causes a bus error crash when compiled with -O2. // Templates taken from template class const_mem_fun_t { public: explicit const_mem_fun_t(_Ret (_Tp::*__pf)() const) : _M_

[Bug tree-optimization/23584] [4.1 Regression] ipa-pure-const pass ignores dereferencing a volatile pointer type

2005-08-26 Thread pinskia at gcc dot gnu dot org
--- Additional Comments From pinskia at gcc dot gnu dot org 2005-08-26 22:09 --- Oh, you already posted a patch: http://gcc.gnu.org/ml/gcc-patches/2005-08/msg01598.html -- What|Removed |Added ---

[Bug tree-optimization/23584] [4.1 Regression] ipa-pure-const pass ignores dereferencing a volatile pointer type

2005-08-26 Thread pinskia at gcc dot gnu dot org
--- Additional Comments From pinskia at gcc dot gnu dot org 2005-08-26 22:06 --- Testcase which shows we eliminate the function call: int test (void) { return * (volatile int *) 0x1234; } int f(void) { return test()+test(); } -- What|Removed

[Bug tree-optimization/23584] [4.1 Regression] ipa-pure-const pass ignores dereferencing a volatile pointer type

2005-08-26 Thread pinskia at gcc dot gnu dot org
--- Additional Comments From pinskia at gcc dot gnu dot org 2005-08-26 22:03 --- hmm, pure functions can read. I think Can fix this quickly. -- What|Removed |Added

[Bug rtl-optimization/23561] nonoverlapping_memrefs_p returns true even for overlapping memory references

2005-08-26 Thread cvs-commit at gcc dot gnu dot org
/testsuite : ChangeLog Added files: gcc/testsuite/gcc.c-torture/execute: 20050826-1.c Log message: PR rtl-optimization/23561 * builtins.c (get_memory_rtx): Add LEN argument. If MEM_EXPR is a COMPONENT_REF, remove all COMPONENT_REF from MEM_EXPR unless at

[Bug middle-end/23584] New: ipa-pure-const pass ignores dereferencing a volatile pointer type

2005-08-26 Thread jconner at apple dot com
A function that dereferences an absolute address in memory, e.g.: int test (void) { return * (volatile int *) 0x1234; } Is incorrectly identified by the ipa-pure-const pass as being pure, resulting in invalid optimizations being performed. This can be seen in the ipa-pure-const dump

[Bug rtl-optimization/23560] [4.0 Regression] Strength-reduction breaking unsigned COMPARE

2005-08-26 Thread cvs-commit at gcc dot gnu dot org
/testsuite/gcc.c-torture/execute: 20050826-2.c Log message: PR rtl-opt/23560 * gcc.c-torture/execute/20050826-2.c: New test. Patches: http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/ChangeLog.diff?cvsroot=gcc&r1=1.5967&r2=1.5968 http://gcc.gnu.org/cgi-bin/cvsweb.cgi

[Bug rtl-optimization/23560] [4.0 Regression] Strength-reduction breaking unsigned COMPARE

2005-08-26 Thread cvs-commit at gcc dot gnu dot org
--- Additional Comments From cvs-commit at gcc dot gnu dot org 2005-08-26 21:57 --- Subject: Bug 23560 CVSROOT:/cvs/gcc Module name:gcc Changes by: [EMAIL PROTECTED] 2005-08-26 21:57:28 Modified files: gcc: ChangeLog loop.c Log message:

[Bug target/23582] Simple code segfaults on itanium

2005-08-26 Thread rfurmani at uwaterloo dot ca
--- Additional Comments From rfurmani at uwaterloo dot ca 2005-08-26 21:29 --- Subject: Re: Simple code segfaults on itanium I know it is not a good version, and we are trying to get the admin to upgrade it, but until then this is all I have access to. I still wanted to post it to s

[Bug ada/23583] New: invalid implemenation of Ada Monotonic_Clock

2005-08-26 Thread Stanley dot Harmon at Sperry dot NGC dot com
The Ada Reference Manual states in D.8 Monotonic Time: "(32) A clock jump is the difference between two successive distinct values of the clock (as observed by calling the Clock function). There shall be no backward clock jumps." The "clock" referenced above is the "Clock" function in "Ada.Real_T

[Bug libstdc++/21955] std::stringbuf vs. in_avail

2005-08-26 Thread bkoz at gcc dot gnu dot org
--- Additional Comments From bkoz at gcc dot gnu dot org 2005-08-26 21:20 --- Fixed in 4.0.2 -- What|Removed |Added Status|ASSIGNED|RESOLVE

[Bug libstdc++/21955] std::stringbuf vs. in_avail

2005-08-26 Thread cvs-commit at gcc dot gnu dot org
--- Additional Comments From cvs-commit at gcc dot gnu dot org 2005-08-26 21:18 --- Subject: Bug 21955 CVSROOT:/cvs/gcc Module name:gcc Branch: gcc-4_0-branch Changes by: [EMAIL PROTECTED] 2005-08-26 21:18:00 Modified files: libstdc++-v3 : Change

[Bug target/23582] Simple code segfaults on itanium

2005-08-26 Thread pinskia at gcc dot gnu dot org
--- Additional Comments From pinskia at gcc dot gnu dot org 2005-08-26 21:11 --- Two things. First this is a redhat specific version of GCC: Red Hat Linux 3.2.3. Second 3.2.x is no longer being updated, Can you try 3.4.4? -- What|Removed |Added --

[Bug libstdc++/20534] Erroneous #include of

2005-08-26 Thread cvs-commit at gcc dot gnu dot org
--- Additional Comments From cvs-commit at gcc dot gnu dot org 2005-08-26 21:11 --- Subject: Bug 20534 CVSROOT:/cvs/gcc Module name:gcc Changes by: [EMAIL PROTECTED] 2005-08-26 21:10:59 Modified files: libstdc++-v3 : ChangeLog libstdc++-v3/confi

[Bug c++/23582] New: Simple code segfaults on itanium

2005-08-26 Thread rfurmani at uwaterloo dot ca
With "g++ -O2" the following code produces (0,0) Segmentation fault on Itanium only. I apologise for leaving the includes in, but these are standard and long includes, so I thought it should be okay. I am unfortunately unable to test with more recent versions. The original project was 1,

[Bug c++/19004] [3.4 Regression] ICE in uses_template_parms at cp/pt.c:4860

2005-08-26 Thread pinskia at gcc dot gnu dot org
-- What|Removed |Added Known to work||4.0.2 4.1.0 Summary|[3.4/4.0/4.1 Regression] ICE|[3.4 Regression] ICE in |in uses

[Bug other/23581] Build failure on MINGW for gcc-4.1-20050819

2005-08-26 Thread pinskia at gcc dot gnu dot org
--- Additional Comments From pinskia at gcc dot gnu dot org 2005-08-26 19:55 --- This is either a bug in intl or stdin.h. Could you add -g3 and -save-temps and then attach the preprocessed source? -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23581

[Bug c++/23491] [4.0/4.1 Regression] new declarator with constant expression gives "error: invalid use of array with unspecified bounds"

2005-08-26 Thread mmitchel at gcc dot gnu dot org
--- Additional Comments From mmitchel at gcc dot gnu dot org 2005-08-26 19:37 --- Fixed in GCC 4.0.2. -- What|Removed |Added Status|ASSIGNED|

[Bug other/23581] New: Build failure on MINGW for gcc-4.1-20050819

2005-08-26 Thread dcorbit at connx dot com
After ./configure and then make, we have this: ... gcc -c -g -O2 -DHAVE_CONFIG_H -I. -I../.././intl ../.././intl/finddomain.c In file included from /mingw/include/io.h:21, from /mingw/include/unistd.h:10, from ../.././intl/finddomain.c:30: /mingw/include/stdint

[Bug c++/19004] [3.4/4.0/4.1 Regression] ICE in uses_template_parms at cp/pt.c:4860

2005-08-26 Thread cvs-commit at gcc dot gnu dot org
--- Additional Comments From mmitchel at gcc dot gnu dot org 2005-08-26 19:38 --- Fixed in GCC 4.0.2. --- Additional Comments From cvs-commit at gcc dot gnu dot org 2005-08-26 19:38 --- Subject: Bug 19004 CVSROOT:/cvs/gcc Module name:gcc Branch: gcc-4_0-bra

[Bug c++/23491] [4.0/4.1 Regression] new declarator with constant expression gives "error: invalid use of array with unspecified bounds"

2005-08-26 Thread cvs-commit at gcc dot gnu dot org
--- Additional Comments From cvs-commit at gcc dot gnu dot org 2005-08-26 19:38 --- Subject: Bug 23491 CVSROOT:/cvs/gcc Module name:gcc Branch: gcc-4_0-branch Changes by: [EMAIL PROTECTED] 2005-08-26 19:37:52 Modified files: gcc/testsuite : Change

[Bug c++/19004] [3.4/4.0/4.1 Regression] ICE in uses_template_parms at cp/pt.c:4860

2005-08-26 Thread mmitchel at gcc dot gnu dot org
--- Additional Comments From mmitchel at gcc dot gnu dot org 2005-08-26 19:38 --- Fixed in GCC 4.0.2. -- What|Removed |Added AssignedTo|mark at codesourcery dot com|

[Bug c++/19004] [3.4/4.0/4.1 Regression] ICE in uses_template_parms at cp/pt.c:4860

2005-08-26 Thread cvs-commit at gcc dot gnu dot org
--- Additional Comments From cvs-commit at gcc dot gnu dot org 2005-08-26 19:35 --- Subject: Bug 19004 CVSROOT:/cvs/gcc Module name:gcc Changes by: [EMAIL PROTECTED] 2005-08-26 19:35:13 Modified files: gcc/cp : ChangeLog pt.c gcc/testsuite

[Bug c++/23491] [4.0/4.1 Regression] new declarator with constant expression gives "error: invalid use of array with unspecified bounds"

2005-08-26 Thread cvs-commit at gcc dot gnu dot org
--- Additional Comments From cvs-commit at gcc dot gnu dot org 2005-08-26 19:33 --- Subject: Bug 23491 CVSROOT:/cvs/gcc Module name:gcc Changes by: [EMAIL PROTECTED] 2005-08-26 19:32:31 Modified files: gcc/cp : ChangeLog cp-tree.h init.c typeck.c

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

2005-08-26 Thread pinskia at physics dot uc dot edu
--- Additional Comments From pinskia at physics dot uc dot edu 2005-08-26 18:37 --- Subject: Re: gcc doesn't compile the stl headers > > > --- Additional Comments From jacob dot navia at ants dot com 2005-08-26 > 18:31 --- > Subject: RE: gcc doesn't compile the stl headers

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

2005-08-26 Thread Andrew Pinski
> > > --- Additional Comments From jacob dot navia at ants dot com 2005-08-26 > 18:31 --- > Subject: RE: gcc doesn't compile the stl headers > > Hi. > > You sent me this message: > > -Original Message- > From: pinskia at gcc dot gnu dot org [mailto:[EMAIL PROTECTED] > Sent:

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

2005-08-26 Thread jacob dot navia at ants dot com
--- Additional Comments From jacob dot navia at ants dot com 2005-08-26 18:31 --- Subject: RE: gcc doesn't compile the stl headers Hi. You sent me this message: -Original Message- From: pinskia at gcc dot gnu dot org [mailto:[EMAIL PROTECTED] Sent: Monday, August 22, 2005 6:3

[Bug other/23569] Building gcc-4.0.1 toolchain for arm-linux fails durring "make"

2005-08-26 Thread ngmlinux at gmail dot com
--- Additional Comments From ngmlinux at gmail dot com 2005-08-26 18:19 --- Subject: Re: Building gcc-4.0.1 toolchain for arm-linux fails durring "make" It appears the Segmentation Fault error I get at runtime is common and already documented as bug# 5487. The bug was closed due to di

[Bug java/5487] arm-linux-gcj cross-compiler generates bad assembler-code

2005-08-26 Thread ngmlinux at gmail dot com
--- Additional Comments From ngmlinux at gmail dot com 2005-08-26 18:01 --- I've been able to reproducte the same exact issue in arm-linux-gcc-4.0.1 which I build from source by the following process: ===code ../configure --targ

[Bug libstdc++/22309] mt allocator doesn't pthread_key_delete it's keys

2005-08-26 Thread bkoz at gcc dot gnu dot org
--- Additional Comments From bkoz at gcc dot gnu dot org 2005-08-26 17:42 --- Jakub, sorry, having connectivity issues since yesterday. Can you put your most recent patch and commentary in this bug report? Thanks. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=22309

[Bug c/21899] [3.4 Regression] enum definition accepts values to be overriden

2005-08-26 Thread pinskia at gcc dot gnu dot org
--- Additional Comments From pinskia at gcc dot gnu dot org 2005-08-26 17:40 --- *** Bug 23580 has been marked as a duplicate of this bug. *** -- What|Removed |Added

[Bug c/23580] GCC 3.4.4 does not detect duplicate enum values.

2005-08-26 Thread pinskia at gcc dot gnu dot org
--- Additional Comments From pinskia at gcc dot gnu dot org 2005-08-26 17:40 --- Fixed already for 3.4.5. *** This bug has been marked as a duplicate of 21899 *** -- What|Removed |Added

[Bug c++/23372] [4.0/4.1 Regression] Temporary aggregate copy not elided when passing parameters by value

2005-08-26 Thread guillaume dot melquiond at ens-lyon dot fr
--- Additional Comments From guillaume dot melquiond at ens-lyon dot fr 2005-08-26 17:38 --- > all of 3.4 and 4.1 produce exactly two temporaries. Yet I said that g++ 3.4 did not produce any temporary, and I still think so. No temporaries, only g's stack frame. See the following assembl

[Bug c/23580] GCC 3.4.4 does not detect duplicate enum values.

2005-08-26 Thread castor at 3pardata dot com
--- Additional Comments From castor at 3pardata dot com 2005-08-26 17:38 --- For comparison, here is output that I expect: :marais; /share/soft/gnu/gcc/3.3.3/bin/gcc -v -c -save-temps enum.c Reading specs from /share/soft/gnu/gcc/3.3.3/lib/gcc-lib/i686-pc-linux-gnu/3.3.3/specs Configure

[Bug c/23580] New: GCC 3.4.4 does not detect duplicate enum values.

2005-08-26 Thread castor at 3pardata dot com
:marais; cat enum.c /* This fails to generate errors on gcc 3.4.4 but works on 3.3.3 and 3.3.6 */ enum { KERN_KDB = 69, KERN_KDB = 70 }; :marais; :marais; /share/soft/gnu/gcc/3.4.4/bin/gcc -v -save-temps enum.c Reading specs from /share/soft/gnu/gcc/3.4.4/lib/gcc/i686-pc-linux-gnu/3.4.4/

[Bug target/23525] inefficient parameter passing on x86

2005-08-26 Thread pinskia at gcc dot gnu dot org
--- Additional Comments From pinskia at gcc dot gnu dot org 2005-08-26 17:35 --- Hmm, one more thing the push (the -Os code) while the -O2 code does not so it seems to me that it should be faster not to do the push. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23525

[Bug other/23541] all error messages produce segfault ICE

2005-08-26 Thread pinskia at gcc dot gnu dot org
--- Additional Comments From pinskia at gcc dot gnu dot org 2005-08-26 17:20 --- Eric Botcazou is sparc maintainer: sparc port Eric Botcazou [EMAIL PROTECTED] It sounds like you have a mismatching header installed and nothing more. -- http://gcc.gnu.org/bugz

[Bug rtl-optimization/23579] [4.1 regression] rtl-optimization/23478 breaks Ada for ia64

2005-08-26 Thread pinskia at gcc dot gnu dot org
-- What|Removed |Added Summary|[4.1 regression] rtl- |[4.1 regression] rtl- |optimization/23478 breaks |optimization/23478 breaks

[Bug middle-end/23467] alignment of member doesn't always carry over to alignment of struct.

2005-08-26 Thread cvs-commit at gcc dot gnu dot org
--- Additional Comments From cvs-commit at gcc dot gnu dot org 2005-08-26 17:17 --- Subject: Bug 23467 CVSROOT:/cvs/gcc Module name:gcc Changes by: [EMAIL PROTECTED] 2005-08-26 17:17:06 Modified files: gcc: ChangeLog stor-layout.c Log message

[Bug c/23506] [4.0 Regression] Bad array access in DEF_GCC_BUILTIN

2005-08-26 Thread pinskia at gcc dot gnu dot org
--- Additional Comments From pinskia at gcc dot gnu dot org 2005-08-26 17:14 --- Fixed on the mainline at least. -- What|Removed |Added Known to fail|

[Bug other/23569] Building gcc-4.0.1 toolchain for arm-linux fails durring "make"

2005-08-26 Thread ngmlinux at gmail dot com
--- Additional Comments From ngmlinux at gmail dot com 2005-08-26 17:11 --- Subject: Re: Building gcc-4.0.1 toolchain for arm-linux fails durring "make" For reference the exact compile line I gave was: ===code=== /usr/local/bin/arm-linux

[Bug other/23569] Building gcc-4.0.1 toolchain for arm-linux fails durring "make"

2005-08-26 Thread ngmlinux at gmail dot com
--- Additional Comments From ngmlinux at gmail dot com 2005-08-26 17:07 --- Subject: Re: Building gcc-4.0.1 toolchain for arm-linux fails durring "make" > You want --main=MAINCLASS (or in this case HelloWorldApp). Ok, I fixed that and it seem to cross compile fine without any errors.

[Bug rtl-optimization/23579] New: [4.1 regression] rtl-optimization/23478 breaks Ada

2005-08-26 Thread schwab at suse dot de
The patch from rtl-optimization/23478 breaks Ada: $ gdb --args ../../gnat1 -quiet -dumpbase a-stzmap.adb -O2 -W -Wall -fPIC -g -gnatpg -gnatO a-stzmap.o a-stzmap.adb -o /tmp/ccH9s7Af.s GNU gdb 6.3 Copyright 2004 Free Software Foundation, Inc. GDB is free software, covered by the GNU Ge

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

2005-08-26 Thread schwab at suse dot de
-- What|Removed |Added BugsThisDependsOn||23579 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23478

[Bug c/23506] [4.0/4.1 Regression] Bad array access in DEF_GCC_BUILTIN

2005-08-26 Thread cvs-commit at gcc dot gnu dot org
--- Additional Comments From cvs-commit at gcc dot gnu dot org 2005-08-26 16:27 --- Subject: Bug 23506 CVSROOT:/cvs/gcc Module name:gcc Changes by: [EMAIL PROTECTED] 2005-08-26 16:26:54 Modified files: gcc: ChangeLog c-common.c Log message:

[Bug target/23575] [4.0/4.1 Regression] ICE: output_operand: unterminated assembly dialect alternative

2005-08-26 Thread rguenth at gcc dot gnu dot org
--- Additional Comments From rguenth at gcc dot gnu dot org 2005-08-26 16:23 --- Patch. -- What|Removed |Added URL||http://gcc.gnu

[Bug libstdc++/23578] Implement resolution of DR 464 [Ready]

2005-08-26 Thread pcarlini at suse dot de
-- What|Removed |Added AssignedTo|unassigned at gcc dot gnu |pcarlini at suse dot de |dot org | Severity|normal

[Bug libstdc++/23578] New: Implement resolution of DR 464 [Ready]

2005-08-26 Thread pcarlini at suse dot de
Just an internal reminder: seems really straightforward. -- Summary: Implement resolution of DR 464 [Ready] Product: gcc Version: 4.1.0 Status: UNCONFIRMED Severity: normal Priority: P2 Component: libstdc++ Assigned

[Bug preprocessor/20348] [4.0/4.1 Regression] File not included when file with same name is included before

2005-08-26 Thread jakub at gcc dot gnu dot org
--- Additional Comments From jakub at gcc dot gnu dot org 2005-08-26 16:16 --- *** Bug 20356 has been marked as a duplicate of this bug. *** -- What|Removed |Added

[Bug preprocessor/20356] [4.0/4.1 Regression] New #include_next behaviour breaks limits.h

2005-08-26 Thread jakub at gcc dot gnu dot org
--- Additional Comments From jakub at gcc dot gnu dot org 2005-08-26 16:16 --- Indeed. If I back out: http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libcpp/files.c.diff?r1=1.3&r2=1.4 http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libcpp/files.c.diff?r1=1.1&r2=1.2 it works just fine. *** This bug

[Bug preprocessor/20348] [4.0/4.1 Regression] File not included when file with same name is included before

2005-08-26 Thread jakub at gcc dot gnu dot org
--- Additional Comments From jakub at gcc dot gnu dot org 2005-08-26 15:57 --- This got broken by the libcpp/files.c part of http://gcc.gnu.org/ml/gcc-patches/2004-06/msg00272.html My understanding of the change was that this was just a performance improvement. The question is if that ch

[Bug libstdc++/23081] Finish the implementation of tr1::array

2005-08-26 Thread pcarlini at suse dot de
-- What|Removed |Added Target Milestone|--- |4.0.2 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23081

[Bug libstdc++/23081] Finish the implementation of tr1::array

2005-08-26 Thread cvs-commit at gcc dot gnu dot org
--- Additional Comments From cvs-commit at gcc dot gnu dot org 2005-08-26 15:53 --- Subject: Bug 23081 CVSROOT:/cvs/gcc Module name:gcc Changes by: [EMAIL PROTECTED] 2005-08-26 15:52:54 Modified files: libstdc++-v3 : ChangeLog libstdc++-v3/inclu

[Bug tree-optimization/23346] [4.1 Regression] FRE before DCE makes a mess of loads or need to sink loads

2005-08-26 Thread pinskia at gcc dot gnu dot org
-- What|Removed |Added Status|UNCONFIRMED |NEW Ever Confirmed||1 Last reconfirmed|-00-00 00:00:00 |2005-08-

[Bug middle-end/22439] [4.0/4.1 regression] ICE with char VLA and __SIZE_TYPE__ argument (so no cast)

2005-08-26 Thread cvs-commit at gcc dot gnu dot org
--- Additional Comments From cvs-commit at gcc dot gnu dot org 2005-08-26 15:14 --- Subject: Bug 22439 CVSROOT:/cvs/gcc Module name:gcc Changes by: [EMAIL PROTECTED] 2005-08-26 15:14:14 Modified files: gcc/testsuite : ChangeLog Added files: gcc/t

[Bug middle-end/22439] [4.0/4.1 regression] ICE with char VLA and __SIZE_TYPE__ argument (so no cast)

2005-08-26 Thread pinskia at gcc dot gnu dot org
--- Additional Comments From pinskia at gcc dot gnu dot org 2005-08-26 15:14 --- Fixed. -- What|Removed |Added Status|ASSIGNED|RESOLVED

[Bug middle-end/22439] [4.0/4.1 regression] ICE with char VLA and __SIZE_TYPE__ argument (so no cast)

2005-08-26 Thread cvs-commit at gcc dot gnu dot org
--- Additional Comments From cvs-commit at gcc dot gnu dot org 2005-08-26 15:13 --- Subject: Bug 22439 CVSROOT:/cvs/gcc Module name:gcc Branch: gcc-4_0-branch Changes by: [EMAIL PROTECTED] 2005-08-26 15:13:19 Modified files: gcc/testsuite : Change

[Bug middle-end/22439] [4.0/4.1 regression] ICE with char VLA and __SIZE_TYPE__ argument (so no cast)

2005-08-26 Thread pinskia at gcc dot gnu dot org
--- Additional Comments From pinskia at gcc dot gnu dot org 2005-08-26 15:05 --- I am handling the testcase. -- What|Removed |Added AssignedTo|rth at gcc dot gnu dot

[Bug c++/23440] [4.0/4.1 regression] "void f(){for" crashes the C++ frontend

2005-08-26 Thread pinskia at gcc dot gnu dot org
--- Additional Comments From pinskia at gcc dot gnu dot org 2005-08-26 15:02 --- : Search converges between 2004-10-20-014001-trunk (#600) and 2004-10-20-161001-trunk (#601). -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23440

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

2005-08-26 Thread pinskia at gcc dot gnu dot org
--- Additional Comments From pinskia at gcc dot gnu dot org 2005-08-26 15:01 --- It started to fail after 20041211. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23513

[Bug c++/23491] [4.0/4.1 Regression] new declarator with constant expression gives "error: invalid use of array with unspecified bounds"

2005-08-26 Thread pinskia at gcc dot gnu dot org
--- Additional Comments From pinskia at gcc dot gnu dot org 2005-08-26 14:59 --- : Search converges between 2004-10-25-014001-trunk (#609) and 2004-10-25-161001-trunk (#610). -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23491

[Bug other/23569] Building gcc-4.0.1 toolchain for arm-linux fails durring "make"

2005-08-26 Thread pinskia at physics dot uc dot edu
--- Additional Comments From pinskia at physics dot uc dot edu 2005-08-26 14:24 --- Subject: Re: Building gcc-4.0.1 toolchain for arm-linux fails durring "make" On Aug 26, 2005, at 10:21 AM, Nathan M wrote: >> do build it this way: gcj HelloWorld.java --main=HelloWorld -g -o >> Hell

[Bug c++/23372] [4.0/4.1 Regression] Temporary aggregate copy not elided when passing parameters by value

2005-08-26 Thread rguenth at gcc dot gnu dot org
--- Additional Comments From rguenth at gcc dot gnu dot org 2005-08-26 14:30 --- For your last testcase, struct A { int a[1000]; } A f(); void g(A); void h() { g(f()); } all of 3.4 and 4.1 produce exactly two temporaries. One to dump the result of f(), which get's copied to a new temp

[Bug other/23569] Building gcc-4.0.1 toolchain for arm-linux fails durring "make"

2005-08-26 Thread ngmlinux at gmail dot com
--- Additional Comments From ngmlinux at gmail dot com 2005-08-26 14:22 --- Subject: Re: Building gcc-4.0.1 toolchain for arm-linux fails durring "make" > do build it this way: gcj HelloWorld.java --main=HelloWorld -g -o > HelloWorld.exe Still reporting an error, althought slightly d

[Bug c/23576] [4.0/4.1 regression] tree check: expected class ‘type’, have exceptional’ (error_mark) in grokdeclarator, at c-decl.c:4252

2005-08-26 Thread pinskia at gcc dot gnu dot org
--- Additional Comments From pinskia at gcc dot gnu dot org 2005-08-26 14:15 --- Note this is a latent bug before Jim's patch, it just exposed the non reduced testcase ICE on the 4.0 branch for some reason. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23576

[Bug c/23576] [4.0/4.1 regression] tree check: expected class ‘type’, have exceptional’ (error_mark) in grokdeclarator, at c-decl.c:4252

2005-08-26 Thread pinskia at gcc dot gnu dot org
--- Additional Comments From pinskia at gcc dot gnu dot org 2005-08-26 14:14 --- The reduced testcase also fails on the mainline and in 4.0.0. -- What|Removed |Added

[Bug c/23576] [4.0 regression] tree check: expected class ‘type’, have exceptional’ (error_mark) in grokdeclarator, at c-decl.c:4252

2005-08-26 Thread rguenth at gcc dot gnu dot org
--- Additional Comments From rguenth at gcc dot gnu dot org 2005-08-26 14:09 --- Oh, and we blame 2005-08-16 James E Wilson <[EMAIL PROTECTED]> PR tree-optimization/21105 * c-decl.c (grokdeclarator): Use TYPE_SIZE_UNIT not TYPE_SIZE in TREE_OVERFLOW check. -

[Bug c/23576] [4.0 regression] tree check: expected class ‘type’, have exceptional’ (error_mark) in grokdeclarator, at c-decl.c:4252

2005-08-26 Thread rguenth at gcc dot gnu dot org
--- Additional Comments From rguenth at gcc dot gnu dot org 2005-08-26 14:07 --- Reduced testcase: struct ipr_path_entry path[0]; -- What|Removed |Added Status|

[Bug c/23576] [4.0 regression] tree check: expected class ‘type’, have exceptional’ (error_mark) in grokdeclarator, at c-decl.c:4252

2005-08-26 Thread rguenth at gcc dot gnu dot org
--- Additional Comments From rguenth at gcc dot gnu dot org 2005-08-26 13:57 --- Not. Needs a checking enabled compiler to reproduce. That "did work with 4.0.2 20050728" may be bogous therefore, too. -- What|Removed |Added --

[Bug middle-end/23294] fold does not fold a*C+a to a*(C+1) or a*C-a to a*(C-1)

2005-08-26 Thread rguenth at gcc dot gnu dot org
--- Additional Comments From rguenth at gcc dot gnu dot org 2005-08-26 13:50 --- Patch posted. -- What|Removed |Added URL||http://

[Bug target/23575] [4.0/4.1 Regression] ICE: output_operand: unterminated assembly dialect alternative

2005-08-26 Thread pinskia at gcc dot gnu dot org
--- Additional Comments From pinskia at gcc dot gnu dot org 2005-08-26 13:30 --- It is obvious what is wrong from the .md file: (define_insn "sse2_movsd" [(set (match_operand:V2DF 0 "nonimmediate_operand" "=x,x,m,x,x,o") (vec_merge:V2DF (match_operand:V2DF 2 "nonimm

[Bug target/23575] [4.0/4.1 Regression] ICE: output_operand: unterminated assembly dialect alternative

2005-08-26 Thread pinskia at gcc dot gnu dot org
--- Additional Comments From pinskia at gcc dot gnu dot org 2005-08-26 13:27 --- Confirmed, reduced testcase: typedef double __v2df __attribute__ ((__vector_size__ (16))); typedef __v2df __m128d; static __inline __m128d __attribute__((__always_inline__)) _mm_set1_pd (double __F) { ret

[Bug c/23577] suprious warnings about unhanled cases in switches

2005-08-26 Thread pinskia at gcc dot gnu dot org
--- Additional Comments From pinskia at gcc dot gnu dot org 2005-08-26 13:02 --- The warning is done without flow control. The optmization needs a "full" VRP which keeps of track of discontinuous ranges which is too expensive really. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=

  1   2   >