[Bug tree-optimization/65752] Too strong optimizations int - pointer casts
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65752 --- Comment #23 from schwab at suse dot de --- gil.hur at sf dot snu.ac.kr gcc-bugzi...@gcc.gnu.org writes: Since hello is not printed, I think the if-statement is the same as no-op. Thus, removing the if-statement should not change the behavior of the program according to ISO C11. Unless you are invoking undefined behaviour. Andreas.
[Bug ada/39172] libada parsing of multilib options
--- Comment #10 from schwab at suse dot de 2009-02-27 09:57 --- Fixed. -- schwab at suse dot de changed: What|Removed |Added Status|NEW |RESOLVED Resolution||FIXED http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39172
[Bug ada/39172] libada parsing of multilib options
--- Comment #7 from schwab at suse dot de 2009-02-26 11:07 --- (In reply to comment #5) That's fine, or you can probably add a...@awk@ in gcc/ada/gcc-interface/Makefile.in. That was the patch I was meaning to test. I agree, this is a much simpler patch. Unfortunately there is more to do: gawk: fatal: cannot open file `../../../gcc/gcc/ada/config/m68k/m68k-devices.def' for reading (No such file or directory) The reference to $(srcdir) is not working correctly. -- schwab at suse dot de changed: What|Removed |Added Status|WAITING |NEW Last reconfirmed|2009-02-12 21:36:18 |2009-02-26 11:07:00 date|| http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39172
[Bug ada/39172] libada parsing of multilib options
--- Comment #2 from schwab at suse dot de 2009-02-25 16:43 --- The problem seems to be that the AWK makefile variable is not properly passed down to submakes. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39172
[Bug ada/39172] libada parsing of multilib options
--- Comment #3 from schwab at suse dot de 2009-02-25 16:57 --- Created an attachment (id=17360) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=17360action=view) Candidate patch -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39172
[Bug ada/39172] libada parsing of multilib options
--- Comment #4 from schwab at suse dot de 2009-02-25 16:58 --- Can you please try out the attached patch? -- schwab at suse dot de changed: What|Removed |Added Status|ASSIGNED|WAITING GCC host triplet|i686-pc-linux-gnu | GCC target triplet|m68k-rtems4.10 |m68k-*.* http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39172
[Bug c/39134] front end does not reject sizeof on function types
--- Comment #1 from schwab at suse dot de 2009-02-09 09:30 --- This is a GCC extension, use -Wpointer-arith or -pedantic or -pedantic-errors. $ gcc -c -std=c99 -pedantic-errors cast.c cast.c: In function #8216;test#8217;: cast.c:6: error: invalid application of #8216;sizeof#8217; to a function type cast.c:7: error: invalid application of #8216;sizeof#8217; to a function type -- schwab at suse dot de changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution||INVALID http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39134
[Bug c/39093] inline code optimized wrong with -O3
--- Comment #1 from schwab at suse dot de 2009-02-04 09:33 --- char* pw = (char*) bcAtomCompareExchange((void**) px, py, pz); This is violating the C aliasing rules. Declare px as void* to fix that. *** This bug has been marked as a duplicate of 21920 *** -- schwab at suse dot de changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution||DUPLICATE Summary|inline code optimized wrong |inline code optimized wrong |with -O3|with -O3 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39093
[Bug c/21920] aliasing violations
--- Comment #137 from schwab at suse dot de 2009-02-04 09:33 --- *** Bug 39093 has been marked as a duplicate of this bug. *** -- schwab at suse dot de changed: What|Removed |Added CC||ricardo at teli dot org http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21920
[Bug target/39000] New: internal compiler error: in output_expr_operand, at lto-function-out.c:1200
/usr/local/gcc/gcc-20090128/Build/gcc/testsuite/g++/../../g++ -B/usr/local/gcc/gcc-20090128/Build/gcc/testsuite/g++/../../ /usr/local/gcc/gcc-20090128/gcc/testsuite/g++.dg/debug/template1.C -nostdinc++ -I/usr/local/gcc/gcc-20090128/Build/ia64-suse-linux/libstdc++-v3/include/ia64-suse-linux -I/usr/local/gcc/gcc-20090128/Build/ia64-suse-linux/libstdc++-v3/include -I/usr/local/gcc/gcc-20090128/libstdc++-v3/libsupc++ -I/usr/local/gcc/gcc-20090128/libstdc++-v3/include/backward -I/usr/local/gcc/gcc-20090128/libstdc++-v3/testsuite/util -fmessage-length=0 -gdwarf-21 -flto -S -o template1.s /usr/local/gcc/gcc-20090128/gcc/testsuite/g++.dg/debug/template1.C:15: internal compiler error: in output_expr_operand, at lto-function-out.c:1200 fdesc_expr 0x20681780 type pointer_type 0x2066ad00 __vtbl_ptr_type type function_type 0x2066ac40 type integer_type 0x2058c540 int TI size integer_cst 0x20548d80 constant 128 unit size integer_cst 0x20548db0 constant 16 align 128 symtab 0 alias set -1 canonical type 0x2066ac40 pointer_to_this pointer_type 0x2066ad00 __vtbl_ptr_type unsigned DI size integer_cst 0x20548b10 constant 64 unit size integer_cst 0x20548b40 constant 8 align 64 symtab 0 alias set -1 canonical type 0x2066ad00 pointer_to_this pointer_type 0x2066af40 constant arg 0 function_decl 0x2069be00 __comp_dtor type method_type 0x206ac240 type void_type 0x2058e7c0 void TI size integer_cst 0x20548d80 128 unit size integer_cst 0x20548db0 16 align 128 symtab 0 alias set -1 canonical type 0x206ac240 method basetype record_type 0x20693e40 d arg-types tree_list 0x20686130 value pointer_type 0x206ac180 chain tree_list 0x20549800 value void_type 0x2058e7c0 void pointer_to_this pointer_type 0x206ace40 addressable used nothrow public static weak autoinline no-static-chain virtual decl_5 DI defer-output file /usr/local/gcc/gcc-20090128/gcc/testsuite/g++.dg/debug/template1.C line 12 col 11 align 128 initial block 0x206a69a0 abstract_origin function_decl 0x2069ba00 d arguments parm_decl 0x20570f30 this type pointer_type 0x206ac300 readonly used unsigned DI file /usr/local/gcc/gcc-20090128/gcc/testsuite/g++.dg/debug/template1.C line 12 col 14 size integer_cst 0x20548b10 64 unit size integer_cst 0x20548b40 8 align 64 context function_decl 0x2069be00 __comp_dtor abstract_origin parm_decl 0x20570bd0 this arg-type pointer_type 0x206ac300 result result_decl 0x2059d980 D.1817 type void_type 0x2058e7c0 void ignored VOID file /usr/local/gcc/gcc-20090128/gcc/testsuite/g++.dg/debug/template1.C line 12 col 17 align 8 context function_decl 0x2069be00 __comp_dtor pending-inline-info 0x20535f80 template-info 0x206863d0 saved-insns 0x205823a0 chain function_decl 0x2069bd00 __deleting_dtor type method_type 0x206ac240 addressable used nothrow public static weak autoinline no-static-chain virtual decl_5 DI defer-output file /usr/local/gcc/gcc-20090128/gcc/testsuite/g++.dg/debug/template1.C line 12 col 11 align 128 initial block 0x206a6b20 abstract_origin function_decl 0x2069ba00 d arguments parm_decl 0x20570e10 this result result_decl 0x2059dd00 D.1825 pending-inline-info 0x205361b0 template-info 0x206863d0 saved-insns 0x20582580 arg 1 integer_cst 0x20549440 type integer_type 0x2058c540 int constant 0 -- Summary: internal compiler error: in output_expr_operand, at lto- function-out.c:1200 Product: gcc Version: lto Status: UNCONFIRMED Severity: normal Priority: P3 Component: target AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: schwab at suse dot de GCC target triplet: ia64-*-* http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39000
[Bug other/38995] New: lto1 uses unaligned data accesses
$ awk '/lto1.*unaligned access to/ {sub(/.*ip=/, ); print}' testsuite/*/*.log | sort -u | addr2line -e lto1 ../../gcc/lto/lto.c:186 ../../gcc/lto/lto.c:197 ../../gcc/lto/lto.c:201 ../../gcc/lto/lto.c:272 ../../gcc/lto/lto.c:273 ../../gcc/lto/lto.c:216 ../../gcc/lto/lto.c:229 ../../gcc/lto/lto.c:217 ../../gcc/lto/lto.c:232 ../../gcc/lto/lto.c:235 ../../gcc/lto/lto.c:242 ../../gcc/lto/lto.c:242 ../../gcc/lto-function-in.c:2184 ../../gcc/lto-function-in.c:2186 ../../gcc/lto-function-in.c:2188 ../../gcc/lto-function-in.c:2187 ../../gcc/lto-function-in.c:2190 ../../gcc/lto-function-in.c:2189 ../../gcc/lto-function-in.c:2194 ../../gcc/lto-function-in.c:2193 ../../gcc/lto-function-in.c:2197 ../../gcc/lto-function-in.c:2196 ../../gcc/lto-section-in.c:306 ../../gcc/lto-section-in.c:311 ../../gcc/lto-section-in.c:315 -- Summary: lto1 uses unaligned data accesses Product: gcc Version: lto Status: UNCONFIRMED Severity: normal Priority: P3 Component: other AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: schwab at suse dot de GCC host triplet: ia64-*-linux http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38995
[Bug middle-end/38587] [4.4 Regression] psim miscompiled #2
--- Comment #38 from schwab at suse dot de 2009-01-21 09:16 --- (In reply to comment #35) system, which is a function argument, is trashed here. But it's not modified between setjmp and longjmp, so its value must be preserved. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38587
[Bug middle-end/38587] [4.4 Regression] psim miscompiled #2
--- Comment #29 from schwab at suse dot de 2009-01-20 16:30 --- (In reply to comment #27) This patch for sim: Index: sim/ppc/gen-idecode.c === RCS file: /cvs/src/src/sim/ppc/gen-idecode.c,v retrieving revision 1.4 diff -u -p -r1.4 gen-idecode.c --- sim/ppc/gen-idecode.c 19 Jun 2003 18:42:30 - 1.4 +++ sim/ppc/gen-idecode.c 20 Jan 2009 15:48:18 - @@ -708,11 +708,11 @@ print_run_until_stop_body(lf *file, } lf_putstr(file, int last_cpu;\n); if (generate_smp) { -lf_putstr(file, int current_cpu;\n); +lf_putstr(file, volatile int current_cpu;\n); } if ((code generate_with_icache)) { -lf_putstr(file, int cpu_nr;\n); +lf_putstr(file, volatile int cpu_nr;\n); lf_putstr(file, \n); lf_putstr(file, /* flush the icache of a possible break insn */\n); lf_putstr(file, for (cpu_nr = 0; cpu_nr nr_cpus; cpu_nr++)\n); seems to work for me. Neither of these volatile qualifiers are necessary for defined operation. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38587
[Bug testsuite/38898] gcc 4.4.0 20090117 - Testsuite - tree-ssa.exp - unmatched brace
--- Comment #1 from schwab at suse dot de 2009-01-17 19:37 --- http://gcc.gnu.org/ml/gcc-cvs/2009-01/msg00468.html -- schwab at suse dot de changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution||FIXED http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38898
[Bug inline-asm/38901] Inline assembly swallows mmx register on duplicate input under optimization
--- Comment #1 from schwab at suse dot de 2009-01-18 00:25 --- The asm statement modifies an input-only operand. If an operand is modified it must be listed as output operand, possibly marked as early-clobber if it is written before all input operands are consumed. -- schwab at suse dot de changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution||INVALID http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38901
[Bug preprocessor/38843] Problem with SystemC compilation using GCC 4.3.2
--- Comment #2 from schwab at suse dot de 2009-01-14 17:46 --- *** Bug 38842 has been marked as a duplicate of this bug. *** -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38843
[Bug preprocessor/38842] Problem with SystemC compilation using GCC 4.3.2
--- Comment #1 from schwab at suse dot de 2009-01-14 17:46 --- *** This bug has been marked as a duplicate of 38843 *** -- schwab at suse dot de changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution||DUPLICATE http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38842
[Bug c/38704] Very bad quality of compilation of a floating point numbers.
--- Comment #8 from schwab at suse dot de 2009-01-09 09:09 --- Not a bug. -- schwab at suse dot de changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution||INVALID http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38704
[Bug c++/35711] bad text in -Wcast-qual warning (forgets volatile)
--- Comment #8 from schwab at suse dot de 2009-01-07 09:39 --- Casting (void **) to (const void **) is unsafe so it is not ok to drop the warning. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35711
[Bug testsuite/38739] gcc 4.4.0 20090104 - contrib/test_summary - On Solaris /bin/sh uses ksh, gawk fails
--- Comment #1 from schwab at suse dot de 2009-01-06 08:57 --- Probably the Solaris /bin/sh misparses ${BOOT_CFLAGS+'print BOOT_CFLAGS='${BOOT_CFLAGS}';'}. The autoconf manual describes a similar bug in connection with ${foo='}'}. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38739
[Bug other/38732] [4.4 Regression] Openoffice.org segfaults with runtime libs built from GCC trunk
--- Comment #4 from schwab at suse dot de 2009-01-05 21:31 --- From the ABI document (2.2.1 C++ Exception Objects): By convention, a __cxa_exception pointer points at the C++ object representing the exception being thrown, immediately following the header. The header structure is accessed at a negative offset from the __cxa_exception pointer. This layout allows consistent treatment of exception objects from different languages (or different implementations of the same language), and allows future extensions of the header structure while maintaining binary compatibility. Thus there should be no ABI breakage, unless there is an alignment issue. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38732
[Bug other/38732] [4.4 Regression] Openoffice.org segfaults with runtime libs built from GCC trunk
--- Comment #5 from schwab at suse dot de 2009-01-05 22:16 --- There is padding between adjustedPtr and unwindHeader because the latter is forced to be maximally aligned. Due to the additional member the padding was reduced. Also, the alignment of _Unwind_Exception depends on -mavx. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38732
[Bug target/38737] New: [4.4 Regression] __alignof__ (_Unwind_Exception) depends on -mavx
When -mavx was added BIGGEST_ALIGNMENT was changed to depend on it. This changes the behavior of __attribute__((aligned)), which is used to define struct _Unwind_Exception, and which changes the ABI of anything that uses it. -- Summary: [4.4 Regression] __alignof__ (_Unwind_Exception) depends on -mavx Product: gcc Version: 4.4.0 Status: UNCONFIRMED Keywords: ABI Severity: critical Priority: P3 Component: target AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: schwab at suse dot de GCC target triplet: i?86-*-* OtherBugsDependingO 38732 nThis: http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38737
[Bug target/38736] [4.4 Regression] -mavx can change the ABI via BIGGEST_ALIGNMENT
--- Comment #3 from schwab at suse dot de 2009-01-05 23:22 --- ADJUST_FIELD_ALIGN does not override user-specified alignment. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38736
[Bug c/38704] Very bad quality of compilation of a floating point numbers.
--- Comment #1 from schwab at suse dot de 2009-01-02 17:02 --- Depending on the actual value of DECIMAL_DIG this does not really look bad. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38704
[Bug libgcj/38685] classmap.db is zero bytes long in 64 bit directory
--- Comment #2 from schwab at suse dot de 2009-01-01 09:14 --- Probably fixed by http://gcc.gnu.org/ml/gcc-patches/2008-12/msg01025.html. See also http://gcc.gnu.org/ml/gcc/2008-12/msg00205.html. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38685
[Bug target/37052] ICE in find_reloads, at reload.c:3744
--- Comment #3 from schwab at suse dot de 2008-12-29 22:48 --- No longer fails with 4.4 since the switch to IRA. -- schwab at suse dot de changed: What|Removed |Added Known to work||4.4.0 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37052
[Bug fortran/38573] Missing markers for translation
--- Comment #1 from schwab at suse dot de 2008-12-18 23:45 --- It needs to be rephrased anyway to be i18n friendly. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38573
[Bug bootstrap/38523] [4.4 regression] arm build fails to link cc1-dummy
--- Comment #2 from schwab at suse dot de 2008-12-15 09:33 --- Probably related to bug 37739. Building with optimisation may be a workaround. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38523
[Bug c/38527] Gcc optimizes code to an endless loop
--- Comment #2 from schwab at suse dot de 2008-12-14 20:36 --- _list_remove((struct rlist**)var_last, (struct rlist*)var_last); This violates the C aliasing rules. *** This bug has been marked as a duplicate of 21920 *** -- schwab at suse dot de changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution||DUPLICATE http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38527
[Bug c/21920] aliasing violations
--- Comment #135 from schwab at suse dot de 2008-12-14 20:36 --- *** Bug 38527 has been marked as a duplicate of this bug. *** -- schwab at suse dot de changed: What|Removed |Added CC||gray at gnu dot org dot ua http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21920
[Bug c++/38516] Binary operator ^= doesn't work well for class members
--- Comment #1 from schwab at suse dot de 2008-12-13 18:26 --- *** This bug has been marked as a duplicate of 11751 *** -- schwab at suse dot de changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution||DUPLICATE http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38516
[Bug c/11751] wrong evaluation order of an expression
--- Comment #83 from schwab at suse dot de 2008-12-13 18:26 --- *** Bug 38516 has been marked as a duplicate of this bug. *** -- schwab at suse dot de changed: What|Removed |Added CC||calliari at gmail dot com http://gcc.gnu.org/bugzilla/show_bug.cgi?id=11751
[Bug target/37680] ICE: unable to generate reloads for: (insn:QI
--- Comment #3 from schwab at suse dot de 2008-12-12 11:00 --- 1d86aeab250b3c69bf826385bd6875cf0b9ea459 is first bad commit commit 1d86aeab250b3c69bf826385bd6875cf0b9ea459 Author: mkuvyrkov mkuvyr...@138bc75d-0d04-0410-961f-82ee72b054a4 Date: Tue Sep 11 13:56:30 2007 + * config/m68k/predicates.md (movsi_const0_operand, non_symbolic_call_operand): New predicates. * config/m68k/constraints.md: (Cs, Ci, C0, Cj, CQ, CW, CZ, CS, Ap, Ac): New constraints. * doc/md.texi (Constraints for Particular Machines: Motorola 680x0): Document constraints N, O, P, R, S, T, Q, U, W, Cs, Ci, C0, Cj, CQ, CW, CZ, CS, Ap and Ac. * config/m68k/m68k.md (UNSPEC_IB): New constant. (constraints.md): New include. (cpu, type, type1, opx, opy, opx_type, opy_type, size, opx_access, opx_mem, opy_mem, op_mem, guess, split): New attributes. (movdf_internal): Name pattern. Fix to use alternatives. Add split. Specify attributes. (pushdi): Add split. (tstsi_internal): Name pattern. Fix to use alternatives. Specify attributes. Split tstsi_internal_68020_cf from it. (tstsi_internal_68020_cf): New pattern. (tsthi_internal, tstqi_internal): Name pattern. Specify attributes. (tstmode_cf): Specify attributea. (cmpsi_cf): Name pattern. Specify attributes. (cmpmode_68881, cmpmode_cf): Specify type attribute. (pushexthisi_const): Fix to use alternatives. Specify attributes. (movsi_const0): Split movsi_const0_68000_10 and movsi_const0_68040_60 from it. Fix to use alternatives. Specify attributes. (movsi_const0_68040_10, movsi_const0_68040_60): New patterns. (movsi_cf, movstrictqi_cf): Fix to use alternatives. Specify attributes. (movsf_cf_soft): Specify attributes. (movdf_cf_soft): Add split. (pushasi, zero_extendhisi2_cf, zero_extendqisi2_cfv4, cfv4_extendhisi2, 68k_extendhisi2, extendqihi2, cfv4_extendqisi2, 68k_extendqisi2, truncdfsf2_cf): Specify attributes. (truncdfsf2_68881): Name pattern. Specify attributes. (floatsimode2_cf, floathimode2_68881, floathimode2_cf, floatqimode2_68881, floatqimode2_cf, ftruncmode2_cf, fixmodeqi2_cf, fixmodehi2_cf, fixmodesi2_cf, adddi_dishl32): Specify attributes. (addsi3_5200): Fix to use alternatives. Specify attributes. Add splits. (addmode3_cf, subdi_dishl32): Specify attributes. (subsi3): Add alternative for subq.l. Specify attributes. (submode3_cf, mulhi3, mulhisi3): Specify attributes. (mulhisisi3_s, mulsi3_68020, mulsi3_cf): Name pattern. Specify attributes. (umulhisi3): Specify attributes. (mulhisisi3_z): Name pattern. Specify attributes. (fmulmode3_cf, divmode3_cf, negsi2_internal, negsi2_5200, sqrtmode2_68881, clzsi2, one_cmplsi2_5200, subreghi1ashrdi_const32, subregsi1ashrdi_const32, ashrsi3, subreg1lshrdi_const32, lshrsi3, bsetmemqi): Specify attributes. (bsetmemqi_ext): Name pattern. Specify attributes. (bclrmemqi): Specify attributes. (bclrmemqi_ext, scc, sls): Name pattern. Specify attributes. (beq, bne, bgt, bgtu, blt, bltu, bge, bgeu, ble, bleu): Specify attributes. (beq2, bne2, bgt2, bgtu2, blt2, bltu2, bge2, bgeu2, ble2, bleu2): Name pattern. Specify attributes. (jump): Specify attributes. (tablejump_internal): Name pattern. Specify attributes. (call_value): Split into non_symbolic_call_value, symbolic_call_value_jsr, symbolic_call_value_bsr. Fix to use alternatives. Specify attributes. (non_symbolic_call_value, symbolic_call_value_jsr, symbolic_call_value_bsr): New patterns. (nop, return, unlink, indirect_jump): Specify attributes. (trap): Fix condition. Specify attributes. (ib): New pattern. * config/m68k/m68k.c (m68k_symbolic_call_var): New variable. (override_options): Initialize it. Initialize m68k_sched_cpu. (CONST_METHOD): Rename to M68K_CONST_METHOD, move to m68k.h. (const_method): Make global, rename to m68k_const_method. (const_int_cost, output_move_const_into_data_reg): Update. (output_move_double): Parametrize to emit rtl code, rename to handle_move_double. (output_reg_adjust, emit_reg_adjust, output_compadr, output_movsi, emit_movsi): New static functions. (output_move_double): New function with semantics of old output_move_double. (m68k_emit_move_double): New function. (m68k_sched_cpu): New variable. (attr_op_type): New enum. (sched_guess_p): New variable. (sched_address_type, sched_operand_type, sched_attr_op_type): New static functions. (m68k_sched_attr_opx_type
[Bug target/37680] ICE: unable to generate reloads for: (insn:QI
--- Comment #2 from schwab at suse dot de 2008-12-11 22:47 --- Appears to be fixed in 4.4. -- schwab at suse dot de changed: What|Removed |Added Known to work||4.4.0 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37680
[Bug bootstrap/38300] [4.4 Regression] libstdc++ and libgcj contain a reference to _Unwind_GetIPInfo
--- Comment #6 from schwab at suse dot de 2008-12-05 17:47 --- You can use multiple patterns: *-*-darwin[1-8]|*-*-darwin[1-8].*) ... -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38300
[Bug debug/38367] [4.1/4.2/4.3/4.4 regression] Wrong debug information for big endian function parameters
--- Comment #7 from schwab at suse dot de 2008-12-03 19:48 --- Fixes the bug for me. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38367
[Bug debug/38367] [4.1/4.2/4.3/4.4 regression] Wrong debug information for big endian function parameters
-- schwab at suse dot de changed: What|Removed |Added Status|UNCONFIRMED |NEW Ever Confirmed|0 |1 GCC target triplet|m68k-unknown-elf|m68k-*-* Known to fail||4.1.3 Known to work||4.0.4 Last reconfirmed|-00-00 00:00:00 |2008-12-02 20:24:57 date|| Summary|Wrong debug information for |[4.1/4.2/4.3/4.4 regression] |big endian function |Wrong debug information for |parameters |big endian function ||parameters Target Milestone|--- |4.3.3 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38367
[Bug debug/38367] [4.1/4.2/4.3/4.4 regression] Wrong debug information for big endian function parameters
--- Comment #2 from schwab at suse dot de 2008-12-03 00:49 --- 600b9bbf6c9016b24a7c8f1cc1f4385d859f2b46 is first bad commit commit 600b9bbf6c9016b24a7c8f1cc1f4385d859f2b46 Author: jakub [EMAIL PROTECTED] Date: Thu Aug 11 21:22:43 2005 + * dwarf2out.c (add_location_or_const_value_attribute): Prefer locations gathered by var-tracking in single entry loc_list over loc_descriptor_from_tree. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/[EMAIL PROTECTED] 138bc75d-0d04-0410-961f-82ee72b054a4 :04 04 c77d309e7ca92270a960f92ed192aa000165ff2c ef161af933b0fe7541dc9b4a7404e1033144527c M gcc -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38367
[Bug ada/38325] Long_Long_Float'Image returns a wrong value in some cases
--- Comment #1 from schwab at suse dot de 2008-11-30 10:10 --- 0.1 is not exactly representable in a binary float format. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38325
[Bug bootstrap/38300] [4.4 Regression] libstdc++ and libgcj contain a reference to _Unwind_GetIPInfo
--- Comment #3 from schwab at suse dot de 2008-11-28 09:31 --- This will also match darwin10. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38300
[Bug c/38243] Restrict constraint violation not an error with -pedantic-errors
--- Comment #1 from schwab at suse dot de 2008-11-24 09:06 --- *** Bug 38246 has been marked as a duplicate of this bug. *** -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38243
[Bug c/38246] Restrict constraint violation not an error with -pedantic-errors
--- Comment #1 from schwab at suse dot de 2008-11-24 09:06 --- *** This bug has been marked as a duplicate of 38243 *** -- schwab at suse dot de changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution||DUPLICATE http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38246
[Bug c/38186] when using gcc compile the code with option -g3, I find the inline assemble code are palced in section .debug_macinfo
--- Comment #1 from schwab at suse dot de 2008-11-20 09:19 --- *** Bug 38187 has been marked as a duplicate of this bug. *** -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38186
[Bug c/38187] when using gcc compile the code with option -g3, I find the inline assemble code are palced in section .debug_macinfo
--- Comment #1 from schwab at suse dot de 2008-11-20 09:19 --- *** This bug has been marked as a duplicate of 38186 *** -- schwab at suse dot de changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution||DUPLICATE http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38187
[Bug c++/38103] Warning about correctly escaped comment
--- Comment #1 from schwab at suse dot de 2008-11-13 09:05 --- The warning is correct: there are exactly two occurences of /* inside the comment. The backslash has absolutely no meaning at this place. If you want to silence the warning put anything but a / between / and *. -- schwab at suse dot de changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution||INVALID http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38103
[Bug target/37814] M68k/Coldfire ICE with -O: insn does not satisfy its constraints
--- Comment #1 from schwab at suse dot de 2008-11-13 13:17 --- I cannot reproduce that with 4.4 any more. Please verify whether your original test case still fails. -- schwab at suse dot de changed: What|Removed |Added Status|UNCONFIRMED |WAITING GCC build triplet|i686-pc-linux-gnu | GCC host triplet|i686-pc-linux-gnu | http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37814
[Bug c/38050] -Wredundant-decls does not take scope into account
--- Comment #1 from schwab at suse dot de 2008-11-07 14:58 --- *** This bug has been marked as a duplicate of 38047 *** -- schwab at suse dot de changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution||DUPLICATE http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38050
[Bug c/38047] -Wredundant-decls does not take scope into account
--- Comment #2 from schwab at suse dot de 2008-11-07 14:58 --- *** Bug 38050 has been marked as a duplicate of this bug. *** -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38047
[Bug c++/38005] inconsistent precedence of operators in namespaces
--- Comment #8 from schwab at suse dot de 2008-11-04 14:21 --- ::operator is hidden by C::operator and cannot be found by name lookup. A::operator is found because child is-a A::parent. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38005
[Bug rtl-optimization/37782] [4.4 regression] Stage2 ada compiler miscompiled
--- Comment #4 from schwab at suse dot de 2008-10-27 18:33 --- It's the initialization function of the csets package (csets___elabb) that gets miscompiled. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37782
[Bug rtl-optimization/37782] [4.4 regression] Stage2 ada compiler miscompiled
--- Comment #6 from schwab at suse dot de 2008-10-27 19:30 --- This is the only difference, occuring in all dumps after this: --- gcc-test-r141380/Build/gcc/csets.adb.147r.loop2_doloop 2008-10-27 20:21:09.0 +0100 +++ gcc-test-r141380.bad/Build/gcc/csets.adb.147r.loop2_doloop 2008-10-27 19:26:46.0 +0100 @@ -1488,7 +1488,7 @@ (nil))) (insn 359 324 283 27 ../../gcc/ada/csets.adb:1151 (set (reg:SI 301) -(const_int 255 [0xff])) -1 (nil)) +(const_int -1 [0x])) -1 (nil)) (code_label 283 359 265 28 19 [0 uses]) @@ -23507,7 +23507,7 @@ (const_int 32 [0x20])) 275 {*movqi_internal} (nil)) (insn 6913 6692 6670 66 ../../gcc/ada/csets.adb:1023 (set (reg:SI 5057) -(const_int 132 [0x84])) -1 (nil)) +(const_int -124 [0xff84])) -1 (nil)) (note 6670 6913 6671 67 [bb 67] NOTE_INSN_BASIC_BLOCK) -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37782
[Bug rtl-optimization/37782] [4.4 regression] Stage2 ada compiler miscompiled
--- Comment #8 from schwab at suse dot de 2008-10-27 22:06 --- Bootstrap was successful. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37782
[Bug target/37878] PPC64 ldu command generated with invalid offset
--- Comment #3 from schwab at suse dot de 2008-10-21 08:36 --- Reduced testcase: double y, z; void foo (long x) { y = *(double *) ((long *) (x - 1) + 1); z = *(double *) ((long *) (x - 1) + 1); } $ gcc -m64 -O -c ldu.c /tmp/ccYujYhd.s: Assembler messages: /tmp/ccYujYhd.s:20: Error: operand out of domain (7 is not a multiple of 4) The insn is generated during auto-inc-dec. (insn 9 8 10 2 ldu.c:4 (set (reg:DF 122) (mem:DF (pre_modify:DI (reg/f:DI 119 [ D.1253 ]) (plus:DI (reg/f:DI 119 [ D.1253 ]) (const_int 7 [0x7]))) [0 S8 A64])) 345 {*movdf_hardfloat64} (expr_list:REG_INC (reg/f:DI 119 [ D.1253 ]) (nil))) -- schwab at suse dot de changed: What|Removed |Added Status|UNCONFIRMED |NEW Ever Confirmed|0 |1 Last reconfirmed|-00-00 00:00:00 |2008-10-21 08:36:02 date|| http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37878
[Bug target/37878] [4.4 regression] PPC64 ldu command generated with invalid offset
-- schwab at suse dot de changed: What|Removed |Added GCC build triplet|powerpc64-apple-darwin9.5.0 | GCC host triplet|powerpc64-apple-darwin9.5.0 | GCC target triplet|powerpc64-apple-darwin9.5.0 |powerpc64-*-* Keywords||wrong-code Summary|PPC64 ldu command generated |[4.4 regression] PPC64 ldu |with invalid offset |command generated with ||invalid offset Target Milestone|--- |4.4.0 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37878
[Bug inline-asm/37887] %sil and %dil are used in 32-bit mode as inline asm registers
--- Comment #1 from schwab at suse dot de 2008-10-21 21:42 --- *** This bug has been marked as a duplicate of 23242 *** -- schwab at suse dot de changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution||DUPLICATE http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37887
[Bug inline-asm/23242] Invalid %sil register chosen when dereferenced pointer used in inline asm with -O0
--- Comment #8 from schwab at suse dot de 2008-10-21 21:42 --- *** Bug 37887 has been marked as a duplicate of this bug. *** -- schwab at suse dot de changed: What|Removed |Added CC||therealfroggey at gmail dot ||com http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23242
[Bug c/37849] double to array conversion
--- Comment #1 from schwab at suse dot de 2008-10-16 13:30 --- *** This bug has been marked as a duplicate of 21920 *** -- schwab at suse dot de changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution||DUPLICATE Summary|double to array conversion |double to array conversion http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37849
[Bug c/21920] aliasing violations
--- Comment #130 from schwab at suse dot de 2008-10-16 13:30 --- *** Bug 37849 has been marked as a duplicate of this bug. *** -- schwab at suse dot de changed: What|Removed |Added CC||hazeman at aster dot pl http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21920
[Bug preprocessor/36453] PR36320 breaks boost
--- Comment #6 from schwab at suse dot de 2008-10-09 14:46 --- *** Bug 37781 has been marked as a duplicate of this bug. *** -- schwab at suse dot de changed: What|Removed |Added CC||jarda at grisoft dot cz http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36453
[Bug preprocessor/37781] error: missing binary operator before token (
--- Comment #1 from schwab at suse dot de 2008-10-09 14:46 --- *** This bug has been marked as a duplicate of 36453 *** -- schwab at suse dot de changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution||DUPLICATE http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37781
[Bug rtl-optimization/37782] New: [4.4 regression] Stage2 ada compiler miscompiled
The patch for PR37451 causes the stage2 ada compiler to be miscompiled. $ ../prev-gcc/xgcc -B../prev-gcc/ -B../root/powerpc64-suse-linux/bin/ -c -g -O2 -gnatpg -gnata -gnatwns -nostdinc -I- -I. -Iada -I../../gcc/ada -I../../gcc/ada/gcc-interface ../../gcc/ada/ada.ads -o ada/ada.o fatal error: system.ads is incorrectly formatted unrecognized or incorrect restrictions pragma: No_Implicit_Dynamic_Code compilation abandoned -- Summary: [4.4 regression] Stage2 ada compiler miscompiled Product: gcc Version: 4.4.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: rtl-optimization AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: schwab at suse dot de GCC target triplet: powerpc64-*-* OtherBugsDependingO 37451 nThis: http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37782
[Bug c++/37765] Printf of typed null pointer causes a run-time error
--- Comment #1 from schwab at suse dot de 2008-10-08 07:36 --- %s requires a pointer to a string, which (char*)0 isn't. -- schwab at suse dot de changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution||INVALID http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37765
[Bug target/32277] indir-call-prof fails on ia64-linux-gnu
--- Comment #2 from schwab at suse dot de 2008-10-08 22:59 --- This patch works for me: Index: libgcov.c === --- libgcov.c (revision 140731) +++ libgcov.c (working copy) @@ -777,7 +777,11 @@ void __gcov_indirect_call_profiler (gcov_type* counter, gcov_type value, void* cur_func, void* callee_func) { +#ifdef __ia64__ + if (callee_func *(void **) cur_func == *(void **) callee_func) +#else if (cur_func == callee_func) +#endif __gcov_one_value_profiler_body (counter, value); } #endif -- schwab at suse dot de changed: What|Removed |Added CC||schwab at suse dot de http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32277
[Bug inline-asm/37758] Assembler failure: Error: syntax error; found `,' but expected `('
--- Comment #5 from schwab at suse dot de 2008-10-07 07:55 --- Invalid asm constraints, so not a gcc bug. -- schwab at suse dot de changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED GCC build triplet|x86_64-unknown-linux-gnu| GCC host triplet|x86_64-unknown-linux-gnu| Resolution||INVALID http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37758
[Bug bootstrap/37739] bootstrap broken with core gcc gcc-4.2.x
--- Comment #2 from schwab at suse dot de 2008-10-05 21:54 --- Another workaround is to build with optimisation. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37739
[Bug rtl-optimization/37451] Extra addition for doloop in some cases
--- Comment #5 from schwab at suse dot de 2008-09-29 14:52 --- This is causing miscompilation of the stage2 ada compiler. fatal error: system.ads is incorrectly formatted unrecognized or incorrect restrictions pragma: No_Implicit_Dynamic_Code compilation abandoned make[3]: *** [ada/ada.o] Error 1 -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37451
[Bug other/37654] gcc-4.3.1: stripping trailing backspace from args fools gcc
--- Comment #4 from schwab at suse dot de 2008-09-26 19:27 --- Not a gcc bug. -- schwab at suse dot de changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution||INVALID http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37654
[Bug middle-end/37053] [4.3/4.4 regression] ICE in reload_cse_simplify_operands, at postreload.c:395
--- Comment #5 from schwab at suse dot de 2008-09-16 21:00 --- Reverting this change in commutative_operand_precedence fixes the testcase: case RTX_OBJ: /* Complex expressions should be the first, so decrease priority - of objects. */ - return -1; + of objects. Prefer pointer objects over non pointer objects. */ + if ((REG_P (op) REG_POINTER (op)) + || (MEM_P (op) MEM_POINTER (op))) + return -1; + return -2; case RTX_COMM_ARITH: /* Prefer operands that are themselves commutative to be first. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37053
[Bug preprocessor/36453] PR36320 breaks boost
--- Comment #5 from schwab at suse dot de 2008-09-14 08:08 --- *** Bug 37518 has been marked as a duplicate of this bug. *** -- schwab at suse dot de changed: What|Removed |Added CC||rwgk at yahoo dot com http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36453
[Bug c++/37518] preprocessor failure
--- Comment #3 from schwab at suse dot de 2008-09-14 08:08 --- *** This bug has been marked as a duplicate of 36453 *** -- schwab at suse dot de changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution||DUPLICATE http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37518
[Bug middle-end/37053] [4.3/4.4 regression] ICE in reload_cse_simplify_operands, at postreload.c:395
--- Comment #3 from schwab at suse dot de 2008-09-11 15:19 --- Caused by: 2007-07-23 Peter Bergner [EMAIL PROTECTED] Jakub Jelinek [EMAIL PROTECTED] PR middle-end/PR28690 Can be reproduced with gcc.c-torture/execute/20060420-1.c when compiled with -O2. -- schwab at suse dot de changed: What|Removed |Added CC||bergner at vnet dot ibm dot ||com, jakub at redhat dot com OtherBugsDependingO||28690 nThis|| Status|UNCONFIRMED |NEW Component|target |middle-end Ever Confirmed|0 |1 GCC build triplet|m68k-linux-gnu | GCC host triplet|m68k-linux-gnu | Keywords||ice-on-valid-code Last reconfirmed|-00-00 00:00:00 |2008-09-11 15:19:57 date|| Summary|ICE in |[4.3/4.4 regression] ICE in |reload_cse_simplify_operands|reload_cse_simplify_operands |, at postreload.c:395 |, at postreload.c:395 Target Milestone|--- |4.3.4 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37053
[Bug rtl-optimization/37408] [4.3/4.4 regression] Invalid insn scheduling
-- schwab at suse dot de changed: What|Removed |Added Target Milestone|--- |4.3.3 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37408
[Bug rtl-optimization/37408] New: [4.3/4.4 regression] Invalid insn scheduling
This is broken during sched2 pass. Compiled with -m64 -O2. lwz 10,1492(7) # nargs,--- uninitialized std 9,1272(7)# specpdl.19, li 9,16 # iftmp.21, std 3,1488(7)# nargs, nargs std 4,1496(7)# args, args cmpwi 7,10,3 #, tmp307, -- Summary: [4.3/4.4 regression] Invalid insn scheduling Product: gcc Version: 4.3.1 Status: UNCONFIRMED Keywords: wrong-code Severity: normal Priority: P3 Component: rtl-optimization AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: schwab at suse dot de GCC target triplet: powerpc64-*-* http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37408
[Bug rtl-optimization/37408] [4.3/4.4 regression] Invalid insn scheduling
--- Comment #1 from schwab at suse dot de 2008-09-07 16:48 --- Created an attachment (id=16248) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=16248action=view) Testcase -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37408
[Bug rtl-optimization/37408] [4.3/4.4 regression] Invalid insn scheduling
--- Comment #3 from schwab at suse dot de 2008-09-07 20:29 --- The corresponding code line: register const unsigned char **new_argv = (const unsigned char **) __builtin_alloca 2) (nargs - 2) ? (2) : (nargs - 2))) * sizeof (char *)); -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37408
[Bug bootstrap/37330] mpfr 32/64 multilib issue
--- Comment #1 from schwab at suse dot de 2008-09-02 13:51 --- Why do you need two flavors? The mfpr/gmp libraries are only used for the compiler which is only built in one flavor. If you are building for x86-64 you should configure with $PREFIX/lib64 for both library directories. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37330
[Bug target/36722] ICE with inline asm in 64bit mode because of type size
--- Comment #4 from schwab at suse dot de 2008-08-23 07:58 --- It's still an ice-on-invalid, and as such a valid bug. -- schwab at suse dot de changed: What|Removed |Added Status|RESOLVED|REOPENED Resolution|INVALID | http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36722
[Bug c/37214] Weird operation reordering when compiling with -O3/O2 leading to errornous result
--- Comment #1 from schwab at suse dot de 2008-08-23 23:07 --- You are violating the C/C++ aliasing rules. *** This bug has been marked as a duplicate of 21920 *** -- schwab at suse dot de changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution||DUPLICATE http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37214
[Bug c/21920] aliasing violations
--- Comment #129 from schwab at suse dot de 2008-08-23 23:07 --- *** Bug 37214 has been marked as a duplicate of this bug. *** -- schwab at suse dot de changed: What|Removed |Added CC||cuerob at free dot fr http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21920
[Bug middle-end/37060] New: [4.3/4.4 regression] Bogus __builtin___memcpy_chk overflow warning
$ gcc -O2 -S sparc-tdep.i In function #8216;memcpy#8217;, inlined from #8216;sparc32_store_return_value#8217; at sparc-tdep.i:39: sparc-tdep.i:8: warning: call to __builtin___memcpy_chk will always overflow destination buffer -- Summary: [4.3/4.4 regression] Bogus __builtin___memcpy_chk overflow warning Product: gcc Version: 4.3.2 Status: UNCONFIRMED Keywords: diagnostic Severity: normal Priority: P3 Component: middle-end AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: schwab at suse dot de GCC target triplet: ia64-*-* http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37060
[Bug middle-end/37060] [4.3/4.4 regression] Bogus __builtin___memcpy_chk overflow warning
--- Comment #1 from schwab at suse dot de 2008-08-08 15:16 --- Created an attachment (id=16047) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=16047action=view) Testcase -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37060
[Bug c++/37043] fails to find operator match when constructing object on the fly
--- Comment #4 from schwab at suse dot de 2008-08-07 15:19 --- Because the result of FooBar(two) is an rvalue, but test1 is an lvalue. -- schwab at suse dot de changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution||INVALID http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37043
[Bug inline-asm/37018] compiling inline assembly for ia32 produces ia64 registers
--- Comment #4 from schwab at suse dot de 2008-08-04 07:44 --- *** This bug has been marked as a duplicate of 23242 *** -- schwab at suse dot de changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution||DUPLICATE http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37018
[Bug inline-asm/23242] Invalid %sil register chosen when dereferenced pointer used in inline asm with -O0
--- Comment #7 from schwab at suse dot de 2008-08-04 07:44 --- *** Bug 37018 has been marked as a duplicate of this bug. *** -- schwab at suse dot de changed: What|Removed |Added CC||gcc at karrels dot org http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23242
[Bug inline-asm/37018] compiling inline assembly for ia32 produces ia64 registers
--- Comment #6 from schwab at suse dot de 2008-08-04 08:28 --- Both Q and q are correct when trying to use the low part of a register. Only if the asm insn is using the high part you must use Q. It is the modifier (%b or %h) that chooses between low and high part. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37018
[Bug c/36996] Bad optimization
--- Comment #1 from schwab at suse dot de 2008-08-01 10:59 --- This depends on undefined behaviour when mask + 0x overflows. Change mask to unsigned to get defined behaviour. -- schwab at suse dot de changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution||INVALID http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36996
[Bug rtl-optimization/36929] [4.3/4.4 Regression] internal compiler error: Segmentation fault
--- Comment #6 from schwab at suse dot de 2008-07-30 18:24 --- Fixed in 4.3 branch and trunk. -- schwab at suse dot de changed: What|Removed |Added Status|NEW |RESOLVED Resolution||FIXED http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36929
[Bug rtl-optimization/36929] [4.3/4.4 Regression] internal compiler error: Segmentation fault
--- Comment #2 from schwab at suse dot de 2008-07-25 21:33 --- The bug is in dse.c:replace_inc_dec: add_insn_before (data-insn, gen_rtx_SET (Pmode, r1, gen_rtx_PLUS (Pmode, r1, c)), NULL); This does not make any sense: the rtx to be added must satisfy INSN_P, LABEL_P, BARRIER_P or NOTE_P, and the first two arguments are swapped. -- schwab at suse dot de changed: What|Removed |Added CC||zadeck at gcc dot gnu dot ||org Status|UNCONFIRMED |NEW Component|target |rtl-optimization Ever Confirmed|0 |1 GCC target triplet|m68k-unknown-linux-gnu |m68k-*-* Last reconfirmed|-00-00 00:00:00 |2008-07-25 21:33:41 date|| http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36929
[Bug c/36914] va_list is treatead as an array when complied in 64bits
--- Comment #3 from schwab at suse dot de 2008-07-24 08:29 --- va_list can be any object type, including an array. -- schwab at suse dot de changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution||INVALID http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36914
[Bug target/36898] New: Insufficient qp-mutex declarations
The attached test case is causing a spurious dependency violation message from the assembler. The problem seems to be that the assembler is clearing all qp mutex relations after a call, but the compiler does not emit .pred.rel.mutex after them. $ gcc -O2 -c -save-temps xdisp.c xdisp.s: Assembler messages: xdisp.s:114: Warning: Use of 'mov' may violate WAW dependency 'GR%, % in 1 - 127' (impliedf), specific resource number is 16 xdisp.s:113: Warning: This is the location of the conflicting usage -- Summary: Insufficient qp-mutex declarations Product: gcc Version: 4.4.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: target AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: schwab at suse dot de GCC target triplet: ia64-*-* http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36898
[Bug target/36898] Insufficient qp-mutex declarations
--- Comment #1 from schwab at suse dot de 2008-07-22 13:34 --- Created an attachment (id=15939) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=15939action=view) Testcase -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36898
[Bug target/36898] Insufficient qp-mutex declarations
--- Comment #2 from schwab at suse dot de 2008-07-22 13:35 --- Created an attachment (id=15940) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=15940action=view) Assembler output -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36898
[Bug c/36818] unknow order to simple print
--- Comment #1 from schwab at suse dot de 2008-07-14 07:34 --- Order of evaluation is unspecified. -- schwab at suse dot de changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution||INVALID Summary|unknow order to simple print|unknow order to simple print http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36818
[Bug regression/36787] Old value of global variable saved/restored between function call
--- Comment #3 from schwab at suse dot de 2008-07-10 12:15 --- reg = reg + myFunc(); There is no sequence point between the operands of the plus operator, thus it is unspecified which one is evaluated first. -- schwab at suse dot de changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution||INVALID http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36787
[Bug c++/36769] implicit conversion do not work
--- Comment #1 from schwab at suse dot de 2008-07-09 11:41 --- Only a single user-defined conversion is allowed in an implicit conversion sequence, but the copy-initialization would require two. -- schwab at suse dot de changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution||INVALID http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36769
[Bug c++/36769] implicit conversion do not work
--- Comment #3 from schwab at suse dot de 2008-07-09 13:06 --- int-double is not a user-defined conversion, but a standard conversion. -- schwab at suse dot de changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution||INVALID http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36769
[Bug middle-end/36775] Incorrect code generated - value tested before it is set.
--- Comment #6 from schwab at suse dot de 2008-07-09 21:30 --- extern __inline__ errcode_t ext2fs_get_mem(unsigned long size, void *ptr) { void **pp = (void **)ptr; *pp = malloc(size); [...] } [...] { ext2_u32_list bb; errcode_t retval; retval = ext2fs_get_mem(sizeof(struct ext2_struct_u32_list), bb); This is writing a value of type void* through a pointer to a different type (ext2_u32_list). -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36775
[Bug c/36737] Wrong results from floating-point multiplication by 10
--- Comment #4 from schwab at suse dot de 2008-07-05 09:54 --- Not a bug. -- schwab at suse dot de changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution||INVALID http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36737
[Bug c++/36626] traditional cast not recognized
--- Comment #1 from schwab at suse dot de 2008-06-25 08:53 --- In a cast in functional notation only a simple-type-specifier is allowed. -- schwab at suse dot de changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution||INVALID http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36626