[Bug tree-optimization/43159] Missing optimization

2010-02-23 Thread d dot g dot gorbachev at gmail dot com
--- Comment #1 from d dot g dot gorbachev at gmail dot com 2010-02-24 07:47 --- Created an attachment (id=19943) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=19943&action=view) Testcase $ gcc -c -O3 -march=pentium4 -mfpmath=sse pr43159.c $ nm -u pr43159.o U b -- ht

[Bug tree-optimization/43159] New: Missing optimization

2010-02-23 Thread d dot g dot gorbachev at gmail dot com
-- Summary: Missing optimization Product: gcc Version: 4.5.0 Status: UNCONFIRMED Severity: enhancement Priority: P3 Component: tree-optimization AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: d

[Bug fortran/43155] Reading real numbers of the form "123+ 44" (with space)

2010-02-23 Thread burnus at gcc dot gnu dot org
--- Comment #4 from burnus at gcc dot gnu dot org 2010-02-24 07:06 --- (In reply to comment #2) > Do you intend math, mfh, mth, and nsp to be of type integer or real? Hmm, good question. The "issue" came about during some IRC chat (#fortran) and I had/have no access to the whole source

[Bug fortran/43042] [-fwhole-file] ICE in gfc_conv_structure for c_ptr_tests_14.f90

2010-02-23 Thread burnus at gcc dot gnu dot org
--- Comment #2 from burnus at gcc dot gnu dot org 2010-02-24 07:00 --- FIXED on the trunk (4.5). --- Comment #3 from burnus at gcc dot gnu dot org 2010-02-24 07:00 --- Subject: Bug 43042 Author: burnus Date: Wed Feb 24 07:00:35 2010 New Revision: 157029 URL: http://gcc.gnu.o

[Bug fortran/43042] [-fwhole-file] ICE in gfc_conv_structure for c_ptr_tests_14.f90

2010-02-23 Thread burnus at gcc dot gnu dot org
--- Comment #2 from burnus at gcc dot gnu dot org 2010-02-24 07:00 --- FIXED on the trunk (4.5). --- Comment #3 from burnus at gcc dot gnu dot org 2010-02-24 07:00 --- Subject: Bug 43042 Author: burnus Date: Wed Feb 24 07:00:35 2010 New Revision: 157029 URL: http://gcc.gnu.o

[Bug fortran/38112] unneeded temporary

2010-02-23 Thread pault at gcc dot gnu dot org
--- Comment #7 from pault at gcc dot gnu dot org 2010-02-24 06:46 --- (In reply to comment #6) > Just to make sure it won't get forgotten: REOPEN. > > (In reply to comment #4) > > Paul, for the test case in comment 0 we still create a temporary: > > > > b(a)=1 > > Tobias, Not if '

[Bug fortran/43155] Reading real numbers of the form "123+ 44" (with space)

2010-02-23 Thread jvdelisle at gcc dot gnu dot org
--- Comment #3 from jvdelisle at gcc dot gnu dot org 2010-02-24 04:01 --- Here is the fix: Index: transfer.c === --- transfer.c (revision 156986) +++ transfer.c (working copy) @@ -926,7 +926,7 @@ require_type (st_paramet

[Bug fortran/43155] Reading real numbers of the form "123+ 44" (with space)

2010-02-23 Thread jvdelisle at gcc dot gnu dot org
--- Comment #2 from jvdelisle at gcc dot gnu dot org 2010-02-24 02:55 --- Do you intend math, mfh, mth, and nsp to be of type integer or real? The following works: character(len=200) :: str real :: x,math,mfh,mth,nsp str = ' 4.38000+ 6 2.55100+ 0 4.5+ 6 2.51970+ 0 5.0+ 6 2.400

[Bug fortran/43158] No default integer descriptor width

2010-02-23 Thread kargl at gcc dot gnu dot org
--- Comment #3 from kargl at gcc dot gnu dot org 2010-02-24 02:43 --- (In reply to comment #2) > Thanks for being a dick, appreciated.(In reply to comment #1) > > You're welcomed. With my suggested fixes, you'll actually have standard conforming code. -- http://gcc.gnu.org/bugzil

[Bug fortran/43158] No default integer descriptor width

2010-02-23 Thread wchemelewski at gmail dot com
--- Comment #2 from wchemelewski at gmail dot com 2010-02-24 02:36 --- Thanks for being a dick, appreciated.(In reply to comment #1) > (In reply to comment #0) > > With the following code: > > > > INTEGER :: someint > > CHARACTER (LEN=40) :: strcounter > > WRITE(strcounter,'(I)') somei

[Bug fortran/43158] No default integer descriptor width

2010-02-23 Thread kargl at gcc dot gnu dot org
--- Comment #1 from kargl at gcc dot gnu dot org 2010-02-24 02:33 --- (In reply to comment #0) > With the following code: > > INTEGER :: someint > CHARACTER (LEN=40) :: strcounter > WRITE(strcounter,'(I)') someint > > The error message is generated: > > WRITE(strcounter,'(I)')

[Bug fortran/43158] New: No default integer descriptor width

2010-02-23 Thread wchemelewski at gmail dot com
With the following code: INTEGER :: someint CHARACTER (LEN=40) :: strcounter WRITE(strcounter,'(I)') someint The error message is generated: WRITE(strcounter,'(I)') someint 1 Error: Nonnegative width required in format string at (1) Which to me just suggests

[Bug c/42935] Warning "u64 = u32 * u32;" - i.e. not casting one u32 to u64

2010-02-23 Thread manu at gcc dot gnu dot org
--- Comment #1 from manu at gcc dot gnu dot org 2010-02-24 00:16 --- Confirmed. I am not sure if this fits Wconversion but it is something subtle that would be nice to detect. The testcase should be: #include unsigned val1 = 0x1000, val2 = 0x100; int main(int argc, char **argv) {

[Bug lto/43157] Segmentation fault in aggregate_value_p

2010-02-23 Thread d dot g dot gorbachev at gmail dot com
--- Comment #1 from d dot g dot gorbachev at gmail dot com 2010-02-24 00:01 --- Created an attachment (id=19942) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=19942&action=view) Testcase gcc -O1 -flto pr43157.c -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43157

[Bug lto/43157] New: Segmentation fault in aggregate_value_p

2010-02-23 Thread d dot g dot gorbachev at gmail dot com
-- Summary: Segmentation fault in aggregate_value_p Product: gcc Version: 4.5.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: lto AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: d

[Bug target/43123] wrong value for march or mtune produces confusing output

2010-02-23 Thread manu at gcc dot gnu dot org
--- Comment #2 from manu at gcc dot gnu dot org 2010-02-23 23:59 --- Fixed in GCC 4.5 -- manu at gcc dot gnu dot org changed: What|Removed |Added Status|NEW

[Bug target/43107] [4.5 Regression] ICE: SIGSEGV with -O3 -mavx

2010-02-23 Thread jakub at gcc dot gnu dot org
--- Comment #6 from jakub at gcc dot gnu dot org 2010-02-23 23:03 --- Fixed. -- jakub at gcc dot gnu dot org changed: What|Removed |Added Status|ASSIGNED

[Bug target/43107] [4.5 Regression] ICE: SIGSEGV with -O3 -mavx

2010-02-23 Thread jakub at gcc dot gnu dot org
--- Comment #5 from jakub at gcc dot gnu dot org 2010-02-23 22:52 --- Subject: Bug 43107 Author: jakub Date: Tue Feb 23 22:52:20 2010 New Revision: 157022 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=157022 Log: PR target/43107 * config/i386/i386.c (avx_vpermil

[Bug target/43154] vec_mergel and vec_mergeh should support V2DF/V2DI

2010-02-23 Thread meissner at gcc dot gnu dot org
--- Comment #1 from meissner at gcc dot gnu dot org 2010-02-23 22:42 --- Created an attachment (id=19941) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=19941&action=view) Patch to add vector merge low/high for V2DF/V2DI -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43154

[Bug libstdc++/21769] per-file control over PCH inclusion

2010-02-23 Thread ghazi at gcc dot gnu dot org
-- ghazi at gcc dot gnu dot org changed: What|Removed |Added Known to fail||4.3.4 4.4.3 Known to work||4.3.5 4.4.4

[Bug debug/43077] VTA issues caused by SSA expand

2010-02-23 Thread jakub at gcc dot gnu dot org
--- Comment #16 from jakub at gcc dot gnu dot org 2010-02-23 22:32 --- That doesn't mean this bug isn't fixed. It is. There are just additional issues, during var-tracking, in particular PR43051. -- jakub at gcc dot gnu dot org changed: What|Removed

[Bug debug/43077] VTA issues caused by SSA expand

2010-02-23 Thread hjl dot tools at gmail dot com
--- Comment #15 from hjl dot tools at gmail dot com 2010-02-23 22:04 --- The new testcase failed on Fedora 12/i686: FAIL: gcc.dg/guality/pr43077-1.c -O2 line 42 varb == 2 FAIL: gcc.dg/guality/pr43077-1.c -O2 line 42 varc == 3 FAIL: gcc.dg/guality/pr43077-1.c -O2 -flto line 42 var

[Bug middle-end/42431] [4.5 Regression] wrong code for 200.sixtrack with vectorization and -fdata-sections

2010-02-23 Thread bergner at gcc dot gnu dot org
--- Comment #9 from bergner at gcc dot gnu dot org 2010-02-23 21:57 --- This is a generic reload bug. With this test case and options, we have the following instructions just before IRA: (insn 203 2 213 2 (set (reg/f:DI 256 [ vect_pk.44 ]) (plus:DI (reg/f:DI 255) (c

[Bug c++/2288] Variable declared in for-loop-header is in wrong scope

2010-02-23 Thread janis at gcc dot gnu dot org
--- Comment #11 from janis at gcc dot gnu dot org 2010-02-23 21:54 --- In response to comment #10, there are several duplicates to similar bug PR18770 and demand for a fix from within my company. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=2288

[Bug rtl-optimization/43156] [4.5 Regression] SPU-elf ICEs on simple programs

2010-02-23 Thread pinskia at gcc dot gnu dot org
-- pinskia at gcc dot gnu dot org changed: What|Removed |Added CC||rth at gcc dot gnu dot org, |

[Bug rtl-optimization/43156] New: [4.5 Regression] SPU-elf ICEs on simple programs

2010-02-23 Thread pinskia at gcc dot gnu dot org
As mentioned here: http://gcc.gnu.org/ml/gcc-patches/2010-02/msg00780.html Just building a simple: int main(void) { return 0; } ICEs at -O1 or -O2. This ICEs as we call add_reg_note with an insn note: (note 21 12 22 2 NOTE_INSN_DELETED) And REG_NOTES causes the next insn rtx gets modified for some

[Bug fortran/43155] Reading real numbers of the form "123+ 44" (with space)

2010-02-23 Thread kargl at gcc dot gnu dot org
--- Comment #1 from kargl at gcc dot gnu dot org 2010-02-23 21:28 --- Interesting bug. I think one needs to read 9.4.5.4 that defines the interpretation of blanks as BLANK=NULL, and 10.7.6 which I think means your string should be seen as (note there are 2 space before each REAL). ' 4

[Bug tree-optimization/42326] [4.5 Regression][graphite] segfault in tree-data-ref.c with Graphite building 200.sixtrack

2010-02-23 Thread janis at gcc dot gnu dot org
--- Comment #8 from janis at gcc dot gnu dot org 2010-02-23 21:17 --- With today's trunk both testcases fail with -m32 but not -m64. sixtrack builds, but not applu. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42326

[Bug tree-optimization/42640] wrong code for -ftree-loop-distribution in 175.vpr

2010-02-23 Thread spop at gcc dot gnu dot org
--- Comment #4 from spop at gcc dot gnu dot org 2010-02-23 21:07 --- Reza Yazdani has a patch to fix this. He's going to post the patch after test. Sebastian -- spop at gcc dot gnu dot org changed: What|Removed |Added -

[Bug fortran/43155] New: Reading real numbers of the form "123+ 44" (with space)

2010-02-23 Thread burnus at gcc dot gnu dot org
The following program runs with ifort, sunf95, and pathscale, but it fails with gfortran, NAG f95 and g95. I think the number is not standard conform, but a "processor" is allowed to accept it. For "a" ifort et al. print "438.0". Additionally, I have the feeling that there is an off-by-one er

[Bug c++/2288] Variable declared in for-loop-header is in wrong scope

2010-02-23 Thread bangerth at gmail dot com
--- Comment #10 from bangerth at gmail dot com 2010-02-23 20:40 --- (In reply to comment #9) > Is there a reason this hasn't been fixed? Lack of public demand? There's only one duplicate of this bug that has been reported in the last 9 years... > If not, I'll try. I think that would

[Bug tree-optimization/42640] wrong code for -ftree-loop-distribution in 175.vpr

2010-02-23 Thread bangerth at gmail dot com
-- bangerth at gmail dot com changed: What|Removed |Added CC||mmitchel at gcc dot gnu dot |

[Bug tree-optimization/42640] wrong code for -ftree-loop-distribution in 175.vpr

2010-02-23 Thread janis at gcc dot gnu dot org
--- Comment #3 from janis at gcc dot gnu dot org 2010-02-23 19:27 --- The minimized testcase and 175.vpr still fail on powerpc64-linux with "-O2 -ftree-loop-distribution" for both -m32 and -m64. With the confirmation in comment #2 this report ought to be moved from UNCONFIRMED to NEW.

[Bug target/43154] New: vec_mergel and vec_mergeh should support V2DF/V2DI

2010-02-23 Thread meissner at gcc dot gnu dot org
The documentation says that vec_mergel and vec_mergeh are supported for the vector double and vector long long types when the VSX instruction set is used, unfortunately it was never implemented in the compiler. -- Summary: vec_mergel and vec_mergeh should support V2DF/V2DI

[Bug c++/2288] Variable declared in for-loop-header is in wrong scope

2010-02-23 Thread janis at gcc dot gnu dot org
--- Comment #9 from janis at gcc dot gnu dot org 2010-02-23 19:07 --- Is there a reason this hasn't been fixed? If not, I'll try. -- janis at gcc dot gnu dot org changed: What|Removed |Added

[Bug fortran/43146] Character constant declared in a module does not transfer correctly

2010-02-23 Thread wirawan0 at gmail dot com
--- Comment #7 from wirawan0 at gmail dot com 2010-02-23 18:38 --- There are no changes if I compiled with *.f90 instead of *.F90 extension. Wirawan -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43146

[Bug c++/43143] [c++0x] array value-initialization and variadics

2010-02-23 Thread jason at gcc dot gnu dot org
--- Comment #2 from jason at gcc dot gnu dot org 2010-02-23 18:34 --- Fixed for 4.5. -- jason at gcc dot gnu dot org changed: What|Removed |Added Status|ASSIG

[Bug c++/42837] [4.5 Regression] FAIL: g++.dg/abi/packed1.C execution test

2010-02-23 Thread jason at gcc dot gnu dot org
--- Comment #13 from jason at gcc dot gnu dot org 2010-02-23 18:33 --- Fixed. -- jason at gcc dot gnu dot org changed: What|Removed |Added Status|REOPENED

[Bug c++/43143] [c++0x] array value-initialization and variadics

2010-02-23 Thread jason at gcc dot gnu dot org
--- Comment #1 from jason at gcc dot gnu dot org 2010-02-23 18:32 --- Subject: Bug 43143 Author: jason Date: Tue Feb 23 18:32:20 2010 New Revision: 157015 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=157015 Log: PR c++/43143 * typeck2.c (digest_init_r): Accept

[Bug debug/42800] [4.5 Regression] VLA DW_AT_upper_bound is no longer emitted

2010-02-23 Thread jason at gcc dot gnu dot org
--- Comment #9 from jason at gcc dot gnu dot org 2010-02-23 18:32 --- Subject: Bug 42800 Author: jason Date: Tue Feb 23 18:32:09 2010 New Revision: 157014 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=157014 Log: PR debug/42800 * cfgexpand.c (expand_used_vars):

[Bug debug/42800] [4.5 Regression] VLA DW_AT_upper_bound is no longer emitted

2010-02-23 Thread jason at gcc dot gnu dot org
--- Comment #8 from jason at gcc dot gnu dot org 2010-02-23 18:32 --- Fixed. -- jason at gcc dot gnu dot org changed: What|Removed |Added Status|ASSIGNED

[Bug c++/42837] [4.5 Regression] FAIL: g++.dg/abi/packed1.C execution test

2010-02-23 Thread jason at gcc dot gnu dot org
--- Comment #12 from jason at gcc dot gnu dot org 2010-02-23 18:32 --- Subject: Bug 42837 Author: jason Date: Tue Feb 23 18:31:58 2010 New Revision: 157013 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=157013 Log: PR c++/42837 * stor-layout.c (place_field): Don'

[Bug fortran/43146] Character constant declared in a module does not transfer correctly

2010-02-23 Thread kargl at gcc dot gnu dot org
--- Comment #6 from kargl at gcc dot gnu dot org 2010-02-23 18:29 --- (In reply to comment #5) > Here's the dump content. Indeed it misses the "\n" stuff. > > ~/toys/gfortran/ch10 $ cat testme5.F90.003t.original Can you rename the file to testme5.f90 and try again? The .F90 extension w

[Bug fortran/43146] Character constant declared in a module does not transfer correctly

2010-02-23 Thread wirawan0 at gmail dot com
--- Comment #5 from wirawan0 at gmail dot com 2010-02-23 17:49 --- Here's the dump content. Indeed it misses the "\n" stuff. ~/toys/gfortran/ch10 $ cat testme5.F90.003t.original testme3 () { static integer(kind=4) options.0[8] = {68, 255, 0, 0, 0, 1, 0, 1}; _gfortran_set_options (8

[Bug debug/43150] Proper debug info for debugging VLAs

2010-02-23 Thread jakub at gcc dot gnu dot org
--- Comment #4 from jakub at gcc dot gnu dot org 2010-02-23 17:36 --- Regarding 2), the regcprop pass doesn't call df_analyze at all, so it can't rely on REG_DEAD notes nor use df_* APIs to check for life info. I'm not 100% sure why we are propagating into debug insns at all, guess to h

[Bug c/43128] [4.5 Regression] c-c++-common/pr41779.c doesn't work

2010-02-23 Thread manu at gcc dot gnu dot org
--- Comment #24 from manu at gcc dot gnu dot org 2010-02-23 17:33 --- OK, I get it. Thanks for the explanation. Testing a patch. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43128

[Bug target/43153] New: Pass -mtune=i686 for -march=i686 or higher

2010-02-23 Thread hjl dot tools at gmail dot com
i686 or newer processors support multi-byte NOPs, which is preferred for aligning code: [...@gnu-6 tmp]$ cat a.s jmp bar mov %eax,%ebx mov %eax,%ebx .p2align 4 bar: mov %eax,%ebx [...@gnu-6 tmp]$ as --32 -o old.o a.s [...@gnu-6 tmp]$ as --32 -mtune=i686 -o

[Bug target/43139] ICE in output_operand

2010-02-23 Thread jakub at gcc dot gnu dot org
--- Comment #2 from jakub at gcc dot gnu dot org 2010-02-23 17:21 --- Fixed. -- jakub at gcc dot gnu dot org changed: What|Removed |Added Status|UNCONFIRMED

[Bug fortran/43146] Character constant declared in a module does not transfer correctly

2010-02-23 Thread kargl at gcc dot gnu dot org
--- Comment #4 from kargl at gcc dot gnu dot org 2010-02-23 17:16 --- (In reply to comment #3) > Here's my activity log. It's using gcc 4.4.3 that I just compiled yesterday. > It's still yielding char(0) instead of char(10). Weird. > Can you add the -fdump-tree-original option and post

[Bug target/43139] ICE in output_operand

2010-02-23 Thread jakub at gcc dot gnu dot org
--- Comment #1 from jakub at gcc dot gnu dot org 2010-02-23 17:06 --- Subject: Bug 43139 Author: jakub Date: Tue Feb 23 17:05:56 2010 New Revision: 157011 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=157011 Log: PR target/43139 * config/i386/i386.c (ix86_delegi

[Bug tree-optimization/42998] [4.5 Regression] ICE: error: verify_stmts failed

2010-02-23 Thread hjl at gcc dot gnu dot org
--- Comment #7 from hjl at gcc dot gnu dot org 2010-02-23 17:04 --- Subject: Bug 42998 Author: hjl Date: Tue Feb 23 17:02:26 2010 New Revision: 157010 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=157010 Log: Backport testcases from mainline. 2010-02-23 H.J. Lu Bac

[Bug c++/43069] [4.5 Regression] ICE: tree check: expected tree that contains 'decl minimal' structure, have 'overload' in set_decl_namespace, at cp/name-lookup.c:3105

2010-02-23 Thread hjl at gcc dot gnu dot org
--- Comment #4 from hjl at gcc dot gnu dot org 2010-02-23 17:04 --- Subject: Bug 43069 Author: hjl Date: Tue Feb 23 17:02:26 2010 New Revision: 157010 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=157010 Log: Backport testcases from mainline. 2010-02-23 H.J. Lu Bac

[Bug tree-optimization/43008] [4.5 Regression] Attribute malloc not handled correctly

2010-02-23 Thread hjl at gcc dot gnu dot org
--- Comment #4 from hjl at gcc dot gnu dot org 2010-02-23 17:04 --- Subject: Bug 43008 Author: hjl Date: Tue Feb 23 17:02:26 2010 New Revision: 157010 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=157010 Log: Backport testcases from mainline. 2010-02-23 H.J. Lu Bac

[Bug middle-end/42749] [4.5 Regression] -O2 and verify_stmts failed again

2010-02-23 Thread hjl at gcc dot gnu dot org
--- Comment #18 from hjl at gcc dot gnu dot org 2010-02-23 17:04 --- Subject: Bug 42749 Author: hjl Date: Tue Feb 23 17:02:26 2010 New Revision: 157010 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=157010 Log: Backport testcases from mainline. 2010-02-23 H.J. Lu Ba

[Bug c++/43093] [4.5 Regression] internal compiler error: Segmentation fault when compiling Firefox

2010-02-23 Thread hjl at gcc dot gnu dot org
--- Comment #5 from hjl at gcc dot gnu dot org 2010-02-23 17:04 --- Subject: Bug 43093 Author: hjl Date: Tue Feb 23 17:02:26 2010 New Revision: 157010 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=157010 Log: Backport testcases from mainline. 2010-02-23 H.J. Lu Bac

[Bug c++/43031] [4.5 Regression] internal compiler error: verify_gimple failed after non-trivial conversion error when crosscompiling Firefox

2010-02-23 Thread hjl at gcc dot gnu dot org
--- Comment #9 from hjl at gcc dot gnu dot org 2010-02-23 17:04 --- Subject: Bug 43031 Author: hjl Date: Tue Feb 23 17:02:26 2010 New Revision: 157010 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=157010 Log: Backport testcases from mainline. 2010-02-23 H.J. Lu Bac

[Bug libfortran/42742] [4.5 Regression] Handle very large format strings correctly

2010-02-23 Thread hjl at gcc dot gnu dot org
--- Comment #22 from hjl at gcc dot gnu dot org 2010-02-23 17:04 --- Subject: Bug 42742 Author: hjl Date: Tue Feb 23 17:02:26 2010 New Revision: 157010 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=157010 Log: Backport testcases from mainline. 2010-02-23 H.J. Lu Ba

[Bug tree-optimization/43000] [4.5 Regression] VRP miscompiles python with -fwrapv

2010-02-23 Thread hjl at gcc dot gnu dot org
--- Comment #5 from hjl at gcc dot gnu dot org 2010-02-23 17:04 --- Subject: Bug 43000 Author: hjl Date: Tue Feb 23 17:02:26 2010 New Revision: 157010 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=157010 Log: Backport testcases from mainline. 2010-02-23 H.J. Lu Bac

[Bug tree-optimization/43017] [4.5 Regression] VRP miscompiles python with -fwrapv, II

2010-02-23 Thread hjl at gcc dot gnu dot org
--- Comment #4 from hjl at gcc dot gnu dot org 2010-02-23 17:04 --- Subject: Bug 43017 Author: hjl Date: Tue Feb 23 17:02:26 2010 New Revision: 157010 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=157010 Log: Backport testcases from mainline. 2010-02-23 H.J. Lu Bac

[Bug c++/42824] [4.5 regression] c++ compilation complains about error: call of overloaded

2010-02-23 Thread hjl at gcc dot gnu dot org
--- Comment #16 from hjl at gcc dot gnu dot org 2010-02-23 17:04 --- Subject: Bug 42824 Author: hjl Date: Tue Feb 23 17:02:26 2010 New Revision: 157010 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=157010 Log: Backport testcases from mainline. 2010-02-23 H.J. Lu Ba

[Bug tree-optimization/43066] [4.5 Regression] ICE: SIGFPE with empty struct and va_arg

2010-02-23 Thread hjl at gcc dot gnu dot org
--- Comment #8 from hjl at gcc dot gnu dot org 2010-02-23 17:04 --- Subject: Bug 43066 Author: hjl Date: Tue Feb 23 17:02:26 2010 New Revision: 157010 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=157010 Log: Backport testcases from mainline. 2010-02-23 H.J. Lu Bac

[Bug fortran/42999] [4.5 Regression] bogus error: Parameter 'i' at (1) has not been declared or is a variable, which does not reduce to a constant expression

2010-02-23 Thread hjl at gcc dot gnu dot org
--- Comment #7 from hjl at gcc dot gnu dot org 2010-02-23 17:04 --- Subject: Bug 42999 Author: hjl Date: Tue Feb 23 17:02:26 2010 New Revision: 157010 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=157010 Log: Backport testcases from mainline. 2010-02-23 H.J. Lu Bac

[Bug c/43007] [4.5 Regression] No longer folds (unsigned int) ((long long unsigned int) spi_bias / 1008)

2010-02-23 Thread hjl at gcc dot gnu dot org
--- Comment #4 from hjl at gcc dot gnu dot org 2010-02-23 17:04 --- Subject: Bug 43007 Author: hjl Date: Tue Feb 23 17:02:26 2010 New Revision: 157010 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=157010 Log: Backport testcases from mainline. 2010-02-23 H.J. Lu Bac

[Bug fortran/43111] [4.5 Regression] No temporary produced for array pointer actual arguments

2010-02-23 Thread hjl at gcc dot gnu dot org
--- Comment #5 from hjl at gcc dot gnu dot org 2010-02-23 17:04 --- Subject: Bug 43111 Author: hjl Date: Tue Feb 23 17:02:26 2010 New Revision: 157010 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=157010 Log: Backport testcases from mainline. 2010-02-23 H.J. Lu Bac

[Bug tree-optimization/43068] [4.5 Regression] ICE: in estimate_operator_cost, at tree-inline.c:3141 with -freorder-blocks -ftracer

2010-02-23 Thread hjl at gcc dot gnu dot org
--- Comment #5 from hjl at gcc dot gnu dot org 2010-02-23 17:04 --- Subject: Bug 43068 Author: hjl Date: Tue Feb 23 17:02:26 2010 New Revision: 157010 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=157010 Log: Backport testcases from mainline. 2010-02-23 H.J. Lu Bac

[Bug c++/43109] [4.5 Regression] ICE: SIGSEGV with unnamed namespace inside named

2010-02-23 Thread hjl at gcc dot gnu dot org
--- Comment #3 from hjl at gcc dot gnu dot org 2010-02-23 17:04 --- Subject: Bug 43109 Author: hjl Date: Tue Feb 23 17:02:26 2010 New Revision: 157010 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=157010 Log: Backport testcases from mainline. 2010-02-23 H.J. Lu Bac

[Bug c++/43079] [4.5 Regression] ICE with incompatible pointer-to-member-function as template parameter

2010-02-23 Thread hjl at gcc dot gnu dot org
--- Comment #4 from hjl at gcc dot gnu dot org 2010-02-23 17:04 --- Subject: Bug 43079 Author: hjl Date: Tue Feb 23 17:02:26 2010 New Revision: 157010 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=157010 Log: Backport testcases from mainline. 2010-02-23 H.J. Lu Bac

[Bug c++/42870] [4.5 regression] __attribute__ ((dllexport)) produces broken linkage

2010-02-23 Thread hjl at gcc dot gnu dot org
--- Comment #9 from hjl at gcc dot gnu dot org 2010-02-23 17:04 --- Subject: Bug 42870 Author: hjl Date: Tue Feb 23 17:02:26 2010 New Revision: 157010 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=157010 Log: Backport testcases from mainline. 2010-02-23 H.J. Lu Bac

[Bug debug/37237] Debug information for virtual destructors omits DW_AT_vtable_elem_location

2010-02-23 Thread tromey at gcc dot gnu dot org
--- Comment #4 from tromey at gcc dot gnu dot org 2010-02-23 16:55 --- It seems to me that, by analogy with constructors, we would want debuginfo for all the destructors, so that "break X::~X" would put breakpoints in all the clones. Then we would need additional information to distingui

[Bug debug/43077] VTA issues caused by SSA expand

2010-02-23 Thread matz at gcc dot gnu dot org
--- Comment #14 from matz at gcc dot gnu dot org 2010-02-23 16:46 --- Fixed. -- matz at gcc dot gnu dot org changed: What|Removed |Added Status|ASSIGNED

[Bug debug/43077] VTA issues caused by SSA expand

2010-02-23 Thread matz at gcc dot gnu dot org
--- Comment #13 from matz at gcc dot gnu dot org 2010-02-23 16:42 --- Subject: Bug 43077 Author: matz Date: Tue Feb 23 16:41:52 2010 New Revision: 157009 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=157009 Log: PR debug/43077 * cfgexpand (expand_debug_expr): Ex

[Bug fortran/39171] Misleading warning for negative character length

2010-02-23 Thread hjl dot tools at gmail dot com
-- hjl dot tools at gmail dot com changed: What|Removed |Added Target Milestone|--- |4.5.0 Version|unknown |4.5.0 http://

[Bug c/43128] [4.5 Regression] c-c++-common/pr41779.c doesn't work

2010-02-23 Thread joseph at codesourcery dot com
--- Comment #23 from joseph at codesourcery dot com 2010-02-23 16:38 --- Subject: Re: [4.5 Regression] c-c++-common/pr41779.c doesn't work On Tue, 23 Feb 2010, manu at gcc dot gnu dot org wrote: > --- Comment #21 from manu at gcc dot gnu dot org 2010-02-23 10:23 --- > (In r

[Bug fortran/43015] ICE with BIND(C) and -fbounds-check in mingw-w64 cross-compiler

2010-02-23 Thread hjl dot tools at gmail dot com
-- hjl dot tools at gmail dot com changed: What|Removed |Added Target Milestone|--- |4.5.0 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43015

[Bug fortran/40823] debug info points to unexpected line

2010-02-23 Thread hjl dot tools at gmail dot com
-- hjl dot tools at gmail dot com changed: What|Removed |Added Target Milestone|--- |4.5.0 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40823

[Bug tree-optimization/43068] [4.5 Regression] ICE: in estimate_operator_cost, at tree-inline.c:3141 with -freorder-blocks -ftracer

2010-02-23 Thread hjl dot tools at gmail dot com
-- hjl dot tools at gmail dot com changed: What|Removed |Added Target Milestone|--- |4.5.0 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43068

[Bug c/43128] [4.5 Regression] c-c++-common/pr41779.c doesn't work

2010-02-23 Thread joseph at codesourcery dot com
--- Comment #22 from joseph at codesourcery dot com 2010-02-23 16:32 --- Subject: Re: [4.5 Regression] c-c++-common/pr41779.c doesn't work On Tue, 23 Feb 2010, manu at gcc dot gnu dot org wrote: > --- Comment #20 from manu at gcc dot gnu dot org 2010-02-23 08:39 --- > (In r

[Bug c++/43149] Partial optimization

2010-02-23 Thread pinskia at gmail dot com
--- Comment #8 from pinskia at gmail dot com 2010-02-23 16:29 --- Subject: Re: Partial optimization Sent from my iPhone On Feb 23, 2010, at 8:16 AM, "bschindler at inf dot ethz dot ch" wrote: > > > --- Comment #6 from bschindler at inf dot ethz dot ch > 2010-02-23 16:16 ---

Re: [Bug c++/43149] Partial optimization

2010-02-23 Thread Andrew Pinski
Sent from my iPhone On Feb 23, 2010, at 8:16 AM, "bschindler at inf dot ethz dot ch" > wrote: --- Comment #6 from bschindler at inf dot ethz dot ch 2010-02-23 16:16 --- Also, the following would not work #pragma GCC optimize(2) // I don't know whether I got that syntax right

[Bug c++/43149] Partial optimization

2010-02-23 Thread bschindler at inf dot ethz dot ch
--- Comment #7 from bschindler at inf dot ethz dot ch 2010-02-23 16:24 --- Okay, the need is simply this: I have an octree implemented using eigen. With gcc -g, it takes roughly 3 minutes to build the tree With gcc -O1 -g, it takes about 1-2 seconds for the same The problem is Eige

[Bug c++/43149] Partial optimization

2010-02-23 Thread bschindler at inf dot ethz dot ch
--- Comment #6 from bschindler at inf dot ethz dot ch 2010-02-23 16:16 --- Also, the following would not work #pragma GCC optimize(2) // I don't know whether I got that syntax right #include #pragma pop_options blubb; Eigen/Core is a separate file so I'd expect the pragma to have no

[Bug c++/43149] Partial optimization

2010-02-23 Thread rguenth at gcc dot gnu dot org
--- Comment #5 from rguenth at gcc dot gnu dot org 2010-02-23 16:13 --- I wouldn't surprised if it doesn't work very well for template instantiations though. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43149

[Bug target/43152] vcond<> not supported for AVX float modes

2010-02-23 Thread rguenth at gcc dot gnu dot org
--- Comment #1 from rguenth at gcc dot gnu dot org 2010-02-23 16:10 --- Simply changing the vcond pattern for fp to use AVX_VEC_FLOAT_MODE_P and AVXMODEF2P seems to work. Thus, mine. -- rguenth at gcc dot gnu dot org changed: What|Removed |Added -

[Bug c++/43149] Partial optimization

2010-02-23 Thread pinskia at gmail dot com
--- Comment #4 from pinskia at gmail dot com 2010-02-23 16:02 --- Subject: Re: Partial optimization Sent from my iPhone On Feb 23, 2010, at 7:53 AM, "bangerth at gmail dot com" wrote: > > > --- Comment #3 from bangerth at gmail dot com 2010-02-23 15:53 > --- > So the at

Re: [Bug c++/43149] Partial optimization

2010-02-23 Thread Andrew Pinski
Sent from my iPhone On Feb 23, 2010, at 7:53 AM, "bangerth at gmail dot com" > wrote: --- Comment #3 from bangerth at gmail dot com 2010-02-23 15:53 --- So the attribute would have to be attached to the namespace, I guess. Or just use the pragma instead :). We can keep the

[Bug target/43152] New: vcond<> not supported for AVX float modes

2010-02-23 Thread rguenth at gcc dot gnu dot org
The vectorizer cannot vectorize if-converted COND_EXPRs with V8SF or V4DF types because the backend does not provide patterns for this. -- Summary: vcond<> not supported for AVX float modes Product: gcc Version: 4.5.0 Status: UNCONFIRMED Key

[Bug c++/43149] Partial optimization

2010-02-23 Thread bangerth at gmail dot com
--- Comment #3 from bangerth at gmail dot com 2010-02-23 15:53 --- So the attribute would have to be attached to the namespace, I guess. We can keep the PR open, but my best guess is that this is going to be one of those PRs that stay open forever as there is so little demand for this k

[Bug fortran/43146] Character constant declared in a module does not transfer correctly

2010-02-23 Thread wirawan0 at gmail dot com
--- Comment #3 from wirawan0 at gmail dot com 2010-02-23 15:52 --- Here's my activity log. It's using gcc 4.4.3 that I just compiled yesterday. It's still yielding char(0) instead of char(10). Weird. ~/toys/gfortran/ch10 $ cat testme5.F90 module blahblah character(len=1), parameter ::

[Bug target/43123] wrong value for march or mtune produces confusing output

2010-02-23 Thread manu at gcc dot gnu dot org
--- Comment #1 from manu at gcc dot gnu dot org 2010-02-23 15:52 --- Subject: Bug 43123 Author: manu Date: Tue Feb 23 15:51:42 2010 New Revision: 157007 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=157007 Log: 2010-02-23 Manuel López-Ibáñez PR 43123 * co

[Bug c++/43149] Partial optimization

2010-02-23 Thread bschindler at inf dot ethz dot ch
--- Comment #2 from bschindler at inf dot ethz dot ch 2010-02-23 15:45 --- Thank you for that hint, however the problem does not disappear just like that. I would like the entire namespace be optimized that way and from the discussion it seems that there is no easy way to do this? -

[Bug middle-end/38846] [Graphite] 35% slower using -floop* than without graphite (gas_dyn of Polyhedron)

2010-02-23 Thread burnus at gcc dot gnu dot org
--- Comment #6 from burnus at gcc dot gnu dot org 2010-02-23 15:29 --- Result with current trunk (4.5.0 2010-02-23 Rev. 156999) In a nutshell: gas_dyn is still slower - now 35% instead of 70%. -fgraphite-identity has normal speed (or a tiny bit faster?!?), but all other options (-floop-

[Bug c++/43149] Partial optimization

2010-02-23 Thread bangerth at gmail dot com
--- Comment #1 from bangerth at gmail dot com 2010-02-23 15:13 --- This feature already exists. See the discussion of the "optimize" attribute in http://gcc.gnu.org/onlinedocs/gcc-4.4.3/gcc/Function-Attributes.html#Function-Attributes W. -- bangerth at gmail dot com changed:

[Bug c/43151] [4.5 Regression] Inconsistent diagnostic

2010-02-23 Thread rguenth at gcc dot gnu dot org
--- Comment #1 from rguenth at gcc dot gnu dot org 2010-02-23 14:50 --- 6.6/7 explains the differenece. And const long x = ...; isn't amongst the allowed operands of an integer constant expression. -- rguenth at gcc dot gnu dot org changed: What|Removed

[Bug debug/43150] Proper debug info for debugging VLAs

2010-02-23 Thread jakub at gcc dot gnu dot org
--- Comment #3 from jakub at gcc dot gnu dot org 2010-02-23 14:46 --- Actually, 2) is present also on the trunk, again in f2 -O2 -g -m64. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43150

[Bug c/43151] New: [4.5 Regression] Inconsistent diagnostic

2010-02-23 Thread rguenth at gcc dot gnu dot org
For struct X { int i; int j[2]; }; const long x = ((struct X *)0)->j - (int *)0; char a[((struct X *)0)->j - (int *)0]; char b[__builtin_offsetof(struct X, j)]; char c[x]; we now issue the following diagnostics: > gcc-4.5 -S t.i t.i:3:17: warning: variably modified ‘a’ at file scope t.i:5:6: er

[Bug debug/43077] VTA issues caused by SSA expand

2010-02-23 Thread matz at gcc dot gnu dot org
--- Comment #12 from matz at gcc dot gnu dot org 2010-02-23 14:31 --- Yeah, I have a patch already which emits it before the last real use of an SSA name (which by design of TER is a point where all constituent subexpressions still have their correct value). -- http://gcc.gnu.org/bu

[Bug debug/43077] VTA issues caused by SSA expand

2010-02-23 Thread jakub at gcc dot gnu dot org
--- Comment #11 from jakub at gcc dot gnu dot org 2010-02-23 14:24 --- To emit an extra DEBUG_INSN to a D# temporary and using that D# temporary you'd need to know where exactly to insert the DEBUG_INSN. I guess we'd need to remember for MAY_HAVE_DEBUG_INSNS a mapping from each of the S

[Bug debug/43150] Proper debug info for debugging VLAs

2010-02-23 Thread jakub at gcc dot gnu dot org
--- Comment #2 from jakub at gcc dot gnu dot org 2010-02-23 14:08 --- I see some VTA bugs and missed debug optimizations though: 1) in f1 say -O2 -m64 -g we have in *.alignments: (debug_insn 7 14 8 2 vla-1.c:15 (var_location:DI D#2 (sign_extend:DI (plus:SI (reg/v:SI 5 di [orig:62 i ] [62

[Bug c++/41779] Wconversion cannot see throught real*integer promotions

2010-02-23 Thread hjl dot tools at gmail dot com
-- hjl dot tools at gmail dot com changed: What|Removed |Added Target Milestone|--- |4.5.0 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41779

[Bug target/36513] -Wlogical-op warns about strchr

2010-02-23 Thread hjl dot tools at gmail dot com
-- hjl dot tools at gmail dot com changed: What|Removed |Added Target Milestone|--- |4.5.0 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36513

  1   2   >