[Bug tree-optimization/33136] [4.2/4.3 Regression] -Os generated code grew almost twice 4.2.1 versus 4.1.1

2007-08-22 Thread jakub at gcc dot gnu dot org
--- Comment #9 from jakub at gcc dot gnu dot org 2007-08-22 13:56 --- When struct S is not defined at global scope, but within main, then no matter if struct S t; is present or not 4.1/4.2/trunk aborts with -O2. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33136

[Bug tree-optimization/33136] [4.2/4.3 Regression] -Os generated code grew almost twice 4.2.1 versus 4.1.1

2007-08-22 Thread jakub at gcc dot gnu dot org
--- Comment #11 from jakub at gcc dot gnu dot org 2007-08-22 14:29 --- Yeah, PR30708 seems to be stripped down from the same source. But the stripped down testcase here in c#8 is 4.1/4.2/4.3 regression, not just 4.1 regression. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33136

[Bug c++/32898] [4.2/4.3 regression] Definition of variable N::i outside namespace N not rejected

2007-08-22 Thread jakub at gcc dot gnu dot org
--- Comment #2 from jakub at gcc dot gnu dot org 2007-08-22 16:20 --- Testing a fix. -- jakub at gcc dot gnu dot org changed: What|Removed |Added AssignedTo

[Bug tree-optimization/33136] [4.1/4.2/4.3 Regression] wrong code due to alias with allocation in loop

2007-08-22 Thread jakub at gcc dot gnu dot org
--- Comment #14 from jakub at gcc dot gnu dot org 2007-08-22 17:24 --- --- ipa-type-escape.c.jj13 2007-08-13 15:11:18.0 +0200 +++ ipa-type-escape.c 2007-08-22 19:21:07.0 +0200 @@ -1704,6 +1704,21 @@ analyze_function (struct cgraph_node *fn FOR_EACH_BB_FN

[Bug tree-optimization/33136] [4.1/4.2/4.3 Regression] wrong code due to alias with allocation in loop

2007-08-23 Thread jakub at gcc dot gnu dot org
--- Comment #16 from jakub at gcc dot gnu dot org 2007-08-23 12:13 --- But doesn't ipa_type_escape_field_does_not_clobber_p do what is documented? At least for the uses in nonoverlapping_memrefs_p where ipa_type_escape_field_does_not_clobber_p is always called on some field,

[Bug c/32295] [4.1/4.2/4.3 Regression] An invalid c code causes an ICE in create_tmp_var, at gimplify.c:489

2007-08-23 Thread jakub at gcc dot gnu dot org
--- Comment #3 from jakub at gcc dot gnu dot org 2007-08-23 12:38 --- Another testcase: extern enum warn overflow; int foo (void) { return overflow; } Here 3.4.x silently compiled it and used SImode for the variable, eventhough TYPE_SIZE on the enum warn type nor DECL_SIZE on

[Bug c++/31941] [4.1/4.2/4.3 Regression] "confused by earlier errors" message without earlier error message

2007-08-23 Thread jakub at gcc dot gnu dot org
-- jakub at gcc dot gnu dot org changed: What|Removed |Added AssignedTo|unassigned at gcc dot gnu |jakub at gcc dot gnu dot org |dot org

[Bug middle-end/31150] [4.1/4.2/4.3 Regression] Not promoting an whole array to be static const

2007-08-23 Thread jakub at gcc dot gnu dot org
--- Comment #6 from jakub at gcc dot gnu dot org 2007-08-23 20:36 --- It is unfortunate that gimple can only initialize the whole array, unless __builtin_memcpy is used. Unfortunately __builtin_memcpy has a different drawback - the var will be forced to be TREE_ADDRESSABLE even when it

[Bug c++/31941] [4.1/4.2/4.3 Regression] "confused by earlier errors" message without earlier error message

2007-08-23 Thread jakub at gcc dot gnu dot org
--- Comment #4 from jakub at gcc dot gnu dot org 2007-08-23 23:23 --- Subject: Bug 31941 Author: jakub Date: Thu Aug 23 23:23:26 2007 New Revision: 127747 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=127747 Log: PR c++/31941 *

[Bug c++/32898] [4.2/4.3 regression] Definition of variable N::i outside namespace N not rejected

2007-08-23 Thread jakub at gcc dot gnu dot org
--- Comment #3 from jakub at gcc dot gnu dot org 2007-08-23 23:27 --- Subject: Bug 32898 Author: jakub Date: Thu Aug 23 23:27:34 2007 New Revision: 127749 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=127749 Log: PR c++/32898 * name-lookup.c (set_decl_n

[Bug middle-end/32946] [4.3 Regression] ICE with -fpredictive-commoning in build_classic_dist_vector_1

2007-08-23 Thread jakub at gcc dot gnu dot org
--- Comment #7 from jakub at gcc dot gnu dot org 2007-08-23 23:30 --- Subject: Bug 32946 Author: jakub Date: Thu Aug 23 23:29:57 2007 New Revision: 127750 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=127750 Log: PR tree-optimization/32573 PR middle-e

[Bug tree-optimization/32573] [4.3 Regression] ice for legal code with -O3

2007-08-23 Thread jakub at gcc dot gnu dot org
--- Comment #6 from jakub at gcc dot gnu dot org 2007-08-23 23:30 --- Subject: Bug 32573 Author: jakub Date: Thu Aug 23 23:29:57 2007 New Revision: 127750 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=127750 Log: PR tree-optimization/32573 PR middle-e

[Bug c++/32567] [4.3 regression] ICE on invalid use of parameter pack

2007-08-23 Thread jakub at gcc dot gnu dot org
--- Comment #2 from jakub at gcc dot gnu dot org 2007-08-24 06:55 --- Subject: Bug 32567 Author: jakub Date: Fri Aug 24 06:54:49 2007 New Revision: 127760 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=127760 Log: PR c++/32567 * typeck.c (build_

[Bug c++/32567] [4.3 regression] ICE on invalid use of parameter pack

2007-08-24 Thread jakub at gcc dot gnu dot org
--- Comment #3 from jakub at gcc dot gnu dot org 2007-08-24 07:03 --- Fixed. -- jakub at gcc dot gnu dot org changed: What|Removed |Added Status|ASSIGNED

[Bug tree-optimization/32573] [4.3 Regression] ice for legal code with -O3

2007-08-24 Thread jakub at gcc dot gnu dot org
--- Comment #7 from jakub at gcc dot gnu dot org 2007-08-24 07:40 --- Fixed. -- jakub at gcc dot gnu dot org changed: What|Removed |Added Status|ASSIGNED

[Bug middle-end/32946] [4.3 Regression] ICE with -fpredictive-commoning in build_classic_dist_vector_1

2007-08-24 Thread jakub at gcc dot gnu dot org
--- Comment #8 from jakub at gcc dot gnu dot org 2007-08-24 07:42 --- Fixed. -- jakub at gcc dot gnu dot org changed: What|Removed |Added Status|ASSIGNED

[Bug tree-optimization/33136] [4.1/4.2/4.3 Regression] wrong code due to alias with allocation in loop

2007-08-24 Thread jakub at gcc dot gnu dot org
--- Comment #20 from jakub at gcc dot gnu dot org 2007-08-24 15:38 --- Created an attachment (id=14103) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=14103&action=view) gcc43-pr33136.patch Here is what I have been playing with. But I'd really like to see some testcas

[Bug tree-optimization/33136] [4.1/4.2/4.3 Regression] wrong code due to alias with allocation in loop

2007-08-24 Thread jakub at gcc dot gnu dot org
--- Comment #22 from jakub at gcc dot gnu dot org 2007-08-24 16:16 --- Not sure how, could I pass the buck to you then? My thought was just that may_alias_p could for STRUCT_FIELD_TAG call ipa_type_escape_field_does_not_clobber (TREE_TYPE (SFT_PARENT_VAR (var)), TREE_TYPE (var)) (i.e

[Bug middle-end/30364] [4.1 Regression] Wrong variable ranges due to constant folding

2007-08-24 Thread jakub at gcc dot gnu dot org
--- Comment #17 from jakub at gcc dot gnu dot org 2007-08-24 16:33 --- Does this make sense to do this for POINTER_TYPE_P in 4.1/4.2, which reassociate in many other places? I belive in 4.3 that changed with POINTER_PLUS_EXPR stuff. struct A { int i; int v[1]; }; int *foo (struct A

[Bug tree-optimization/33136] [4.1/4.2/4.3 Regression] wrong code due to alias with allocation in loop

2007-08-24 Thread jakub at gcc dot gnu dot org
--- Comment #24 from jakub at gcc dot gnu dot org 2007-08-24 16:36 --- Removing that call in 4.1/4.2 would indeed cure c#8 testcase. c#22 would be still broken (ipa_type_escape_field_does_not_clobber_p isn't called at all on that testcase, neither in 4.1, nor 4.2, nor 4.3. Guess

[Bug debug/32610] [4.2/4.3 regression] ICE in gen_tagged_type_instantiation_die, at dwarf2out.c:12762

2007-08-24 Thread jakub at gcc dot gnu dot org
--- Comment #4 from jakub at gcc dot gnu dot org 2007-08-24 17:07 --- Subject: Bug 32610 Author: jakub Date: Fri Aug 24 17:06:59 2007 New Revision: 127776 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=127776 Log: PR debug/32610 * dwarf2out.c (gen_

[Bug c++/32898] [4.2/4.3 regression] Definition of variable N::i outside namespace N not rejected

2007-08-24 Thread jakub at gcc dot gnu dot org
--- Comment #4 from jakub at gcc dot gnu dot org 2007-08-24 17:10 --- Subject: Bug 32898 Author: jakub Date: Fri Aug 24 17:09:50 2007 New Revision: 12 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=12 Log: PR c++/32898 * name-lookup.c (set_decl_n

[Bug middle-end/32912] [4.3 Regression] ICE with vector code

2007-08-24 Thread jakub at gcc dot gnu dot org
--- Comment #4 from jakub at gcc dot gnu dot org 2007-08-24 17:16 --- Subject: Bug 32912 Author: jakub Date: Fri Aug 24 17:15:51 2007 New Revision: 127779 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=127779 Log: PR middle-end/32912 * fold-const.c (fol

[Bug middle-end/32912] [4.3 Regression] ICE with vector code

2007-08-24 Thread jakub at gcc dot gnu dot org
--- Comment #5 from jakub at gcc dot gnu dot org 2007-08-24 17:22 --- Subject: Bug 32912 Author: jakub Date: Fri Aug 24 17:21:42 2007 New Revision: 127781 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=127781 Log: PR middle-end/32912 * fold-const.c (fol

[Bug middle-end/32912] [4.3 Regression] ICE with vector code

2007-08-24 Thread jakub at gcc dot gnu dot org
--- Comment #6 from jakub at gcc dot gnu dot org 2007-08-24 17:24 --- Subject: Bug 32912 Author: jakub Date: Fri Aug 24 17:23:43 2007 New Revision: 127783 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=127783 Log: PR middle-end/32912 * fold-const.c (fol

[Bug debug/32610] [4.2/4.3 regression] ICE in gen_tagged_type_instantiation_die, at dwarf2out.c:12762

2007-08-24 Thread jakub at gcc dot gnu dot org
--- Comment #5 from jakub at gcc dot gnu dot org 2007-08-24 17:24 --- Fixed. -- jakub at gcc dot gnu dot org changed: What|Removed |Added Status|ASSIGNED

[Bug c++/32898] [4.2/4.3 regression] Definition of variable N::i outside namespace N not rejected

2007-08-24 Thread jakub at gcc dot gnu dot org
--- Comment #5 from jakub at gcc dot gnu dot org 2007-08-24 17:25 --- Fixed. -- jakub at gcc dot gnu dot org changed: What|Removed |Added Status|ASSIGNED

[Bug middle-end/32912] [4.3 Regression] ICE with vector code

2007-08-24 Thread jakub at gcc dot gnu dot org
--- Comment #7 from jakub at gcc dot gnu dot org 2007-08-24 17:29 --- Fixed. -- jakub at gcc dot gnu dot org changed: What|Removed |Added Status|ASSIGNED

[Bug c++/31941] [4.1/4.2/4.3 Regression] "confused by earlier errors" message without earlier error message

2007-08-24 Thread jakub at gcc dot gnu dot org
--- Comment #5 from jakub at gcc dot gnu dot org 2007-08-24 17:13 --- Subject: Bug 31941 Author: jakub Date: Fri Aug 24 17:12:41 2007 New Revision: 127778 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=127778 Log: PR c++/31941 *

[Bug c++/31941] [4.1/4.2/4.3 Regression] "confused by earlier errors" message without earlier error message

2007-08-24 Thread jakub at gcc dot gnu dot org
--- Comment #6 from jakub at gcc dot gnu dot org 2007-08-24 17:28 --- Fixed. On 4.1 branch with http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=127781 -- jakub at gcc dot gnu dot org changed: What|Removed

[Bug middle-end/32370] [4.3 Regression] Segfault after rejecting bogus assembler

2007-08-24 Thread jakub at gcc dot gnu dot org
-- jakub at gcc dot gnu dot org changed: What|Removed |Added AssignedTo|unassigned at gcc dot gnu |jakub at gcc dot gnu dot org |dot org

[Bug rtl-optimization/33148] [4.2/4.3 Regresion] ICE in trunc_int_for_mode, at explow.c:56 during combine

2007-08-27 Thread jakub at gcc dot gnu dot org
--- Comment #3 from jakub at gcc dot gnu dot org 2007-08-27 08:52 --- More reduced testcase, which fails both on the trunk (though just with -O1) and on 4.2 (both -O1 and -O2): int foo (unsigned int *p, int *q, unsigned int w, unsigned int b) { unsigned int i; int mask; if (q[0

[Bug rtl-optimization/33148] [4.2/4.3 Regresion] ICE in trunc_int_for_mode, at explow.c:56 during combine

2007-08-27 Thread jakub at gcc dot gnu dot org
--- Comment #4 from jakub at gcc dot gnu dot org 2007-08-27 10:14 --- Caused by PR25600. -- jakub at gcc dot gnu dot org changed: What|Removed |Added AssignedTo

[Bug target/32552] [4.3 Regression] Runtime failure in SPEC CPU2000 benchmark fma3d and applu

2007-08-27 Thread jakub at gcc dot gnu dot org
--- Comment #9 from jakub at gcc dot gnu dot org 2007-08-27 12:05 --- Sounds like a dup of PR32855. The patch in comment #7 certainly fixes that. So, what can be done to speed up acceptance of this? I can try to bootstrap/regtest on ia64-linux this later today, only arm in addition to

[Bug target/30961] [4.1/4.2/4.3 regression] redundant reg/mem stores/moves

2007-08-27 Thread jakub at gcc dot gnu dot org
--- Comment #32 from jakub at gcc dot gnu dot org 2007-08-27 14:49 --- What's the state of the http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30961#c27 patch? I haven't seen it posted to gcc-patches... -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30961

[Bug middle-end/33199] [4.3 Regression] tr1/2_general_utilities/shared_ptr/assign/auto_ptr.cc

2007-08-27 Thread jakub at gcc dot gnu dot org
--- Comment #10 from jakub at gcc dot gnu dot org 2007-08-27 21:42 --- This really can't be worked around, but has to be fixed properly. for i in "" "-g"; do ./g++ -B ./ -O2 $i -m32 -o auto_ptr /tmp/auto_ptr.ii -L../x86_64-unknown-linux-gnu/32/libstdc++

[Bug rtl-optimization/33148] [4.2/4.3 Regresion] ICE in trunc_int_for_mode, at explow.c:56 during combine

2007-08-28 Thread jakub at gcc dot gnu dot org
--- Comment #5 from jakub at gcc dot gnu dot org 2007-08-28 09:47 --- Subject: Bug 33148 Author: jakub Date: Tue Aug 28 09:47:32 2007 New Revision: 127855 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=127855 Log: PR rtl-optimization/33148 * simpli

[Bug middle-end/32370] [4.3 Regression] Segfault after rejecting bogus assembler

2007-08-28 Thread jakub at gcc dot gnu dot org
--- Comment #7 from jakub at gcc dot gnu dot org 2007-08-28 09:55 --- Fixed. -- jakub at gcc dot gnu dot org changed: What|Removed |Added Status|ASSIGNED

[Bug middle-end/32370] [4.3 Regression] Segfault after rejecting bogus assembler

2007-08-28 Thread jakub at gcc dot gnu dot org
--- Comment #6 from jakub at gcc dot gnu dot org 2007-08-28 09:50 --- Subject: Bug 32370 Author: jakub Date: Tue Aug 28 09:50:04 2007 New Revision: 127856 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=127856 Log: PR middle-end/32370 *

[Bug debug/32914] [4.2/4.3 Regression] ICE in rtl_for_decl_init with -g option

2007-08-28 Thread jakub at gcc dot gnu dot org
--- Comment #2 from jakub at gcc dot gnu dot org 2007-08-28 09:45 --- Subject: Bug 32914 Author: jakub Date: Tue Aug 28 09:44:57 2007 New Revision: 127854 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=127854 Log: PR debug/32914 * dwarf2out.c (rtl_for_d

[Bug c/32575] [4.2/4.3 regression] With -ftree-vrp miscompiles a single line of code in SQLite

2007-08-28 Thread jakub at gcc dot gnu dot org
--- Comment #4 from jakub at gcc dot gnu dot org 2007-08-28 14:55 --- On the trunk I'm just seeing *** in database main *** Page 2 is never used That seems to be because of miscompiled sqlite3SelectNew function with -O2 -fstrict-aliasing, with -O2 -fno-strict-aliasing that works.

[Bug c/32575] [4.2/4.3 regression] With -ftree-vrp miscompiles a single line of code in SQLite

2007-08-28 Thread jakub at gcc dot gnu dot org
--- Comment #5 from jakub at gcc dot gnu dot org 2007-08-28 15:16 --- Even more simplified testcase: extern void abort (void); struct S { void *s1, *s2; unsigned char s3, s4, s5; }; __attribute__((noinline)) void *foo (void) { static struct S s; return &s; } __attribu

[Bug c/32575] [4.2/4.3 regression] With -ftree-vrp miscompiles a single line of code in SQLite

2007-08-28 Thread jakub at gcc dot gnu dot org
--- Comment #6 from jakub at gcc dot gnu dot org 2007-08-28 15:58 --- if (a == 0) a = bar (); isn't necessary either. salias has: # BLOCK 2 freq:1 # PRED: ENTRY [100.0%] (fallthru,exec) # VUSE { qD.2026 SMT.25D.2079 } D.2027_3 = foo (); pD.2025_4 = (struct S

[Bug c++/32400] [4.3 Regression] ICE in expand_or_defer_fn, at cp/semantics.c:3220

2007-08-28 Thread jakub at gcc dot gnu dot org
--- Comment #10 from jakub at gcc dot gnu dot org 2007-08-28 16:09 --- Fixed. -- jakub at gcc dot gnu dot org changed: What|Removed |Added Status|ASSIGNED

[Bug c++/32596] [4.3 Regression] ICE with inline template specialization in anonymous namespace

2007-08-28 Thread jakub at gcc dot gnu dot org
--- Comment #4 from jakub at gcc dot gnu dot org 2007-08-28 16:08 --- Subject: Bug 32596 Author: jakub Date: Tue Aug 28 16:08:02 2007 New Revision: 127863 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=127863 Log: PR c++/32596 PR c++/32400

[Bug c++/32400] [4.3 Regression] ICE in expand_or_defer_fn, at cp/semantics.c:3220

2007-08-28 Thread jakub at gcc dot gnu dot org
--- Comment #9 from jakub at gcc dot gnu dot org 2007-08-28 16:08 --- Subject: Bug 32400 Author: jakub Date: Tue Aug 28 16:08:02 2007 New Revision: 127863 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=127863 Log: PR c++/32596 PR c++/32400

[Bug fortran/22244] dimension information is lost for multi-dimension array

2007-08-28 Thread jakub at gcc dot gnu dot org
--- Comment #7 from jakub at gcc dot gnu dot org 2007-08-28 16:09 --- Subject: Bug 22244 Author: jakub Date: Tue Aug 28 16:08:57 2007 New Revision: 127864 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=127864 Log: PR fortran/22244 * Make-lang.in (fortr

[Bug c++/32596] [4.3 Regression] ICE with inline template specialization in anonymous namespace

2007-08-28 Thread jakub at gcc dot gnu dot org
--- Comment #5 from jakub at gcc dot gnu dot org 2007-08-28 16:10 --- Fixed. -- jakub at gcc dot gnu dot org changed: What|Removed |Added Status|ASSIGNED

[Bug c++/33214] [4.3 regression] Broken diagnostic: 'argument_pack_select' not supported by dump_expr

2007-08-28 Thread jakub at gcc dot gnu dot org
--- Comment #1 from jakub at gcc dot gnu dot org 2007-08-28 16:17 --- Isn't this a dup of PR33118 ? -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33214

[Bug middle-end/32758] [4.3 Regression] ecj1 hangs

2007-08-28 Thread jakub at gcc dot gnu dot org
--- Comment #17 from jakub at gcc dot gnu dot org 2007-08-28 19:38 --- I can reproduce this on ppc32-linux, working on a self-contained reproducer. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32758

[Bug middle-end/32758] [4.3 Regression] ecj1 hangs

2007-08-29 Thread jakub at gcc dot gnu dot org
--- Comment #19 from jakub at gcc dot gnu dot org 2007-08-29 08:07 --- Binary search among the routines in java_raw_api.c with -fno-inline shows the noclass testcase fails if either ffi_java_raw_call or ffi_java_translate_args is compiled with -O2 -fdce, if both are compiled with -O2

[Bug middle-end/32758] [4.3 Regression] ecj1 hangs

2007-08-29 Thread jakub at gcc dot gnu dot org
--- Comment #20 from jakub at gcc dot gnu dot org 2007-08-29 08:52 --- typedef struct { int abi; unsigned nargs; void **arg_types; void *rtype; unsigned bytes; unsigned flags; } ffi_cif; void ffi_java_raw_to_ptrarray (ffi_cif *cif, void *raw, void **args); void

[Bug middle-end/32758] [4.3 Regression] ecj1 hangs

2007-08-29 Thread jakub at gcc dot gnu dot org
--- Comment #21 from jakub at gcc dot gnu dot org 2007-08-29 11:18 --- The major difference between say i?86 or x86_64 and ppc here is that on the former two the hard frame pointer is actually visibly, not just artificially, used when restoring the stack pointer. ppc restores the stack

[Bug middle-end/32758] [4.3 Regression] ecj1 hangs

2007-08-29 Thread jakub at gcc dot gnu dot org
--- Comment #22 from jakub at gcc dot gnu dot org 2007-08-29 11:41 --- Created an attachment (id=14132) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=14132&action=view) gcc43-pr32758.patch Here is what I will try to regtest (already verified it fixes the testcase). Altern

[Bug middle-end/32758] [4.3 Regression] ecj1 hangs

2007-08-29 Thread jakub at gcc dot gnu dot org
--- Comment #25 from jakub at gcc dot gnu dot org 2007-08-29 13:26 --- Unfortunately it breaks e.g. memcpy-chk.c, simplified testcase here: extern void abort (void); typedef __SIZE_TYPE__ size_t; extern void *memcpy (void *, const void *, size_t); extern volatile int chk_fail_allowed

[Bug middle-end/32758] [4.3 Regression] ecj1 hangs

2007-08-29 Thread jakub at gcc dot gnu dot org
--- Comment #26 from jakub at gcc dot gnu dot org 2007-08-29 13:56 --- Apparently dce is the only user of df_simulate_* which at the start of the basic block compares the resulting bitmap with DF_LR_IN. All other users of these interfaces don't do that (ifcvt, rtl-factoring, peep

[Bug middle-end/32758] [4.3 Regression] ecj1 hangs

2007-08-30 Thread jakub at gcc dot gnu dot org
--- Comment #32 from jakub at gcc dot gnu dot org 2007-08-30 08:27 --- Subject: Bug 32758 Author: jakub Date: Thu Aug 30 08:27:33 2007 New Revision: 127923 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=127923 Log: PR middle-end/32758 * dce.c (dce_proce

[Bug middle-end/32758] [4.3 Regression] ecj1 hangs

2007-08-30 Thread jakub at gcc dot gnu dot org
--- Comment #33 from jakub at gcc dot gnu dot org 2007-08-30 08:43 --- Fixed. -- jakub at gcc dot gnu dot org changed: What|Removed |Added Status|ASSIGNED

[Bug target/33168] [4.3 Regression] GCC Boot failure, building libstc++

2007-08-30 Thread jakub at gcc dot gnu dot org
--- Comment #8 from jakub at gcc dot gnu dot org 2007-08-30 16:43 --- Subject: Bug 33168 Author: jakub Date: Thu Aug 30 16:43:19 2007 New Revision: 127928 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=127928 Log: PR target/33168 * config/rs6000/

[Bug libstdc++/33247] [4.3 regression] libstdc++ testsuite_abi.cc build failure

2007-08-30 Thread jakub at gcc dot gnu dot org
--- Comment #2 from jakub at gcc dot gnu dot org 2007-08-30 20:15 --- Should be fixed now, see http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=127928 -- jakub at gcc dot gnu dot org changed: What|Removed

[Bug debug/32914] [4.2 Regression] ICE in rtl_for_decl_init with -g option

2007-08-31 Thread jakub at gcc dot gnu dot org
--- Comment #3 from jakub at gcc dot gnu dot org 2007-08-31 07:25 --- Subject: Bug 32914 Author: jakub Date: Fri Aug 31 07:25:20 2007 New Revision: 127958 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=127958 Log: PR debug/32914 * dwarf2out.c (rtl_for_d

[Bug rtl-optimization/33148] [4.2 Regresion] ICE in trunc_int_for_mode, at explow.c:56 during combine

2007-08-31 Thread jakub at gcc dot gnu dot org
--- Comment #7 from jakub at gcc dot gnu dot org 2007-08-31 07:27 --- Subject: Bug 33148 Author: jakub Date: Fri Aug 31 07:27:40 2007 New Revision: 127959 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=127959 Log: PR rtl-optimization/33148 * simpli

[Bug debug/32914] [4.2 Regression] ICE in rtl_for_decl_init with -g option

2007-08-31 Thread jakub at gcc dot gnu dot org
--- Comment #4 from jakub at gcc dot gnu dot org 2007-08-31 07:30 --- Fixed. -- jakub at gcc dot gnu dot org changed: What|Removed |Added Status|ASSIGNED

[Bug middle-end/33216] [4.1/4.2/4.3 Regression] ICE in named_section_real, at varasm.c:419

2007-08-31 Thread jakub at gcc dot gnu dot org
--- Comment #4 from jakub at gcc dot gnu dot org 2007-08-31 07:33 --- I think the 4.2/4.3 error is just fine, this is mainly a user error. The crtfiles must not be compiled with any options that will cause the special sections to be populated with other stuff (be it .ctors, .dtors

[Bug c++/33289] New: [4.2/4.3 Regression] __sprintf_chk etc. not DECL_ANTICIPATED

2007-09-03 Thread jakub at gcc dot gnu dot org
Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: jakub at gcc dot gnu dot org http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33289

[Bug middle-end/33216] [4.1/4.2/4.3 Regression] ICE in named_section_real, at varasm.c:419

2007-09-03 Thread jakub at gcc dot gnu dot org
--- Comment #8 from jakub at gcc dot gnu dot org 2007-09-03 13:43 --- It is not bogus. -fprofile-arcs is one way of introducing .ctors stuff. When building crtstuff, if it is supposed to work, you must avoid all options that generate such stuff, whether it is -fprofile-arcs

[Bug tree-optimization/33017] [4.3 Regression] tree check fail for legal code

2007-09-03 Thread jakub at gcc dot gnu dot org
-- jakub at gcc dot gnu dot org changed: What|Removed |Added AssignedTo|unassigned at gcc dot gnu |jakub at gcc dot gnu dot org |dot org

[Bug tree-optimization/32975] [4.3 Regression] ICE segfault (verify_cgraph failure after ipa-cp) with -finline-functions -fipa-cp

2007-09-03 Thread jakub at gcc dot gnu dot org
--- Comment #3 from jakub at gcc dot gnu dot org 2007-09-04 06:14 --- Can't reproduce this, neither on x86_64-linux, nor on ppc-linux, on the former I tried cc1's I had laying around back through to 2007-08-21 and all of them worked. -- http://gcc.gnu.org/bugzilla/show_

[Bug tree-optimization/32772] [4.3 Regression] error: found real variable when subvariables should have appeared

2007-09-03 Thread jakub at gcc dot gnu dot org
--- Comment #12 from jakub at gcc dot gnu dot org 2007-09-04 06:48 --- Which testcase is not fixed? ./xgcc -B ./ -Wall -Wundef -m32 -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -Werror-implicit-function-declaration -Werror-implicit-function-declaration -Os -msoft

[Bug tree-optimization/32975] [4.3 Regression] ICE segfault (verify_cgraph failure after ipa-cp) with -finline-functions -fipa-cp

2007-09-04 Thread jakub at gcc dot gnu dot org
--- Comment #4 from jakub at gcc dot gnu dot org 2007-09-04 07:30 --- This got fixed by the PR30564 fix, http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=127638 Do we want to commit this testcase as well? -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32975

[Bug tree-optimization/32772] [4.3 Regression] error: found real variable when subvariables should have appeared

2007-09-04 Thread jakub at gcc dot gnu dot org
--- Comment #13 from jakub at gcc dot gnu dot org 2007-09-04 08:22 --- The testcases got fixed already by the http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=127491 commit, which is why Daniel wrote http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32772#c11 Guess checking in the tes

[Bug tree-optimization/33017] [4.3 Regression] tree check fail for legal code

2007-09-04 Thread jakub at gcc dot gnu dot org
--- Comment #4 from jakub at gcc dot gnu dot org 2007-09-04 23:30 --- Subject: Bug 33017 Author: jakub Date: Tue Sep 4 23:29:58 2007 New Revision: 128107 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=128107 Log: PR tree-optimization/33017 * tree-da

[Bug rtl-optimization/32300] [4.3 Regression] ICE with -O2 -fsee

2007-09-04 Thread jakub at gcc dot gnu dot org
--- Comment #11 from jakub at gcc dot gnu dot org 2007-09-04 23:31 --- Subject: Bug 32300 Author: jakub Date: Tue Sep 4 23:31:11 2007 New Revision: 128108 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=128108 Log: PR rtl-optimization/32300

[Bug tree-optimization/33017] [4.3 Regression] tree check fail for legal code

2007-09-04 Thread jakub at gcc dot gnu dot org
--- Comment #5 from jakub at gcc dot gnu dot org 2007-09-04 23:35 --- Fixed. -- jakub at gcc dot gnu dot org changed: What|Removed |Added Status|ASSIGNED

[Bug rtl-optimization/32300] [4.3 Regression] ICE with -O2 -fsee

2007-09-04 Thread jakub at gcc dot gnu dot org
--- Comment #12 from jakub at gcc dot gnu dot org 2007-09-04 23:37 --- Fixed. -- jakub at gcc dot gnu dot org changed: What|Removed |Added Status|ASSIGNED

[Bug tree-optimization/33136] [4.1/4.2/4.3 Regression] wrong code due to alias with allocation in loop

2007-09-04 Thread jakub at gcc dot gnu dot org
--- Comment #26 from jakub at gcc dot gnu dot org 2007-09-05 05:46 --- This is just one bug, present in GCC 4.1 and onwards, no need to have several bug ids. tree-ssa-alias.c just uses ipa_type_escape_field_does_not_clobber_p incorrectly, it asks an unrelated question and based on the

[Bug target/32552] [4.3 Regression] Runtime failure in SPEC CPU2000 benchmark fma3d and applu

2007-09-05 Thread jakub at gcc dot gnu dot org
--- Comment #11 from jakub at gcc dot gnu dot org 2007-09-05 09:41 --- *** Bug 32855 has been marked as a duplicate of this bug. *** -- jakub at gcc dot gnu dot org changed: What|Removed |Added

[Bug target/32855] [4.3 Regression] g++.dg/tree-ssa/pr28003.C

2007-09-05 Thread jakub at gcc dot gnu dot org
--- Comment #5 from jakub at gcc dot gnu dot org 2007-09-05 09:41 --- *** This bug has been marked as a duplicate of 32552 *** -- jakub at gcc dot gnu dot org changed: What|Removed |Added

[Bug target/32552] [4.3 Regression] Runtime failure in SPEC CPU2000 benchmark fma3d and applu

2007-09-05 Thread jakub at gcc dot gnu dot org
--- Comment #12 from jakub at gcc dot gnu dot org 2007-09-05 09:44 --- I have bootstrapped/regtested the http://gcc.gnu.org/bugzilla/attachment.cgi?id=13831&action=view patch on ia64-linux, fixed the FAIL: g++.dg/tree-ssa/pr28003.C execution test failure, no regressions. --

[Bug tree-optimization/33107] [4.3 regression] segfault in garbage collector

2007-09-05 Thread jakub at gcc dot gnu dot org
--- Comment #3 from jakub at gcc dot gnu dot org 2007-09-05 13:59 --- This testcase with ENABLE_GC_ALWAYS_COLLECT ICEs here in validate_free_objects in r127491, but is cured by the http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=127946 fix, at which point it compiles just f

[Bug tree-optimization/33107] [4.3 regression] segfault in garbage collector

2007-09-05 Thread jakub at gcc dot gnu dot org
--- Comment #4 from jakub at gcc dot gnu dot org 2007-09-05 14:03 --- Given the backtrace I believe it is the same issue, particularly that __builtin___strcpy_chk call was folded into __builtin_strcpy, set_rhs copied over the annotations from the former to the latter CALL_EXPR, but

[Bug target/33138] [4.3 Regression] rejects valid? assembler, segfaults

2007-09-05 Thread jakub at gcc dot gnu dot org
--- Comment #4 from jakub at gcc dot gnu dot org 2007-09-05 15:42 --- Yeah, the asm is bogus for multiple reasons. But can be fixed easily, e.g. %3, %4 nor %5 aren't used anywhere, so just nuking the unneeded "r" (c), "r" (a), "r" (b), makes this to

[Bug c++/33289] [4.2/4.3 Regression] __sprintf_chk etc. not DECL_ANTICIPATED

2007-09-05 Thread jakub at gcc dot gnu dot org
--- Comment #1 from jakub at gcc dot gnu dot org 2007-09-05 23:27 --- Subject: Bug 33289 Author: jakub Date: Wed Sep 5 23:27:17 2007 New Revision: 128160 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=128160 Log: PR c++/33289 * decl.c (builtin_function

[Bug tree-optimization/32575] [4.2/4.3 regression] With -ftree-vrp miscompiles a single line of code in SQLite

2007-09-10 Thread jakub at gcc dot gnu dot org
--- Comment #9 from jakub at gcc dot gnu dot org 2007-09-10 18:38 --- Fails e.g. with 127816, 127870 up to 127926, the bug goes away at least on the #c5 testcase with http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=127927 -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32575

[Bug tree-optimization/33136] [4.1/4.2/4.3 Regression] wrong code due to alias with allocation in loop

2007-09-11 Thread jakub at gcc dot gnu dot org
--- Comment #27 from jakub at gcc dot gnu dot org 2007-09-11 17:21 --- Created an attachment (id=14191) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=14191&action=view) gcc43-pr33136.patch Updated patch which tries to handle SFTs as well. Unfortunately it causes a regressi

[Bug libstdc++/30915] [4.3 regression] bootstrap fails while building libstdc++-v3 on x86_64-pc-linux-gnu

2007-09-11 Thread jakub at gcc dot gnu dot org
--- Comment #28 from jakub at gcc dot gnu dot org 2007-09-11 19:07 --- Why does gentoo do this kind of crap with glibc headers? They are already multilib clean. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30915

[Bug tree-optimization/33136] [4.1/4.2/4.3 Regression] wrong code due to alias with allocation in loop

2007-09-11 Thread jakub at gcc dot gnu dot org
--- Comment #28 from jakub at gcc dot gnu dot org 2007-09-11 19:26 --- Created an attachment (id=14193) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=14193&action=view) gcc43-pr33136.patch Added further testcases. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33136

[Bug tree-optimization/33136] [4.1/4.2/4.3 Regression] wrong code due to alias with allocation in loop

2007-09-11 Thread jakub at gcc dot gnu dot org
--- Comment #29 from jakub at gcc dot gnu dot org 2007-09-11 19:52 --- The new testcases show further problems. I believe that for ARRAY_TYPE fields we need to mark the type of its fields (recursively down), using close_type_seen like we already do for records and unions. On the other

[Bug tree-optimization/33389] [4.3 Regression] Revision 128239 causes libgomp failure

2007-09-12 Thread jakub at gcc dot gnu dot org
--- Comment #6 from jakub at gcc dot gnu dot org 2007-09-12 14:35 --- Cannot reproduce this with r128425 + PR32337 + PR32338 fix (8way ia64, make -j16 -k check): Native configuration is ia64-unknown-linux-gnu === gcc tests === Running target unix FAIL: gcc.c-torture

[Bug tree-optimization/33389] [4.3 Regression] Revision 128239 causes libgomp failure

2007-09-12 Thread jakub at gcc dot gnu dot org
--- Comment #7 from jakub at gcc dot gnu dot org 2007-09-12 14:39 --- BTW, when you say -fno-inline-small-functions cures this for you, is the problem on libgomp side or in the generated gomp tests? I.e. if you build libgomp with the default -O2 -finline-small-functions and run make

[Bug tree-optimization/33389] [4.3 Regression] Revision 128239 causes libgomp failure

2007-09-12 Thread jakub at gcc dot gnu dot org
--- Comment #10 from jakub at gcc dot gnu dot org 2007-09-12 15:04 --- The whole testsuite takes roughly 10 minutes: head -n2 libgomp.log; tail -n4 libgomp.log Test Run By root on Wed Sep 12 10:47:12 2007 Native configuration is ia64-unknown-linux-gnu === libgomp Summary

[Bug tree-optimization/33389] [4.3 Regression] Revision 128239 causes libgomp failure

2007-09-12 Thread jakub at gcc dot gnu dot org
--- Comment #12 from jakub at gcc dot gnu dot org 2007-09-12 15:48 --- Can you see if e.g. building whole libgomp with -O0 fixes it? If yes, can you do a binary search which of the sources is miscompiled? Thanks. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33389

[Bug c++/33407] [4.1/4.3 Regression] C++ operator new and new expression do not change dynamic type

2007-09-12 Thread jakub at gcc dot gnu dot org
--- Comment #5 from jakub at gcc dot gnu dot org 2007-09-12 16:13 --- Could we limit adding of the CHANGE_DYNAMIC_TYPE_EXPRs just to the case where operator new or __attribute__((malloc)) marked FUNCTION_DECL is not external? That would be solid even for LTO, if you LTO and have say

[Bug tree-optimization/33389] [4.3 Regression] Revision 128239 causes libgomp failure

2007-09-12 Thread jakub at gcc dot gnu dot org
--- Comment #14 from jakub at gcc dot gnu dot org 2007-09-12 16:59 --- Can you please attach bad and good bar.s (with -fverbose-asm) and also -ftree-dump-optimized dump from both? -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33389

[Bug tree-optimization/33389] [4.3 Regression] Revision 128239 causes libgomp failure

2007-09-12 Thread jakub at gcc dot gnu dot org
--- Comment #19 from jakub at gcc dot gnu dot org 2007-09-12 17:49 --- Here is self-contained source: void sys_futex0(int *addr, int op, int val) { register long out0 asm ("out0") = (long) addr; register long out1 asm ("out1") = op; register long out

[Bug tree-optimization/33389] [4.3 Regression] Revision 128239 causes libgomp failure

2007-09-12 Thread jakub at gcc dot gnu dot org
--- Comment #20 from jakub at gcc dot gnu dot org 2007-09-12 18:26 --- append_vuse has: static inline void append_vuse (tree var) { tree sym; if (TREE_CODE (var) != SSA_NAME) { tree mpt; var_ann_t ann; /* If VAR belongs to a memory partition, use it instead

[Bug target/32552] [4.3 Regression] Runtime failure in SPEC CPU2000 benchmark fma3d and applu

2007-09-12 Thread jakub at gcc dot gnu dot org
--- Comment #15 from jakub at gcc dot gnu dot org 2007-09-12 21:21 --- H.J. committed this earlier today: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=128409 -- jakub at gcc dot gnu dot org changed: What|Removed

[Bug tree-optimization/33389] [4.3 Regression] Revision 128239 causes libgomp failure

2007-09-14 Thread jakub at gcc dot gnu dot org
--- Comment #28 from jakub at gcc dot gnu dot org 2007-09-14 11:32 --- Thanks, Jim. -- jakub at gcc dot gnu dot org changed: What|Removed |Added Status

[Bug middle-end/33423] [4.2/4.3 regression]: internal compiler error: in expand_expr_real_1, at expr.c:8670

2007-09-15 Thread jakub at gcc dot gnu dot org
-- jakub at gcc dot gnu dot org changed: What|Removed |Added AssignedTo|unassigned at gcc dot gnu |jakub at gcc dot gnu dot org |dot org

[Bug fortran/33445] openmp invalid multi-thread runtime result (-ffree-form only!)

2007-09-17 Thread jakub at gcc dot gnu dot org
--- Comment #4 from jakub at gcc dot gnu dot org 2007-09-17 07:16 --- Why do you think that is a bug? Please read OpenMP 2.5, 2.1.1 (Fixed Source Form Directives) and 2.1.2 (Free Source Form Directives). Continuation is done very differently between fixed and free form. So, what are

<    11   12   13   14   15   16   17   18   19   20   >