[Bug libstdc++/21772] exception safety testing

2010-01-01 Thread paolo dot carlini at oracle dot com
--- Comment #19 from paolo dot carlini at oracle dot com 2010-01-01 10:14 --- (In reply to comment #18) It does happen when swapping arrays. I believe that array::swap does have a strong requirement via 23.2.1 p 10, but have xfailed this for the moment. In that case we have clearly

[Bug bootstrap/42566] Bootstrap fails in stage3 building the libstdc++ PCH

2010-01-01 Thread fxcoudert at gcc dot gnu dot org
--- Comment #1 from fxcoudert at gcc dot gnu dot org 2010-01-01 10:27 --- Can you give us the output of the configure line? It should say somewhere: checking where to find the target c++... just compiled checking where to find the target c++ for libstdc++... just compiled --

[Bug libstdc++/21772] exception safety testing

2010-01-01 Thread paolo dot carlini at oracle dot com
--- Comment #20 from paolo dot carlini at oracle dot com 2010-01-01 10:46 --- ... I meant, still copy constructor, copy assignment, etc, can't throw ;) -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21772

[Bug libstdc++/21772] exception safety testing

2010-01-01 Thread paolo dot carlini at oracle dot com
--- Comment #21 from paolo dot carlini at oracle dot com 2010-01-01 11:03 --- In the meanwhile, I double checked N3000 for basic_string: any literal type will be allowed, thus if we want to use this type of framework for C++0x we have first to make sure that the types conform to the

[Bug target/42564] ICE on sparc - unrecognizable insn

2010-01-01 Thread debian-gcc at lists dot debian dot org
--- Comment #4 from debian-gcc at lists dot debian dot org 2010-01-01 11:06 --- the sparc64-linux compiler from the trunk is configured with --with-pkgversion='Debian 20091228-2' --with-bugurl='file:///usr/share/doc/gcc-snapshot/README.Bugs'

[Bug c++/42346] darwin instantiation vs. optimization oddity

2010-01-01 Thread fxcoudert at gcc dot gnu dot org
--- Comment #4 from fxcoudert at gcc dot gnu dot org 2010-01-01 12:21 --- (In reply to comment #3) GNU C++ (GCC) version 4.5.0 20091206 (experimental) (x86_64-apple-darwin10.2.0) Fails. Works with g++ 20100101 (rev. 155544), on x86_64-apple-darwin10.2.0. Compiled with: g++ -std=c

[Bug driver/41564] -fdump-tree-all for lto does not work as expected

2010-01-01 Thread rguenth at gcc dot gnu dot org
--- Comment #14 from rguenth at gcc dot gnu dot org 2010-01-01 12:31 --- What about -fdump-rtl-* and -fdump-ipa-*? They have the same problem. Note that this still wouldn't get what I would expect when doing gcc -flto -fdump-tree-all -O2 -o t t.c as you'd get a t.c.*.optimized tree

[Bug libstdc++/38092] [4.3 Regression] libstdc++ doesn't build with GNU ld 2.19 and Sun as: no .symver support

2010-01-01 Thread paolo dot carlini at oracle dot com
--- Comment #13 from paolo dot carlini at oracle dot com 2010-01-01 13:08 --- At this point, I don't think we are going to do anything in the 4_3-branch... otherwise, please remember to adjust the milestone. -- paolo dot carlini at oracle dot com changed: What

[Bug libstdc++/38092] [4.3 Regression] libstdc++ doesn't build with GNU ld 2.19 and Sun as: no .symver support

2010-01-01 Thread paolo dot carlini at oracle dot com
--- Comment #14 from paolo dot carlini at oracle dot com 2010-01-01 13:08 --- Fixed. -- paolo dot carlini at oracle dot com changed: What|Removed |Added

[Bug libgomp/38086] [4.3 Regression] libgomp fails to build if assembler doesn't support .symver

2010-01-01 Thread paolo dot carlini at oracle dot com
--- Comment #17 from paolo dot carlini at oracle dot com 2010-01-01 13:09 --- Same here... -- paolo dot carlini at oracle dot com changed: What|Removed |Added

[Bug c/42570] New: [4.5 Regression] ICE in get_alias_set, at alias.c:710

2010-01-01 Thread rguenth at gcc dot gnu dot org
The C frontend disturbs the canonical type hierarchy for typedef unsigned char uint8_t; uint8_t foo[1][0]; ./cc1 -quiet t.c -O2 t.c:2:1: internal compiler error: in get_alias_set, at alias.c:710 Please submit a full bug report, with preprocessed source if appropriate. See

[Bug c/42570] [4.5 Regression] ICE in get_alias_set, at alias.c:710

2010-01-01 Thread rguenth at gcc dot gnu dot org
-- rguenth at gcc dot gnu dot org changed: What|Removed |Added Target Milestone|--- |4.5.0 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42570

[Bug middle-end/41925] ICE in get_alias_set, at alias.c:710

2010-01-01 Thread rguenth at gcc dot gnu dot org
--- Comment #5 from rguenth at gcc dot gnu dot org 2010-01-01 13:43 --- But it's a different bug. PR42570. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41925

[Bug c/42570] [4.5 Regression] ICE in get_alias_set, at alias.c:710

2010-01-01 Thread rguenth at gcc dot gnu dot org
--- Comment #1 from rguenth at gcc dot gnu dot org 2010-01-01 13:49 --- Mine. -- rguenth at gcc dot gnu dot org changed: What|Removed |Added

[Bug middle-end/42559] [4.5 Regression] ice in emit_block_move_hints with -O2

2010-01-01 Thread rguenth at gcc dot gnu dot org
--- Comment #4 from rguenth at gcc dot gnu dot org 2010-01-01 13:57 --- Fixed. -- rguenth at gcc dot gnu dot org changed: What|Removed |Added Status|ASSIGNED

[Bug middle-end/42559] [4.5 Regression] ice in emit_block_move_hints with -O2

2010-01-01 Thread rguenth at gcc dot gnu dot org
--- Comment #5 from rguenth at gcc dot gnu dot org 2010-01-01 13:57 --- Subject: Bug 42559 Author: rguenth Date: Fri Jan 1 13:56:50 2010 New Revision: 14 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=14 Log: 2010-01-01 Richard Guenther rguent...@suse.de PR

[Bug c++/42569] ICE in cp_parser_parenthesized_expression_list at cp/parser.c

2010-01-01 Thread rguenth at gcc dot gnu dot org
--- Comment #2 from rguenth at gcc dot gnu dot org 2010-01-01 14:02 --- Can you attach the original unreduced testcase? With trunk I get t.ii:6:109: error: 'guint' has not been declared t.ii:6:128: error: 'GValue' has not been declared t.ii:6:143: error: 'GParamSpec' has not been

[Bug bootstrap/42566] Bootstrap fails in stage3 building the libstdc++ PCH

2010-01-01 Thread 3dw4rd at verizon dot net
--- Comment #2 from 3dw4rd at verizon dot net 2010-01-01 15:14 --- Here is the full output: MacOSX:~/obj ed$ ../gcc/configure --prefix=/Users/ed/bin --with-gmp=/usr/local --with-mpfr=/usr/local --with-mpc=/usr/local --enable-decimal-float --enable-languages=c,c++,fortran,objc,obj-c++

[Bug c/42571] New: internal compiler error: Illegal instruction when handling moon.c file

2010-01-01 Thread badcloud56 at yahoo dot com
--system type: Openmoko Neo Freerunner w/400/500 MHz Samsung 2442B Processor/SOC (400 minimum, ARM920T core, ARMv4T) --options given when GCC was configured/built Configured with: /home/shr/shr-testing/tmp/work/armv4t-oe-linux-gnueabi/gcc-4.4.2-r0.1/gcc-4.4.2/configure --build=x86_64-linux

[Bug c/42571] internal compiler error: Illegal instruction when handling moon.c file

2010-01-01 Thread badcloud56 at yahoo dot com
--- Comment #1 from badcloud56 at yahoo dot com 2010-01-01 15:53 --- Created an attachment (id=19435) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=19435action=view) *.i filegenerated by adding -save-temps -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42571

[Bug c++/42572] New: internal compiler error: Segmentation fault with pair

2010-01-01 Thread nico at josuttis dot de
This little program: #include utility #include vector int main() { std::pairfloat,std::vectorint p(7.7, {3,7,4,8}); } results in internal compiler error: Segmentation fault with pair -- Summary: internal compiler error: Segmentation fault with pair Product: gcc

[Bug libstdc++/42573] New: shrink_to_fit() missing

2010-01-01 Thread nico at josuttis dot de
For vector, deque, and string the new member function shrink_to_fit() is missing. -- Summary: shrink_to_fit() missing Product: gcc Version: 4.4.2 Status: UNCONFIRMED Severity: normal Priority: P3 Component: libstdc++

[Bug middle-end/42393] [4.5 Regression] [graphite] internal compiler error: in check_loop_closed_ssa_use

2010-01-01 Thread dominiq at lps dot ens dot fr
--- Comment #9 from dominiq at lps dot ens dot fr 2010-01-01 16:05 --- Confirmed with both -m32 or -m64 on x86_64-apple-darwin10 (revision 155540) and on powerpc-apple-darwin9 (revision 155525: see http://gcc.gnu.org/ml/gcc-testresults/2010-01/msg00043.html ). Also fails on

[Bug lto/42531] FAIL: gcc.c-torture/compile/20011119-1.c

2010-01-01 Thread hjl at gcc dot gnu dot org
--- Comment #6 from hjl at gcc dot gnu dot org 2010-01-01 16:49 --- Subject: Bug 42531 Author: hjl Date: Fri Jan 1 16:49:15 2010 New Revision: 15 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=15 Log: Remove asterisk in LTO section name. 2010-01-01 H.J. Lu

[Bug driver/42520] lto1 does not see -march and -mtune options

2010-01-01 Thread d dot g dot gorbachev at gmail dot com
--- Comment #2 from d dot g dot gorbachev at gmail dot com 2010-01-01 16:51 --- Created an attachment (id=19436) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=19436action=view) Output of -v Does not work for me without --with-arch / --with-tune. --

[Bug libstdc++/42573] shrink_to_fit() missing

2010-01-01 Thread paolo dot carlini at oracle dot com
--- Comment #1 from paolo dot carlini at oracle dot com 2010-01-01 17:08 --- Yeah, *a lot* of C++0x things are missing, or still incorrectly implemented, in general we are not tracking in Bugzilla each! -- paolo dot carlini at oracle dot com changed: What|Removed

[Bug c/42544] Bad codegen with signed short cast to unsigned int, then promoted to unsigned long long

2010-01-01 Thread rguenth at gcc dot gnu dot org
--- Comment #4 from rguenth at gcc dot gnu dot org 2010-01-01 17:09 --- I can't make sens of /* If primop0 was sign-extended and unsigned comparison specd, we did a signed comparison above using the signed type bounds. But the comparison we output must be

[Bug c++/42572] internal compiler error: Segmentation fault with pair

2010-01-01 Thread paolo dot carlini at oracle dot com
--- Comment #1 from paolo dot carlini at oracle dot com 2010-01-01 17:15 --- Current release branch and mainline give: .../stl_pair.h:88: warning: in call to ‘std::pair_T1, _T2::pair(_U1, _U2) [with _U1 = double, _U2 = std::initializer_listint, _T1 = float, _T2 = std::vectorint,

[Bug driver/42520] lto1 does not see -march and -mtune options

2010-01-01 Thread rguenth at gcc dot gnu dot org
--- Comment #3 from rguenth at gcc dot gnu dot org 2010-01-01 17:16 --- It looks like the linker plugin doesn't get the -march command line flag passed. It works for me without -fuse-linker-plugin. -- rguenth at gcc dot gnu dot org changed: What|Removed

[Bug c++/42572] internal compiler error: Segmentation fault with pair

2010-01-01 Thread paolo dot carlini at oracle dot com
--- Comment #2 from paolo dot carlini at oracle dot com 2010-01-01 17:17 --- Oops, the warning message begins like this: 42572.cc: In function ‘int main()’: 42572.cc:6: warning: deducing ‘_U2’ as ‘std::initializer_listint’ -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42572

[Bug c/42570] [4.5 Regression] ICE in get_alias_set, at alias.c:710

2010-01-01 Thread rguenth at gcc dot gnu dot org
--- Comment #3 from rguenth at gcc dot gnu dot org 2010-01-01 17:19 --- Fixed. -- rguenth at gcc dot gnu dot org changed: What|Removed |Added Status|ASSIGNED

[Bug c/42570] [4.5 Regression] ICE in get_alias_set, at alias.c:710

2010-01-01 Thread rguenth at gcc dot gnu dot org
--- Comment #2 from rguenth at gcc dot gnu dot org 2010-01-01 17:19 --- Subject: Bug 42570 Author: rguenth Date: Fri Jan 1 17:19:02 2010 New Revision: 17 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=17 Log: 2010-01-01 Richard Guenther rguent...@suse.de PR

[Bug middle-end/42574] New: Address of global variable is calculated multiple times; CSE doesn't work properly

2010-01-01 Thread sliao at google dot com
The following code (by Alex Vod.) struct A { char a[400]; float* c; }; struct A glob; void func(); void func1(float*); int func2(float*, int*); void func3(float*); void test(int *p) { func1(glob.c); if (func2(glob.c, p)) { func(); } func3(glob.c); } is compiled by gcc 4.2.1 to 56

[Bug c/42575] New: arm-eabi-gcc 4.2.1 64-bit multiply weirdness

2010-01-01 Thread sliao at google dot com
Given the following complete source file: long long longfunc(long long x, long long y) { return x * y; } Compile with ARM EABI gcc 4.2.1: % arm-eabi-gcc -c -O2 -save-temps mul64.c This yields mul64.i: # 1 mul64.c # 1 built-in # 1 command-line # 1 mul64.c long long longfunc(long long x,

[Bug c/42571] internal compiler error: Illegal instruction when handling moon.c file

2010-01-01 Thread mikpe at it dot uu dot se
--- Comment #2 from mikpe at it dot uu dot se 2010-01-01 17:37 --- Created an attachment (id=19437) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=19437action=view) fix arm eabi default cpu type Try this patch, from debian. It corrects arm-eabi to choose an armv4t-compatible

[Bug target/42575] arm-eabi-gcc 4.2.1 64-bit multiply weirdness

2010-01-01 Thread rguenth at gcc dot gnu dot org
--- Comment #1 from rguenth at gcc dot gnu dot org 2010-01-01 17:40 --- GCC 4.2 is no longer maintained, please reproduce with current trunk. -- rguenth at gcc dot gnu dot org changed: What|Removed |Added

[Bug driver/42520] lto1 does not see -march and -mtune options

2010-01-01 Thread d dot g dot gorbachev at gmail dot com
--- Comment #4 from d dot g dot gorbachev at gmail dot com 2010-01-01 17:52 --- `-fuse-linker-plugin' is crucial to reproduce this bug. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42520

[Bug preprocessor/41947] GCC Hexadecimal Floating point constant handling

2010-01-01 Thread jsm28 at gcc dot gnu dot org
--- Comment #2 from jsm28 at gcc dot gnu dot org 2010-01-01 18:08 --- Subject: Bug 41947 Author: jsm28 Date: Fri Jan 1 18:08:17 2010 New Revision: 18 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=18 Log: libcpp: PR preprocessor/41947 * expr.c

[Bug preprocessor/41947] GCC Hexadecimal Floating point constant handling

2010-01-01 Thread jsm28 at gcc dot gnu dot org
--- Comment #3 from jsm28 at gcc dot gnu dot org 2010-01-01 18:10 --- Fixed for 4.5. -- jsm28 at gcc dot gnu dot org changed: What|Removed |Added Status|NEW

[Bug debug/42455] [4.5 Regression] -fcompare-debug failure at -O2 in 'recent' builds

2010-01-01 Thread rguenth at gcc dot gnu dot org
--- Comment #5 from rguenth at gcc dot gnu dot org 2010-01-01 18:43 --- It's a false positive, the difference is --- t2.gkd 2010-01-01 19:05:33.0 +0100 +++ t2.gk.gkd 2010-01-01 19:05:33.0 +0100 @@ -45,22 +45,22 @@ ])# {*movdi_xor_rex64}

[Bug c/42544] Bad codegen with signed short cast to unsigned int, then promoted to unsigned long long

2010-01-01 Thread rguenth at gcc dot gnu dot org
--- Comment #5 from rguenth at gcc dot gnu dot org 2010-01-01 18:55 --- Completely removing the offending code regresses in diagnostics. I'll try removing the code that doesn't make sense to me, but I fear test coverage is low in this area. --

[Bug c++/42576] New: GCC miscompiles switch statement (omits case label/block)

2010-01-01 Thread kgardas at objectsecurity dot com
Hello, first of all, I've tried hard to judge if MICO[1] code is wrong or GCC is wrong in this case, but I still think GCC is wrong here, hence reporting this. I'm not able to simplify testcase for this, but we're using following idiom: #include iostream #include cassert using namespace std;

[Bug c++/42576] GCC miscompiles switch statement (omits case label/block)

2010-01-01 Thread kgardas at objectsecurity dot com
--- Comment #1 from kgardas at objectsecurity dot com 2010-01-01 19:20 --- Created an attachment (id=19438) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=19438action=view) MICO's head preprocessed typecode.cc file -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42576

[Bug c++/42576] GCC miscompiles switch statement (omits case label/block)

2010-01-01 Thread pinskia at gcc dot gnu dot org
--- Comment #2 from pinskia at gcc dot gnu dot org 2010-01-01 19:21 --- If tckind is really an enum, then the behavior of gcc is correct. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42576

[Bug c++/42576] GCC miscompiles switch statement (omits case label/block)

2010-01-01 Thread pinskia at gcc dot gnu dot org
--- Comment #3 from pinskia at gcc dot gnu dot org 2010-01-01 19:23 --- And it is. ((int)0x) is ouside the range of the enum is gcc's behavior is correct. -- pinskia at gcc dot gnu dot org changed: What|Removed |Added

[Bug c/42571] internal compiler error: Illegal instruction when handling moon.c file

2010-01-01 Thread badcloud56 at yahoo dot com
--- Comment #3 from badcloud56 at yahoo dot com 2010-01-01 19:32 --- (In reply to comment #2) Created an attachment (id=19437) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=19437action=view) [edit] fix arm eabi default cpu type Try this patch, from debian. It corrects arm-eabi

[Bug c++/42576] GCC miscompiles switch statement (omits case label/block)

2010-01-01 Thread rguenth at gcc dot gnu dot org
--- Comment #4 from rguenth at gcc dot gnu dot org 2010-01-01 19:43 --- new TypeCode(TK_RECURSIVE); is undefined and TK_RECURSIVE will be truncated to fit the enum. That might be the issue that actually breaks this. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42576

[Bug c/42571] internal compiler error: Illegal instruction when handling moon.c file

2010-01-01 Thread mikpe at it dot uu dot se
--- Comment #4 from mikpe at it dot uu dot se 2010-01-01 19:48 --- (In reply to comment #3) Try this patch, from debian. It corrects arm-eabi to choose an armv4t-compatible arm9tdmi as the default cpu type. Otherwise it may generate armv5t code, which is consistent with your illegal

[Bug c/42571] internal compiler error: Illegal instruction when handling moon.c file

2010-01-01 Thread badcloud56 at yahoo dot com
--- Comment #5 from badcloud56 at yahoo dot com 2010-01-01 19:57 --- (In reply to comment #4) (In reply to comment #3) Try this patch, from debian. It corrects arm-eabi to choose an armv4t-compatible arm9tdmi as the default cpu type. Otherwise it may generate armv5t code,

[Bug middle-end/42574] Address of global variable is calculated multiple times; CSE doesn't work properly

2010-01-01 Thread steven at gcc dot gnu dot org
--- Comment #1 from steven at gcc dot gnu dot org 2010-01-01 20:16 --- Probably doesn't work in CSE because -fcse-skip-blocks was removed (for good reason). You should try to find out why gcse.c doesn't eliminate this. There could be (should have been?) a REG_EQUAL note to take care of

[Bug debug/42455] [4.5 Regression] -fcompare-debug failure at -O2 in 'recent' builds

2010-01-01 Thread rguenth at gcc dot gnu dot org
--- Comment #6 from rguenth at gcc dot gnu dot org 2010-01-01 20:22 --- Subject: Bug 42455 Author: rguenth Date: Fri Jan 1 20:22:17 2010 New Revision: 19 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=19 Log: 2010-01-01 Richard Guenther rguent...@suse.de PR

[Bug debug/42455] [4.5 Regression] -fcompare-debug failure at -O2 in 'recent' builds

2010-01-01 Thread rguenth at gcc dot gnu dot org
--- Comment #7 from rguenth at gcc dot gnu dot org 2010-01-01 20:22 --- Fixed. -- rguenth at gcc dot gnu dot org changed: What|Removed |Added Status|ASSIGNED

[Bug driver/42520] lto1 does not see -march and -mtune options

2010-01-01 Thread steven at gcc dot gnu dot org
--- Comment #5 from steven at gcc dot gnu dot org 2010-01-01 20:25 --- IMHO this ought to be fixed before gcc 4.5 is released. Diego, agree? -- steven at gcc dot gnu dot org changed: What|Removed |Added

[Bug c++/42576] GCC miscompiles switch statement (omits case label/block)

2010-01-01 Thread kgardas at objectsecurity dot com
--- Comment #5 from kgardas at objectsecurity dot com 2010-01-01 20:34 --- yes, tckind is enum. Thanks for pointing out that this is MICO code issue. If you also could be so kind and cite some C++/C language specification point which GCC follows here and which all older GCC releases

[Bug c++/42555] [4.5 Regression] 16-byte aligned double is disallowed only in templates

2010-01-01 Thread rguenth at gcc dot gnu dot org
-- rguenth at gcc dot gnu dot org changed: What|Removed |Added Summary|4.5 regression: 16-byte |[4.5 Regression] 16-byte |aligned double is

[Bug middle-end/42574] [4.3/4.4/4.5 Regression] Address of global variable is calculated multiple times (missed CSE)

2010-01-01 Thread steven at gcc dot gnu dot org
-- steven at gcc dot gnu dot org changed: What|Removed |Added Known to fail||4.3.3 4.4.2 4.5.0 Known to work|

[Bug middle-end/42574] [4.3/4.4/4.5 Regression] Address of global variable is calculated multiple times (missed CSE)

2010-01-01 Thread rguenth at gcc dot gnu dot org
-- rguenth at gcc dot gnu dot org changed: What|Removed |Added Target Milestone|4.3.6 |4.3.5 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42574

[Bug middle-end/42574] [4.3/4.4/4.5 Regression] Address of global variable is calculated multiple times (missed CSE)

2010-01-01 Thread rguenth at gcc dot gnu dot org
--- Comment #2 from rguenth at gcc dot gnu dot org 2010-01-01 20:39 --- I would say that at -Os we don't run RTL PRE? -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42574

[Bug middle-end/42574] [4.3/4.4/4.5 Regression] Address of global variable is calculated multiple times (missed CSE)

2010-01-01 Thread steven at gcc dot gnu dot org
--- Comment #3 from steven at gcc dot gnu dot org 2010-01-01 20:44 --- CPROP should handle this, since the address is a constant if a proper REG_EQUAL note is placed on the (set (reg) (address)). -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42574

[Bug middle-end/42574] [4.3/4.4/4.5 Regression] Address of global variable is calculated multiple times (missed CSE)

2010-01-01 Thread steven at gcc dot gnu dot org
--- Comment #4 from steven at gcc dot gnu dot org 2010-01-01 21:00 --- Actually, no - you're right, this is not something CPROP would handle. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42574

[Bug middle-end/42577] New: array bounds false positive with -O3, goes away with -O2

2010-01-01 Thread matt at use dot net
when building ScummVM (http://scummvm.org) using GCC 4.4.1 on Ubuntu 9.10/amd64: m...@ghuang-desktop:~/src/scummvm$ g++-4.4 -Wp,-MMD,engines/saga/.deps/animation.d,-MQ,engines/saga/animation.o,-MP -Wall -Werror -g -ansi -W -Wno-unused-parameter -Wno-empty-body -pedantic -Wno-long-long

[Bug middle-end/42577] array bounds false positive with -O3, goes away with -O2

2010-01-01 Thread matt at use dot net
--- Comment #1 from matt at use dot net 2010-01-01 21:02 --- Created an attachment (id=19439) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=19439action=view) pre-processed output of the file that emitted the warning commandline: g++-4.4

[Bug middle-end/42577] array bounds false positive with -O3, goes away with -O2

2010-01-01 Thread matt at use dot net
--- Comment #2 from matt at use dot net 2010-01-01 21:16 --- sorry, I lied. This is still an issue in GCC 4.5.20091228. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42577

[Bug c++/42569] ICE in cp_parser_parenthesized_expression_list at cp/parser.c

2010-01-01 Thread dirtyepic at gentoo dot org
--- Comment #3 from dirtyepic at gentoo dot org 2010-01-01 22:18 --- Created an attachment (id=19440) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=19440action=view) gstapev2mux.ii.bz2 -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42569

[Bug middle-end/42577] array bounds false positive with -O3, goes away with -O2

2010-01-01 Thread rguenth at gcc dot gnu dot org
--- Comment #3 from rguenth at gcc dot gnu dot org 2010-01-01 22:42 --- The array indexing is done with D.25175_104, but D.25173_102 = (uint16) cutawaySlot_256; D.25174_103 = D.25173_102 + 10; D.25175_104 = (int) D.25174_103; ... if (D.25174_103 9) goto bb 26; else

[Bug lto/41597] Bad .comm directive

2010-01-01 Thread rguenth at gcc dot gnu dot org
--- Comment #5 from rguenth at gcc dot gnu dot org 2010-01-01 23:10 --- I have a patch. -- rguenth at gcc dot gnu dot org changed: What|Removed |Added

[Bug c++/42555] [4.5 Regression] 16-byte aligned double is disallowed only in templates

2010-01-01 Thread hjl dot tools at gmail dot com
--- Comment #3 from hjl dot tools at gmail dot com 2010-01-01 23:48 --- It is caused by revision 155246: http://gcc.gnu.org/ml/gcc-cvs/2009-12/msg00390.html -- hjl dot tools at gmail dot com changed: What|Removed |Added

[Bug middle-end/42574] [4.3/4.4/4.5 Regression] Address of global variable is calculated multiple times (missed CSE)

2010-01-01 Thread steven at gcc dot gnu dot org
--- Comment #5 from steven at gcc dot gnu dot org 2010-01-02 00:12 --- Playing with a classic-GCSE pass (resurrected from svn...). No idea yet if it will help, but nonetheless mine in the mean time. -- steven at gcc dot gnu dot org changed: What|Removed

[Bug rtl-optimization/39871] [4.3/4.4/4.5 regression] Code size increase on ARM due to inferior CSE

2010-01-01 Thread steven at gcc dot gnu dot org
--- Comment #5 from steven at gcc dot gnu dot org 2010-01-02 00:21 --- Re. comment #1: Paulo, which compiler did you use (svn revision number)? -- steven at gcc dot gnu dot org changed: What|Removed |Added

[Bug target/41311] [4.5 regression] m68k - FFmpeg crashes when converting mpg to avi

2010-01-01 Thread ami_stuff at o2 dot pl
--- Comment #11 from ami_stuff at o2 dot pl 2010-01-02 00:41 --- The problematic function is as was said ff_rate_estimate_qscale. I found out which optimizations causes the problem: -m68020 -m68881 -O1 -fno-tree-ccp -fno-tree-dominator-opts (works ok). -m68020 -m68881 -O1 (Abort

[Bug rtl-optimization/39837] [4.3/4.4/4.5 regression] extra spills due to RTL LICM

2010-01-01 Thread steven at gcc dot gnu dot org
--- Comment #6 from steven at gcc dot gnu dot org 2010-01-02 00:42 --- Working with gcc (GCC) 4.5.0 20090808 (experimental) [trunk revision 150579], I looked at what loop-invariant.c did to the test case. This is the t.c.154r.loop2 RTL dump (obtained with -fdump-rtl-all-slim): ;;

[Bug target/41311] [4.5 regression] m68k - FFmpeg crashes when converting mpg to avi

2010-01-01 Thread ami_stuff at o2 dot pl
--- Comment #12 from ami_stuff at o2 dot pl 2010-01-02 00:47 --- Created an attachment (id=19441) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=19441action=view) files -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41311

[Bug tree-optimization/39839] [4.3/4.4/4.5 regression] loop invariant motion causes stack spill

2010-01-01 Thread steven at gcc dot gnu dot org
--- Comment #7 from steven at gcc dot gnu dot org 2010-01-02 00:49 --- With GCC: (GNU) 4.5.0 20090808 (experimental) [trunk revision 150579] I get: .arch armv5te .fpu softvfp .eabi_attribute 20, 1 .eabi_attribute 21, 1 .eabi_attribute 23, 3

[Bug middle-end/39838] [4.3/4.4/4.5 regression] unoptimal code for two simple loops

2010-01-01 Thread steven at gcc dot gnu dot org
--- Comment #5 from steven at gcc dot gnu dot org 2010-01-02 00:52 --- From GCC: (GNU) 4.5.0 20090808 (experimental) [trunk revision 150579]: 1 @ 1 bl 1 pop 1 push 1 sub 2 cmp 2 str 4 add 4 mov 7 ldr test: push

[Bug middle-end/39838] [4.3/4.4/4.5 regression] unoptimal code for two simple loops

2010-01-01 Thread steven at gcc dot gnu dot org
--- Comment #6 from steven at gcc dot gnu dot org 2010-01-02 00:57 --- On x86 -O2: 1 call 1 leal 1 ret 1 subl 2 cmpl 2 testl 2 xorl 3 addl 4 popl 4 pushl 20 movl test: pushl %ebp movl%esp, %ebp

[Bug tree-optimization/28632] VRP should understand bitwise OR and AND

2010-01-01 Thread steven at gcc dot gnu dot org
--- Comment #18 from steven at gcc dot gnu dot org 2010-01-02 01:00 --- Re. comment #17: Any plans to finish this for GCC 4.6 stage 1? -- steven at gcc dot gnu dot org changed: What|Removed |Added

[Bug middle-end/27016] ARM optimizer produces severely suboptimal code

2010-01-01 Thread steven at gcc dot gnu dot org
--- Comment #6 from steven at gcc dot gnu dot org 2010-01-02 01:05 --- Comment #3 and comment #5 still true with GCC: (GNU) 4.5.0 20090808 (experimental) [trunk revision 150579] - reconfirmed. -- steven at gcc dot gnu dot org changed: What|Removed

[Bug driver/41564] -fdump-tree-all for lto does not work as expected

2010-01-01 Thread hjl dot tools at gmail dot com
--- Comment #15 from hjl dot tools at gmail dot com 2010-01-02 01:14 --- Created an attachment (id=19442) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=19442action=view) A patch lto-wrapper translates /export/build/gnu/gcc/build-x86_64-linux/gcc/xgcc

[Bug driver/41564] -fdump-tree-all for lto does not work as expected

2010-01-01 Thread hjl dot tools at gmail dot com
--- Comment #16 from hjl dot tools at gmail dot com 2010-01-02 01:25 --- Created an attachment (id=19443) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=19443action=view) A patch to fix a typo -- hjl dot tools at gmail dot com changed: What|Removed

[Bug bootstrap/42529] Stage 1 compiler cannot compile

2010-01-01 Thread mckelvey at maskull dot com
--- Comment #7 from mckelvey at maskull dot com 2010-01-02 01:27 --- OK I do not know this code. But it looks to me like it never even looks at the source file. It fails because do_spec doesn't seem to find anything to do. (gdb) print spec $12 = 0x427e24 %{E|M|MM:%(trad_capable_cpp)

[Bug c/42557] gcc no compile for m68k(coff/elf)

2010-01-01 Thread miltoncsl at yahoo dot com
--- Comment #3 from miltoncsl at yahoo dot com 2010-01-02 02:51 --- I quoted the compilation of the binutils because it is part of the process for the construction of gcc. From your indication of version 2.16.1, I knew that this was the last that supported the coff format. I used the

[Bug libstdc++/38081] time_get::do_get_weekday does not always recognize full names of weekdays

2010-01-01 Thread paolo dot carlini at oracle dot com
--- Comment #3 from paolo dot carlini at oracle dot com 2010-01-02 03:06 --- I'm working on this, and I want to make sure we agree about the third case. As I understand the Standard, the expected is 1, not -1, that is, I don't see anything wrong with parsing Pndedelnik as Pnd followed

[Bug fortran/42568] BLOCKDATA referenced in EXTERNAL not loading from library

2010-01-01 Thread urbanjost at comcast dot net
--- Comment #6 from urbanjost at comcast dot net 2010-01-02 07:50 --- Subject: Re: BLOCKDATA referenced in EXTERNAL not loading from library I am using Vista. I reinstalled. No luck. I updated CygWin 1.7 again and did a reinstall on the developer package and the base package; got