[Bug c++/26670] attribute((packed)) sometimes not ignored for non-PODs

2006-08-28 Thread jason at gcc dot gnu dot org
--- Comment #8 from jason at gcc dot gnu dot org 2006-08-29 06:55 --- Subject: Bug 26670 Author: jason Date: Tue Aug 29 06:55:35 2006 New Revision: 116555 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=116555 Log: PR c++/26670 * class.c (check_field_decls): Unset

[Bug c++/26577] [4.0/4.1/4.2 regression] ICE in cp_expr_size with volatile and non POD

2006-08-28 Thread jason at gcc dot gnu dot org
--- Comment #19 from jason at gcc dot gnu dot org 2006-08-29 06:55 --- Subject: Bug 26577 Author: jason Date: Tue Aug 29 06:55:03 2006 New Revision: 116554 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=116554 Log: PR c++/26577 * cvt.c (convert_to_void): Don't au

[Bug target/28882] Use more register name macros in m68k port

2006-08-28 Thread kazu at gcc dot gnu dot org
--- Comment #1 from kazu at gcc dot gnu dot org 2006-08-29 06:54 --- For cleanliness, we can define STACK_POINTER_REGNUM in terms of SP_REG. The same would apply to FRAME_POINTER_REGNUM once we define FP_REG in m68k.md. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28882

[Bug target/28882] New: Use more register name macros in m68k port

2006-08-28 Thread kazu at gcc dot gnu dot org
Currently, the m68k port only defines A0_REG and SP_REG. We could define more macros like these. For example, D0_REG would be useful in FUNCTION_VALUE, LIBCALL_VALUE, and FUNCTION_VALUE_REGNO_P. -- Summary: Use more register name macros in m68k port Product: gcc

[Bug target/28881] New: Improve epilogue code in m68k

2006-08-28 Thread kazu at gcc dot gnu dot org
m68k_output_function_epilogue uses leaf_function_p. Consider using (stack_pointer_delta == 0) instead. A quick experiment shows improvements like so: - move.l -8(%fp),%d2 - move.l -4(%fp),%d3 + move.l (%sp)+,%d2 + move.l (%sp)+,%d3 unlk %fp rts Note that th

[Bug rtl-optimization/21676] [4.0/4.1/4.2 Regression] Optimizer regression: SciMark sparse matrix benchmark

2006-08-28 Thread uros at kss-loka dot si
--- Comment #10 from uros at kss-loka dot si 2006-08-29 06:12 --- (In reply to comment #9) > Fixed on the mainline by: > http://gcc.gnu.org/ml/gcc-patches/2006-08/msg01036.html Not really, the above patch fixed only one of three problems. The other two remains, that is: - ivopts proble

[Bug tree-optimization/28868] [4.0/4.1/4.2 Regression] Not elimintation the PHIs which have the same agruments

2006-08-28 Thread steven at gcc dot gnu dot org
-- steven at gcc dot gnu dot org changed: What|Removed |Added Status|UNCONFIRMED |NEW Ever Confirmed|0 |1 Last reconfir

[Bug rtl-optimization/21676] [4.0/4.1 Regression] Optimizer regression: SciMark sparse matrix benchmark

2006-08-28 Thread pinskia at gcc dot gnu dot org
--- Comment #9 from pinskia at gcc dot gnu dot org 2006-08-29 05:24 --- Fixed on the mainline by: http://gcc.gnu.org/ml/gcc-patches/2006-08/msg01036.html -- pinskia at gcc dot gnu dot org changed: What|Removed |Added ---

[Bug fortran/28005] [4.1 only] gfortran: matmul produces wrong result

2006-08-28 Thread pault at gcc dot gnu dot org
--- Comment #10 from pault at gcc dot gnu dot org 2006-08-29 04:57 --- Subject: Bug 28005 Author: pault Date: Tue Aug 29 04:57:29 2006 New Revision: 116553 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=116553 Log: 2006-08-29 Paul Thomas <[EMAIL PROTECTED]> PR fortran

[Bug fortran/28788] [gfortran: 4.1, 4.2 regression] ICE on valid code

2006-08-28 Thread pault at gcc dot gnu dot org
--- Comment #17 from pault at gcc dot gnu dot org 2006-08-29 04:57 --- Subject: Bug 28788 Author: pault Date: Tue Aug 29 04:57:29 2006 New Revision: 116553 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=116553 Log: 2006-08-29 Paul Thomas <[EMAIL PROTECTED]> PR fortran

[Bug fortran/28788] [gfortran: 4.1, 4.2 regression] ICE on valid code

2006-08-28 Thread pault at gcc dot gnu dot org
--- Comment #16 from pault at gcc dot gnu dot org 2006-08-29 04:51 --- Subject: Bug 28788 Author: pault Date: Tue Aug 29 04:51:32 2006 New Revision: 116552 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=116552 Log: 2006-08-29 Paul Thomas <[EMAIL PROTECTED]> PR fortran

[Bug debug/28834] [4.0/4.1/4.2 Regression] -O3 -g crashes sometimes when using may_alias and structs

2006-08-28 Thread geoffk at gcc dot gnu dot org
--- Comment #8 from geoffk at gcc dot gnu dot org 2006-08-29 04:48 --- In the duplicate I explain: The problem is that the front-end is calling the DWARF output code with two shallow copies of the same structure, 'S'. The DWARF code detects that two different structures have the same m

[Bug c++/27714] [4.0/4.1/4.2 regression] operator new as friend in template class rejected

2006-08-28 Thread jason at gcc dot gnu dot org
--- Comment #6 from jason at gcc dot gnu dot org 2006-08-29 04:42 --- Subject: Bug 27714 Author: jason Date: Tue Aug 29 04:42:46 2006 New Revision: 116551 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=116551 Log: PR c++/27714 * pt.c (push_template_decl_real): A

[Bug debug/28834] [4.0/4.1/4.2 Regression] -O3 -g crashes sometimes when using may_alias and structs

2006-08-28 Thread pinskia at gcc dot gnu dot org
--- Comment #7 from pinskia at gcc dot gnu dot org 2006-08-29 04:41 --- *** Bug 28880 has been marked as a duplicate of this bug. *** -- pinskia at gcc dot gnu dot org changed: What|Removed |Added ---

[Bug debug/28880] gcc.c-torture/execute/mayalias-2.c failure with -O3 -gdwarf-2

2006-08-28 Thread pinskia at gcc dot gnu dot org
--- Comment #1 from pinskia at gcc dot gnu dot org 2006-08-29 04:41 --- And this was already filed as PR 28834. I filed it before posting the patch and committing the testcase because it was a regression and it was even there without my patch. *** This bug has been marked as a duplicat

[Bug debug/28880] New: gcc.c-torture/execute/mayalias-2.c failure with -O3 -gdwarf-2

2006-08-28 Thread geoffk at gcc dot gnu dot org
I got: mayalias-2.c:2: internal compiler error: in splice_child_die, at dwarf2out.c:5552 with a modified compiler, but I see that it fails on powerpc64-linux and arm-none-eabi

[Bug c++/28879] [4.0/4.1/4.2 regression] ICE with variable-sized array in template function

2006-08-28 Thread pinskia at gcc dot gnu dot org
--- Comment #2 from pinskia at gcc dot gnu dot org 2006-08-29 02:44 --- Actually the second case is because we call: 426 t = build_array_type (elt_type, index_type); #12 0x081e0cae in build_cplus_array_type_1 (elt_type=0xb7c62284, index_type=0xb7d055c0) at ../../gcc/cp/tree.c

[Bug c++/28879] [4.0/4.1/4.2 regression] ICE with variable-sized array in template function

2006-08-28 Thread pinskia at gcc dot gnu dot org
--- Comment #1 from pinskia at gcc dot gnu dot org 2006-08-28 23:57 --- (In reply to comment #0) > The following similar code snippet triggers an ICE since GCC 4.0.0: That one is related to PR 27210. Really these are two different bugs and should have been filed seperately. For that on

[Bug c++/28879] [4.0/4.1/4.2 regression] ICE with variable-sized array in template function

2006-08-28 Thread reichelt at gcc dot gnu dot org
-- reichelt at gcc dot gnu dot org changed: What|Removed |Added Target Milestone|--- |4.0.4 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28879

[Bug c++/28879] New: [4.0/4.1/4.2 regression] ICE with variable-sized array in template function

2006-08-28 Thread reichelt at gcc dot gnu dot org
The following valid code snippet triggers an ICE since GCC 3.4.0: == struct A { int i; }; template void foo() { int x[A().i]; } == bug.cc: In function 'void foo()': bug.cc:8: internal compiler error: in value_dependent_expression_p, at cp/pt.c:

[Bug c++/28878] [4.0/4.1/4.2 regression] ICE using "[" instead of "{"

2006-08-28 Thread pinskia at gcc dot gnu dot org
--- Comment #1 from pinskia at gcc dot gnu dot org 2006-08-28 23:46 --- #0 0x081141ec in build_throw (exp=) at /home/peshtigo/pinskia/src/gnu/gcc/src/gcc/cp/except.c:602 #1 0x080e641d in cp_parser_assignment_expression (parser=0xb7ccfe6c, cast_p=0 '\0') at /home/peshtigo/pinski

[Bug c++/28878] [4.0/4.1/4.2 regression] ICE using "[" instead of "{"

2006-08-28 Thread reichelt at gcc dot gnu dot org
-- reichelt at gcc dot gnu dot org changed: What|Removed |Added Target Milestone|--- |4.0.4 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28878

[Bug c++/28878] New: [4.0/4.1/4.2 regression] ICE using "[" instead of "{"

2006-08-28 Thread reichelt at gcc dot gnu dot org
The following invlaid code snippet triggers a segfault since GCC 3.4.0: == template void foo() [ throw; } == bug.cc:3: internal compiler error: Segmentation fault Please submit a full bug report, [etc.] -- Summary: [4.0/4.1/4.2 regre

[Bug c++/28858] [4.0/4.1/4.2 regression] Algorithm to find the end of a template parameter list is flawed

2006-08-28 Thread reichelt at gcc dot gnu dot org
-- reichelt at gcc dot gnu dot org changed: What|Removed |Added Target Milestone|--- |4.0.4 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28858

[Bug c++/27494] [4.0/4.1/4.2 regression] ICE on invalid template parameter

2006-08-28 Thread reichelt at gcc dot gnu dot org
--- Comment #2 from reichelt at gcc dot gnu dot org 2006-08-28 23:20 --- Shorter testcase: = struct A { template void foo() {} }; = The original testcase relies on the suboptimal error-recovery for tem

[Bug c++/28860] [4.0/4.1/4.2 regression] Trouble with bound template template parameter in specialization

2006-08-28 Thread reichelt at gcc dot gnu dot org
--- Comment #5 from reichelt at gcc dot gnu dot org 2006-08-28 23:13 --- Fixed on mainline, 4.1 branch, and 4.0 branch. -- reichelt at gcc dot gnu dot org changed: What|Removed |Added ---

[Bug driver/28877] gcc file1.c file2.c file3.c -o file.o fails

2006-08-28 Thread iano at apple dot com
--- Comment #3 from iano at apple dot com 2006-08-28 23:13 --- Thanks for fixing it Andrew. I can confirm that -combine works. Hopefully Apple will get around to updating to 4.0.3 one of these days. ...and really, you should be thrilled to get duplicate bug reports! They are sooo much e

[Bug c++/28860] [4.0/4.1/4.2 regression] Trouble with bound template template parameter in specialization

2006-08-28 Thread reichelt at gcc dot gnu dot org
--- Comment #4 from reichelt at gcc dot gnu dot org 2006-08-28 23:12 --- Subject: Bug 28860 Author: reichelt Date: Mon Aug 28 23:12:32 2006 New Revision: 116544 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=116544 Log: PR c++/28860 * cp-tree.h (maybe_process_pa

[Bug middle-end/27657] [4.2 regression] bogus undefined reference error to static var with -g and -O

2006-08-28 Thread janis at gcc dot gnu dot org
--- Comment #9 from janis at gcc dot gnu dot org 2006-08-28 22:58 --- I can confirm that the latest regression is from r112408. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27657

[Bug c++/28860] [4.0/4.1/4.2 regression] Trouble with bound template template parameter in specialization

2006-08-28 Thread reichelt at gcc dot gnu dot org
--- Comment #3 from reichelt at gcc dot gnu dot org 2006-08-28 22:51 --- Subject: Bug 28860 Author: reichelt Date: Mon Aug 28 22:51:17 2006 New Revision: 116543 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=116543 Log: PR c++/28860 * cp-tree.h (maybe_process_pa

[Bug driver/28877] gcc file1.c file2.c file3.c -o file.o fails

2006-08-28 Thread pinskia at gcc dot gnu dot org
--- Comment #2 from pinskia at gcc dot gnu dot org 2006-08-28 22:50 --- PS please report Apple GCC bugs to Apple first and if you want to report a GCC bug to the FSF, please test on the branch (and/or the latest release). -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28877

[Bug driver/22544] [4.0/4.1 Regression] gcc ignores input file given on the command line

2006-08-28 Thread pinskia at gcc dot gnu dot org
--- Comment #16 from pinskia at gcc dot gnu dot org 2006-08-28 22:49 --- *** Bug 28877 has been marked as a duplicate of this bug. *** -- pinskia at gcc dot gnu dot org changed: What|Removed |Added -

[Bug driver/28877] gcc file1.c file2.c file3.c -o file.o fails

2006-08-28 Thread pinskia at gcc dot gnu dot org
--- Comment #1 from pinskia at gcc dot gnu dot org 2006-08-28 22:49 --- This was a bug in 4.0.0-4.0.2, it was fixed for 4.0.3 by me never the less. To get IMA, you need -combine. *** This bug has been marked as a duplicate of 22544 *** -- pinskia at gcc dot gnu dot org changed:

[Bug c++/28860] [4.0/4.1/4.2 regression] Trouble with bound template template parameter in specialization

2006-08-28 Thread reichelt at gcc dot gnu dot org
--- Comment #2 from reichelt at gcc dot gnu dot org 2006-08-28 22:35 --- Subject: Bug 28860 Author: reichelt Date: Mon Aug 28 22:34:55 2006 New Revision: 116541 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=116541 Log: PR c++/28860 * cp-tree.h (maybe_process_pa

[Bug driver/28877] New: gcc file1.c file2.c file3.c -o file.o fails

2006-08-28 Thread iano at apple dot com
This doesn't work on my apple gcc. If you inspect with -v, it compiles each file in turn and writes to file.o, each file overwriting the one before it, rather than combining the three .c files into one .o. I can think of some pretty good reasons to do this, including cross compilation-unit inlinin

[Bug fortran/28873] Cannot resolve subroutine calls when modules are used in different scopes

2006-08-28 Thread pault at gcc dot gnu dot org
-- pault at gcc dot gnu dot org changed: What|Removed |Added Status|WAITING |ASSIGNED Last reconfirmed|2006-08-28 22:15:42 |2006-08-28 22:

[Bug fortran/28873] Cannot resolve subroutine calls when modules are used in different scopes

2006-08-28 Thread pault at gcc dot gnu dot org
--- Comment #2 from pault at gcc dot gnu dot org 2006-08-28 22:22 --- The problem lies in resolve.c (resolve_generic_s):1623 yes, definitely. resolve_generic_f is not so prissy about use association and has a somewhat different structure. If I were to transport this to subroutines,

[Bug fortran/28873] Cannot resolve subroutine calls when modules are used in different scopes

2006-08-28 Thread pault at gcc dot gnu dot org
--- Comment #1 from pault at gcc dot gnu dot org 2006-08-28 22:15 --- The problem lies in resolve.c (resolve_generic_s):1623 On the face of it, if (sym->ns->parent != NULL && !sym->attr.use_assoc) seems to be wrong. if (sym->ns->parent != NULL) fixes the problem and is regtesting as

[Bug c++/25868] [4.0/4.1 Regression] Multiple templates and typedefs cause function prototype not to match

2006-08-28 Thread janis at gcc dot gnu dot org
--- Comment #9 from janis at gcc dot gnu dot org 2006-08-28 22:14 --- A regression hunt on powerpc-linux identified this patch: http://gcc.gnu.org/viewcvs?view=rev&rev=116409 r116409 | nathan | 2006-08-25 16:56:07 + (Fri, 25 Aug 2006) -- janis at gcc dot gnu dot org cha

[Bug java/28663] [4.2 regression] gcj fails to binary-compile eclipse's javac

2006-08-28 Thread h dot mth at web dot de
--- Comment #7 from h dot mth at web dot de 2006-08-28 21:45 --- I stored my broken ecj-3.2.jar here: http://geki.ath.cx/hacks/ecj.jar -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28663

[Bug tree-optimization/28411] [4.1/4.2 Regression] "Illegal instruction" error with -ftrapv

2006-08-28 Thread rakdver at gcc dot gnu dot org
--- Comment #10 from rakdver at gcc dot gnu dot org 2006-08-28 21:15 --- Subject: Bug 28411 Author: rakdver Date: Mon Aug 28 21:15:19 2006 New Revision: 116529 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=116529 Log: PR tree-optimization/28411 * double-int.c (

[Bug c++/26102] [4.1/4.2 regression] "using Base::member" nonsense

2006-08-28 Thread janis at gcc dot gnu dot org
--- Comment #6 from janis at gcc dot gnu dot org 2006-08-28 21:03 --- A regression hunt on powerpc-linux identified this patch: http://gcc.gnu.org/viewcvs?view=rev&rev=110017 r110017 | mmitchel | 2006-01-20 03:07:58 + (Fri, 20 Jan 2006) -- janis at gcc dot gnu dot org c

[Bug middle-end/27657] [4.2 regression] bogus undefined reference error to static var with -g and -O

2006-08-28 Thread geoffk at gcc dot gnu dot org
--- Comment #8 from geoffk at gcc dot gnu dot org 2006-08-28 20:44 --- (In reply to comment #3) > Created an attachment (id=12037) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=12037&action=view) [edit] > patch > > It looks like we should bite the bullet and let cgraph code to ou

[Bug libgomp/25259] [4.2 Regression] bootstrap failures on non-C99 platforms (no stdint.h)

2006-08-28 Thread janis at gcc dot gnu dot org
--- Comment #20 from janis at gcc dot gnu dot org 2006-08-28 20:42 --- Subject: Bug 25259 Author: janis Date: Mon Aug 28 20:42:12 2006 New Revision: 116528 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=116528 Log: Backport from mainline (part of r198241) 2006-01

[Bug middle-end/27657] [4.2 regression] bogus undefined reference error to static var with -g and -O

2006-08-28 Thread pinskia at gcc dot gnu dot org
--- Comment #7 from pinskia at gcc dot gnu dot org 2006-08-28 20:36 --- (In reply to comment #6) > The log message and the ChangeLog entry don't mention it, but this patch also > modifies gcc/dwarf2out.c. It was backed out right after the commit: http://gcc.gnu.org/viewcvs?view=rev&revi

[Bug middle-end/7651] Define -Wextra strictly in terms of other warning flags

2006-08-28 Thread pinskia at gcc dot gnu dot org
--- Comment #5 from pinskia at gcc dot gnu dot org 2006-08-28 20:33 --- *** Bug 28876 has been marked as a duplicate of this bug. *** -- pinskia at gcc dot gnu dot org changed: What|Removed |Added ---

[Bug c/28876] Provide -W options for all warnings enabled by -Wextra

2006-08-28 Thread pinskia at gcc dot gnu dot org
--- Comment #1 from pinskia at gcc dot gnu dot org 2006-08-28 20:33 --- *** This bug has been marked as a duplicate of 7651 *** -- pinskia at gcc dot gnu dot org changed: What|Removed |Added ---

[Bug libstdc++/23773] Improve abi.html

2006-08-28 Thread bkoz at gcc dot gnu dot org
--- Comment #2 from bkoz at gcc dot gnu dot org 2006-08-28 20:18 --- Subject: Bug 23773 Author: bkoz Date: Mon Aug 28 20:18:22 2006 New Revision: 116527 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=116527 Log: 2006-08-28 Benjamin Kosnik <[EMAIL PROTECTED]> PR libstd

[Bug c/28876] New: Provide -W options for all warnings enabled by -Wextra

2006-08-28 Thread gnu at behdad dot org
There are some really useful warnings enabled by -Wextra that don't have separate -W enablers. They should, as not everyone likes all the noise that -Wextra generates. These two are the ones I failed to find how to enable other than by using -Wextra: warning: comparison of unsigned expression >=

[Bug java/28869] gcc-4.1.1 fails to build with java language on Solaris 2.8

2006-08-28 Thread bob at digilink dot net
--- Comment #2 from bob at digilink dot net 2006-08-28 19:45 --- I'm sorry - I thought I had looked through all of the Solaris build issues but there it is plain as day - If it was a snake it would have bit me! Thank you for pointing me in the right direction and for your patience. --

[Bug middle-end/27657] [4.2 regression] bogus undefined reference error to static var with -g and -O

2006-08-28 Thread janis at gcc dot gnu dot org
--- Comment #6 from janis at gcc dot gnu dot org 2006-08-28 19:43 --- A regression hunt on powerpc-linux identified the following patch: http://gcc.gnu.org/viewcvs?view=rev&rev=112361 r112361 | geoffk | 2006-03-24 21:59:48 + (Fri, 24 Mar 2006) The log message and the Chang

[Bug c/28875] "-Wextra -Wno-unused-parameter -Wall" doesn't work as expected

2006-08-28 Thread pinskia at gcc dot gnu dot org
--- Comment #1 from pinskia at gcc dot gnu dot org 2006-08-28 19:40 --- I don't think this is a bug since the behavior is documented: In order to get a warning about an unused function parameter, you must either specify `-Wextra -Wunused' (note that `-Wall' implies `-Wunused'), or separa

[Bug c/28875] New: "-Wextra -Wno-unused-parameter -Wall" doesn't work as expected

2006-08-28 Thread gnu at behdad dot org
The above sequence of warning flags causes unused-parameters to be reported, while one expects it to not. The fact that -Wextra and -Wall together magically turn unused-parameter on is shadowing the effect of the explicit -Wno-unused-parameter. It took me quite a while to figure that out. --

[Bug c++/23287] [4.0/4.1/4.2 regression] Explicitly invoking destructor of template class in a template and is dependent

2006-08-28 Thread nathan at gcc dot gnu dot org
-- nathan at gcc dot gnu dot org changed: What|Removed |Added AssignedTo|unassigned at gcc dot gnu |nathan at gcc dot gnu dot |dot org

[Bug fortran/28866] [Regression] Simple if statements are not so simple

2006-08-28 Thread kargl at gcc dot gnu dot org
--- Comment #2 from kargl at gcc dot gnu dot org 2006-08-28 17:55 --- *** Bug 28874 has been marked as a duplicate of this bug. *** -- kargl at gcc dot gnu dot org changed: What|Removed |Added ---

[Bug fortran/28874] gfortran confuses 'cycle' keyword for subroutine call in subroutine called 'cycle'

2006-08-28 Thread kargl at gcc dot gnu dot org
--- Comment #1 from kargl at gcc dot gnu dot org 2006-08-28 17:55 --- This is my screw. *** This bug has been marked as a duplicate of 28866 *** -- kargl at gcc dot gnu dot org changed: What|Removed |Added -

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

2006-08-28 Thread amacleod at redhat dot com
--- Comment #51 from amacleod at redhat dot com 2006-08-28 17:37 --- Huh. I didn't realize bugzilla scanned the entire checkin message looking for bug numbers This has been checked in on a branch, so you can ignore the preceeding note's commentary. it's just a note to myself. --

[Bug tree-optimization/17506] [4.0/4.1/4.2 regression] warning about uninitialized variable points to wrong location

2006-08-28 Thread kazu at gcc dot gnu dot org
--- Comment #27 from kazu at gcc dot gnu dot org 2006-08-28 17:28 --- The real fix it to issue "uninitialized warnings" before the inliner kicks in but after we go into SSA, which is impossible until we start doing early SSA. As Nathan suggests, this caveat should be mentioned in the re

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

2006-08-28 Thread amacleod at gcc dot gnu dot org
--- Comment #50 from amacleod at redhat dot com 2006-08-28 17:18 --- Subject: Bug 28071 Author: amacleod Date: Mon Aug 28 17:18:33 2006 New Revision: 116511 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=116511 Log: revert 116257 which is the rewrite_liverange_info patch, so b

[Bug middle-end/26632] [4.1/4.2 Regression] spurious warning: value computed is not used

2006-08-28 Thread kazu at gcc dot gnu dot org
--- Comment #9 from kazu at gcc dot gnu dot org 2006-08-28 17:18 --- Subject: Bug 26632 Author: kazu Date: Mon Aug 28 17:18:29 2006 New Revision: 116510 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=116510 Log: gcc/ PR middle-end/26632 * convert.c (convert_to_in

[Bug java/24442] wrong inner class instantiated

2006-08-28 Thread aph at gcc dot gnu dot org
--- Comment #2 from aph at gcc dot gnu dot org 2006-08-28 16:57 --- This will be fixed with ecj. -- aph at gcc dot gnu dot org changed: What|Removed |Added St

[Bug middle-end/27590] [4.1/4.2 Regression] ICE when compiling catalina.jar from tomcat 5.0.30

2006-08-28 Thread aph at gcc dot gnu dot org
--- Comment #9 from aph at gcc dot gnu dot org 2006-08-28 16:56 --- Should be fixed on trunk. -- aph at gcc dot gnu dot org changed: What|Removed |Added Statu

[Bug java/27754] Stack overflow in gcj

2006-08-28 Thread aph at gcc dot gnu dot org
--- Comment #4 from aph at gcc dot gnu dot org 2006-08-28 16:55 --- . -- aph at gcc dot gnu dot org changed: What|Removed |Added Status|NEW

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

2006-08-28 Thread aph at gcc dot gnu dot org
--- Comment #9 from aph at gcc dot gnu dot org 2006-08-28 16:54 --- . -- aph at gcc dot gnu dot org changed: What|Removed |Added Status|WAITING

[Bug java/28663] [4.2 regression] gcj fails to binary-compile eclipse's javac

2006-08-28 Thread aph at gcc dot gnu dot org
-- aph at gcc dot gnu dot org changed: What|Removed |Added Status|ASSIGNED|WAITING http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28663

[Bug java/1305] [JSR133] GCJ ignores volatile modifier

2006-08-28 Thread aph at gcc dot gnu dot org
-- aph at gcc dot gnu dot org changed: What|Removed |Added Status|NEW |SUSPENDED http://gcc.gnu.org/bugzilla/show_bug.cgi?id=1305

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

2006-08-28 Thread sje at cup dot hp dot com
--- Comment #16 from sje at cup dot hp dot com 2006-08-28 16:07 --- Yes, I did some performance measurements with SPEC2000. Allowing any (symbol + offset) resulted in slightly slower code overall, allowing no (symbol + offset) resulted in slightly faster code overall. I will be submitti

[Bug target/26504] compute_frame_pointer_to_cfa_displacement error for avr target with --with-dwarf2

2006-08-28 Thread clemens dot koller at anagramm dot de
--- Comment #11 from clemens dot koller at anagramm dot de 2006-08-28 15:37 --- Same bug occures with 4.1.1 too, verified on an x86 and ppc host, cross compiling for Atmel AVR: configure --target=avr --with-dwarf2 triggers the bug. -- clemens dot koller at anagramm dot de changed:

[Bug fortran/28874] New: gfortran confuses 'cycle' keyword for subroutine call in subroutine called 'cycle'

2006-08-28 Thread drewmccormack at mac dot com
The following code: subroutine cycle implicit none integer :: nsos, isym, nsym = 10 integer :: norb(10) isym_: do isym = 1, nsym nsos = norb(isym) if (nsos==0) cycle isym_ enddo isym_ end subroutine causes this compile time error: if (nsos==0) cycle isym_

[Bug fortran/28873] New: Cannot resolve subroutine calls when modules are used in different scopes

2006-08-28 Thread drewmccormack at mac dot com
gfortran reports the following error: call create() 1 Error: Generic subroutine 'create' at (1) is not an intrinsic subroutine when trying to compile the following code: module A private interface create module procedure create1 end interface public :: create

[Bug tree-optimization/28868] [4.0/4.1/4.2 Regression] Not elimintation the PHIs which have the same agruments

2006-08-28 Thread pinskia at gcc dot gnu dot org
--- Comment #5 from pinskia at gcc dot gnu dot org 2006-08-28 14:37 --- (In reply to comment #4) > So not all gcc3 releases do so well. Are there GCC releases that optimize the > two functions to identical code? Yes (FSF) 3.2.3. .globl f .type f,@function f: movl4

[Bug tree-optimization/28868] [4.0/4.1/4.2 Regression] Not elimintation the PHIs which have the same agruments

2006-08-28 Thread steven at gcc dot gnu dot org
--- Comment #4 from steven at gcc dot gnu dot org 2006-08-28 13:59 --- >From the hammer branch for AMD64: .globl f .type f, @function f: .LFB4: testl %edi, %edi movl%esi, %eax jne .L3 movl%edx, %esi movl%edx, %eax .L3:

[Bug java/28869] gcc-4.1.1 fails to build with java language on Solaris 2.8

2006-08-28 Thread pinskia at gcc dot gnu dot org
--- Comment #1 from pinskia at gcc dot gnu dot org 2006-08-28 13:26 --- configure: error: /bin/sh '/lhome/gcc/gcc-4.1.1/libjava/classpath/configure' You forgot to do CONFIG_SHELL=/bin/ksh as mentioned by: http://gcc.gnu.org/install/specific.html#x-x-solaris2 The Solaris 2 /bin/sh will

[Bug c++/28871] massive C++ compile time slowdown

2006-08-28 Thread pinskia at gcc dot gnu dot org
--- Comment #1 from pinskia at gcc dot gnu dot org 2006-08-28 13:23 --- It might not have doubled but one testcase that was added might have been always slow. We really need one testcase that has slowed down or one testcase that has always been slow that was added. -- pinskia at gcc

[Bug target/28872] New: ARM inline assembly can be mispredicated.

2006-08-28 Thread drow at gcc dot gnu dot org
I had a conversation with Russell King about asm("") and historical problems with it. He told me that in old versions of GCC, it was necessary to either clobber conds or else use %?; otherwise GCC could mistakenly omit a branch around the inline asm. When (around GCC 3.0) we started to use final.

[Bug c++/28871] New: massive C++ compile time slowdown

2006-08-28 Thread bkoz at gcc dot gnu dot org
Sometime between Aug 1, 2006 and Aug 22, 2006 the time needed to run the g++ and libstdc++ testsuite ballooned. See this message and followups: http://gcc.gnu.org/ml/gcc/2006-08/msg00398.html Here are the specifics that I have: 20060724, make check-target-libstdc++ 1145.687u 137.804s 23:13.98 9

[Bug c++/28407] [4.2 regression] Issue with anonymous namespace

2006-08-28 Thread jakub at gcc dot gnu dot org
--- Comment #12 from jakub at gcc dot gnu dot org 2006-08-28 12:31 --- Subject: Bug 28407 Author: jakub Date: Mon Aug 28 12:31:26 2006 New Revision: 116507 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=116507 Log: 2006-07-20 Jason Merrill <[EMAIL PROTECTED]> * tree.c

[Bug c++/28409] [4.2 Regression] extern "C" and anonymous namespace

2006-08-28 Thread jakub at gcc dot gnu dot org
--- Comment #5 from jakub at gcc dot gnu dot org 2006-08-28 12:31 --- Subject: Bug 28409 Author: jakub Date: Mon Aug 28 12:31:26 2006 New Revision: 116507 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=116507 Log: 2006-07-20 Jason Merrill <[EMAIL PROTECTED]> * tree.c

[Bug c++/28370] [4.2 Regression] undefined reference to template class static variable in an anonymous namespace

2006-08-28 Thread jakub at gcc dot gnu dot org
--- Comment #13 from jakub at gcc dot gnu dot org 2006-08-28 12:29 --- Subject: Bug 28370 Author: jakub Date: Mon Aug 28 12:28:55 2006 New Revision: 116506 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=116506 Log: PR c++/28370 * decl2.c (note_vague_linkage_var):

[Bug testsuite/28870] New: configuring, over-riding timeout values in testsuite

2006-08-28 Thread bkoz at gcc dot gnu dot org
This change: http://gcc.gnu.org/ml/gcc-patches/2006-06/msg01487.html Has caused problems with people who set a custom timeout value in .exp files. Examples include: http://gcc.gnu.org/ml/gcc/2006-08/msg00371.html and http://gcc.gnu.org/ml/libstdc++/2006-08/msg00027.html Mike's suggestion to do t

[Bug c++/25915] use ODR rules to make C++ objects not be TREE_PUBLIC

2006-08-28 Thread jakub at gcc dot gnu dot org
--- Comment #13 from jakub at gcc dot gnu dot org 2006-08-28 12:27 --- Subject: Bug 25915 Author: jakub Date: Mon Aug 28 12:26:41 2006 New Revision: 116505 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=116505 Log: 2006-07-06 Jason Merrill <[EMAIL PROTECTED]> cp/ PR c

[Bug c++/21581] (optimisation) Functions in anonymous namespaces should default to "hidden" visibility

2006-08-28 Thread jakub at gcc dot gnu dot org
--- Comment #19 from jakub at gcc dot gnu dot org 2006-08-28 12:27 --- Subject: Bug 21581 Author: jakub Date: Mon Aug 28 12:26:41 2006 New Revision: 116505 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=116505 Log: 2006-07-06 Jason Merrill <[EMAIL PROTECTED]> cp/ PR c

[Bug c++/21675] -fvisibility : misleading documentation and low QoI

2006-08-28 Thread jakub at gcc dot gnu dot org
--- Comment #3 from jakub at gcc dot gnu dot org 2006-08-28 12:27 --- Subject: Bug 21675 Author: jakub Date: Mon Aug 28 12:26:41 2006 New Revision: 116505 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=116505 Log: 2006-07-06 Jason Merrill <[EMAIL PROTECTED]> cp/ PR c+

[Bug c++/17470] Visibility attribute ignored for explicit template instantiation

2006-08-28 Thread jakub at gcc dot gnu dot org
--- Comment #11 from jakub at gcc dot gnu dot org 2006-08-28 12:27 --- Subject: Bug 17470 Author: jakub Date: Mon Aug 28 12:26:41 2006 New Revision: 116505 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=116505 Log: 2006-07-06 Jason Merrill <[EMAIL PROTECTED]> cp/ PR c

[Bug c++/27000] visibility push/pop and templates go crazy

2006-08-28 Thread jakub at gcc dot gnu dot org
--- Comment #11 from jakub at gcc dot gnu dot org 2006-08-28 12:27 --- Subject: Bug 27000 Author: jakub Date: Mon Aug 28 12:26:41 2006 New Revision: 116505 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=116505 Log: 2006-07-06 Jason Merrill <[EMAIL PROTECTED]> cp/ PR c

[Bug c++/26984] link error with &(typeid(int)) in anonymous namespace

2006-08-28 Thread jakub at gcc dot gnu dot org
--- Comment #7 from jakub at gcc dot gnu dot org 2006-08-28 12:27 --- Subject: Bug 26984 Author: jakub Date: Mon Aug 28 12:26:41 2006 New Revision: 116505 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=116505 Log: 2006-07-06 Jason Merrill <[EMAIL PROTECTED]> cp/ PR c+

[Bug c++/26905] default-visibility class symbol improperly resolved as hidden-visibility

2006-08-28 Thread jakub at gcc dot gnu dot org
--- Comment #7 from jakub at gcc dot gnu dot org 2006-08-28 12:27 --- Subject: Bug 26905 Author: jakub Date: Mon Aug 28 12:26:41 2006 New Revision: 116505 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=116505 Log: 2006-07-06 Jason Merrill <[EMAIL PROTECTED]> cp/ PR c+

[Bug c++/19134] Class visibility of templated classes can't be overridden for function specializations

2006-08-28 Thread jakub at gcc dot gnu dot org
--- Comment #5 from jakub at gcc dot gnu dot org 2006-08-28 12:27 --- Subject: Bug 19134 Author: jakub Date: Mon Aug 28 12:26:41 2006 New Revision: 116505 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=116505 Log: 2006-07-06 Jason Merrill <[EMAIL PROTECTED]> cp/ PR c+

[Bug c++/28215] [4.2 regression] Bootstrap failure on arm-eabi

2006-08-28 Thread jakub at gcc dot gnu dot org
--- Comment #4 from jakub at gcc dot gnu dot org 2006-08-28 12:27 --- Subject: Bug 28215 Author: jakub Date: Mon Aug 28 12:26:41 2006 New Revision: 116505 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=116505 Log: 2006-07-06 Jason Merrill <[EMAIL PROTECTED]> cp/ PR c+

[Bug c++/26612] visibility and ODR

2006-08-28 Thread jakub at gcc dot gnu dot org
--- Comment #6 from jakub at gcc dot gnu dot org 2006-08-28 12:27 --- Subject: Bug 26612 Author: jakub Date: Mon Aug 28 12:26:41 2006 New Revision: 116505 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=116505 Log: 2006-07-06 Jason Merrill <[EMAIL PROTECTED]> cp/ PR c+

[Bug c++/28279] [4.2 Regression] ICE in finish_static_data_member_decl, at cp/decl2.c:716

2006-08-28 Thread jakub at gcc dot gnu dot org
--- Comment #4 from jakub at gcc dot gnu dot org 2006-08-28 12:27 --- Subject: Bug 28279 Author: jakub Date: Mon Aug 28 12:26:41 2006 New Revision: 116505 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=116505 Log: 2006-07-06 Jason Merrill <[EMAIL PROTECTED]> cp/ PR c+

[Bug c++/21764] visibility attributes on namespace scope

2006-08-28 Thread jakub at gcc dot gnu dot org
--- Comment #13 from jakub at gcc dot gnu dot org 2006-08-28 12:22 --- Subject: Bug 21764 Author: jakub Date: Mon Aug 28 12:22:14 2006 New Revision: 116504 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=116504 Log: 2006-03-20 Jason Merrill <[EMAIL PROTECTED]> PR c++/2

[Bug fortran/28788] [gfortran: 4.1, 4.2 regression] ICE on valid code

2006-08-28 Thread paul dot richard dot thomas at cea dot fr
--- Comment #15 from paul dot richard dot thomas at cea dot fr 2006-08-28 11:56 --- Created an attachment (id=12146) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=12146&action=view) Fix and two test cases for the latest regressions I post this now, as a prelude to submitting the

[Bug libstdc++/28671] [4.2 regression] undefined reference to `__sync_fetch_and_add_4'

2006-08-28 Thread pcarlini at suse dot de
--- Comment #15 from pcarlini at suse dot de 2006-08-28 10:02 --- (In reply to comment #14) Sorry about my crazy english today, I'm concentrated on something else... > Unfortunately, for targets like ?386 and Sparc I'm afraid it's the only > option, at the moment. For ia64, powerpc, s

[Bug libstdc++/28671] [4.2 regression] undefined reference to `__sync_fetch_and_add_4'

2006-08-28 Thread pcarlini at suse dot de
--- Comment #14 from pcarlini at suse dot de 2006-08-28 09:58 --- (In reply to comment #13) > The real issue is: "code independent from the atomicity model." The only way > to have this is to not inline the atomic helper functions in atomicity.h. I am > willing to revert that part of my

[Bug libstdc++/28671] [4.2 regression] undefined reference to `__sync_fetch_and_add_4'

2006-08-28 Thread bkoz at gcc dot gnu dot org
--- Comment #13 from bkoz at gcc dot gnu dot org 2006-08-28 09:49 --- Just a note. The current behavior is as intended, although perhaps not documented. I'll be fixing that later today. Here's a message from last month detailing in advance this exact bug report: http://gcc.gnu.org/ml

[Bug java/28869] New: gcc-4.1.1 fails to build with java language on Solaris 2.8

2006-08-28 Thread bob at digilink dot net
When building gcc-4.1.1 with the following configuration: ../gcc-4.1.1/configure --prefix=/opt --with-local-prefix=/opt/include --with-cpu=ultrasparc --enable-languages=c,c++,java The build fails to build libjava with the following error: Adding multilib support to Makefile in /lhome/gcc/gcc-4

[Bug tree-optimization/28778] [4.0/4.1/4.2 Regression] alias bug with cast and call clobbered

2006-08-28 Thread rguenth at gcc dot gnu dot org
--- Comment #29 from rguenth at gcc dot gnu dot org 2006-08-28 08:42 --- I completely agree with Dan's analysis. Note that for the patch in comment #20 we can hoist the loop adding all addressable vars to the call clobbering list out of the loop iterating over all analyzed pointers by

[Bug c++/26670] attribute((packed)) sometimes not ignored for non-PODs

2006-08-28 Thread jason at gcc dot gnu dot org
--- Comment #7 from jason at gcc dot gnu dot org 2006-08-28 08:31 --- Or perhaps we should ignore the __attribute__ ((packed)) on nonpod_pack, since one of its fields isn't safe to pack. Yes, that seems like the right way to handle this testcase. -- http://gcc.gnu.org/bugzilla/show

[Bug c/27184] [4.0/4.1 Regression] Wrong code with pointers to arrays and types and strict aliasing

2006-08-28 Thread christian dot joensson at gmail dot com
--- Comment #12 from christian dot joensson at gmail dot com 2006-08-28 08:12 --- (In reply to comment #11) > Fixed on the mainline, will apply to the branches after a week or so. > So, how's this going for 4.1? -- christian dot joensson at gmail dot com changed: What

  1   2   >