[Bug fortran/28335] [4.1 only] flush() / write() statement on closed units - error?

2006-07-25 Thread fxcoudert at gcc dot gnu dot org
--- Comment #5 from fxcoudert at gcc dot gnu dot org 2006-07-26 06:22 --- Hum... don't we want to backport that fix to 4.1? -- fxcoudert at gcc dot gnu dot org changed: What|Removed |Added --

[Bug target/28490] [4.2 regression] ICE in ia64_expand_move, at config/ia64/ia64.c:1088

2006-07-25 Thread tbm at cyrius dot com
--- Comment #2 from tbm at cyrius dot com 2006-07-26 05:42 --- This has started to occur sometime between 20051122 and 20060218. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28490

[Bug target/28490] [4.2 regression] ICE in ia64_expand_move, at config/ia64/ia64.c:1088

2006-07-25 Thread tbm at cyrius dot com
--- Comment #1 from tbm at cyrius dot com 2006-07-26 05:41 --- Created an attachment (id=11944) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=11944&action=view) test case -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28490

[Bug target/28490] New: [4.2 regression] ICE in ia64_expand_move, at config/ia64/ia64.c:1088

2006-07-25 Thread tbm at cyrius dot com
I get the following ICE with gcc 4.2 on ia64 at -O1. It doesn't happen with 4.0 or 4.1. [EMAIL PROTECTED]:~$ /usr/lib/gcc-snapshot/bin/gcc -c -O1 mini.c mini.c: In function 'readtoken1': mini.c:60: internal compiler error: in ia64_expand_move, at config/ia64/ia64.c:1088 Please submit a full bug r

[Bug tree-optimization/28489] [4.2 regression] ICE in move_insn, at haifa-sched.c:1968

2006-07-25 Thread tbm at cyrius dot com
--- Comment #2 from tbm at cyrius dot com 2006-07-26 05:02 --- This has started to occur between 20060218 and 20060325. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28489

[Bug tree-optimization/28489] [4.2 regression] ICE in move_insn, at haifa-sched.c:1968

2006-07-25 Thread tbm at cyrius dot com
--- Comment #1 from tbm at cyrius dot com 2006-07-26 04:51 --- Created an attachment (id=11943) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=11943&action=view) testcase -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28489

[Bug tree-optimization/28489] New: [4.2 regression] ICE in move_insn, at haifa-sched.c:1968

2006-07-25 Thread tbm at cyrius dot com
I get the following ICE on ia64 with gcc 4.2. Only happens at -O2, and doesn't happen with gcc 4.0 or 4.1. [EMAIL PROTECTED]:~/delta/bin$ /usr/lib/gcc-snapshot/bin/gcc -c -O2 mini.c mini.c: In function 'PL_next_solution': mini.c:101: warning: cast to pointer from integer of different size mini.c:

[Bug debug/27574] [4.1 Regression] MIssing debug info at -O0 for a local variable in a C++ constructor

2006-07-25 Thread drow at false dot org
--- Comment #10 from drow at gcc dot gnu dot org 2006-07-26 03:52 --- Subject: Re: [4.1 Regression] MIssing debug info at -O0 for a local variable in a C++ constructor On Tue, Jul 25, 2006 at 05:08:18PM -, joern dot rennecke at st dot com wrote: > When I compile the testcase (using

[Bug c/28488] incorrect warning says signed and unsigned type in conditional expression

2006-07-25 Thread gurganbl at rose-hulman dot edu
--- Comment #3 from gurganbl at rose-hulman dot edu 2006-07-26 03:43 --- Created an attachment (id=11942) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=11942&action=view) generated assembly -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28488

[Bug c/28488] incorrect warning says signed and unsigned type in conditional expression

2006-07-25 Thread gurganbl at rose-hulman dot edu
--- Comment #2 from gurganbl at rose-hulman dot edu 2006-07-26 03:42 --- Created an attachment (id=11941) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=11941&action=view) preprocessesed source -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28488

[Bug c/28488] incorrect warning says signed and unsigned type in conditional expression

2006-07-25 Thread gurganbl at rose-hulman dot edu
--- Comment #1 from gurganbl at rose-hulman dot edu 2006-07-26 03:41 --- Created an attachment (id=11940) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=11940&action=view) original source -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28488

[Bug c/28488] New: incorrect warning says signed and unsigned type in conditional expression

2006-07-25 Thread gurganbl at rose-hulman dot edu
This warning indicates a signed/unsigned comparison, but there is no signed/unsigned comparison that I can see. [EMAIL PROTECTED] ~ $ gcc -v -save-temps -Wall -Wextra -Werror conditional-sign-mismatch-bug.c Using built-in specs. Target: i686-pc-linux-gnu Configured with: /var/tmp/portage/gcc-4.1.1

[Bug gcov/profile/28480] [4.2 Regression] inliner-1.c:31: ICE: in set_bb_for_stmt, at tree-cfg.c:2775

2006-07-25 Thread pinskia at gcc dot gnu dot org
--- Comment #3 from pinskia at gcc dot gnu dot org 2006-07-26 03:13 --- Also happens on powerpc-darwin. -- pinskia at gcc dot gnu dot org changed: What|Removed |Added

[Bug fortran/28335] flush() / write() statement on closed units - error?

2006-07-25 Thread jvdelisle at gcc dot gnu dot org
--- Comment #4 from jvdelisle at gcc dot gnu dot org 2006-07-26 01:51 --- Patch was committed also, but I messed up pr number in ChangeLog. Fixed that. This PR is fixed in 4.2 only. -- jvdelisle at gcc dot gnu dot org changed: What|Removed |Add

[Bug fortran/28335] flush() / write() statement on closed units - error?

2006-07-25 Thread jvdelisle at gcc dot gnu dot org
--- Comment #3 from jvdelisle at gcc dot gnu dot org 2006-07-26 01:47 --- Subject: Bug 28335 Author: jvdelisle Date: Wed Jul 26 01:47:13 2006 New Revision: 115750 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=115750 Log: 2006-07-25 Jerry DeLisle <[EMAIL PROTECTED]>

[Bug middle-end/28476] msp430-gcc with -Wunreachable-code Segmentation fault

2006-07-25 Thread pinskia at gcc dot gnu dot org
--- Comment #4 from pinskia at gcc dot gnu dot org 2006-07-26 00:40 --- I think this was fixed in 3.3 and I think this is a dup of bug 11142 or even PR 10660 or PR 10580. Can you try a 3.3 release? Also msp430 is not part of the FSF GCC. -- http://gcc.gnu.org/bugzilla/show_bug.cgi

[Bug gcov/profile/28478] gcov is not demangling C++ names

2006-07-25 Thread pinskia at gcc dot gnu dot org
--- Comment #1 from pinskia at gcc dot gnu dot org 2006-07-26 00:36 --- The easy workaround is to do pipe the files through c++filt. -- pinskia at gcc dot gnu dot org changed: What|Removed |Added

[Bug c++/28432] [4.0/4.1/4.2 regression] duplicate "no member function declared" message

2006-07-25 Thread pinskia at gcc dot gnu dot org
-- pinskia at gcc dot gnu dot org changed: What|Removed |Added Target Milestone|--- |4.0.4 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28432

[Bug libgomp/28456] [gomp] Segmentation fault with statically linked binaries

2006-07-25 Thread pinskia at gcc dot gnu dot org
--- Comment #9 from pinskia at gcc dot gnu dot org 2006-07-26 00:31 --- (In reply to comment #8) > So could you please point me to one? Something like: __thread int i; int main(void) { return i; } Though it might need also another thread to be started too. -- http://gcc.gnu.or

[Bug gcov/profile/28441] Need atomic increment of gcov counters for MP programs

2006-07-25 Thread pinskia at gcc dot gnu dot org
--- Comment #7 from pinskia at gcc dot gnu dot org 2006-07-26 00:28 --- Confirmed. -- pinskia at gcc dot gnu dot org changed: What|Removed |Added Severity|norma

[Bug c++/28450] [4.0/4.1/4.2 regression] ICE with new and complex/vector types

2006-07-25 Thread pinskia at gcc dot gnu dot org
--- Comment #1 from pinskia at gcc dot gnu dot org 2006-07-26 00:27 --- This is valid with extension rule. We should produce an empty CONSTRUCTOR for these two cases. If I get time this weekend I will look more into this. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28450

[Bug middle-end/28473] [4.0/4.1 Regression] with -O, casting result of round(x) to uint64_t produces wrong values for x > INT_MAX

2006-07-25 Thread pinskia at gcc dot gnu dot org
--- Comment #9 from pinskia at gcc dot gnu dot org 2006-07-26 00:24 --- Fixed on the mainline at least. -- pinskia at gcc dot gnu dot org changed: What|Removed |Added

[Bug c++/28487] subclass of a STL class such as list cannot itself be a template class

2006-07-25 Thread pinskia at gcc dot gnu dot org
--- Comment #1 from pinskia at gcc dot gnu dot org 2006-07-26 00:23 --- list::iterator You are missing typename in front of that. The corrected source is: #include using namespace std; template class D1 : public list { public: D1( void ) { typename list::iterator it; } }; str

[Bug fortran/28439] [4.1 only] Multiple evaluations of arithmetic if condition

2006-07-25 Thread kargl at gcc dot gnu dot org
--- Comment #12 from kargl at gcc dot gnu dot org 2006-07-25 23:32 --- Fixed in 4.1 -- kargl at gcc dot gnu dot org changed: What|Removed |Added Status|NEW

[Bug fortran/28439] [4.1 only] Multiple evaluations of arithmetic if condition

2006-07-25 Thread kargl at gcc dot gnu dot org
--- Comment #11 from kargl at gcc dot gnu dot org 2006-07-25 23:31 --- Subject: Bug 28439 Author: kargl Date: Tue Jul 25 23:31:16 2006 New Revision: 115743 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=115743 Log: 2006-07-25 Steven G. Kargl <[EMAIL PROTECTED]> PR for

[Bug c++/28487] New: subclass of a STL class such as list cannot itself be a template class

2006-07-25 Thread sesquized at sbcglobal dot net
The following code will compile with any specific type as the content of the list parent class, but will not compile when the content is a template parameter of the subclass. My goal was to get an iterator to the parent class and I've not found a way to do that. This behavior also exists with gcc

[Bug middle-end/28473] [4.0/4.1/4.2 Regression] with -O, casting result of round(x) to uint64_t produces wrong values for x > INT_MAX

2006-07-25 Thread sayle at gcc dot gnu dot org
--- Comment #8 from sayle at gcc dot gnu dot org 2006-07-25 23:22 --- Subject: Bug 28473 Author: sayle Date: Tue Jul 25 23:21:56 2006 New Revision: 115742 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=115742 Log: PR middle-end/28473 * convert.c (convert_to_inte

[Bug middle-end/26983] [4.0/4.1/4.2 Regression] Missing label in a nested function with builtin_setjmp/longjmp

2006-07-25 Thread steven at gcc dot gnu dot org
--- Comment #4 from steven at gcc dot gnu dot org 2006-07-25 22:52 --- In the .104.expand dump we have: (insn 10 9 11 3 (set (reg/f:SI 63) (label_ref:SI 16)) -1 (nil) (insn_list:REG_LABEL 16 (nil))) and ;; Start of basic block 4, registers live: (nil) (code_label 16 15 52

[Bug tree-optimization/8361] [4.1/4.2 regression] C++ compile-time performance regression

2006-07-25 Thread steven at gcc dot gnu dot org
--- Comment #69 from steven at gcc dot gnu dot org 2006-07-25 22:35 --- Re. comment #68, I should have added that all compilers were built with "gcc (GCC) 4.0.2 20050901 (prerelease) (SUSE Linux)" with CFLAGS="-O2 -g". -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=8361

[Bug tree-optimization/8361] [4.1/4.2 regression] C++ compile-time performance regression

2006-07-25 Thread steven at gcc dot gnu dot org
for cc1plus: --param ggc-min-expand=98 --param ggc-min-heapsize=127550 version ID -O2 -O3 GCC 3.4 3.4.6 0m23.673s 0m24.362s GCC 4.0 4.0.4 20060725 0m23.009s 0m23.849s GCC 4.1 4.1.2 20060725 0m24.018s 0m25.294s

[Bug c/28485] no prototype in stdlib.h for mkstemp()

2006-07-25 Thread pinskia at gcc dot gnu dot org
--- Comment #2 from pinskia at gcc dot gnu dot org 2006-07-25 21:17 --- The uuse of -ansi causes the glibc headers to only define ISO C functions. This is not a GCC bug or even a glibc bug but a bug in your invocation. -- pinskia at gcc dot gnu dot org changed: What

[Bug c/28485] no prototype in stdlib.h for mkstemp()

2006-07-25 Thread robert-gcc at pine-ridge dot ca
--- Comment #1 from robert-gcc at pine-ridge dot ca 2006-07-25 21:15 --- Created an attachment (id=11939) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=11939&action=view) The .i file requested -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28485

[Bug c/28485] New: no prototype in stdlib.h for mkstemp()

2006-07-25 Thread robert-gcc at pine-ridge dot ca
Attempting to use mkstemp() with the -Wall argument specified, the message "bug.c:8: warning: implicit declaration of function ‘mkstemp’" is issued even though stdlib.h is #included. The sample program is stripped to the bones so there is little extraneous material. Below is the compiler with optio

[Bug debug/27574] [4.1 Regression] MIssing debug info at -O0 for a local variable in a C++ constructor

2006-07-25 Thread amylaar at gcc dot gnu dot org
--- Comment #9 from amylaar at gcc dot gnu dot org 2006-07-25 20:43 --- Created an attachment (id=11938) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=11938&action=view) g++.dg/debug test case As far as I can tell, as a g++.dg/debug test case, this passes for stabs, but fails for

[Bug fortran/28484] system_clock with real-type count_rate does not compile

2006-07-25 Thread kargl at gcc dot gnu dot org
--- Comment #1 from kargl at gcc dot gnu dot org 2006-07-25 20:22 --- gfortran is primarily a Fortran 95 with a few Fortran 2003 enhancements. -- kargl at gcc dot gnu dot org changed: What|Removed |Added

[Bug middle-end/28473] [4.0/4.1/4.2 Regression] with -O, casting result of round(x) to uint64_t produces wrong values for x > INT_MAX

2006-07-25 Thread roger at eyesopen dot com
--- Comment #7 from roger at eyesopen dot com 2006-07-25 20:08 --- Ahh, I've just found the Richard's patch submission posting at http://gcc.gnu.org/ml/gcc-patches/2006-07/msg01065.html I agree with Andrew Pinski, I think my changes are the better fix. We also need to investigate wether

[Bug middle-end/28473] [4.0/4.1/4.2 Regression] with -O, casting result of round(x) to uint64_t produces wrong values for x > INT_MAX

2006-07-25 Thread roger at eyesopen dot com
--- Comment #6 from roger at eyesopen dot com 2006-07-25 20:02 --- Grr. I've just noticed richi has just assigned this patch to himself. I also have a patch that been bootstrapped and has nearly finished regression testing, that I was just about to post/commit. richi what does your fix

[Bug rtl-optimization/28071] [4.1/4.2 regression] A file that can not be compiled in reasonable time/space

2006-07-25 Thread patchapp at dberlin dot org
--- Comment #22 from patchapp at dberlin dot org 2006-07-25 18:20 --- Subject: Bug number PR rtl-optimization/28071 A patch for this bug has been added to the patch tracker. The mailing list url for the patch is http://gcc.gnu.org/ml/gcc-patches/2006-07/msg01083.html -- http://gcc.

[Bug target/28481] regression from 3.x: 4.1.1 uses memory where it can use registers

2006-07-25 Thread vda dot linux at googlemail dot com
--- Comment #3 from vda dot linux at googlemail dot com 2006-07-25 17:18 --- With this test program: #include #include typedef unsigned u32; struct serpent_ctx { u32 expkey[132]; }; void serpent_encrypt(void *ctx, u32 *dst, const u32 *src); u32 v[4],u[4]; struct serpent_ctx ctx; int

[Bug fortran/28484] New: system_clock with real-type count_rate does not compile

2006-07-25 Thread tobias dot burnus at physik dot fu-berlin dot de
When compiling the following program, -- real :: cntrate call system_clock(count_rate=cntrate) end -- gfortran (4.2.0 20060725) shows the error: call system_clock(count_rate=cntrate) 1 Error: 'count_rate' a

[Bug debug/27574] [4.1 Regression] MIssing debug info at -O0 for a local variable in a C++ constructor

2006-07-25 Thread joern dot rennecke at st dot com
--- Comment #8 from joern dot rennecke at st dot com 2006-07-25 17:08 --- Subject: Re: [4.1 Regression] MIssing debug info at -O0 for a local variable in a C++ constructor drow at false dot org wrote: >--- Comment #7 from drow at gcc dot gnu dot org 2006-07-25 13:27 --- >Sub

[Bug gcov/profile/28480] inliner-1.c:31: ICE: in set_bb_for_stmt, at tree-cfg.c:2775

2006-07-25 Thread danglin at gcc dot gnu dot org
--- Comment #2 from danglin at gcc dot gnu dot org 2006-07-25 16:53 --- (gdb) p debug_tree (t) > side-effects arg 0 ignored VOID file /home/dave/gnu/gcc-4.2/gcc/gcc/testsuite/gcc.dg/tree-prof/inliner-1.c line 31 align 1 alias set 5 context >> $6 = void (gdb) bt

[Bug libgomp/28482] Cannot use libgomp in shared library

2006-07-25 Thread pinskia at gcc dot gnu dot org
--- Comment #2 from pinskia at gcc dot gnu dot org 2006-07-25 15:53 --- (In reply to comment #1) > You can link your main program against libgomp. If you controll your main program, you can, but for an example a pluggin into say Photoshop, you cannot. -- pinskia at gcc dot gnu dot o

[Bug pch/28483] Dependency tracking should be on by default when copiling .gchs

2006-07-25 Thread mjuric at astro dot princeton dot edu
--- Comment #1 from mjuric at astro dot princeton dot edu 2006-07-25 15:52 --- Created an attachment (id=11936) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=11936&action=view) Proposed fix Proposed fix, applies against 4.1.1 and SVN HEAD. -- http://gcc.gnu.org/bugzilla/show

[Bug pch/28483] New: Dependency tracking should be on by default when copiling .gchs

2006-07-25 Thread mjuric at astro dot princeton dot edu
Currently, in order for the dependencies to be tracked and stored in a .gch file to be subsequently used with -fpch-deps, one must manually specify -MD switch when compiling the precompiled header. Otherwise, the dependency information is not recorded in the precompiled header, and subsequent compi

[Bug libgomp/28482] Cannot use libgomp in shared library

2006-07-25 Thread rguenth at gcc dot gnu dot org
--- Comment #1 from rguenth at gcc dot gnu dot org 2006-07-25 15:48 --- You can link your main program against libgomp. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28482

[Bug target/28481] regression from 3.x: 4.1.1 uses memory where it can use registers

2006-07-25 Thread rguenth at gcc dot gnu dot org
--- Comment #2 from rguenth at gcc dot gnu dot org 2006-07-25 15:47 --- I get [EMAIL PROTECTED]:/tmp> /space/rguenther/install/gcc-3.4.6/bin/gcc -O3 -c serpent.c [EMAIL PROTECTED]:/tmp> size serpent.o textdata bss dec hex filename 3562 0 03562

[Bug pch/14933] missing pre-compiled header depends with -MD

2006-07-25 Thread mjuric at astro dot princeton dot edu
--- Comment #6 from mjuric at astro dot princeton dot edu 2006-07-25 15:22 --- Created an attachment (id=11935) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=11935&action=view) Proposed fix for improper dependency tracking with PCHs This short patch addresses the issue of precomp

[Bug tree-optimization/28364] poor optimization choices when iterating over a std::string (probably not c++-specific)

2006-07-25 Thread rakdver at gcc dot gnu dot org
--- Comment #26 from rakdver at gcc dot gnu dot org 2006-07-25 15:20 --- A patch for the "return in the middle of the loop" problem: http://gcc.gnu.org/ml/gcc-patches/2006-07/msg00893.html (to be commited once mainline is open). -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28364

[Bug libgomp/28482] New: Cannot use libgomp in shared library

2006-07-25 Thread mozilla at weilbacher dot org
I made some tests using gcc version 4.2.0 20060708 (experimental) to see if I can make use of the OpenMP feature and libgomp in my data processing environment. This environment runs on Unix systems (here: Linux) and consists of a main program and several .so plugins that do the actual work. If I us

[Bug rtl-optimization/26847] [4.2 Regression] Missed optimization in simplify_plus_minus

2006-07-25 Thread bonzini at gnu dot org
-- bonzini at gnu dot org changed: What|Removed |Added Status|NEW |ASSIGNED Last reconfirmed|2006-03-30 20:09:49 |2006-07-25 14:53:34

[Bug rtl-optimization/28481] regression from 3.x: 4.1.1 uses memory where it can use registers

2006-07-25 Thread vda dot linux at googlemail dot com
--- Comment #1 from vda dot linux at googlemail dot com 2006-07-25 14:45 --- Created an attachment (id=11934) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=11934&action=view) testcase -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28481

[Bug rtl-optimization/28481] New: regression from 3.x: 4.1.1 uses memory where it can use registers

2006-07-25 Thread vda dot linux at googlemail dot com
The attached test program uses 5 local variables and this fits into i386 available registers. gcc 3.4.3 manages to do it with -O3. gcc-4.1.1 -O2 and -O3 are identical and both are worse than gcc-3.4.3 -O3: # wc -l *.s 1498 serpent343-O2.s 1252 serpent343-O3.s <- gcc 3.4.3 is smaller! 1313 s

[Bug c++/21615] Argument-dependent name lookup associated namespace search bug

2006-07-25 Thread pinskia at gcc dot gnu dot org
--- Comment #6 from pinskia at gcc dot gnu dot org 2006-07-25 14:23 --- Fixed in 4.1.0. With many other bugs. -- pinskia at gcc dot gnu dot org changed: What|Removed |Added --

[Bug c++/21615] Argument-dependent name lookup associated namespace search bug

2006-07-25 Thread maxim dot yegorushkin at gmail dot com
--- Comment #5 from maxim dot yegorushkin at gmail dot com 2006-07-25 14:18 --- Hi there, Could you guys take a look at Pavel's comment. It looks very reasonable. -- maxim dot yegorushkin at gmail dot com changed: What|Removed |Added

[Bug gcov/profile/28480] inliner-1.c:31: ICE: in set_bb_for_stmt, at tree-cfg.c:2775

2006-07-25 Thread pinskia at gcc dot gnu dot org
--- Comment #1 from pinskia at gcc dot gnu dot org 2006-07-25 14:17 --- /* We're moving an existing label. Make sure that we've removed it from the old block. */ gcc_assert (!bb || !VEC_index (basic_block, label_to_block_m

[Bug gcov/profile/28480] New: inliner-1.c:31: ICE: in set_bb_for_stmt, at tree-cfg.c:2775

2006-07-25 Thread danglin at gcc dot gnu dot org
Executing on host: /home/dave/gnu/gcc-4.2/objdir/gcc/xgcc -B/home/dave/gnu/gcc- 4.2/objdir/gcc/ /home/dave/gnu/gcc-4.2/gcc/gcc/testsuite/gcc.dg/tree-prof/inlin er-1.c -O2 -fdump-tree-optimized -fprofile-use -fno-show-column -lm -o /ho me/dave/gnu/gcc-4.2/objdir/gcc/testsuite/gcc/inliner-1.x02

[Bug tree-optimization/28479] [4.2 regression] cc1plus just sits there eating CPU and RAM for a simple program

2006-07-25 Thread rguenth at gcc dot gnu dot org
-- rguenth at gcc dot gnu dot org changed: What|Removed |Added Target Milestone|--- |4.2.0 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28479

[Bug tree-optimization/28479] [4.2 regression] cc1plus just sits there eating CPU and RAM for a simple program

2006-07-25 Thread rguenth at gcc dot gnu dot org
--- Comment #5 from rguenth at gcc dot gnu dot org 2006-07-25 14:11 --- Reverting 2006-07-05 Richard Guenther <[EMAIL PROTECTED]> Andrew Pinski <[EMAIL PROTECTED]> PR c++/27084 * cp-objcp-common.c (cxx_types_compatible_p): Ignore top level qual

[Bug middle-end/28476] msp430-gcc with -Wunreachable-code Segmentation fault

2006-07-25 Thread stefano dot franzoni at marposs dot com
--- Comment #2 from stefano dot franzoni at marposs dot com 2006-07-25 14:02 --- Subject: Re: msp430-gcc with -Wunreachable-code Segmentation fault (See attached file: main.i) "pinskia at gcc dot gnu dot org"

[Bug tree-optimization/28479] [4.2 regression] cc1plus just sits there eating CPU and RAM for a simple program

2006-07-25 Thread pinskia at gcc dot gnu dot org
--- Comment #4 from pinskia at gcc dot gnu dot org 2006-07-25 14:02 --- The two statements should have been marked as volatile but are not for some reason. This is not a bug in PRE at all. -- pinskia at gcc dot gnu dot org changed: What|Removed |A

[Bug tree-optimization/28479] [4.2 regression] cc1plus just sits there eating CPU and RAM for a simple program

2006-07-25 Thread rguenth at gcc dot gnu dot org
--- Comment #3 from rguenth at gcc dot gnu dot org 2006-07-25 13:43 --- Simpler testcase: void foo(int* dest) { for (;;) *(volatile int *)dest = *(volatile int *)dest; } .066.crited: # SMT.4_3 = PHI ; :; # VUSE ; D.1990_2 = *dest_1; # SMT.4_5 = V_MAY_DEF ; *dest_1

[Bug c++/28477] Intermediate template classes makes typdefs in base class go away

2006-07-25 Thread pinskia at gcc dot gnu dot org
--- Comment #1 from pinskia at gcc dot gnu dot org 2006-07-25 13:42 --- Please read: http://gcc.gnu.org/gcc-3.4/changes.html -- pinskia at gcc dot gnu dot org changed: What|Removed |Added

[Bug middle-end/28476] msp430-gcc with -Wunreachable-code Segmentation fault

2006-07-25 Thread pinskia at gcc dot gnu dot org
--- Comment #1 from pinskia at gcc dot gnu dot org 2006-07-25 13:40 --- Can you attach the preprocessed source? -- pinskia at gcc dot gnu dot org changed: What|Removed |Added -

[Bug tree-optimization/28479] [4.2 regression] cc1plus just sits there eating CPU and RAM for a simple program

2006-07-25 Thread rguenth at gcc dot gnu dot org
--- Comment #2 from rguenth at gcc dot gnu dot org 2006-07-25 13:37 --- PRE loops. -O -ftree-pre. -- rguenth at gcc dot gnu dot org changed: What|Removed |Added

[Bug tree-optimization/28479] [4.2 regression] cc1plus just sits there eating CPU and RAM for a simple program

2006-07-25 Thread rguenth at gcc dot gnu dot org
--- Comment #1 from rguenth at gcc dot gnu dot org 2006-07-25 13:30 --- Confirmed. int foo(int* dest32) { for (int cnt = 10; cnt--;) *(volatile int *) (dest32) = (*(volatile int *)(dest32)) ^ 0x; } -- rguenth at gcc dot gnu dot org changed: What|R

[Bug debug/27574] [4.1 Regression] MIssing debug info at -O0 for a local variable in a C++ constructor

2006-07-25 Thread drow at false dot org
--- Comment #7 from drow at gcc dot gnu dot org 2006-07-25 13:27 --- Subject: Re: [4.1 Regression] MIssing debug info at -O0 for a local variable in a C++ constructor On Tue, Jul 25, 2006 at 12:14:46PM -, amylaar at gcc dot gnu dot org wrote: > If this is fixed on mainline, the fix

[Bug tree-optimization/28479] New: [4.2 regression] cc1plus just sits there eating CPU and RAM for a simple program

2006-07-25 Thread tbm at cyrius dot com
When I compile the application "zhcon" with a recent version of gcc 4.2, cc1plus just sits there eating CPU and RAM but doesn't actually seem to do anything. gcc 4.1 or older versions of gcc 4.2 compile the program in a few seconds. I tried to reduce this to a small testcase and it's included bel

[Bug gcov/profile/28478] New: function naming in GCOV since 3.4 series

2006-07-25 Thread snordin_ng at yahoo dot fr
Since 3.4 version of GCC, the functions naming in gcov seems to be changed. When using '-f' option of gcov, the function names are no more ClassName::MethodName but have C++ name mangling. For example : === EXAMPLE BEGIN === :: myClass.h :: class my

[Bug target/27907] [4.2 regression] ICE in expand_simple_unop, at optabs.c:2307

2006-07-25 Thread rakdver at gcc dot gnu dot org
--- Comment #3 from rakdver at gcc dot gnu dot org 2006-07-25 12:20 --- Patch: http://gcc.gnu.org/ml/gcc-patches/2006-07/msg01064.html -- rakdver at gcc dot gnu dot org changed: What|Removed |Added --

[Bug debug/27574] [4.1 Regression] MIssing debug info at -O0 for a local variable in a C++ constructor

2006-07-25 Thread amylaar at gcc dot gnu dot org
--- Comment #6 from amylaar at gcc dot gnu dot org 2006-07-25 12:14 --- (In reply to comment #5) > I am not going to track down what did it, but something has fixed this on the > 4.2 branch. I can reproduce it on Debian's 4.1 branch snapshot. If someone > wants to fix it on 4.1, it sho

[Bug target/17390] missing floating point compare optimization

2006-07-25 Thread pluto at agmk dot net
--- Comment #11 from pluto at agmk dot net 2006-07-25 11:33 --- ping -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17390

[Bug java/28458] [ecj] Fails to build gnu.awt.LightweightRedirector

2006-07-25 Thread aph at gcc dot gnu dot org
--- Comment #8 from aph at gcc dot gnu dot org 2006-07-25 10:00 --- I recompiled everything. Still: Reading .class from x86_64-unknown-linux-gnu/libjava/libgcj-4.2.0.jar(java/lang/Class.class). Magic number: 0xcafebabe, minor_version: 0, major_version: 49. Access flags: 0x31 public fi

[Bug java/28458] [ecj] Fails to build gnu.awt.LightweightRedirector

2006-07-25 Thread aph at gcc dot gnu dot org
--- Comment #7 from aph at gcc dot gnu dot org 2006-07-25 09:43 --- No, my java.lang.Class does not contain Class$0. Please attach yours. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28458

[Bug c++/28477] New: Intermediate template classes makes typdefs in base class go away

2006-07-25 Thread krister_joas at ml dot com
The below piece of code fails with the following error: f.C: In member function 'virtual int E::f()': f.C:18: error: 'b' was not declared in this scope f.C:18: error: expected `;' before 'i' f.C:18: error: 'i' was not declared in this scope File f.C: class Base { public: typedef int b; }; tem

[Bug middle-end/28473] [4.0/4.1/4.2 Regression] with -O, casting result of round(x) to uint64_t produces wrong values for x > INT_MAX

2006-07-25 Thread rguenth at gcc dot gnu dot org
--- Comment #5 from rguenth at gcc dot gnu dot org 2006-07-25 08:58 --- I have a patch. -- rguenth at gcc dot gnu dot org changed: What|Removed |Added AssignedTo|

[Bug middle-end/28473] [4.0/4.1/4.2 Regression] with -O, casting result of round(x) to uint64_t produces wrong values for x > INT_MAX

2006-07-25 Thread rguenth at gcc dot gnu dot org
--- Comment #4 from rguenth at gcc dot gnu dot org 2006-07-25 08:46 --- Confirmed. Testcase: typedef unsigned uint64_t __attribute__((mode(DI))); uint64_t foo(void) { uint64_t x = 2147483648ULL; /* INT_MAX+1 */ uint64_t y = (uint64_t)__builtin_round(x); return y; } wher

[Bug c++/28475] Internal error: Segmentation fault (program cc1plus)

2006-07-25 Thread rguenth at gcc dot gnu dot org
--- Comment #1 from rguenth at gcc dot gnu dot org 2006-07-25 08:37 --- Confirmed. Not a regression. 0x081bdda3 in lookup_fnfields_1 (type=0xb7d98000, name=0xb7cfebfc) at /space/rguenther/src/svn/gcc-4_1-branch/gcc/cp/search.c:1406 1406 VEC_iterate (tree, method_vec, i, f

[Bug bootstrap/26188] [4.2 Regression] 4.2.0 fails to compile on FreeBSD 4.11

2006-07-25 Thread bonzini at gnu dot org
--- Comment #15 from bonzini at gnu dot org 2006-07-25 08:34 --- patch committed -- bonzini at gnu dot org changed: What|Removed |Added Status|ASSIGNED

[Bug c/28476] New: msp430-gcc with -Wunreachable-code Segmentation fault

2006-07-25 Thread stefano dot franzoni at marposs dot com
I am using the last mspgcc compiler for MSP430 downloaded at http://sourceforge.net/project/showfiles.php?group_id=42303&package_id=68584. The bug is easily reproducible applying the following compiler line to the source main of example tasker msp430-gcc -mmcu=msp430x147 -g -O3 -Wall -Wcast-align

[Bug bootstrap/26188] [4.2 Regression] 4.2.0 fails to compile on FreeBSD 4.11

2006-07-25 Thread bonzini at gcc dot gnu dot org
--- Comment #14 from bonzini at gnu dot org 2006-07-25 08:30 --- Subject: Bug 26188 Author: bonzini Date: Tue Jul 25 08:30:38 2006 New Revision: 115733 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=115733 Log: config: 2006-07-25 Paolo Bonzini <[EMAIL PROTECTED]> PR b