[Bug c++/24377] Explicit invocation of constructors, destructors and conversion operators in template code

2005-10-14 Thread pinskia at gcc dot gnu dot org
--- Comment #1 from pinskia at gcc dot gnu dot org 2005-10-15 04:08 --- The only one which GCC is wrong with is the following // t_.~S(); // 2.1 expected class-name before '(' token Which is also recorded as PR 23287. The rest are all correct with the current G

[Bug fortran/24369] [4.0 only] segmentation fault with gfortran

2005-10-14 Thread pinskia at gcc dot gnu dot org
--- Comment #2 from pinskia at gcc dot gnu dot org 2005-10-15 03:55 --- Someone else has to decide if this is fixable for 4.0.x, I think it is not. I need to update my 4.0.3 compiler to today, I have only one from 9-30. -- pinskia at gcc dot gnu dot org changed: What

[Bug target/24027] A gcc primitive, under special circumstances, can crash the AVR

2005-10-14 Thread hp at gcc dot gnu dot org
--- Comment #5 from hp at gcc dot gnu dot org 2005-10-15 02:26 --- Closing as invalid as per comment #4 (chip bug can't be worked around in gcc). -- hp at gcc dot gnu dot org changed: What|Removed |Added

[Bug testsuite/24380] [4.0 Regression] g++.dg/template/dependent-expr1.C and g++.dg/template/dependent-expr2.C fail

2005-10-14 Thread pinskia at gcc dot gnu dot org
--- Comment #1 from pinskia at gcc dot gnu dot org 2005-10-15 00:36 --- Fixed by: missed from 2005-10-12 checkin * g++.dg/template/dependent-expr1.C: Add new expected error. * g++.dg/template/dependent-expr2.C: Adjust error text. -- pinskia at gcc dot gnu dot org chang

[Bug c++/24380] New: [4.0 Regression] g++.dg/template/dependent-expr1.C and g++.dg/template/dependent-expr2.C fail

2005-10-14 Thread jsm28 at gcc dot gnu dot org
-hpux11.11, hppa64-hp-hpux11.11 and ia64-hp-hpux11.23. Still present 20051014. /scratch/gcc/nightly-2005-10-14-4.0/src/gcc-4.0/gcc/testsuite/g++.dg/template/dependent-expr1.C: In function 'void std::Baz(I*)': /scratch/gcc/nightly-2005-10-14-4.0/src/gcc-4.0/gcc/testsuite/g++.dg/template

[Bug tree-optimization/24379] New: gcc.dg/ipa/ipa-5.c fails

2005-10-14 Thread jsm28 at gcc dot gnu dot org
FAIL: gcc.dg/ipa/ipa-5.c scan-ipa-dump-times propagating const 2 FAIL: gcc.dg/ipa/ipa-5.c scan-ipa-dump-times versioned function 2 appeared on mainline on i686-pc-linux-gnu and hppa2.0w-hp-hpux11.11 between 20051010 and 20051013. These are new tests in that time. -- Summary: gcc.dg/

[Bug target/24378] New: gcc.dg/vect/pr24300.c (test for excess errors) fails

2005-10-14 Thread jsm28 at gcc dot gnu dot org
FAIL: gcc.dg/vect/pr24300.c (test for excess errors) appeared on mainline on ia64-hp-hpux11.23 between 20051010 and 20051013. This is a new test added in that time. The failure is for both -milp32 and -mlp64. /scratch/gcc/nightly-2005-10-13-mainline/src/gcc-mainline/gcc/testsuite/gcc.dg/vect/pr2

[Bug fortran/24369] segmentation fault with gfortran

2005-10-14 Thread pinskia at gcc dot gnu dot org
--- Comment #1 from pinskia at gcc dot gnu dot org 2005-10-14 22:31 --- Well 4.0.2 has been released, maybe this is fixed in 4.0.3, I don't know. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24369

[Bug c++/24375] Wrong line number in diagnostic

2005-10-14 Thread bangerth at dealii dot org
--- Comment #1 from bangerth at dealii dot org 2005-10-14 22:21 --- Confirmed. The problem goes back to at least 2.95. W. -- bangerth at dealii dot org changed: What|Removed |Added --

[Bug c++/24377] New: Explicit invocation of constructors, destructors and conversion operators in template code

2005-10-14 Thread fasbjx at free dot fr
I've commented the following code with, or whithout (uh!), the errors that g++ reports. template< typename _Type > struct S { operator S(); }; // struct S< _Type > template< typename _Type > struct T { S< _Type > t_; S< int > i_; void foo() { t_.S();// 1.1 uh!

[Bug c/24376] wrong-code unless -fno-sched-interblock

2005-10-14 Thread seidl at feld dot cvut dot cz
--- Comment #1 from seidl at feld dot cvut dot cz 2005-10-14 21:52 --- Created an attachment (id=9987) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=9987&action=view) source code for wrong-code problem demonstration -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24376

[Bug c/24376] New: wrong-code unless -fno-sched-interblock

2005-10-14 Thread seidl at feld dot cvut dot cz
The cross-compiler gcc-3.4.4 (or 3.4.3) for v850 generates wrong-code for example source bug2.c (see below). The cmp instruction in expression (ps1 ? 1 : 2) was lost in the first scheduling pass (see dump-file bug2.c.23.sched generated by compilation with -da option). The return value of sh_dir() (

[Bug libstdc++/24244] Problem with tr1::shared_ptr and pthreads_mutex_lock

2005-10-14 Thread pcarlini at suse dot de
--- Comment #8 from pcarlini at suse dot de 2005-10-14 21:48 --- ... and, today, using a stock glibc2.3.5 on x86-linux, I have been able to reproduce the problem, exactly as originally reported. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24244

[Bug middle-end/23714] [4.1 Regression] ICE in expand_assignment

2005-10-14 Thread rth at gcc dot gnu dot org
--- Comment #15 from rth at gcc dot gnu dot org 2005-10-14 21:40 --- ... work on a better solution. -- rth at gcc dot gnu dot org changed: What|Removed |Added Ass

[Bug middle-end/23714] [4.1 Regression] ICE in expand_assignment

2005-10-14 Thread rth at gcc dot gnu dot org
--- Comment #14 from rth at gcc dot gnu dot org 2005-10-14 21:40 --- Open to... -- rth at gcc dot gnu dot org changed: What|Removed |Added Status|RESOLVED

[Bug c/23439] [4.1 regression] "f(){for" crashes the C frontend

2005-10-14 Thread reichelt at gcc dot gnu dot org
--- Comment #7 from reichelt at gcc dot gnu dot org 2005-10-14 21:37 --- Fixed on mainline. -- reichelt at gcc dot gnu dot org changed: What|Removed |Added S

[Bug c/23439] [4.1 regression] "f(){for" crashes the C frontend

2005-10-14 Thread cvs-commit at gcc dot gnu dot org
--- Comment #6 from cvs-commit at gcc dot gnu dot org 2005-10-14 21:35 --- Subject: Bug 23439 CVSROOT:/cvs/gcc Module name:gcc Changes by: [EMAIL PROTECTED]2005-10-14 21:35:47 Modified files: gcc: ChangeLog c-parser.c gcc/testsuite : C

[Bug c++/24375] New: Wrong line number in diagnostic

2005-10-14 Thread igodard at pacbell dot net
template class foo; template<> struct foo { static const int u = 0; static int v; }; const int foo::u; const int foo::u; int foo::v; int foo::v; gets you: ~/ootbc/members/src$ g++ foo.cc foo.cc:8: error: redefinition of `const int foo::u' foo.cc:4: error: `const int foo::u' previously defin

[Bug libstdc++/24345] libstdc++ build failure with IRIX ld(1)

2005-10-14 Thread bugzilla-gcc at thewrittenword dot com
--- Comment #4 from bugzilla-gcc at thewrittenword dot com 2005-10-14 20:23 --- Ok, not a binutils bug. Richard Sandiford <[EMAIL PROTECTED]> provided the solution. If GNU as is used with GNU ld, COMDAT group should be supported on this platform. However, if GNU as is used with MIPSpro

[Bug c/24372] Internal error due to really long assignement statement

2005-10-14 Thread pinskia at gcc dot gnu dot org
--- Comment #1 from pinskia at gcc dot gnu dot org 2005-10-14 20:13 --- Can you attach the preprocessed source? -- pinskia at gcc dot gnu dot org changed: What|Removed |Added -

[Bug target/24374] [4.0/4.1 Regression] Sibcalling optimization is happening in main

2005-10-14 Thread pinskia at gcc dot gnu dot org
-- pinskia at gcc dot gnu dot org changed: What|Removed |Added Target Milestone|--- |4.0.3 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24374

[Bug target/24374] New: [4.0/4.1 Regression] Sibcalling optimization is happening in main

2005-10-14 Thread pinskia at gcc dot gnu dot org
Take the following example: int main1(void); int main(void) { return main1(); } With 3.4.0, we got at -O2: main: pushl %ebp movl%esp, %ebp subl$8, %esp andl$-16, %esp subl$16, %esp callmain1 leave ret Whi

[Bug c++/19565] [3.4/4.0/4.1 Regression] g++ does not warn about overflow in conversion but gcc does

2005-10-14 Thread mmitchel at gcc dot gnu dot org
--- Comment #5 from mmitchel at gcc dot gnu dot org 2005-10-14 20:05 --- Fixed in 4.1.0. -- mmitchel at gcc dot gnu dot org changed: What|Removed |Added Stat

[Bug c++/21347] [4.0/4.1 Regression] spurious warning with -Wctor-dtor-privacy

2005-10-14 Thread mmitchel at gcc dot gnu dot org
-- mmitchel at gcc dot gnu dot org changed: What|Removed |Added AssignedTo|unassigned at gcc dot gnu |mark at codesourcery dot com |dot org

[Bug c++/19565] [3.4/4.0/4.1 Regression] g++ does not warn about overflow in conversion but gcc does

2005-10-14 Thread mmitchel at gcc dot gnu dot org
--- Comment #4 from mmitchel at gcc dot gnu dot org 2005-10-14 19:57 --- Fixed in 4.1.0. Will not be fixed in previous branches. -- mmitchel at gcc dot gnu dot org changed: What|Removed |Added -

[Bug c++/24373] Public method inheritance fails

2005-10-14 Thread pinskia at gcc dot gnu dot org
--- Comment #1 from pinskia at gcc dot gnu dot org 2005-10-14 19:57 --- This is how C++ works, the f in derived hides all f except for the ones listed. You can add a "using base::f;" statement in derived to get the behavior you were expecting. -- pinskia at gcc dot gnu dot org change

[Bug c++/24373] New: Public method inheritance fails

2005-10-14 Thread sylvain dot guilley at enst dot fr
The inherited methods should be implicitely visible from a derived class, which is not the case in g++. Refer to sample code below. File: quantifier.cpp

[Bug c++/19565] [3.4/4.0/4.1 Regression] g++ does not warn about overflow in conversion but gcc does

2005-10-14 Thread cvs-commit at gcc dot gnu dot org
--- Comment #3 from cvs-commit at gcc dot gnu dot org 2005-10-14 19:50 --- Subject: Bug 19565 CVSROOT:/cvs/gcc Module name:gcc Changes by: [EMAIL PROTECTED]2005-10-14 19:50:09 Modified files: gcc/cp : call.c decl.c typeck2.c ChangeLog gcc/t

[Bug c/24372] New: Internal error due to really long assignement statement

2005-10-14 Thread ashish_dobhal at rediffmail dot com
I am trying to compile this file which mainly contains one long assignment statement. The gcc gives internal error:segmentation fault(program cc1). -- Summary: Internal error due to really long assignement statement Product: gcc Version: 3.4.4 Status:

[Bug c/24371] -fno-unit-at-a-time ignored in IMA mode

2005-10-14 Thread pinskia at gcc dot gnu dot org
--- Comment #1 from pinskia at gcc dot gnu dot org 2005-10-14 19:02 --- I think unit at a time is required for IMA because of the way it is implemented. I just wish non unit-at-a-time would go away and people fix up their code is unit at a time would just work. -- pinskia at gcc dot

[Bug target/21275] [4.0 Regression] gcc 4.0.0 crash with mingw when using stdout in global var

2005-10-14 Thread giovannibajo at libero dot it
--- Comment #17 from giovannibajo at libero dot it 2005-10-14 18:54 --- Danny, is it possible to have a less invadent fix for the 4.0 branch? Something hackish that can get the bug fixed just for the branch... -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21275

[Bug target/15184] [3.4/4.0/4.1 Regression] Direct access to byte inside word not working with -march=pentiumpro

2005-10-14 Thread wilson at gcc dot gnu dot org
--- Comment #9 from wilson at gcc dot gnu dot org 2005-10-14 17:44 --- The cause of this problem is the following two lines in the i386.c file const int x86_himode_math = ~(m_PPRO); const int x86_promote_hi_regs = m_PPRO; They were added here: http://gcc.gnu.org/ml/gcc-patches/2000-

[Bug c/24371] New: -fno-unit-at-a-time ignored in multifile compiles

2005-10-14 Thread rep dot nop at aon dot at
In gcc/c-opts.c c_common_post_options() this snipped sets -funit-at-a-time unconditionally, and doesn't even warn that any -fno-unit-at-a-time was ignored: /* If we are given more than one input file, we must use unit-at-a-time mode. */ if (num_in_fnames > 1) flag_unit_at_a_time = 1;

[Bug ada/22533] [4.1 regression] ICE in get_base_var

2005-10-14 Thread pinskia at gcc dot gnu dot org
--- Comment #19 from pinskia at gcc dot gnu dot org 2005-10-14 17:26 --- *** Bug 24370 has been marked as a duplicate of this bug. *** -- pinskia at gcc dot gnu dot org changed: What|Removed |Added -

[Bug ada/24370] ICE / GNAT BUG BOX

2005-10-14 Thread pinskia at gcc dot gnu dot org
--- Comment #1 from pinskia at gcc dot gnu dot org 2005-10-14 17:26 --- *** This bug has been marked as a duplicate of 22533 *** -- pinskia at gcc dot gnu dot org changed: What|Removed |Added --

[Bug ada/24370] New: ICE / GNAT BUG BOX

2005-10-14 Thread anhvofrcaus at gmail dot com
(...) stage1/xgcc -Bstage1/ -B/usr/local/powerpc-unknown-linux-gnu/bin/ -c -g -O2 -gnatpg -gnata -I- -I. -Iada -I../../gcc-4.1-20051001/gcc/ada ../../gcc-4.1-20051001/gcc/ada/a-chlat1.ads -o ada/a-chlat1.o stage1/xgcc -Bstage1/ -B/usr/local/powerpc-unknown-linux-gnu/bin/ -c -g -O2 -gnatpg

[Bug preprocessor/21250] [4.1 Regression] line number 0 for causes GAS to complain

2005-10-14 Thread pinskia at gcc dot gnu dot org
--- Comment #14 from pinskia at gcc dot gnu dot org 2005-10-14 17:07 --- Fixed. -- pinskia at gcc dot gnu dot org changed: What|Removed |Added Status|ASSIGNE

[Bug c++/21383] [3.4/4.0/4.1 Regression] Crash when finding &a_templated_func<>

2005-10-14 Thread nathan at gcc dot gnu dot org
-- nathan at gcc dot gnu dot org changed: What|Removed |Added AssignedTo|unassigned at gcc dot gnu |nathan at gcc dot gnu dot |dot org

[Bug c++/21353] [3.4/4.0/4.1 Regression] rvalues should not be allowed to be default values for non const references in class functions.

2005-10-14 Thread nathan at gcc dot gnu dot org
-- nathan at gcc dot gnu dot org changed: What|Removed |Added AssignedTo|unassigned at gcc dot gnu |nathan at gcc dot gnu dot |dot org

[Bug c++/17796] [3.4/4.0/4.1 Regression] Too many unused parameter warnings emitted.

2005-10-14 Thread nathan at gcc dot gnu dot org
--- Comment #9 from nathan at gcc dot gnu dot org 2005-10-14 16:39 --- Fixed mainline and 4.0. 2005-10-14 Nathan Sidwell <[EMAIL PROTECTED]> PR c++/17796 * optimize.c (update_cloned_parm): Add FIRST parameter. Use it. (maybe_clone_body): Track the first clone.

[Bug fortran/24092] ICE in trans-types.c for nested derived types

2005-10-14 Thread paulthomas2 at wanadoo dot fr
--- Comment #4 from paulthomas2 at wanadoo dot fr 2005-10-14 16:38 --- Subject: Re: ICE in trans-types.c for nested derived types pinskia at gcc dot gnu dot org wrote: >--- Comment #3 from pinskia at gcc dot gnu dot org 2005-10-14 13:09 >--- >Fixed. > > > > Andrew, You ke

[Bug c++/17796] [3.4/4.0/4.1 Regression] Too many unused parameter warnings emitted.

2005-10-14 Thread cvs-commit at gcc dot gnu dot org
--- Comment #8 from cvs-commit at gcc dot gnu dot org 2005-10-14 16:36 --- Subject: Bug 17796 CVSROOT:/cvs/gcc Module name:gcc Changes by: [EMAIL PROTECTED] 2005-10-14 16:36:49 Modified files: gcc/cp : ChangeLog optimize.c Log message: PR

[Bug c++/17796] [3.4/4.0/4.1 Regression] Too many unused parameter warnings emitted.

2005-10-14 Thread cvs-commit at gcc dot gnu dot org
--- Comment #7 from cvs-commit at gcc dot gnu dot org 2005-10-14 16:36 --- Subject: Bug 17796 CVSROOT:/cvs/gcc Module name:gcc Branch: gcc-4_0-branch Changes by: [EMAIL PROTECTED] 2005-10-14 16:36:37 Modified files: gcc/cp : ChangeLog optim

[Bug c++/17796] [3.4/4.0/4.1 Regression] Too many unused parameter warnings emitted.

2005-10-14 Thread nathan at gcc dot gnu dot org
--- Comment #6 from nathan at gcc dot gnu dot org 2005-10-14 16:10 --- the patch in #4 is definitely wrong, the right patch will be to the C++ FE, not the common code. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17796

[Bug c++/22603] [4.0 Regression] ICE in pop_binding, at cp/name-lookup.c:380

2005-10-14 Thread nathan at gcc dot gnu dot org
--- Comment #7 from nathan at gcc dot gnu dot org 2005-10-14 16:02 --- 2005-10-14 Nathan Sidwell <[EMAIL PROTECTED]> PR c++/22603 Backport part of 2005-03-14 Kriang Lerdsuwanakij <[EMAIL PROTECTED]> * name-lookup.c (pushtag): Skip template parameter s

[Bug c++/22603] [4.0 Regression] ICE in pop_binding, at cp/name-lookup.c:380

2005-10-14 Thread cvs-commit at gcc dot gnu dot org
--- Comment #6 from cvs-commit at gcc dot gnu dot org 2005-10-14 16:00 --- Subject: Bug 22603 CVSROOT:/cvs/gcc Module name:gcc Branch: gcc-4_0-branch Changes by: [EMAIL PROTECTED] 2005-10-14 16:00:25 Modified files: gcc/cp : ChangeLog name-

[Bug preprocessor/21250] [4.1 Regression] line number 0 for causes GAS to complain

2005-10-14 Thread cvs-commit at gcc dot gnu dot org
--- Comment #13 from cvs-commit at gcc dot gnu dot org 2005-10-14 14:56 --- Subject: Bug 21250 CVSROOT:/cvs/gcc Module name:gcc Changes by: [EMAIL PROTECTED] 2005-10-14 14:56:49 Modified files: gcc: c-ppoutput.c ChangeLog Log message:

[Bug fortran/24369] New: segmentation fault with gfortran

2005-10-14 Thread kamaraju at gmail dot com
Using Debian, sid $uname -a Linux kusumanchi 2.6.12-1-686-smp #1 SMP Tue Sep 27 13:10:31 JST 2005 i686 GNU/Linux $gfortran -v Using built-in specs. Target: i486-linux-gnu Configured with: ../src/configure -v --enable-languages=c,c++,java,f95,objc,ada,treelang --prefix=/usr --enable-shared --with-

[Bug c++/20103] [4.0/4.1 regression] ICE in create_tmp_var with C99 style struct initializer

2005-10-14 Thread pinskia at gcc dot gnu dot org
-- pinskia at gcc dot gnu dot org changed: What|Removed |Added Severity|critical|major http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20103

[Bug c++/24368] [3.4 Regression] -Wshadow gets confused by built-ins

2005-10-14 Thread pinskia at gcc dot gnu dot org
--- Comment #1 from pinskia at gcc dot gnu dot org 2005-10-14 14:11 --- Confirmed, only a regression on the 3.4 branch. -- pinskia at gcc dot gnu dot org changed: What|Removed |Added -

[Bug middle-end/24362] [4.0/4.1 Regression] internal compiler error: in extract_component, at tree-complex.c:68

2005-10-14 Thread pinskia at gcc dot gnu dot org
--- Comment #8 from pinskia at gcc dot gnu dot org 2005-10-14 14:10 --- (In reply to comment #7) > Are those new problems related to c++/21210? No, these new problems are all midlde-end bugs relating to RETURN_DECL not being handled correctly (or at all). -- http://gcc.gnu.org/bugzi

[Bug c++/24368] New: -Wshadow gets confused by built-ins

2005-10-14 Thread cnewbold at mathworks dot com
Consider the following example: #include // Okay if we do this: //using std::floor; double f(double d) { // If we do this, however, GCC says: "shadow.C:7: warning: // shadowing built-in function `double std::floor(double)'" using std::floor; return floor(d); } As indicated in the

[Bug middle-end/24362] [4.0/4.1 Regression] internal compiler error: in extract_component, at tree-complex.c:68

2005-10-14 Thread pcarlini at suse dot de
--- Comment #7 from pcarlini at suse dot de 2005-10-14 14:03 --- Are those new problems related to c++/21210? -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24362

[Bug tree-optimization/24365] [4.1 Regression] statement makes a memory store with complex

2005-10-14 Thread pinskia at gcc dot gnu dot org
--- Comment #3 from pinskia at gcc dot gnu dot org 2005-10-14 14:00 --- Oh, the reason why I could confirm this one is because this is a split off from PR 24362. -- pinskia at gcc dot gnu dot org changed: What|Removed |Added ---

[Bug tree-optimization/24365] [4.1 Regression] statement makes a memory store with complex

2005-10-14 Thread pinskia at gcc dot gnu dot org
-- pinskia at gcc dot gnu dot org changed: What|Removed |Added Severity|critical|normal http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24365

[Bug c++/24367] New: unrecognizable insn with -fPIC -O2 -funroll-loops

2005-10-14 Thread waldi at debian dot org
g++ -g -Wall -fPIC -O2 -funroll-loops -o /dev/null -c disk.cpp disk.cpp: In function 'char* test(const char*, const char*)': disk.cpp:13: error: unrecognizable insn: (insn 542 541 544 26 (set (reg/f:SI 84) (plus:SI (reg:SI 12 %r12) (const:SI (plus:SI (unspec:SI [

[Bug tree-optimization/24365] [4.1 Regression] statement makes a memory store with complex

2005-10-14 Thread pinskia at gcc dot gnu dot org
--- Comment #2 from pinskia at gcc dot gnu dot org 2005-10-14 13:49 --- One more thing, this only happens with the C++ front-end. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24365

[Bug tree-optimization/24365] [4.1 Regression] statement makes a memory store with complex

2005-10-14 Thread pinskia at gcc dot gnu dot org
--- Comment #1 from pinskia at gcc dot gnu dot org 2005-10-14 13:48 --- Reduced testcase: typedef __complex__ double cdouble; inline cdouble to_complex(double r) { cdouble z; __real__ z = r; return z; } cdouble elt_zero() { return to_complex(0.0); } - The inliner is remappin

[Bug rtl-optimization/22001] ICE while building cross compiler

2005-10-14 Thread pinskia at gcc dot gnu dot org
--- Comment #2 from pinskia at gcc dot gnu dot org 2005-10-14 13:39 --- *** Bug 24366 has been marked as a duplicate of this bug. *** -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=22001

[Bug bootstrap/24366] ICE while building cross compiler

2005-10-14 Thread pinskia at gcc dot gnu dot org
--- Comment #1 from pinskia at gcc dot gnu dot org 2005-10-14 13:39 --- *** This bug has been marked as a duplicate of 22001 *** -- pinskia at gcc dot gnu dot org changed: What|Removed |Added --

[Bug middle-end/24362] [4.0/4.1 Regression] internal compiler error: in extract_component, at tree-complex.c:68

2005-10-14 Thread pinskia at gcc dot gnu dot org
--- Comment #6 from pinskia at gcc dot gnu dot org 2005-10-14 13:37 --- Fully reduced testcase: typedef __complex__ double cdouble; cdouble elt_zero(); const cdouble *pointer(); cdouble trace(void) { cdouble output = elt_zero(); const cdouble *data = pointer(); output += data[1];

[Bug bootstrap/24366] New: ICE while building cross compiler

2005-10-14 Thread newell at cei dot net
Compiler info? /home/newell/src/gcc-4.1/b_gcc/gcc/xgcc -v Using built-in specs. Target: m68k-rtems Configured with: ../gcc-4.1-20050515/configure --target=m68k-rtems --with-gnu-as --with-gnu-ld --with-newlib --verbose --enable-threads --enable-languages=c --prefix=/home/newell/xgcc : (reconfigure

[Bug middle-end/24178] [4.0/4.1 regression] generates code that produces unaligned access exceptions

2005-10-14 Thread tsv at solvo dot ru
--- Comment #5 from tsv at solvo dot ru 2005-10-14 13:30 --- I tried check the difference between 3.4 and 4.x. The 3.4 emit instruction that correct passed pointer (in my case -25) and then stores value to member of structure (p4) at correct offset (24). In gcc 4.x the "store_field" is c

[Bug java/24251] [4.0 Regression] BC-compiled interfaces in libgcj can't be called from non-BC code

2005-10-14 Thread pinskia at gcc dot gnu dot org
--- Comment #5 from pinskia at gcc dot gnu dot org 2005-10-14 13:15 --- Fixed. -- pinskia at gcc dot gnu dot org changed: What|Removed |Added Status|ASSIGNED

[Bug fortran/20847] common block object may not have save attribute

2005-10-14 Thread pinskia at gcc dot gnu dot org
--- Comment #4 from pinskia at gcc dot gnu dot org 2005-10-14 13:12 --- Fixed in 4.0.3. -- pinskia at gcc dot gnu dot org changed: What|Removed |Added Target Milestone|

[Bug fortran/20856] function result may not be saved

2005-10-14 Thread pinskia at gcc dot gnu dot org
--- Comment #6 from pinskia at gcc dot gnu dot org 2005-10-14 13:12 --- Fixed in 4.0.3. -- pinskia at gcc dot gnu dot org changed: What|Removed |Added Status|

[Bug fortran/24092] ICE in trans-types.c for nested derived types

2005-10-14 Thread pinskia at gcc dot gnu dot org
--- Comment #3 from pinskia at gcc dot gnu dot org 2005-10-14 13:09 --- Fixed. -- pinskia at gcc dot gnu dot org changed: What|Removed |Added Status|NEW

[Bug rtl-optimization/24361] [4.0 regression] Optimizations -fcse-follow-jumps -fforce-mem break code

2005-10-14 Thread pinskia at gcc dot gnu dot org
--- Comment #1 from pinskia at gcc dot gnu dot org 2005-10-14 13:07 --- I think this has been fixed in 4.0.3 by the patch for PR 23324 but I need someone to test. -- pinskia at gcc dot gnu dot org changed: What|Removed |Added --

[Bug c++/22551] [4.0/4.1 Regression] [ICE] in tree_low_cst, at tree.c:3843

2005-10-14 Thread cvs-commit at gcc dot gnu dot org
--- Comment #9 from cvs-commit at gcc dot gnu dot org 2005-10-14 13:00 --- Subject: Bug 22551 CVSROOT:/cvs/gcc Module name:gcc Branch: gcc-4_0-branch Changes by: [EMAIL PROTECTED] 2005-10-14 13:00:38 Modified files: gcc: ChangeLog c-com

[Bug c++/22551] [4.0/4.1 Regression] [ICE] in tree_low_cst, at tree.c:3843

2005-10-14 Thread nathan at gcc dot gnu dot org
--- Comment #8 from nathan at gcc dot gnu dot org 2005-10-14 13:00 --- fixed mainline and 4.0 2005-10-14 Nathan Sidwell <[EMAIL PROTECTED]> PR c++/22551 * c-common.c (c_add_case_label): Clear LOW_VALUE and HIGH_VALUE's overflow flags. Refactor some conditional

[Bug c++/22551] [4.0/4.1 Regression] [ICE] in tree_low_cst, at tree.c:3843

2005-10-14 Thread cvs-commit at gcc dot gnu dot org
--- Comment #7 from cvs-commit at gcc dot gnu dot org 2005-10-14 12:55 --- Subject: Bug 22551 CVSROOT:/cvs/gcc Module name:gcc Changes by: [EMAIL PROTECTED] 2005-10-14 12:55:33 Modified files: gcc: ChangeLog c-common.c gcc/testsuite :

[Bug c/24101] [3.4/4.0/4.1 Regression] Segfault with preprocessed source

2005-10-14 Thread uros at kss-loka dot si
--- Comment #3 from uros at kss-loka dot si 2005-10-14 12:55 --- The testcase could be furhter reduced into perhaps the smallest testcase that ICEs, ever (name this file for example ttt.i): --cut here-- # --cut here-- gcc ttt.i ttt.i:1: internal compiler error: Segmentation fault --

[Bug middle-end/24362] [4.0/4.1 Regression] internal compiler error: in extract_component, at tree-complex.c:68

2005-10-14 Thread pinskia at gcc dot gnu dot org
--- Comment #5 from pinskia at gcc dot gnu dot org 2005-10-14 12:19 --- Reduced testcase for 4.0 at -O0 and 4.1 at -O1: typedef unsigned int size_t; typedef __complex__ double cdouble; template class RefPointer { }; template class Vector : public RefPointer {

[Bug tree-optimization/23109] [4.1 Regression] compiler generates wrong code leading to spurious division by zero with -funsafe-math-optimizations (instead of -ftrapping-math)

2005-10-14 Thread rguenth at gcc dot gnu dot org
-- rguenth at gcc dot gnu dot org changed: What|Removed |Added AssignedTo|rguenth at gcc dot gnu dot |bonzini at gcc dot gnu dot |org

[Bug tree-optimization/23109] [4.1 Regression] compiler generates wrong code leading to spurious division by zero with -funsafe-math-optimizations (instead of -ftrapping-math)

2005-10-14 Thread rguenth at gcc dot gnu dot org
-- rguenth at gcc dot gnu dot org changed: What|Removed |Added URL||http://gcc.gnu.org/ml/gcc- |

[Bug middle-end/24362] [4.0/4.1 Regression] internal compiler error: in extract_component, at tree-complex.c:68

2005-10-14 Thread pinskia at gcc dot gnu dot org
--- Comment #4 from pinskia at gcc dot gnu dot org 2005-10-14 12:13 --- (In reply to comment #3) > Here is the source for the 4.1 regression: I filed that as PR 24365 as it is not reproducible on the 4.0 branch. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24362

[Bug tree-optimization/23109] [4.1 Regression] compiler generates wrong code leading to spurious division by zero with -funsafe-math-optimizations (instead of -ftrapping-math)

2005-10-14 Thread rguenth at gcc dot gnu dot org
--- Comment #7 from rguenth at gcc dot gnu dot org 2005-10-14 12:13 --- Yes, I think so. You don't even need printf, but any observable side-effect, like a store to a global will do. -- rguenth at gcc dot gnu dot org changed: What|Removed |Added -

[Bug tree-optimization/24365] [4.1 Regression] statement makes a memory store with complex

2005-10-14 Thread pinskia at gcc dot gnu dot org
-- pinskia at gcc dot gnu dot org changed: What|Removed |Added Target Milestone|--- |4.1.0 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24365

[Bug tree-optimization/24365] New: [4.1 Regression]

2005-10-14 Thread pinskia at gcc dot gnu dot org
Take the following C++ code: typedef __complex__ double cdouble; inline cdouble to_complex(const double &r, const double &i = 0.0) { cdouble z; __real__ z = r; return z; } template class RefPointer { }; template class Vector : public RefPointer { public:

[Bug java/23620] [4.0/4.1 Regression] Segfault compiling inner interfaces

2005-10-14 Thread pinskia at gcc dot gnu dot org
-- pinskia at gcc dot gnu dot org changed: What|Removed |Added Target Milestone|4.1.0 |4.0.3 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23620

[Bug java/23620] [4.0/4.1 Regression] Segfault compiling inner interfaces

2005-10-14 Thread pinskia at gcc dot gnu dot org
-- pinskia at gcc dot gnu dot org changed: What|Removed |Added Target Milestone|--- |4.1.0 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23620

[Bug middle-end/24362] [4.0/4.1 Regression] internal compiler error: in extract_component, at tree-complex.c:68

2005-10-14 Thread pinskia at gcc dot gnu dot org
--- Comment #3 from pinskia at gcc dot gnu dot org 2005-10-14 12:05 --- Here is the source for the 4.1 regression: typedef __complex__ double cdouble; inline cdouble to_complex(const double &r, const double &i = 0.0) { cdouble z; __real__ z = r; return z; } temp

[Bug c/24363] [3.4 Regression] Missing Errormessage

2005-10-14 Thread pinskia at gcc dot gnu dot org
--- Comment #1 from pinskia at gcc dot gnu dot org 2005-10-14 12:04 --- Confirmed, only a 3.4 regression -- pinskia at gcc dot gnu dot org changed: What|Removed |Added

[Bug c/24363] Missing Errormessage

2005-10-14 Thread pinskia at gcc dot gnu dot org
-- pinskia at gcc dot gnu dot org changed: What|Removed |Added Severity|critical|normal http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24363

[Bug middle-end/24362] [4.0/4.1 Regression] internal compiler error: in extract_component, at tree-complex.c:68

2005-10-14 Thread pinskia at gcc dot gnu dot org
--- Comment #2 from pinskia at gcc dot gnu dot org 2005-10-14 12:00 --- Reducing. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24362

[Bug tree-optimization/23109] [4.1 Regression] compiler generates wrong code leading to spurious division by zero with -funsafe-math-optimizations (instead of -ftrapping-math)

2005-10-14 Thread bonzini at gcc dot gnu dot org
--- Comment #6 from bonzini at gcc dot gnu dot org 2005-10-14 12:00 --- I'm not sure this is really fixed. With this test case, float a = g(); printf ("%g\n", a); printf ("%g\n", 2 / a); printf ("%g\n", 3 / a); the division is inserted before the *first* printf, while I believe it sho

[Bug middle-end/24362] [4.0/4.1 Regression] internal compiler error: in extract_component, at tree-complex.c:68

2005-10-14 Thread pinskia at gcc dot gnu dot org
-- pinskia at gcc dot gnu dot org changed: What|Removed |Added Known to fail||4.0.3 4.1.0 Known to work||3.4.5

[Bug c/24363] New: Missing Errormessage

2005-10-14 Thread Klaus-Dieter dot Weber at eads dot com
There is a bug in gcc V 3.3.5 which is distributed with Novell (SuSE) Linux 9.3. The older gcc V 2.95.3 (coming with SuSE 7.3) doesn't have the following behaviour and is working correct. Please generate the following 2 Files: inc_ext.h: extern int iVal; and t.c: #include void t(void) { #i

[Bug middle-end/24362] internal compiler error: in extract_component, at tree-complex.c:68

2005-10-14 Thread pinskia at gcc dot gnu dot org
-- pinskia at gcc dot gnu dot org changed: What|Removed |Added Severity|blocker |normal http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24362

[Bug c++/24362] internal compiler error: in extract_component, at tree-complex.c:68

2005-10-14 Thread worm at arrakis dot es
--- Comment #1 from worm at arrakis dot es 2005-10-14 11:49 --- Created an attachment (id=9986) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=9986&action=view) Preprocessed source file that reveals the problem This file was created from the original C++ sources using the -E flag.

[Bug c++/24362] New: internal compiler error: in extract_component, at tree-complex.c:68

2005-10-14 Thread worm at arrakis dot es
The file http://www.mpq.mpg.de/Theorygroup/CIRAC/people/ripoll/Tensor_diag_z.i compiled with g++ -Wall -pipe -fpreprocessed -g -O2 -march=pentium4 -fpreprocessed -c Tensor_diag_z2.i -o Tensor_diag_z.o causes the compiler to break down with the following error message /home/jlr/afs/src/mpscxx/t

[Bug java/24251] [4.0 Regression] BC-compiled interfaces in libgcj can't be called from non-BC code

2005-10-14 Thread cvs-commit at gcc dot gnu dot org
--- Comment #4 from cvs-commit at gcc dot gnu dot org 2005-10-14 11:41 --- Subject: Bug 24251 CVSROOT:/cvs/gcc Module name:gcc Branch: gcc-4_0-branch Changes by: [EMAIL PROTECTED] 2005-10-14 11:41:40 Modified files: libjava: link.cc ChangeLog

[Bug rtl-optimization/23453] [4.0/4.1 regression] miscompilation of PARI/GP on x86 with gcse after reload

2005-10-14 Thread bonzini at gcc dot gnu dot org
--- Comment #8 from bonzini at gcc dot gnu dot org 2005-10-14 11:38 --- > gcse after reload may move loads from stack around stack pointer changes. here > is simple workaround, it is supposed to prevent gcse after reload from > touching > expressions containing stack pointer at all. Of

[Bug c/24361] New: Optimizations -fcse-follow-jumps -fforce-mem break code

2005-10-14 Thread tromp at cwi dot nl
-bash-3.00$ gcc -v Using built-in specs. Target: i386-redhat-linux Configured with: ../configure --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info --enable-shared --enable-threads=posix --enable-checking=release --with-system-zlib --enable-__cxa_atexit --disable-libunwind-exceptions -

[Bug fortran/18082] Infinite loop with automatic length character objects

2005-10-14 Thread reichelt at gcc dot gnu dot org
--- Comment #12 from reichelt at gcc dot gnu dot org 2005-10-14 10:57 --- Fixed on mainline and teh 4.0 branch. -- reichelt at gcc dot gnu dot org changed: What|Removed |Added ---

[Bug c++/23797] [3.4 Regression] ICE on typename outside template

2005-10-14 Thread reichelt at gcc dot gnu dot org
--- Comment #13 from reichelt at gcc dot gnu dot org 2005-10-14 10:54 --- Changin to ice-on-valid-code, because Nathan stated in the patch http://gcc.gnu.org/ml/gcc-patches/2005-10/msg00712.html > Note, we do not issue an error on the testcase, even though it uses typename > outside o

[Bug c++/17796] [3.4/4.0/4.1 Regression] Too many unused parameter warnings emitted.

2005-10-14 Thread nathan at gcc dot gnu dot org
-- nathan at gcc dot gnu dot org changed: What|Removed |Added AssignedTo|unassigned at gcc dot gnu |nathan at gcc dot gnu dot |dot org

[Bug c++/22464] [3.4 Regression] ICE on classes in template functions which attempt closure

2005-10-14 Thread reichelt at gcc dot gnu dot org
--- Comment #11 from reichelt at gcc dot gnu dot org 2005-10-14 10:13 --- *** Bug 21685 has been marked as a duplicate of this bug. *** -- reichelt at gcc dot gnu dot org changed: What|Removed |Added ---

[Bug c++/21685] [3.4/4.0/4.1 Regression] Internal compiler error on invalid code

2005-10-14 Thread reichelt at gcc dot gnu dot org
--- Comment #8 from reichelt at gcc dot gnu dot org 2005-10-14 10:13 --- *** This bug has been marked as a duplicate of 22464 *** -- reichelt at gcc dot gnu dot org changed: What|Removed |Added ---

[Bug middle-end/24341] [4.1 regression] testsuite failure: gcc.c-torture/compile/sync-1.c

2005-10-14 Thread hp at gcc dot gnu dot org
--- Comment #2 from hp at gcc dot gnu dot org 2005-10-14 09:25 --- This is a middle-end bug. -- hp at gcc dot gnu dot org changed: What|Removed |Added AssignedTo|

  1   2   >