[Bug fortran/47659] -Wconversion[-extra] should emit warning for constant expressions

2011-08-07 Thread thenlich at users dot sourceforge.net
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47659 --- Comment #4 from Thomas Henlich 2011-08-08 06:07:33 UTC --- It is not safe to omit the warning for integers: the constant could have been truncated to an integer, as in: real(8) :: r8 r8 = 12345678.9 print *, r8 => 12345679.0

[Bug c++/50020] New: [C++0x] internal compiler error range for in templated class

2011-08-07 Thread jarrydb at cse dot unsw.edu.au
gnu Configured with: /home/jarrydb/current/soft/src/gcc-git/configure --prefix=/home/jarrydb/current/soft/install-latest --disable-multilib --enable-languages=c,c++,go Thread model: posix gcc version 4.7.0 20110807 (experimental) (GCC) Using gcc svn revision 177550, this error: init_list2.cpp: In mem

[Bug tree-optimization/50005] [4.7 Regression] ipa-inline-analysis.c:1876:41: error: comparison between signed an d unsigned integer expressions

2011-08-07 Thread hubicka at ucw dot cz
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50005 --- Comment #2 from Jan Hubicka 2011-08-07 23:41:45 UTC --- > Casting the VEC_length call to (int) fixes the problem, and is consistent with > several other comparisons involving VEC_int in this file: Oops, the patch is OK. Honza

[Bug libfortran/50016] The fortran program 's io is very slow

2011-08-07 Thread xunxun1982 at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50016 --- Comment #5 from PcX 2011-08-07 23:24:46 UTC --- Created attachment 24946 --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=24946 fixed test

[Bug libfortran/50016] The fortran program 's io is very slow

2011-08-07 Thread xunxun1982 at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50016 --- Comment #4 from PcX 2011-08-07 23:22:55 UTC --- (In reply to comment #3) > I can not reproduce this on my system. I did notice a warning about line > truncation on the long line in the example. You may want to use line > continuations for t

[Bug c++/49811] Crash at __do_global_dtors_aux when compiled with '-shared -static'

2011-08-07 Thread nn.dm55 at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49811 --- Comment #3 from Nathan 2011-08-07 23:13:31 UTC --- I was trying to make it prefer static libraries to shared libraries. (In reply to comment #2) > "-shared -static" does not make sense really. Are you trying to compile a > libary that contai

[Bug libfortran/50016] The fortran program 's io is very slow

2011-08-07 Thread jvdelisle at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50016 Jerry DeLisle changed: What|Removed |Added CC||jvdelisle at gcc dot |

[Bug bootstrap/50018] [4.7 regression] fixup_args_size_notes ICE breaks m68k-linux bootstrap

2011-08-07 Thread mikpe at it dot uu.se
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50018 Mikael Pettersson changed: What|Removed |Added Target||m68k-linux CC|

[Bug debug/50017] [4.7 Regression] -fcompare-debug failure

2011-08-07 Thread hjl.tools at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50017 H.J. Lu changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug fortran/47659] -Wconversion[-extra] should emit warning for constant expressions

2011-08-07 Thread tkoenig at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47659 --- Comment #3 from Thomas Koenig 2011-08-07 21:20:36 UTC --- Created attachment 24945 --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=24945 Proposed patch Here's a patch. For real a a = 2.3d0 it checks for truncation correctly an

[Bug fortran/49638] [OOP] length parameter is ignored when overriding type bound character functions with constant length.

2011-08-07 Thread janus at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49638 --- Comment #19 from janus at gcc dot gnu.org 2011-08-07 21:13:12 UTC --- r177550 correctly rejects the original test case. ToDo: For many cases one only gets a warning instead of an error right now.

[Bug c++/50019] internal compiler error when compiling template function (should print error instead)

2011-08-07 Thread joca.bt at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50019 joca.bt at gmail dot com changed: What|Removed |Added URL||http://web.ist.utl.pt/ist15

[Bug c++/50019] New: internal compiler error when compiling template function (should print error instead)

2011-08-07 Thread joca.bt at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50019 Summary: internal compiler error when compiling template function (should print error instead) Product: gcc Version: 4.6.0 Status: UNCONFIRMED Severity: minor Prio

[Bug fortran/49638] [OOP] length parameter is ignored when overriding type bound character functions with constant length.

2011-08-07 Thread janus at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49638 --- Comment #18 from janus at gcc dot gnu.org 2011-08-07 20:59:20 UTC --- Author: janus Date: Sun Aug 7 20:59:16 2011 New Revision: 177550 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=177550 Log: 2011-08-07 Janus Weil Thomas K

[Bug c++/50011] [C++0x] warning: narrowing conversion of 'i' from 'short unsigned int' to 'int' inside { } [-Wnarrowing]

2011-08-07 Thread marc.glisse at normalesup dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50011 Marc Glisse changed: What|Removed |Added CC||marc.glisse at normalesup

[Bug tree-optimization/50005] [4.7 Regression] ipa-inline-analysis.c:1876:41: error: comparison between signed an d unsigned integer expressions

2011-08-07 Thread mikpe at it dot uu.se
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50005 Mikael Pettersson changed: What|Removed |Added CC||mikpe at it dot uu.se --- Comment #1

[Bug target/49781] [x32] Unnecessary lea in x32 mode

2011-08-07 Thread hjl.tools at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49781 H.J. Lu changed: What|Removed |Added Status|ASSIGNED|UNCONFIRMED Ever Confirmed|1

[Bug bootstrap/50018] [4.7 regression] fixup_args_size_notes ICE breaks m68k-linux bootstrap

2011-08-07 Thread mikpe at it dot uu.se
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50018 --- Comment #1 from Mikael Pettersson 2011-08-07 20:11:19 UTC --- Sorry, make -j confusion; it's actually libgomp/team.c that triggers the ICE, not work.c as the cut-n-paste would imply.

[Bug bootstrap/50018] New: [4.7 regression] fixup_args_size_notes ICE breaks m68k-linux bootstrap

2011-08-07 Thread mikpe at it dot uu.se
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50018 Summary: [4.7 regression] fixup_args_size_notes ICE breaks m68k-linux bootstrap Product: gcc Version: 4.7.0 Status: UNCONFIRMED Severity: normal Priority: P3

[Bug other/49998] [4.7 Regression] crtstuff.c:64:28: fatal error: unwind-dw2-fde.h: No such file

2011-08-07 Thread danglin at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49998 John David Anglin changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|

[Bug c++/50012] C++ front end misses -Wsign-compare warnings when extraneous parentheses are present

2011-08-07 Thread mikpe at it dot uu.se
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50012 Mikael Pettersson changed: What|Removed |Added CC||ian at gcc dot gnu.org Known to

[Bug debug/50017] New: [4.7 Regression] -fcompare-debug failure

2011-08-07 Thread d.g.gorbachev at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50017 Summary: [4.7 Regression] -fcompare-debug failure Product: gcc Version: 4.7.0 Status: UNCONFIRMED Severity: minor Priority: P3 Component: debug AssignedTo: unassig...

[Bug fortran/47659] -Wconversion[-extra] should emit warning for constant expressions

2011-08-07 Thread tkoenig at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47659 Thomas Koenig changed: What|Removed |Added Status|NEW |ASSIGNED AssignedTo|unassigned at

[Bug target/49995] "operand missing mode" warning on sparc

2011-08-07 Thread ebotcazou at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49995 Eric Botcazou changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED CC|

[Bug rtl-optimization/49994] [4.7 Regression] ICE: in maybe_record_trace_start, at dwarf2cfi.c:2234 with -fsched2-use-superblocks

2011-08-07 Thread zsojka at seznam dot cz
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49994 --- Comment #3 from Zdenek Sojka 2011-08-07 17:59:15 UTC --- Created attachment 24943 --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=24943 another testcase (using __builtin_return_address) $ gcc -O -fschedule-insns2 -fsched2-use-superblocks

[Bug libfortran/50016] The fortran program 's io is very slow

2011-08-07 Thread xunxun1982 at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50016 PcX changed: What|Removed |Added CC||xunxun1982 at gmail dot com --- Comment #2 from PcX

[Bug libfortran/50016] The fortran program 's io is very slow

2011-08-07 Thread xunxun1982 at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50016 --- Comment #1 from PcX 2011-08-07 17:14:10 UTC --- Created attachment 24942 --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=24942 test program

[Bug libfortran/50016] New: The fortran program 's io is very slow

2011-08-07 Thread xunxun1982 at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50016 Summary: The fortran program 's io is very slow Product: gcc Version: 4.6.1 Status: UNCONFIRMED Severity: normal Priority: P3 Component: libfortran AssignedTo: unassi

[Bug c++/50015] [C++0x] std::initializer_list members are not properly initialized

2011-08-07 Thread paolo.carlini at oracle dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50015 Paolo Carlini changed: What|Removed |Added CC||jason at gcc dot gnu.org Summa

[Bug c++/50015] std::initializer_list members are not properly initialized

2011-08-07 Thread danny....@tu-dortmund.de
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50015 --- Comment #1 from Danny van Dyk 2011-08-07 15:49:43 UTC --- Created attachment 24941 --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=24941 Output of 'g++ -std=c++0x -fdump-tree-gimple -o test-case test-case.cc'

[Bug c++/50015] New: std::initializer_list members are not properly initialized

2011-08-07 Thread danny....@tu-dortmund.de
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50015 Summary: std::initializer_list members are not properly initialized Product: gcc Version: 4.6.1 Status: UNCONFIRMED Severity: normal Priority: P3 Componen

[Bug target/49781] [x32] Unnecessary lea in x32 mode

2011-08-07 Thread ubizjak at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49781 --- Comment #31 from Uros Bizjak 2011-08-07 13:50:17 UTC --- (In reply to comment #29) > Created attachment 24938 [details] > WIP patch that exploits addr32. > > New version of patch for testing. Survives bootstrap + regtest on > x86_64-pc-linux

[Bug tree-optimization/50014] New: [4.7 Regression] Assertion failed in vect_get_vec_def_for_stmt_copy

2011-08-07 Thread d.g.gorbachev at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50014 Summary: [4.7 Regression] Assertion failed in vect_get_vec_def_for_stmt_copy Product: gcc Version: 4.7.0 Status: UNCONFIRMED Severity: normal Priority: P3

[Bug c++/50013] Internal compiler error: Error reporting routines re-entered using decltype

2011-08-07 Thread paolo.carlini at oracle dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50013 Paolo Carlini changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Known to work|

[Bug target/49781] [x32] Unnecessary lea in x32 mode

2011-08-07 Thread ubizjak at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49781 --- Comment #30 from Uros Bizjak 2011-08-07 13:09:23 UTC --- (In reply to comment #29) > Created attachment 24938 [details] > WIP patch that exploits addr32. BTW: This patch also fixes following FAIL in [1]: FAIL: gcc.target/i386/pr39543-3.c (t

[Bug target/49781] [x32] Unnecessary lea in x32 mode

2011-08-07 Thread ubizjak at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49781 Uros Bizjak changed: What|Removed |Added Attachment #24918|0 |1 is obsolete|

[Bug c++/50013] New: Internal compiler error: Error reporting routines re-entered using decltype

2011-08-07 Thread fabian.bergmark at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50013 Summary: Internal compiler error: Error reporting routines re-entered using decltype Product: gcc Version: 4.5.2 Status: UNCONFIRMED Severity: normal Priority: P3

[Bug c++/50012] New: C++ front end misses -Wsign-compare warnings when extraneous parentheses are present

2011-08-07 Thread mikpe at it dot uu.se
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50012 Summary: C++ front end misses -Wsign-compare warnings when extraneous parentheses are present Product: gcc Version: 4.7.0 Status: UNCONFIRMED Severity: normal Prio

[Bug c++/50011] New: [C++0x] warning: narrowing conversion of 'i' from 'short unsigned int' to 'int' inside { } [-Wnarrowing]

2011-08-07 Thread zsojka at seznam dot cz
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50011 Summary: [C++0x] warning: narrowing conversion of 'i' from 'short unsigned int' to 'int' inside { } [-Wnarrowing] Product: gcc Version: 4.7.0 Status: UNCONFIRMED Severity: n

[Bug fortran/49638] [OOP] length parameter is ignored when overriding type bound character functions with constant length.

2011-08-07 Thread janus at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49638 --- Comment #17 from janus at gcc dot gnu.org 2011-08-07 10:16:44 UTC --- Note: r177545 only does some preparational stuff. It does not add any actual checking yet.

[Bug fortran/49638] [OOP] length parameter is ignored when overriding type bound character functions with constant length.

2011-08-07 Thread janus at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49638 --- Comment #16 from janus at gcc dot gnu.org 2011-08-07 10:12:14 UTC --- Author: janus Date: Sun Aug 7 10:12:09 2011 New Revision: 177545 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=177545 Log: 2011-08-07 Janus Weil PR fortran/

[Bug bootstrap/50010] New: i386-unknown-freebsd bootstrap comparison failure

2011-08-07 Thread gerald at pfeifer dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50010 Summary: i386-unknown-freebsd bootstrap comparison failure Product: gcc Version: 4.7.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: bootstrap Assigned

[Bug bootstrap/49246] bootstrap comparison failure with 174455 on OpenBSD

2011-08-07 Thread gerald at pfeifer dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49246 Gerald Pfeifer changed: What|Removed |Added CC||gerald at pfeifer dot com --- Comment #1

[Bug bootstrap/49242] Bootstrap comparison failure

2011-08-07 Thread gerald at pfeifer dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49242 Gerald Pfeifer changed: What|Removed |Added CC||gerald at pfeifer dot com --- Comment #1

[Bug target/49781] [x32] Unnecessary lea in x32 mode

2011-08-07 Thread ubizjak at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49781 --- Comment #28 from Uros Bizjak 2011-08-07 07:31:06 UTC --- Reduced testcase: --cut here-- void test (__int128 *array, int idx, int off) { __int128 *dest = &array [idx]; dest[0] += 1; dest[off] = 0; } --cut here-- $ cc1 -O2 -mx32 -quiet