[Bug middle-end/18820] ACATS c95300[123] and c980002 fail at runtime

2005-01-14 Thread cvs-commit at gcc dot gnu dot org
--- Additional Comments From cvs-commit at gcc dot gnu dot org 2005-01-14 08:04 --- Subject: Bug 18820 CVSROOT:/cvs/gcc Module name:gcc Changes by: [EMAIL PROTECTED] 2005-01-14 08:03:22 Modified files: gcc: ChangeLog varasm.c gcc/tests

[Bug middle-end/18820] ACATS c95300[123] and c980002 fail at runtime

2005-01-14 Thread ebotcazou at gcc dot gnu dot org
--- Additional Comments From ebotcazou at gcc dot gnu dot org 2005-01-14 08:06 --- Patch applied. -- What|Removed |Added Status|ASSIGNED|RES

[Bug libstdc++/19422] assoc. containers: ctor taking range is O(n log n) even if the range is sorted

2005-01-14 Thread SWElef at post dot sk
--- Additional Comments From SWElef at post dot sk 2005-01-14 08:24 --- I was a little in a hurry, so I'll add a comment on the test programm now. The "reference time" of std::list ctor taking range must be linear. Thus it makes sence to have a look at the quotient of the second and third

[Bug target/19357] ICE when long double argument arrives in general register

2005-01-14 Thread jbeulich at novell dot com
--- Additional Comments From jbeulich at novell dot com 2005-01-14 08:58 --- Isn't the MEM case moving things in the wrong direction? If so, and since I tried to fix this myself before submitting the bug, simply swapping the operands of emit_move_insn doesn't seem to work (made the compi

[Bug ada/19419] ACATS CXA4009, CXA4020 - valgrind detects bad code (overlapping memcpy)

2005-01-14 Thread baldrick at free dot fr
--- Additional Comments From baldrick at free dot fr 2005-01-14 08:59 --- Subject: Re: New: ACATS CXA4009, CXA4020 - valgrind detects bad code (overlapping memcpy) Here is a much simplified version: > gnatmake -s -g -O2 tt > valgrind --tool=memcheck ./tt ==10048== Memcheck, a memory

[Bug tree-optimization/19401] Trivial loop not unrolled

2005-01-14 Thread rakdver at gcc dot gnu dot org
--- Additional Comments From rakdver at gcc dot gnu dot org 2005-01-14 09:04 --- Other possible patch: http://gcc.gnu.org/ml/gcc-patches/2005-01/msg00796.html -- What|Removed |Added

cvs snap compilation error

2005-01-14 Thread Tommy Vercetti
Sorry to bug you here guys, but I have no idea where to ask about it. I have downloaded via cvs current snapshot, and it doesn't compile: config.status: executing default commands make[1]: Entering directory `/home/users/gj/Projects/gcc-4.0/gcc/build-x86_64-unknown-linux-gnu/libiberty' if [ x"" !

[Bug c++/19437] New: wrong warning when assigning negative value to int

2005-01-14 Thread oliverst at online dot de
The following code compiled as C++ (does not happen when compiled as C), issues a wrong warning: void test() { unsigned int i = 0; int val = i ? i : -1; } $ gcc -c test.cpp test.cpp: In function `void test()': test.cpp:4: warning: converting of negative value `-0x1'

[Bug c++/19403] [4.0 Regression] name lookup is broken with friends

2005-01-14 Thread Woebbeking at web dot de
--- Additional Comments From Woebbeking at web dot de 2005-01-14 09:56 --- Subject: Re: [4.0 Regression] name lookup is broken with friends On Thursday 13 January 2005 15:52, lerdsuwa at gcc dot gnu dot org wrote: > > > So B's ctor uses the global A without the friend declaration and w

[Bug c/19438] New: Unable to build cross-gcc to target powerpc-eabi

2005-01-14 Thread qty154 at yahoo dot com
I downloaded and installed cygwin, version of cygwin1.dll is 1.5.12-1. I downloaded gcc-3.4.3 sources, gcc-3.4.3.tar.gz, and unpacked it to /home/gcc-3.4.3 Then I wanted to build a gcc cross-compiler for target powerpc-eabi (mpc5xx) I used this to configure: @ /home/gcc-3.4.3: mkdir obj @ /home/gc

[Bug target/19421] [4.0 regression] ICE with soft-float on m68k

2005-01-14 Thread corsepiu at gcc dot gnu dot org
-- What|Removed |Added Summary|[4.0 regression] ICE with |[4.0 regression] ICE with |solf-float on m68k |soft-float on m68k http://gcc.gnu.o

[Bug c/19438] Unable to build cross-gcc to target powerpc-eabi

2005-01-14 Thread ebotcazou at gcc dot gnu dot org
--- Additional Comments From ebotcazou at gcc dot gnu dot org 2005-01-14 10:29 --- At this point the cross-compiler itself is built. You need a cross-assembler to proceed, i.e you need to have an 'as' with --target=powerpc-eabi and properly declare it when configuring the cross-compiler

[Bug c++/19439] New: Duplicate destructor accepted

2005-01-14 Thread reichelt at gcc dot gnu dot org
The following invalid code snippet is accepted (since at least gcc 2.95.3). It is rejected when A gets instantiated, but that could be diagnosed at definition time IMHO. === template struct A { ~A() {} ~A() {} }; === -- Summary:

[Bug middle-end/19084] [4.0 Regression] ICE: internal consistency failure

2005-01-14 Thread cvs-commit at gcc dot gnu dot org
--- Additional Comments From cvs-commit at gcc dot gnu dot org 2005-01-14 10:50 --- Subject: Bug 19084 CVSROOT:/cvs/gcc Module name:gcc Changes by: [EMAIL PROTECTED] 2005-01-14 10:50:19 Modified files: gcc: ChangeLog basic-block.h recog.c

[Bug rtl-optimization/19348] [4.0 Regression] internal consistency error while compiling linux kernel

2005-01-14 Thread cvs-commit at gcc dot gnu dot org
--- Additional Comments From cvs-commit at gcc dot gnu dot org 2005-01-14 10:50 --- Subject: Bug 19348 CVSROOT:/cvs/gcc Module name:gcc Changes by: [EMAIL PROTECTED] 2005-01-14 10:50:19 Modified files: gcc: ChangeLog basic-block.h recog.c

[Bug c++/19440] New: Invalid destructor declaration in template class accepted

2005-01-14 Thread reichelt at gcc dot gnu dot org
The following IMHO invalid code snippet is accepted (since at least gcc 2.95.3). === template struct A { ~A<0>(); }; === -- Summary: Invalid destructor declaration in template class accepted Product: gc

[Bug c++/19441] New: [3.4 regression] ICE with invalid destructor declaration

2005-01-14 Thread reichelt at gcc dot gnu dot org
The following invalid code snippet causes an ICE in gcc 3.4.x: == template struct A { A::~A() {} }; == bug.cc:3: error: type/value mismatch at argument 1 in template parameter list for `template > struct A' bug.cc:3: error: exp

[Bug libstdc++/19422] assoc. containers: ctor taking range is O(n log n) even if the range is sorted

2005-01-14 Thread pcarlini at suse dot de
--- Additional Comments From pcarlini at suse dot de 2005-01-14 11:50 --- > I was a little in a hurry, so I'll add a comment on the test programm now. > The "reference time" of std::list ctor taking range must be linear. Thus it > makes sence to have a look at the quotient of the second

[Bug ada/18817] ACATS c380004 fails at run time

2005-01-14 Thread laurent at guerby dot net
--- Additional Comments From laurent at guerby dot net 2005-01-14 12:10 --- Note that this test has been deactivated vi testsuite/ada/acats/norun.lst so it doesn't show up in testresults anymore. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18817

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

2005-01-14 Thread laurent at guerby dot net
--- Additional Comments From laurent at guerby dot net 2005-01-14 12:14 --- Does it still hang? Eric just commited a fix for PR18820 that is likely to have fixed this problem. -- What|Removed |Added

[Bug c/19442] New: inet_ntoa always outputs 0.0.0.0 when built with -maix64

2005-01-14 Thread john dot hodgkinson at boldonjames dot com
#include #include #include #include #include

[Bug fortran/19443] New: log10 statement does not work properly in gfortran

2005-01-14 Thread mgilbert at airborne dot nrl dot navy dot mil
The log10 operator in gfortran (cygwin build 20041213) does not work properly if the statement is operated on a variable, but it works fine when operating on a constant. The plain log statement works fine regardless. If the following program is executed, one can observer that log for the two meth

[Bug target/19428] inet_ntoa returns 0.0.0.0 using -maix64

2005-01-14 Thread pinskia at gcc dot gnu dot org
--- Additional Comments From pinskia at gcc dot gnu dot org 2005-01-14 13:00 --- *** Bug 19442 has been marked as a duplicate of this bug. *** -- What|Removed |Added

[Bug c/19442] inet_ntoa always outputs 0.0.0.0 when built with -maix64

2005-01-14 Thread pinskia at gcc dot gnu dot org
--- Additional Comments From pinskia at gcc dot gnu dot org 2005-01-14 13:00 --- *** This bug has been marked as a duplicate of 19428 *** -- What|Removed |Added

[Bug middle-end/19084] [4.0 Regression] ICE: internal consistency failure

2005-01-14 Thread pinskia at gcc dot gnu dot org
--- Additional Comments From pinskia at gcc dot gnu dot org 2005-01-14 13:01 --- Fixed. -- What|Removed |Added Status|NEW |RESOLVED

[Bug rtl-optimization/19348] [4.0 Regression] internal consistency error while compiling linux kernel

2005-01-14 Thread pinskia at gcc dot gnu dot org
--- Additional Comments From pinskia at gcc dot gnu dot org 2005-01-14 13:01 --- Fixed. -- What|Removed |Added Status|NEW |RESOLVED

[Bug fortran/19443] log10 statement does not work properly in gfortran

2005-01-14 Thread pinskia at gcc dot gnu dot org
--- Additional Comments From pinskia at gcc dot gnu dot org 2005-01-14 13:04 --- This works for me on ppc-darwin, are you sure that is not a bug in cygwin as fortran just calls log10f (which might call log10 if your target does not have the C99 math functions). -- http://gcc.gnu.or

[Bug target/19009] Loading of FP constants into FP reg via SSE reg

2005-01-14 Thread uros at kss-loka dot si
--- Additional Comments From uros at kss-loka dot si 2005-01-14 13:08 --- It looks that the problem with FP compares forcing constant into wrong register part of this bug is solved. However, register allocator can still be confused when a variable is initialized to constant value: grep

[Bug target/19009] Loading of FP constants into FP reg via SSE reg

2005-01-14 Thread pinskia at gcc dot gnu dot org
--- Additional Comments From pinskia at gcc dot gnu dot org 2005-01-14 13:16 --- (In reply to comment #8) > It looks that the problem with FP compares forcing constant into wrong > register > part of this bug is solved. However, register allocator can still be confused > when a variable

[Bug c++/19437] wrong warning when assigning negative value to int

2005-01-14 Thread pinskia at gcc dot gnu dot org
--- Additional Comments From pinskia at gcc dot gnu dot org 2005-01-14 13:19 --- The warning is correct. To get a warning in C you have to use -Wconversion. pr19437.c:4: warning: negative integer implicitly converted to unsigned type -- What|Removed

[Bug fortran/19443] log10 statement does not work properly in gfortran

2005-01-14 Thread mgilbert at airborne dot nrl dot navy dot mil
--- Additional Comments From mgilbert at airborne dot nrl dot navy dot mil 2005-01-14 13:20 --- I tried the exact same code with g95 on cygwin, and it worked flawlessly. gfortran must have access to the math library because it is able to evaluate log properly, right? How do you suggest

[Bug c++/19439] Duplicate destructor accepted

2005-01-14 Thread pinskia at gcc dot gnu dot org
--- Additional Comments From pinskia at gcc dot gnu dot org 2005-01-14 13:20 --- Confirmed. -- What|Removed |Added Status|UNCONFIRMED |NEW E

[Bug c++/19440] Invalid destructor declaration in template class accepted

2005-01-14 Thread pinskia at gcc dot gnu dot org
--- Additional Comments From pinskia at gcc dot gnu dot org 2005-01-14 13:20 --- Confirmed. -- What|Removed |Added Status|UNCONFIRMED |NEW E

[Bug java/19444] New: GCJ implementation of java.net.URI misses host support

2005-01-14 Thread Fabian dot Groffen at cwi dot nl
The implementation in cvs for GCJ's java.net.URI does currently not store the hostname attribute from a URI. It seems as if this variable is just forgotten to be assigned in the URI(String) constructor. The effect of this is that a getHost() method call always returns null because its underlying

[Bug fortran/19443] log10 statement does not work properly in gfortran

2005-01-14 Thread pinskia at gcc dot gnu dot org
--- Additional Comments From pinskia at gcc dot gnu dot org 2005-01-14 13:25 --- Try this c code: #include #include int main(void) { printf("%f\n", 10*log10(1.0e-5)); return 0; } It might also be the bug that isfinite does not work on cygwin which is a different bug. -- http

[Bug c++/19441] [3.4 regression] ICE with invalid destructor declaration

2005-01-14 Thread pinskia at gcc dot gnu dot org
--- Additional Comments From pinskia at gcc dot gnu dot org 2005-01-14 13:27 --- Broken: : Search converges between 2003-08-06-trunk (#316) and 2003-08-07-trunk (#317). Fixed on the mainline : Search converges between 2004-09-12-trunk (#538) and 2004-09-14-trunk (#539). -- W

[Bug libgcj/12957] JNI Performance Issues

2005-01-14 Thread pinskia at gcc dot gnu dot org
--- Additional Comments From pinskia at gcc dot gnu dot org 2005-01-14 13:28 --- Fixed on the mainline by: 2005-01-13 Graydon Hoare <[EMAIL PROTECTED]> * include/jni.h (_Jv_JNIEnv::bottom_locals): New field. * include/jvm.h (_Jv_FreeJNIEnv): Declare.

[Bug java/12725] [meta-bug] gcj does not conform to Binary Compatibility specification

2005-01-14 Thread pinskia at gcc dot gnu dot org
-- Bug 12725 depends on bug 12957, which changed state. Bug 12957 Summary: JNI Performance Issues http://gcc.gnu.org/bugzilla/show_bug.cgi?id=12957 What|Old Value |New Value

[Bug libgcj/19444] GCJ implementation of java.net.URI misses host support

2005-01-14 Thread pinskia at gcc dot gnu dot org
--- Additional Comments From pinskia at gcc dot gnu dot org 2005-01-14 13:29 --- Confirmed. -- What|Removed |Added Status|UNCONFIRMED |NEW

[Bug tree-optimization/19431] missed optimization with ifs and deferencing

2005-01-14 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-01-

[Bug libstdc++/19422] assoc. containers: ctor taking range is O(n log n) even if the range is sorted

2005-01-14 Thread SWElef at post dot sk
--- Additional Comments From SWElef at post dot sk 2005-01-14 13:33 --- It took me quite a long time to realise that the best performance tests are those where we count the elementary operations. The best way to expose the O(n log n) complexity in non-fixed case is to supply the container

[Bug fortran/19443] log10 statement does not work properly in gfortran

2005-01-14 Thread mgilbert at airborne dot nrl dot navy dot mil
--- Additional Comments From mgilbert at airborne dot nrl dot navy dot mil 2005-01-14 13:34 --- That c code above worked properly, and running g95 on my test code works fine also, so I think that pretty much indicates that the issue is with gfortran. and gfortran works fine when i do lo

[Bug fortran/19443] log10 statement does not work properly in gfortran

2005-01-14 Thread pinskia at gcc dot gnu dot org
--- Additional Comments From pinskia at gcc dot gnu dot org 2005-01-14 13:38 --- Hmm, try this (if might be that log10f is broken): #include #include int main(void) { float t = 1.0e-5; printf("%f\n", 10*log10f(t)); return 0; } If this does not link (try -lm), otherwise I don't

[Bug fortran/19443] log10 statement does not work properly in gfortran

2005-01-14 Thread mgilbert at airborne dot nrl dot navy dot mil
--- Additional Comments From mgilbert at airborne dot nrl dot navy dot mil 2005-01-14 13:42 --- That code works properly also. I'm downloading an older snapshot of cygwin gfortran to see if the bug is in there also. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19443

[Bug fortran/19443] log10 statement does not work properly in gfortran

2005-01-14 Thread pinskia at gcc dot gnu dot org
--- Additional Comments From pinskia at gcc dot gnu dot org 2005-01-14 13:51 --- Then this might be a dup of bug 19363, if both of those C programs worked. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19443

[Bug middle-end/19402] __builtin_powi? still missing

2005-01-14 Thread pinskia at gcc dot gnu dot org
--- Additional Comments From pinskia at gcc dot gnu dot org 2005-01-14 13:53 --- Confirmed. -- What|Removed |Added Severity|normal |enhancemen

[Bug target/7525] [ARM/Thumb] long calls stubs only in one code section, cannot branch to them from other section

2005-01-14 Thread cvs-commit at gcc dot gnu dot org
--- Additional Comments From cvs-commit at gcc dot gnu dot org 2005-01-14 13:59 --- Subject: Bug 7525 CVSROOT:/cvs/gcc Module name:gcc Changes by: [EMAIL PROTECTED] 2005-01-14 13:58:42 Modified files: gcc: ChangeLog gcc/config/arm : ar

[Bug target/19424] [4.0 Regression] Error: suffix or operands invalid for `movlps'

2005-01-14 Thread uros at gcc dot gnu dot org
--- Additional Comments From uros at gcc dot gnu dot org 2005-01-14 14:13 --- Register constraints are wrong for movv2sf* patterns. "movlps" can't handle the combination of x/x registers. Uros. -- What|Removed |Added -

[Bug target/7525] [ARM/Thumb] long calls stubs only in one code section, cannot branch to them from other section

2005-01-14 Thread rearnsha at gcc dot gnu dot org
--- Additional Comments From rearnsha at gcc dot gnu dot org 2005-01-14 14:17 --- http://gcc.gnu.org/ml/gcc-patches/2005-01/msg00813.html Fixed for the common case, but not for caller super-inteworking. I don't intend to change that case, since that's outside the EABI and I still think

[Bug target/19421] [4.0 regression] ICE with soft-float on m68k

2005-01-14 Thread pinskia at gcc dot gnu dot org
--- Additional Comments From pinskia at gcc dot gnu dot org 2005-01-14 14:18 --- Hmm, I cannot reproduce it on 20050113 with a cross from ppc-darwin compiled at -O0. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19421

[Bug c++/19437] wrong warning when assigning negative value to int

2005-01-14 Thread oliverst at online dot de
--- Additional Comments From oliverst at online dot de 2005-01-14 14:26 --- Ah, OK. Why is there warning at all. "-1" is being assigned to an "int" and not to an "unsigned int". Writing it without the "? :" operator, the following code should be the same. unsigned int i = 0; int val; if

[Bug libstdc++/19422] assoc. containers: ctor taking range is O(n log n) even if the range is sorted

2005-01-14 Thread pcarlini at suse dot de
--- Additional Comments From pcarlini at suse dot de 2005-01-14 14:28 --- Yes, we are already using something similar, elsewhere (e.g., our copy_tracker class). For the present needs, a tweaked version of your test program will do rather well: even with std::allocator, the new numbers ar

[Bug rtl-optimization/13931] [3.3/3.4/4.0 Regression] combiner much slower on big basic blocks

2005-01-14 Thread steven at gcc dot gnu dot org
-- What|Removed |Added Status|WAITING |NEW Last reconfirmed|2004-10-08 18:44:35 |2005-01-14 14:30:56 date|

[Bug c++/19437] wrong warning when assigning negative value to int

2005-01-14 Thread pinskia at gcc dot gnu dot org
--- Additional Comments From pinskia at gcc dot gnu dot org 2005-01-14 14:30 --- int val = i ? i : -1; we convert it to unsigned because it gets promoted to unsigned because i is unsigned and then there is an implicit cast to int. so the type of "i ? i : -1" is unsigned and t

[Bug target/13754] [3.4/4.0 regression] ip2k-elf ICE on multiple gotos

2005-01-14 Thread pinskia at gcc dot gnu dot org
--- Additional Comments From pinskia at gcc dot gnu dot org 2005-01-14 14:34 --- Suspending as this has been broken for a long time and no movement in fixing this regression. I would proposed this target to be removed since it looks like it is no longer being maintained. --

[Bug middle-end/19343] [4.0 Regression] New warnings in libstdc++-v3 since 2004-01-05

2005-01-14 Thread steven at gcc dot gnu dot org
-- What|Removed |Added Status|UNCONFIRMED |NEW Component|c++ |middle-end Ever Confirmed|

[Bug target/19421] [4.0 regression] ICE with soft-float on m68k

2005-01-14 Thread joel at gcc dot gnu dot org
--- Additional Comments From joel at gcc dot gnu dot org 2005-01-14 14:39 --- (In reply to comment #2) > Hmm, I cannot reproduce it on 20050113 with a cross from ppc-darwin compiled at -O0. Can you reproduce it at -O2? -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19421

[Bug target/19421] [4.0 regression] ICE with soft-float on m68k

2005-01-14 Thread pinskia at gcc dot gnu dot org
--- Additional Comments From pinskia at gcc dot gnu dot org 2005-01-14 14:40 --- (In reply to comment #3) > (In reply to comment #2) > > Hmm, I cannot reproduce it on 20050113 with a cross from ppc-darwin compiled > at -O0. > > Can you reproduce it at -O2? No what I had meant is that cc

[Bug target/19421] [4.0 regression] ICE with soft-float on m68k

2005-01-14 Thread joel at gcc dot gnu dot org
--- Additional Comments From joel at gcc dot gnu dot org 2005-01-14 14:45 --- Wierd.. we are on x86-gnu-linux so would be using a totally different host compiler. I am using a gcc 3.4.3 and don't know what Ralf is using. Does it fail when cc1 is compiled at a higher optimization level?

[Bug libstdc++/19343] [4.0 Regression] New warnings in libstdc++-v3 since 2004-01-05

2005-01-14 Thread pinskia at gcc dot gnu dot org
--- Additional Comments From pinskia at gcc dot gnu dot org 2005-01-14 14:45 --- Actually this is not a middle-end after all. The problem is that __throw_bad_alloc is not marked as noreturn as it should be. "In the if-part, the function either (a) returns, from the while-loop; or (b) t

[Bug target/19421] [4.0 regression] ICE with soft-float on m68k

2005-01-14 Thread pinskia at gcc dot gnu dot org
--- Additional Comments From pinskia at gcc dot gnu dot org 2005-01-14 14:50 --- What options are used to configure gcc, maybe it has something to do with that (what I mean a different default CPU is done). I configured with "../configure --target=m68k-rtems4.7" -- http://gcc.gnu.o

[Bug target/19421] [4.0 regression] ICE with soft-float on m68k

2005-01-14 Thread corsepiu at gcc dot gnu dot org
--- Additional Comments From corsepiu at gcc dot gnu dot org 2005-01-14 15:15 --- (In reply to comment #6) I on Fedora Core 3 and am using FC3's toolchain. > What options are used to configure gcc, maybe it has something to do > with that (what I mean a different default CPU is done). >

[Bug c++/19403] [4.0 Regression] name lookup is broken with friends

2005-01-14 Thread gdr at integrable-solutions dot net
--- Additional Comments From gdr at integrable-solutions dot net 2005-01-14 16:06 --- Subject: Re: [4.0 Regression] name lookup is broken with friends "Woebbeking at web dot de" <[EMAIL PROTECTED]> writes: | Subject: Re: [4.0 Regression] name lookup is broken with friends | | On Thu

[Bug c++/19403] [4.0 Regression] name lookup is broken with friends

2005-01-14 Thread gdr at integrable-solutions dot net
--- Additional Comments From gdr at integrable-solutions dot net 2005-01-14 16:10 --- Subject: Re: [4.0 Regression] name lookup is broken with friends "pinskia at gcc dot gnu dot org" <[EMAIL PROTECTED]> writes: | (In reply to comment #2) | > Excuse me? | | You are right, but what is

[Bug fortran/19443] log10 statement does not work properly in gfortran

2005-01-14 Thread mgilbert at airborne dot nrl dot navy dot mil
--- Additional Comments From mgilbert at airborne dot nrl dot navy dot mil 2005-01-14 16:51 --- My test code works perfectly with the 20041114 cygwin gfortran and earlier snapshots. I agree, this could be related to #19363 since the dates of working/non-working code are similar. I gues

[Bug c++/19445] New: 50 fold compile time increase between gcc-3,4 and gcc-4,0 on included code

2005-01-14 Thread phil at fsel dot com
$ time g++-snapshot -O -c list1.ii real0m3.617s user0m3.515s sys 0m0.043s $ time g++-3.4 -O -c list1.ii real0m0.068s user0m0.028s sys 0m0.007s $ g++-snapshot -v Using built-in specs. Configured with: ../src/configure -v --enable-languages=c,c++,java,objc,ada --prefix=/u

[Bug c++/19445] 50 fold compile time increase between gcc-3,4 and gcc-4,0 on included code

2005-01-14 Thread phil at fsel dot com
--- Additional Comments From phil at fsel dot com 2005-01-14 16:53 --- Created an attachment (id=7959) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=7959&action=view) .ii file -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19445

[Bug c++/19445] 50 fold compile time increase between gcc-3,4 and gcc-4,0 on included code

2005-01-14 Thread pinskia at gcc dot gnu dot org
--- Additional Comments From pinskia at gcc dot gnu dot org 2005-01-14 17:02 --- Can you check with --disable-checking as checking is turned on by default on the mainline of 4.0.0. -- What|Removed |Added --

__builtin_constant_p not evalutating to a constant

2005-01-14 Thread Erich Plondke
Hello! There was a similar question to this on the mailing list archives, but I could not find the answer. I would like to combine __builtin_choose_expr with __builtin_constant_p, in something like this: #define SHIFTLEFT(a,b) __builtin_choose_expr(__builtin_constant_p(b), \ ((a) << (b)

[Bug c/19446] New: ICE when building gcc for avr target

2005-01-14 Thread dgay at intel-research dot net
When building avr-gcc from the CVS repository (trunk), configured as follows: ../gcc/configure --target=avr --enable-languages=c --disable-nls I get an internal error: /home/degay/avr-gcc-build/gcc/xgcc -B/home/degay/avr-gcc-build/gcc/ -B/usr/local/avr/bin/ -B/usr/local/avr/lib/ -isystem /usr/local

[Bug c++/19447] New: unknown conversion type character `q' in format

2005-01-14 Thread corsepiu at gcc dot gnu dot org
When building today's (2005-01-14) gcc-trunk for different (cross-) targets on FC3, I am seeing many (several 10ths) warnings of this kind: ... gcc -c -g -O2 -DIN_GCC -DCROSS_COMPILE -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition -fno-common -DHAVE_CO

[Bug c++/19448] New: Different value representation for bitfield width exceeding its type size.

2005-01-14 Thread yanliu at ca dot ibm dot com
The gcc compiler information: Reading specs from /usr/lib/gcc/ppc64-redhat-linux/3.4.3/specs Configured with: ../configure --prefix=/usr --mandir=/usr/share/man -- infodir=/usr/share/info --enable-shared --enable-threads=posix --disable- checking --with-system-zlib --enable-__cxa_atexit --disable-

[Bug c++/19448] Different value representation for bitfield width exceeding its type size.

2005-01-14 Thread yanliu at ca dot ibm dot com
--- Additional Comments From yanliu at ca dot ibm dot com 2005-01-14 18:21 --- Created an attachment (id=7960) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=7960&action=view) testcase -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19448

[Bug libgcj/18222] [4.0 Regression] libjava bootstrap failure on Tru64 UNIX: CPPFLAGS changed in libltdl

2005-01-14 Thread ro at techfak dot uni-bielefeld dot de
--- Additional Comments From ro at techfak dot uni-bielefeld dot de 2005-01-14 18:25 --- Subject: Re: [4.0 Regression] libjava bootstrap failure on Tru64 UNIX: CPPFLAGS changed in libltdl kcook at gcc dot gnu dot org writes: > Could someone please verify that this patch fixes the Alp

[Bug middle-end/18089] [4.0 regression] Valgrind errors in real.c

2005-01-14 Thread jakub at gcc dot gnu dot org
--- Additional Comments From jakub at gcc dot gnu dot org 2005-01-14 18:35 --- Are you sure this is not just a bug in valgrind? I have verified that with current CVS I get ERROR SUMMARY: 37 errors from 21 contexts (suppressed: 12 from 1) while if I rebuild stage1's combine.o with Roger's

[Bug c++/19447] unknown conversion type character `q' in format

2005-01-14 Thread pinskia at gcc dot gnu dot org
--- Additional Comments From pinskia at gcc dot gnu dot org 2005-01-14 18:36 --- Invalid, the warnings were correct for compiling 3.4.x but are not correct when compiling 4.0.0 but you have to compile with 4.0.0 to get correct warnings for this case. -- What|Removed

[Bug middle-end/19378] [4.0 Regression] ICE during bootstrap compiling __fixdfdi

2005-01-14 Thread pinskia at gcc dot gnu dot org
--- Additional Comments From pinskia at gcc dot gnu dot org 2005-01-14 18:37 --- *** Bug 19446 has been marked as a duplicate of this bug. *** -- What|Removed |Added

[Bug c/19446] ICE when building gcc for avr target

2005-01-14 Thread pinskia at gcc dot gnu dot org
--- Additional Comments From pinskia at gcc dot gnu dot org 2005-01-14 18:37 --- *** This bug has been marked as a duplicate of 19378 *** -- What|Removed |Added

[Bug c++/19448] Different value representation for bitfield width exceeding its type size.

2005-01-14 Thread pinskia at gcc dot gnu dot org
--- Additional Comments From pinskia at gcc dot gnu dot org 2005-01-14 19:01 --- Hmm, are you sure that you are not comparing against gcc for ppc-darwin and gcc for ppc-linux because the default sign-ness of char is different between them. On ppc-darwin, the char is signed by default

[Bug c++/19448] Different value representation for bitfield width exceeding its type size.

2005-01-14 Thread pinskia at gcc dot gnu dot org
--- Additional Comments From pinskia at gcc dot gnu dot org 2005-01-14 19:06 --- I will just have a note here from what the standard say about this issue: " in such cases the extra bits are used for padding and do not participate in the value representation of the bit-field" (9.6P1) "

[Bug c/19449] New: __builtin_constant_p cannot resolve to const when optimizing

2005-01-14 Thread eplondke at gmail dot com
Given the following code: #define SHIFTLEFT(a,b) __builtin_choose_expr(__builtin_constant_p(b), \ ((a) << (b)), \ ((a) << (MIN(31,MAX(-31,(b)) int foo(int a, int b) { return SHIFTLEFT (a, b); } the compiler will error: gcc -O4 gcctest.c gcctest.c: In function `foo': gcctest.c:5:

[Bug c++/19450] New: __thread static class members

2005-01-14 Thread gcc-bugzilla at gcc dot gnu dot org
gcc generates incorrect code for static members in some cases. Consider the following code: struct C { static __thread int x; static __thread int y; }; __thread int C::x; void g() { int z = C::x; z = C::y; } When this is compiled on an x86 machine with gcc -S,

[Bug c/19449] __builtin_constant_p cannot resolve to const when optimizing

2005-01-14 Thread ian at airs dot com
-- What|Removed |Added CC||ian at airs dot com http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19449

[Bug target/18987] [3.3/3.4 regression] [ia64] Extra '.restore sp' in tail call

2005-01-14 Thread cvs-commit at gcc dot gnu dot org
--- Additional Comments From cvs-commit at gcc dot gnu dot org 2005-01-14 19:15 --- Subject: Bug 18987 CVSROOT:/cvs/gcc Module name:gcc Branch: gcc-3_3-branch Changes by: [EMAIL PROTECTED] 2005-01-14 19:15:41 Modified files: gcc: Change

[Bug target/13158] [ia64] bad unwind info as a result of sibcall

2005-01-14 Thread cvs-commit at gcc dot gnu dot org
--- Additional Comments From cvs-commit at gcc dot gnu dot org 2005-01-14 19:15 --- Subject: Bug 13158 CVSROOT:/cvs/gcc Module name:gcc Branch: gcc-3_3-branch Changes by: [EMAIL PROTECTED] 2005-01-14 19:15:41 Modified files: gcc: Change

[Bug c/19449] __builtin_constant_p cannot resolve to const when optimizing

2005-01-14 Thread eplondke at gmail dot com
--- Additional Comments From eplondke at gmail dot com 2005-01-14 19:22 --- Created an attachment (id=7961) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=7961&action=view) Test case as a file. Test case as a file. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19449

[Bug c/19449] __builtin_constant_p cannot resolve to const when optimizing

2005-01-14 Thread pinskia at gcc dot gnu dot org
--- Additional Comments From pinskia at gcc dot gnu dot org 2005-01-14 19:26 --- The problem is the __builtin_constant_p is delayed for evalutation until optimizations are run but __builtin_choose_expr needs an answer right away. What we could do is for when processing the first argu

[Bug c++/19450] __thread static class members

2005-01-14 Thread pinskia at gcc dot gnu dot org
--- Additional Comments From pinskia at gcc dot gnu dot org 2005-01-14 19:31 --- It does not work with 20041211 but that is the last gcc which I have access to which has __thread support. -- What|Removed |Added --

[Bug c++/19437] wrong warning when assigning negative value to int

2005-01-14 Thread schlie at comcast dot net
--- Additional Comments From schlie at comcast dot net 2005-01-14 19:40 --- (In reply to comment #3) > int val = i ? i : -1; > > we convert it to unsigned because it gets promoted to unsigned because i is > unsigned and then > there is an implicit cast to int. so the type of "

[Bug target/13158] [ia64] bad unwind info as a result of sibcall

2005-01-14 Thread cvs-commit at gcc dot gnu dot org
--- Additional Comments From cvs-commit at gcc dot gnu dot org 2005-01-14 19:45 --- Subject: Bug 13158 CVSROOT:/cvs/gcc Module name:gcc Changes by: [EMAIL PROTECTED] 2005-01-14 19:45:23 Modified files: gcc/testsuite : ChangeLog Added files: gcc/t

[Bug target/18987] [3.3/3.4 regression] [ia64] Extra '.restore sp' in tail call

2005-01-14 Thread cvs-commit at gcc dot gnu dot org
--- Additional Comments From cvs-commit at gcc dot gnu dot org 2005-01-14 19:45 --- Subject: Bug 18987 CVSROOT:/cvs/gcc Module name:gcc Changes by: [EMAIL PROTECTED] 2005-01-14 19:45:23 Modified files: gcc/testsuite : ChangeLog Added files: gcc/t

[Bug c++/19437] wrong warning when assigning negative value to int

2005-01-14 Thread pinskia at gcc dot gnu dot org
--- Additional Comments From pinskia at gcc dot gnu dot org 2005-01-14 19:50 --- (In reply to comment #4) > Then either the semantic definition of the middle-end's w = (x ? y : z) needs > to preserve y : z types, > or it can not be considered equilvelent to if(x){ w = y; w = z;}, it wou

[Bug target/13158] [ia64] bad unwind info as a result of sibcall

2005-01-14 Thread wilson at gcc dot gnu dot org
--- Additional Comments From wilson at gcc dot gnu dot org 2005-01-14 19:51 --- Fixed on mainline, gcc-3.4, and gcc-3.3. Testcase added to mainline. -- What|Removed |Added

[Bug target/18987] [3.3/3.4 regression] [ia64] Extra '.restore sp' in tail call

2005-01-14 Thread wilson at gcc dot gnu dot org
-- Bug 18987 depends on bug 13158, which changed state. Bug 13158 Summary: [ia64] bad unwind info as a result of sibcall http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13158 What|Old Value |New Value

[Bug target/18987] [3.3/3.4 regression] [ia64] Extra '.restore sp' in tail call

2005-01-14 Thread wilson at gcc dot gnu dot org
--- Additional Comments From wilson at gcc dot gnu dot org 2005-01-14 19:52 --- Fixed on mainline, gcc-3.4 branch, and gcc-3.3 branch. Testcase added to mainline. -- What|Removed |Added ---

[Bug fortran/19451] New: Some read and write confusion with a read-only file

2005-01-14 Thread Thomas dot Koenig at online dot de
$ cat open+write.f90 program main character(len=10) a call system("rm -f asdf.dat; touch asdf.dat; chmod u-w asdf.dat") open(file="asdf.dat",unit=10,err=999,action="read") write(10,*,err=20) "Hello, world" print *,"write to read-only file succeeded" call abort 20 continue ! rewind(10)

[Bug libfortran/19451] Some read and write confusion with a read-only file

2005-01-14 Thread pinskia at gcc dot gnu dot org
-- What|Removed |Added Component|fortran |libfortran http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19451

[Bug c++/19448] Different value representation for bitfield width exceeding its type size.

2005-01-14 Thread yanliu at ca dot ibm dot com
--- Additional Comments From yanliu at ca dot ibm dot com 2005-01-14 20:10 --- You are right, I was using linux and darwin two different compilers. In thse two situations, the gcc results are both right. I have another question for you for the same testcase: if initializing the bitfi

[Bug middle-end/18089] [4.0 regression] Valgrind errors in real.c

2005-01-14 Thread jakub at gcc dot gnu dot org
--- Additional Comments From jakub at gcc dot gnu dot org 2005-01-14 20:20 --- BTW, if I replace all subl$-2147483648, %eax instructions in real.s by: xorl$-2147483648, %eax (note that all such instructions are followed either by shrl, or addl, so any differences in

[Bug c++/19445] 50 fold compile time increase between gcc-3,4 and gcc-4,0 on included code

2005-01-14 Thread phil at fsel dot com
ix gcc version 4.0.0 20050114 (experimental) $ time /scribble/phil/gcc/install/bin/g++ -O -c list1.cpp real0m1.758s user0m1.677s sys 0m0.035s $ time gcc-3.4 -O -c list1.cpp real0m0.101s user0m0.069s sys 0m0.009s cheers, Phil -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19445

  1   2   >