[Bug c++/18803] [4.0 regression] rejects access to operator() in template

2004-12-08 Thread cvs-commit at gcc dot gnu dot org
--- Additional Comments From cvs-commit at gcc dot gnu dot org 2004-12-08 08:36 --- Subject: Bug 18803 CVSROOT:/cvs/gcc Module name:gcc Changes by: [EMAIL PROTECTED] 2004-12-08 08:36:10 Modified files: gcc/cp : ChangeLog call.c class.c cp-tree.h cv

[Bug c++/18803] [4.0 regression] rejects access to operator() in template

2004-12-08 Thread nathan at gcc dot gnu dot org
--- Additional Comments From nathan at gcc dot gnu dot org 2004-12-08 08:40 --- 2004-12-08 Nathan Sidwell <[EMAIL PROTECTED]> PR c++/18803 * cp-tree.h (REFERENCE_REF_P): New. (CPTI_TYPE_INFO_TYPE): Rename to ... (CPTI_CONST_TYPE_INFO_TYPE): ... here.

[Bug c++/18672] [4.0 Regression] Segfault with simple template code

2004-12-08 Thread nathan at gcc dot gnu dot org
--- Additional Comments From nathan at gcc dot gnu dot org 2004-12-08 08:45 --- PR c++/18672 * gimplify.c (canonicalize_addr_expr): Cope with array of incomplete type. (gimplify_conversion): Remove redundant checks. -- What|Removed

[Bug libstdc++/18882] New: wrong results of pow( complex(2, 1), odd integer )

2004-12-08 Thread mikulik at physics dot muni dot cz
-- Summary: wrong results of pow( complex(2, 1), odd integer ) Product: gcc Version: 3.3.1 Status: UNCONFIRMED Severity: critical Priority: P1 Component: libstdc++ AssignedTo: unassigned at gcc

[Bug c++/18672] [4.0 Regression] Segfault with simple template code

2004-12-08 Thread cvs-commit at gcc dot gnu dot org
--- Additional Comments From cvs-commit at gcc dot gnu dot org 2004-12-08 08:48 --- Subject: Bug 18672 CVSROOT:/cvs/gcc Module name:gcc Changes by: [EMAIL PROTECTED] 2004-12-08 08:48:01 Modified files: gcc: ChangeLog gimplify.c gcc/tes

[Bug tree-optimization/18880] DSE is not doing its job for global variables

2004-12-08 Thread steven at gcc dot gnu dot org
-- What|Removed |Added CC||law at redhat dot com http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18880

[Bug libstdc++/18882] wrong results of pow( complex(2, 1), odd integer )

2004-12-08 Thread mikulik at physics dot muni dot cz
--- Additional Comments From mikulik at physics dot muni dot cz 2004-12-08 08:53 --- Created an attachment (id=7704) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=7704&action=view) for given x and n=1,2,3,4,5,... , print pow(x, n) -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id

[Bug target/18713] Large program size due to uninitialised global data

2004-12-08 Thread steven at gcc dot gnu dot org
--- Additional Comments From steven at gcc dot gnu dot org 2004-12-08 08:56 --- Bugs for gcc 3.2.3 are not going to be fixed. Are you seeing this problem with more recent versions of GCC as well? -- What|Removed |Added -

[Bug libstdc++/18882] wrong results of pow( complex(2, 1), odd integer )

2004-12-08 Thread mikulik at physics dot muni dot cz
--- Additional Comments From mikulik at physics dot muni dot cz 2004-12-08 09:01 --- Results of pow(complex, int) calculated by GNU C++ 3.x are wrong. Further, multiplications of complex and int or double are unimplemented: complex x, y; y = 2 * x; y = 2.0 * x; And also complex x, y;

[Bug c++/18100] [3.4/4.0 regression] template member with same name as class not rejected

2004-12-08 Thread nathan at codesourcery dot com
--- Additional Comments From nathan at codesourcery dot com 2004-12-08 09:05 --- Subject: Re: [3.4/4.0 regression] template member with same name as class not rejected Mark Mitchell wrote: > lerdsuwa at gcc dot gnu dot org wrote: > >> --- Additional Comments From lerdsuwa at gcc

[Bug fortran/18883] New: ICE in gfc_finish_var_decl

2004-12-08 Thread Thomas dot Koenig at online dot de
Test case from a post on comp.lang.fortran. $ cat dud.f90 !From: "James Van Buskirk" <[EMAIL PROTECTED]> !Newsgroups: comp.lang.fortran !Subject: Re: sizeof equivalent in fortran 90 programs !Message-ID: <[EMAIL PROTECTED]> !Organization: Comcast Online !Date: Wed, 08 Dec 2004 08:00:01 GMT ! !"Ric

Re: complex numbers

2004-12-08 Thread Andreas Klein
Hello > > > Have a look to the implementation: it looks like that even if we switch > to the > better algorithm, still we don't get fully right C99. Of course this > last point > must be better investigate (I'm not a floating point expert) but I > expect someone > replying: "let's implement C99 div

Re: complex numbers

2004-12-08 Thread Andreas Klein
Hello > > | What was the critice you mentioned above? I can not imagine a sitation in > | which I would need the naive implementation. > > Oh, I got repeated complaints from users that the correct method of > computation was slow -- look at the bugzilla archive. I believe there > might alos be di

[Bug c++/18884] New: size_t undeclared in namespace std

2004-12-08 Thread ygs44 at hotmail dot com
In file included from /usr/include/c++/3.2.3/bits/stl_algobase.h:69, from /usr/include/c++/3.2.3/bits/stl_tree.h:86, from /usr/include/c++/3.2.3/map:66 /usr/include/c++/3.2.3/new:79: `size_t' undeclared in namespace `std' /usr/include/c++/3.2.3/new:79: decl

[Bug libmudflap/18885] New: linker does not link libmudflap automatically with -fmudflap

2004-12-08 Thread micis at gmx dot de
The GCC manual states that libmudflap will be linked if the -fmudflap option is give to the linker: The instrumentation relies on a separate runtime library (libmudflap), which will be linked into a program if -fmudflap is given at link time. But that is not true, the program links only

[Bug c++/16273] [3.3/3.4/4.0 regression] Memory exhausted when using nested classes and virtual functions

2004-12-08 Thread david at starks-browning dot com
--- Additional Comments From david at starks-browning dot com 2004-12-08 10:11 --- What about 3.3? Can it also be fixed there? -- What|Removed |Added CC|

[Bug c++/18100] [3.4/4.0 regression] template member with same name as class not rejected

2004-12-08 Thread lerdsuwa at gcc dot gnu dot org
--- Additional Comments From lerdsuwa at gcc dot gnu dot org 2004-12-08 10:12 --- push_class_level_binding is never called for ctors and dtors because of a login in add_method. So my patch doesn't affect template ctor. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18100

[Bug libstdc++/18882] wrong results of pow( complex(2, 1), odd integer )

2004-12-08 Thread pcarlini at suse dot de
--- Additional Comments From pcarlini at suse dot de 2004-12-08 10:18 --- So, let's begin from the end: there is nothing *unimplemented* as far as operator* is concerned: have a look to section 26.2.1 of the Standard, there are *no* overloads taking two different template parameters. Th

[Bug c++/18884] size_t undeclared in namespace std

2004-12-08 Thread pcarlini at suse dot de
--- Additional Comments From pcarlini at suse dot de 2004-12-08 10:19 --- Please provide a self-contained testcase. Thanks. -- What|Removed |Added Status|UNCONFI

[Bug libstdc++/17315] Strange compile-time regression in cpp against gcc3.4.1

2004-12-08 Thread pcarlini at suse dot de
--- Additional Comments From pcarlini at suse dot de 2004-12-08 10:23 --- Yes, Andrew, we cannot do anything about this. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17315

[Bug c++/18100] [3.4/4.0 regression] template member with same name as class not rejected

2004-12-08 Thread cvs-commit at gcc dot gnu dot org
--- Additional Comments From cvs-commit at gcc dot gnu dot org 2004-12-08 10:25 --- Subject: Bug 18100 CVSROOT:/cvs/gcc Module name:gcc Changes by: [EMAIL PROTECTED] 2004-12-08 10:25:23 Modified files: gcc/cp : ChangeLog decl.c gcc/testsui

[Bug libstdc++/17315] Strange compile-time regression in cpp against gcc3.4.1

2004-12-08 Thread kgardas at objectsecurity dot com
--- Additional Comments From kgardas at objectsecurity dot com 2004-12-08 10:26 --- Subject: Re: Strange compile-time regression in cpp against gcc3.4.1 Sure, close it! 4.0.0 is enough faster anyway! :-) Cheers, Karel -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17315

[Bug libstdc++/17315] Strange compile-time regression in cpp against gcc3.4.1

2004-12-08 Thread pcarlini at suse dot de
--- Additional Comments From pcarlini at suse dot de 2004-12-08 10:31 --- Ok ;) -- What|Removed |Added Status|UNCONFIRMED |RESOLVED Reso

[Bug c++/18886] New: attribute sentinel doesn't work with C++

2004-12-08 Thread salinger at sun dot felk dot cvut dot cz
NULL is expanded as __null in C++. This is inconsistent with sentinel testing. There should be one warning for both cases. gcc version 4.0.0 20041128 (experimental) $ gcc -Wall -c e.c e.c: In function 'bar': e.c:15: warning: missing sentinel in function call $ g++ -Wall -c e.c e.c: In function

[Bug c++/18100] [3.4/4.0 regression] template member with same name as class not rejected

2004-12-08 Thread cvs-commit at gcc dot gnu dot org
--- Additional Comments From cvs-commit at gcc dot gnu dot org 2004-12-08 10:54 --- Subject: Bug 18100 CVSROOT:/cvs/gcc Module name:gcc Branch: gcc-3_4-branch Changes by: [EMAIL PROTECTED] 2004-12-08 10:53:30 Modified files: gcc/cp : Change

[Bug c++/18100] [3.4/4.0 regression] template member with same name as class not rejected

2004-12-08 Thread lerdsuwa at gcc dot gnu dot org
--- Additional Comments From lerdsuwa at gcc dot gnu dot org 2004-12-08 10:56 --- Fixed. -- What|Removed |Added Status|ASSIGNED|RESOLVED

[Bug c++/18757] [3.4/4.0 Regression] ICE (on invalid) in get_innermost_template_args

2004-12-08 Thread lerdsuwa at gcc dot gnu dot org
--- Additional Comments From lerdsuwa at gcc dot gnu dot org 2004-12-08 10:59 --- There is a patch here: http://gcc.gnu.org/ml/gcc-patches/2004-12/msg00538.html -- What|Removed |Added -

[Bug c++/18825] [4.0 Regression] ICE segmentation fault in wv2

2004-12-08 Thread lerdsuwa at gcc dot gnu dot org
--- Additional Comments From lerdsuwa at gcc dot gnu dot org 2004-12-08 11:04 --- Patch submitted: http://gcc.gnu.org/ml/gcc-patches/2004-12/msg00543.html -- What|Removed |Added ---

bug in /usr/include/c++/3.4/bits/fstream.tcc

2004-12-08 Thread Jacob Schmidt Madsen
error: /usr/include/c++/3.4/bits/fstream.tcc: In member function `virtual typename std::basic_filebuf<_CharT, _Traits>::int_type std::basic_filebuf<_CharT, _Traits>::underflow()': /usr/include/c++/3.4/bits/fstream.tcc:277: error: expected unqualified-id before '(' token /usr/include/c++/3.4/bits/fs

[Bug c++/18886] attribute sentinel doesn't work with C++

2004-12-08 Thread joseph at codesourcery dot com
--- Additional Comments From joseph at codesourcery dot com 2004-12-08 11:10 --- Subject: Re: New: attribute sentinel doesn't work with C++ On Wed, 8 Dec 2004, salinger at sun dot felk dot cvut dot cz wrote: > NULL is expanded as __null in C++. > This is inconsistent with sentinel te

Re: bug in /usr/include/c++/3.4/bits/fstream.tcc

2004-12-08 Thread Paolo Carlini
solution found at: http://gcc.gnu.org/ml/gcc-bugs/2004-07/msg02128.html Solution?!? That PR is closed as INVALID for a reason and in fact nobody actually removed those qualifiers from the library. The user code must be fixed instead. Thanks, Paolo.

[Bug target/11738] ICE "could not split insn" building libstdc++-v3

2004-12-08 Thread pingc at nortelnetworks dot com
--- Additional Comments From pingc at nortelnetworks dot com 2004-12-08 12:18 --- hi, additional comments I encountered with a similar issue like this, my gcc version is 2.95.1 19990816. It is interesting that when I commented some piece of my code, I could successfully compiling my f

[Bug c++/18884] size_t undeclared in namespace std

2004-12-08 Thread ygs44 at hotmail dot com
--- Additional Comments From ygs44 at hotmail dot com 2004-12-08 12:51 --- Subject: RE: size_t undeclared in namespace std Just use an empty class but in the header file: #include >From: "pcarlini at suse dot de" <[EMAIL PROTECTED]> >Reply-To: [EMAIL PROTECTED] >To: [EMAIL PROTECTED]

[Bug c++/18884] size_t undeclared in namespace std

2004-12-08 Thread pcarlini at suse dot de
--- Additional Comments From pcarlini at suse dot de 2004-12-08 12:56 --- Sorry, cannot reproduce, please double check your installation. Also, 3.2.x is not longer maintained, and of course nothing similar happens with 3.3.x, 3.4.x and current mainline. -- What|Removed

[Bug c++/18884] size_t undeclared in namespace std

2004-12-08 Thread ygs44 at hotmail dot com
--- Additional Comments From ygs44 at hotmail dot com 2004-12-08 12:59 --- Subject: RE: size_t undeclared in namespace std actually it is the #include >From: "pcarlini at suse dot de" <[EMAIL PROTECTED]> >Reply-To: [EMAIL PROTECTED] >To: [EMAIL PROTECTED] >Subject: [Bug c++/18884] si

[Bug c/18887] New: libgcc2.h Improperly determines required built-in function size requirements.

2004-12-08 Thread schlie at comcast dot net
UNITS_PER_WORD is being improperly used as the sole basis for selecting built-in function type sizes in libgcc2.h. As definitions like: #if MIN_UNITS_PER_WORD > 1 /* These typedefs are usually forbidden on dsp's with UNITS_PER_WORD 1. */ typedef int SItype __attribute__ ((mode (SI)))

[Bug c++/18884] size_t undeclared in namespace std

2004-12-08 Thread pcarlini at suse dot de
--- Additional Comments From pcarlini at suse dot de 2004-12-08 13:11 --- A file only including or or whatever cannot lead to compilation errors if your system is sane: again, please check it, this is not a gcc bug -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18884

[Bug c++/18886] attribute sentinel doesn't work with C++

2004-12-08 Thread salinger at sun dot felk dot cvut dot cz
--- Additional Comments From salinger at sun dot felk dot cvut dot cz 2004-12-08 13:22 --- > > NULL is expanded as __null in C++. > > This is inconsistent with sentinel testing. > Why do you think it is inconsistent? For me it is inconsistent at least conceptualy. In C++ (but not C) e

[Bug java/18811] [4.0 Regression] rhug build problem, regression?

2004-12-08 Thread cvs-commit at gcc dot gnu dot org
--- Additional Comments From cvs-commit at gcc dot gnu dot org 2004-12-08 14:08 --- Subject: Bug 18811 CVSROOT:/cvs/gcc Module name:gcc Changes by: [EMAIL PROTECTED] 2004-12-08 14:08:28 Modified files: gcc/java : ChangeLog Log message: 2004

[Bug java/18811] [4.0 Regression] rhug build problem, regression?

2004-12-08 Thread aph at gcc dot gnu dot org
-- What|Removed |Added AssignedTo|unassigned at gcc dot gnu |aph at gcc dot gnu dot org |dot org | Status|NEW

[Bug java/18811] [4.0 Regression] rhug build problem, regression?

2004-12-08 Thread aph at gcc dot gnu dot org
-- What|Removed |Added Status|ASSIGNED|WAITING http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18811

[Bug libstdc++/18882] wrong results of pow( complex(2, 1), odd integer )

2004-12-08 Thread chris at bubblescope dot net
--- Additional Comments From chris at bubblescope dot net 2004-12-08 14:15 --- Heres a much smaller testcase which shows this bug: #include class complex { public: complex(long double r=0, long double i=0) { __real__ _M_value = r; __imag__ _M_value = i; } lon

[Bug ada/18816] ACATS c460007 runtime rounding problem

2004-12-08 Thread pinskia at gcc dot gnu dot org
--- Additional Comments From pinskia at gcc dot gnu dot org 2004-12-08 14:29 --- Fixed by: 2004-12-07 Geert Bosch <[EMAIL PROTECTED]> * eval_fat.adb: Revert previous change. -- What|Removed |Added --

[Bug java/18811] [4.0 Regression] rhug build problem, regression?

2004-12-08 Thread pinskia at gcc dot gnu dot org
--- Additional Comments From pinskia at gcc dot gnu dot org 2004-12-08 14:35 --- Fixed. -- What|Removed |Added Status|WAITING |RESOLVED

[Bug c/18887] libgcc2.h Improperly determines required built-in function size requirements.

2004-12-08 Thread pinskia at gcc dot gnu dot org
--- Additional Comments From pinskia at gcc dot gnu dot org 2004-12-08 14:36 --- Is this really a bug as almost all 8/16bit targets provide their own libgcc1? -- What|Removed |Added -

[Bug fortran/18826] compiler segfault on assign to array

2004-12-08 Thread cvs-commit at gcc dot gnu dot org
--- Additional Comments From cvs-commit at gcc dot gnu dot org 2004-12-08 14:38 --- Subject: Bug 18826 CVSROOT:/cvs/gcc Module name:gcc Changes by: [EMAIL PROTECTED] 2004-12-08 14:37:59 Modified files: gcc/fortran: ChangeLog Log message: Add

[Bug fortran/18826] compiler segfault on assign to array

2004-12-08 Thread cvs-commit at gcc dot gnu dot org
--- Additional Comments From cvs-commit at gcc dot gnu dot org 2004-12-08 14:38 --- Subject: Bug 18826 CVSROOT:/cvs/gcc Module name:gcc Changes by: [EMAIL PROTECTED] 2004-12-08 14:38:31 Modified files: gcc/testsuite : ChangeLog Log message: Add

[Bug fortran/18826] compiler segfault on assign to array

2004-12-08 Thread tobi at gcc dot gnu dot org
--- Additional Comments From tobi at gcc dot gnu dot org 2004-12-08 14:39 --- Fixed. -- What|Removed |Added Status|ASSIGNED|RESOLVED

[Bug fortran/18870] [g77 regression] Equivalencing two common blocks is not caught

2004-12-08 Thread tobi at gcc dot gnu dot org
--- Additional Comments From tobi at gcc dot gnu dot org 2004-12-08 14:40 --- Confirmed. We don't look through equivalences. -- What|Removed |Added Status|UNCONF

[Bug c++/18886] attribute sentinel doesn't work with C++

2004-12-08 Thread pinskia at gcc dot gnu dot org
--- Additional Comments From pinskia at gcc dot gnu dot org 2004-12-08 14:40 --- Actually the warning is correct __null is the size of an int and the size of the pointer, use a cast, now in C NULL is usually defined as (void*)0 which usually has the cast but you should always cast it

[Bug fortran/18878] Erronous error message on vaild USE statement

2004-12-08 Thread tobi at gcc dot gnu dot org
--- Additional Comments From tobi at gcc dot gnu dot org 2004-12-08 14:43 --- Confirmed. BTW I tried chaging f=>b in the attached program to f=>e (invalid, but the error message suggests that we rename the symbol), but this didn't help. -- What|Removed

[Bug middle-end/18882] [3.3/3.4/4.0? Regression] wrong results of pow( complex(2, 1), odd integer )

2004-12-08 Thread pinskia at gcc dot gnu dot org
--- Additional Comments From pinskia at gcc dot gnu dot org 2004-12-08 14:45 --- It works for me on the mainline and 3.3.2 on ppc-darwin, must be a code generation bug then. -- What|Removed |Added -

[Bug libfortran/18879] ? not supported in namelist input

2004-12-08 Thread tobi at gcc dot gnu dot org
--- Additional Comments From tobi at gcc dot gnu dot org 2004-12-08 14:47 --- Is this a language extension? Seems likely, as the standard has no concept of stdin and stdout. Could you point to someplace where this extension is specified? -- What|Removed

[Bug target/18888] New: [4.0 regression] __builtin_va_arg miscompiled

2004-12-08 Thread schwab at suse dot de
$ gcc-4.0 -O2 -std=gnu99 vfprintf.i $ ./a.out (null) $ gcc-3.4 -O2 -std=gnu99 vfprintf.i $ ./a.out asdf The problem is that "string = (char *) __builtin_va_arg(ap,const char *)" is compiled into this: .mmi adds r34 = 8, r34 ;; ld8 r37 = [r34]

[Bug c++/18881] c++ multiple inheritance class calls wrong function in threaded environment

2004-12-08 Thread pinskia at gcc dot gnu dot org
--- Additional Comments From pinskia at gcc dot gnu dot org 2004-12-08 14:53 --- Invalid as no compiler knows what branch to take when taking the cast: TestBaseClass_C *self = (TestBaseClass_C *)ptObj; Since ptObj is void*, it is just a normal cast and not a cast which takes a branch

[Bug fortran/18826] compiler segfault on assign to array

2004-12-08 Thread pinskia at gcc dot gnu dot org
-- What|Removed |Added Target Milestone|--- |4.0.0 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18826

[Bug fortran/18883] ICE in gfc_finish_var_decl

2004-12-08 Thread pinskia at gcc dot gnu dot org
--- Additional Comments From pinskia at gcc dot gnu dot org 2004-12-08 14:54 --- Confirmed. -- What|Removed |Added Status|UNCONFIRMED |NEW E

[Bug fortran/18883] ICE in gfc_finish_var_decl

2004-12-08 Thread pinskia at gcc dot gnu dot org
--- Additional Comments From pinskia at gcc dot gnu dot org 2004-12-08 14:56 --- Might be related to PR 15164. -- What|Removed |Added BugsThisDependsOn|

[Bug target/18888] [4.0 regression] __builtin_va_arg miscompiled

2004-12-08 Thread schwab at suse dot de
--- Additional Comments From schwab at suse dot de 2004-12-08 14:56 --- Created an attachment (id=7705) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=7705&action=view) Testcase -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=1

[Bug target/18888] [4.0 regression] __builtin_va_arg miscompiled

2004-12-08 Thread pinskia at gcc dot gnu dot org
-- What|Removed |Added Keywords||wrong-code Target Milestone|--- |4.0.0 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=

[Bug middle-end/18882] [3.3/3.4/4.0? Regression] wrong results of pow( complex(2, 1), odd integer )

2004-12-08 Thread pcarlini at suse dot de
--- Additional Comments From pcarlini at suse dot de 2004-12-08 14:59 --- Mainline seems ok on i686/x86_64/ia64-linux. I can confirm that 3.3.3 and 3.4.3 are *not* ok on i686-linux. -- What|Removed |Added -

[Bug target/18888] [4.0 regression] __builtin_va_arg miscompiled

2004-12-08 Thread pinskia at gcc dot gnu dot org
--- Additional Comments From pinskia at gcc dot gnu dot org 2004-12-08 15:06 --- The bug is most likely in ia64_gimplify_va_arg or in std_gimplify_va_arg_expr. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=1

[Bug other/14708] description of -ffloat-store in gcc man page incorrect/inaccurate

2004-12-08 Thread vincent at vinc17 dot org
--- Additional Comments From vincent at vinc17 dot org 2004-12-08 15:13 --- I'm wrong. gcc 3.4 (from Debian) still has this problem. So, -ffloat-store is still needed for C compliance. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=14708

[Bug ada/18691] 105 acats failure due to ICE in gnat_to_gnu_entity, at ada/decl.c:286

2004-12-08 Thread pinskia at gcc dot gnu dot org
--- Additional Comments From pinskia at gcc dot gnu dot org 2004-12-08 15:19 --- Fixed by: 2004-12-07 Richard Kenner <[EMAIL PROTECTED]> * misc.c (gnat_types_compatible_p, LANG_HOOKS_TYPES_COMPATIBLE_P): Remove. (LANG_HOOKS_REDUCE_BIT_FIELD_OPERATIONS): New.

[Bug c/18887] libgcc2.h Improperly determines required built-in function size requirements.

2004-12-08 Thread schlie at comcast dot net
--- Additional Comments From schlie at comcast dot net 2004-12-08 15:24 --- Subject: Re: libgcc2.h Improperly determines required built-in function size requirements. > From: pinskia at gcc dot gnu dot org <[EMAIL PROTECTED]> > --- Additional Comments From pinskia at gcc dot gnu d

[Bug libmudflap/18885] linker does not link libmudflap automatically with -fmudflap

2004-12-08 Thread pinskia at gcc dot gnu dot org
--- Additional Comments From pinskia at gcc dot gnu dot org 2004-12-08 15:32 --- Confirmed, but I don't know it was removed. -- What|Removed |Added Status|UNCONF

[Bug libstdc++/18889] New: Unable to build libstdc++-v3

2004-12-08 Thread mike at tedder dot com
After bootstraping the newly built gcc, make fails on linking libstdc++-v3: /usr/src/gcc-3.4.3-objdir/gcc/xgcc -shared-libgcc -B/usr/src/gcc-3.4.3-objdir/ gcc/ -nostdinc++ -L/usr/src/gcc-3.4.3-objdir/powerpc-unknown-linux-gnu/nof/ libstdc++-v3/src -L/usr/src/gcc-3.4.3-objdir/powerpc-unknown-linux-

[Bug libstdc++/18889] Unable to build libstdc++-v3

2004-12-08 Thread pinskia at gcc dot gnu dot org
--- Additional Comments From pinskia at gcc dot gnu dot org 2004-12-08 16:20 --- libtool looks like it is messing up. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18889

[Bug libfortran/18879] ? not supported in namelist input

2004-12-08 Thread Thomas dot Koenig at online dot de
--- Additional Comments From Thomas dot Koenig at online dot de 2004-12-08 16:24 --- (In reply to comment #1) > Is this a language extension? Seems likely, as the standard has no concept of > stdin and stdout. Could you point to someplace where this extension is > specified? It's in t

[Bug middle-end/18882] [3.3/3.4 Regression] wrong results of pow( complex(2, 1), odd integer )

2004-12-08 Thread mikulik at physics dot muni dot cz
--- Additional Comments From mikulik at physics dot muni dot cz 2004-12-08 16:28 --- >> Further, multiplications of complex and int or double >> are unimplemented > So, let's begin from the end: there is nothing *unimplemented* as far > as operator* is concerned: have a look to sect

[Bug middle-end/18882] [3.3/3.4 Regression] wrong results with complex long double

2004-12-08 Thread bangerth at dealii dot org
--- Additional Comments From bangerth at dealii dot org 2004-12-08 16:29 --- Here's my shortest version: --- extern "C" void abort (); struct C { __complex__ long double c; }; int main() { C x = {2+2i}; int n = 1; C y = (n==1) ? x : (C){3+3i};

[Bug libfortran/18653] open call should open for read-only if open for read/write fails.

2004-12-08 Thread sje at cup dot hp dot com
--- Additional Comments From sje at cup dot hp dot com 2004-12-08 16:52 --- This has been fixed with the patch http://gcc.gnu.org/ml/fortran/2004-12/msg00017.html which is now checked in on ToT. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18653

[Bug c++/18073] [4.0 regression] mmintrin.h rejected by C++ frontend

2004-12-08 Thread reichelt at gcc dot gnu dot org
--- Additional Comments From reichelt at gcc dot gnu dot org 2004-12-08 16:54 --- Patch here: http://gcc.gnu.org/ml/gcc-patches/2004-12/msg00599.html Mark, the posted patch is a little different from the one in comment #9. (That's why I didn't apply it yet.) It uses convert_to_integer f

[Bug libfortran/18653] open call should open for read-only if open for read/write fails.

2004-12-08 Thread pinskia at gcc dot gnu dot org
--- Additional Comments From pinskia at gcc dot gnu dot org 2004-12-08 16:54 --- Fixed by: 2004-12-07 Steve Ellcey <[EMAIL PROTECTED]> * io/io.h (open_external): Change prototype. * io/unix.c (regular_file): Change prototype and set flags->action if needed.

[Bug target/18888] [4.0 regression] __builtin_va_arg miscompiled

2004-12-08 Thread hjl at lucon dot org
-- What|Removed |Added CC||hjl at lucon dot org http://gcc.gnu.org/bugzilla/show_bug.cgi?id=1

[Bug tree-optimization/18880] DSE is not doing its job for global variables

2004-12-08 Thread law at redhat dot com
--- Additional Comments From law at redhat dot com 2004-12-08 17:02 --- Subject: Re: DSE is not doing its job for global variables Note that we're only fixing regressions, and I can't see a way to classify this as a regression since the RTL DSE code ought to catch this. This sh

[Bug c++/18886] misleading warning from attribute sentinel in C++

2004-12-08 Thread salinger at sun dot felk dot cvut dot cz
--- Additional Comments From salinger at sun dot felk dot cvut dot cz 2004-12-08 17:07 --- Thanks for explanation. The warning message was confusing for me. Could be possible to distinguish between NULL without pointer conversion and completely forgotten NULL ? With something like thi

[Bug java/14853] [3.3/3.4 Regression] Assignment to final field permitted when compiling to native

2004-12-08 Thread cvs-commit at gcc dot gnu dot org
--- Additional Comments From cvs-commit at gcc dot gnu dot org 2004-12-08 17:29 --- Subject: Bug 14853 CVSROOT:/cvs/gcc Module name:gcc Branch: gcc-3_4-branch Changes by: [EMAIL PROTECTED] 2004-12-08 17:29:02 Modified files: libjava: Change

[Bug java/14853] [3.3/3.4 Regression] Assignment to final field permitted when compiling to native

2004-12-08 Thread cvs-commit at gcc dot gnu dot org
--- Additional Comments From cvs-commit at gcc dot gnu dot org 2004-12-08 17:29 --- Subject: Bug 14853 CVSROOT:/cvs/gcc Module name:gcc Branch: gcc-3_4-branch Changes by: [EMAIL PROTECTED] 2004-12-08 17:29:42 Modified files: gcc/java : Change

[Bug fortran/18890] New: ICE at assign CHARACTER POINTER array to POINTER or ALLOCATABLE one

2004-12-08 Thread naf at naf dot net dot ru
ortran -lm Reading specs from /usr/local/bin/gfortran/irun/bin/../lib/gcc/i686-pc-linux-gnu/4.0.0/specs Configured with: ../gcc/configure --enable-languages=c,f95 --prefix=/usr/work/2004343/irun Thread model: posix gcc version 4.0.0 20041208 (experimental) /usr/local/bin/gfortran/irun/bin/../libexec/g

[Bug fortran/18891] New: write with no open causes core dump

2004-12-08 Thread sje at cup dot hp dot com
I believe the attached program is legal, it works with my HP compiler, and the basic premise of the test, write without doing an open, comes from a SPEC test. On ia64-hp-hpux11.20, I get a core dump and putting in the open makes things work. I assume other platforms will show the same behaviour.

[Bug tree-optimization/18880] DSE is not doing its job for global variables

2004-12-08 Thread pinskia at gcc dot gnu dot org
--- Additional Comments From pinskia at gcc dot gnu dot org 2004-12-08 18:03 --- Yes I know it is regression only time which is why I filed it and marked it as an enhancement but I should note that I found this while looking into a benchmark. -- What|Removed

[Bug fortran/18890] ICE at assign CHARACTER POINTER array to POINTER or ALLOCATABLE one

2004-12-08 Thread pinskia at gcc dot gnu dot org
--- Additional Comments From pinskia at gcc dot gnu dot org 2004-12-08 18:06 --- Confirmed. -- What|Removed |Added Status|UNCONFIRMED |NEW E

[Bug fortran/18891] write with no open causes core dump

2004-12-08 Thread pinskia at gcc dot gnu dot org
--- Additional Comments From pinskia at gcc dot gnu dot org 2004-12-08 18:08 --- Hmm, this works for me on ppc-darwin with a compiler built yesterday. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18891

[Bug java/14853] [3.3/3.4 Regression] Assignment to final field permitted when compiling to native

2004-12-08 Thread pinskia at gcc dot gnu dot org
--- Additional Comments From pinskia at gcc dot gnu dot org 2004-12-08 18:09 --- Fixed on the 3.4 branch also. -- What|Removed |Added Status|REOPENED

[Bug java/13607] [meta-bug] access problems in java front-end

2004-12-08 Thread pinskia at gcc dot gnu dot org
-- Bug 13607 depends on bug 14853, which changed state. Bug 14853 Summary: [3.3/3.4 Regression] Assignment to final field permitted when compiling to native http://gcc.gnu.org/bugzilla/show_bug.cgi?id=14853 What|Old Value |New Value ---

[Bug fortran/18891] write with no open causes core dump

2004-12-08 Thread sje at cup dot hp dot com
--- Additional Comments From sje at cup dot hp dot com 2004-12-08 18:47 --- I did some more digging and found that my program was dying in us_write (io/transfer.c) at the line containing '*p = 0;'. I think the problem is one of alignment. p is a pointer to gfc_offset, which is off_t, w

[Bug c/17946] wanted: warning for "a && MASK" when "a & MASK" was probably intended

2004-12-08 Thread trt at acm dot org
--- Additional Comments From trt at acm dot org 2004-12-08 18:48 --- I should mention there is a hack for the problem noted in comment #5: do the temporary truthvalue conversions with warnings suppressed. That is, change the two instances of tree t = lang_hooks.truthvalue_conversion (

[Bug libfortran/18891] write with no open causes core dump

2004-12-08 Thread pinskia at gcc dot gnu dot org
-- What|Removed |Added Component|fortran |libfortran http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18891

[Bug libfortran/18891] write with no open causes core dump

2004-12-08 Thread sje at cup dot hp dot com
--- Additional Comments From sje at cup dot hp dot com 2004-12-08 19:06 --- The same problem exists in next_record_w, there there are two statments of the form '*((gfc_offset *) p) = m;' and again there is no gaurentee that p is an aligned address. These must also be fixed for this test

[Bug middle-end/17982] [4.0 regression] asm declaration ignored due to conflict with previous rename

2004-12-08 Thread cvs-commit at gcc dot gnu dot org
--- Additional Comments From cvs-commit at gcc dot gnu dot org 2004-12-08 19:13 --- Subject: Bug 17982 CVSROOT:/cvs/gcc Module name:gcc Changes by: [EMAIL PROTECTED] 2004-12-08 19:13:36 Modified files: gcc: ChangeLog cgraphunit.c tree.h varasm.

[Bug rtl-optimization/15135] program hangs in call to sqrt when compiled with -O

2004-12-08 Thread gccbug at gammarayburst dot de
--- Additional Comments From gccbug at gammarayburst dot de 2004-12-08 19:39 --- This bug seems to have resurfaced in 3.4.3. It is actually enough to have a negative argument to sqrt. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=15135

[Bug ada/18302] ACATS test c953002 (and others) hangs

2004-12-08 Thread aaronavay62 at aaronwl dot com
--- Additional Comments From aaronavay62 at aaronwl dot com 2004-12-08 19:44 --- On i686-pc-mingw32, these three tests hang: ExecutableRun time Memory Usage c94002f.exe 0s 1112KB c974012.exe 0s 1080KB c980001.exe 0s 604KB Andrew Pinski says: I have t

[Bug ada/17666] Ada tests hanging during make check

2004-12-08 Thread aaronavay62 at aaronwl dot com
--- Additional Comments From aaronavay62 at aaronwl dot com 2004-12-08 19:44 --- *** This bug has been marked as a duplicate of 18302 *** -- What|Removed |Added

[Bug ada/18302] ACATS test c953002 (and others) hangs

2004-12-08 Thread aaronavay62 at aaronwl dot com
--- Additional Comments From aaronavay62 at aaronwl dot com 2004-12-08 19:44 --- *** Bug 17666 has been marked as a duplicate of this bug. *** -- What|Removed |Added

[Bug middle-end/17982] [4.0 regression] asm declaration ignored due to conflict with previous rename

2004-12-08 Thread pinskia at gcc dot gnu dot org
--- Additional Comments From pinskia at gcc dot gnu dot org 2004-12-08 20:00 --- Fixed. -- What|Removed |Added Status|NEW |RESOLVED

[Bug c/18632] [4.0 regression]: Can't rename a function after it is used

2004-12-08 Thread pinskia at gcc dot gnu dot org
-- Bug 18632 depends on bug 17982, which changed state. Bug 17982 Summary: [4.0 regression] asm declaration ignored due to conflict with previous rename http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17982 What|Old Value |New Value ---

[Bug tree-optimization/18880] DSE is not doing its job for global variables

2004-12-08 Thread law at redhat dot com
--- Additional Comments From law at redhat dot com 2004-12-08 20:02 --- Subject: Re: DSE is not doing its job for global variables On Wed, 2004-12-08 at 18:03 +, pinskia at gcc dot gnu dot org wrote: > --- Additional Comments From pinskia at gcc dot gnu dot org 2004-12-

[Bug tree-optimization/18880] DSE is not doing its job for global variables

2004-12-08 Thread pinskia at gcc dot gnu dot org
--- Additional Comments From pinskia at gcc dot gnu dot org 2004-12-08 20:09 --- (In reply to comment #5) > Subject: Re: DSE is not doing its job for > global variables > > but I should note that I found this while looking into a benchmark. > Were you looking at the final outpu

[Bug tree-optimization/18892] New: missed SRA of a block copy

2004-12-08 Thread pinskia at gcc dot gnu dot org
The following function: int f(int a) { int i = a & -129; return i == 144; } Should be compiled to: int f1(int a) { return (a & -129) == 144; // aka return 0; } Yes this shows up in real code (gcc), found while testing out my tree combiner. -- Summary: missed SRA of a block copy

  1   2   >