[Bug middle-end/37884] [4.4 Regression] Bootstrap failure due to miscompilation of tree-vrp.c

2008-10-26 Thread hjl at gcc dot gnu dot org
--- Comment #3 from hjl at gcc dot gnu dot org 2008-10-26 06:54 --- Subject: Bug 37884 Author: hjl Date: Sun Oct 26 06:53:25 2008 New Revision: 141371 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=141371 Log: 2008-10-25 Vladimir Makarov [EMAIL PROTECTED] PR

[Bug middle-end/37813] assert with IRA_COVER_CLASSES with singleton

2008-10-26 Thread hjl at gcc dot gnu dot org
--- Comment #6 from hjl at gcc dot gnu dot org 2008-10-26 07:16 --- Subject: Bug 37813 Author: hjl Date: Sun Oct 26 07:14:49 2008 New Revision: 141372 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=141372 Log: 2008-10-25 Vladimir Makarov [EMAIL PROTECTED] PR

[Bug c/37918] New: bitfield shift fails with optimizer (-O2)

2008-10-26 Thread ata at earthdetails dot com
A bitfield, less than 64 bits, does not zero out when a 1 is shifted left passed the left most bit. The following test will return 65 instead of 57. command line: gcc -Wall -O2 gcc-bitfield-bug.c gcc-bitfield-bug.c: #include stdio.h //64 bit bitfield struct aa { unsigned long long f:( 56 )

[Bug c/37918] bitfield shift fails with optimizer (-O2)

2008-10-26 Thread ata at earthdetails dot com
--- Comment #1 from ata at earthdetails dot com 2008-10-26 07:22 --- Created an attachment (id=16550) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=16550action=view) test case The test produces 57 without the optimizer and 65 with the optimizer (-O2) --

[Bug target/37909] internal compiler error: in fixup_mova, at config/sh/sh.c:3756

2008-10-26 Thread kkojima at gcc dot gnu dot org
--- Comment #4 from kkojima at gcc dot gnu dot org 2008-10-26 08:26 --- sh_reorg might insert a new mova in SH_FIXUP_PCLOAD phase. When untangle_mova looks this mova insn, it may not be associated with the insn address yet but the current code takes its undefined address. It seems that

[Bug target/35018] [m68k-elf] Gcc ouputs invalid asm when compiling with -O2 or higher

2008-10-26 Thread nizze86 at hotmail dot com
--- Comment #3 from nizze86 at hotmail dot com 2008-10-26 11:25 --- Created an attachment (id=16551) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=16551action=view) Reduced testcase A reduced testcase derived from the preprocessed sources. --

[Bug target/35018] [m68k-elf] Gcc ouputs invalid asm when compiling with -O2 or higher

2008-10-26 Thread nizze86 at hotmail dot com
--- Comment #4 from nizze86 at hotmail dot com 2008-10-26 11:28 --- (In reply to comment #3) Created an attachment (id=16551) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=16551action=view) [edit] Reduced testcase A reduced testcase derived from the preprocessed sources.

[Bug libstdc++/37919] New: [c++0x] GCC 4.4 regression r141214 of gcc c++0x stl_pair.c causes a boost 1.36 compilation to fail

2008-10-26 Thread indy2718 at gmail dot com
I noticed that a recent change in gcc with -std=c++0x causes the compilation of one of my programs to fail. I was using boost regular expressions. stl_pair:166 #include iostream #include boost/regex.hpp int main() { boost::regex expression(^[:space:]*#); char buf[1024];

[Bug c++/37920] New: ICE (segv) with typename typeof

2008-10-26 Thread gcc at keithr dot com
When compiling the attached code, I get an ICE: $ /usr/lib/gcc-snapshot/bin/g++ -v -Q -save-temps -c ice.cpp Using built-in specs. Target: i486-linux-gnu Configured with: ../src/configure -v --with-pkgversion='Ubuntu 20080404-0ubuntu1' --with-bugurl=file:///usr/share/doc/gcc-snapshot/README.Bugs

[Bug c++/37920] ICE (segv) with typename typeof

2008-10-26 Thread gcc at keithr dot com
--- Comment #1 from gcc at keithr dot com 2008-10-26 17:36 --- Created an attachment (id=16552) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=16552action=view) preprocessed source file that triggers the ICE -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37920

[Bug c/37921] New: __builtin_constant_p seems to be giving false positives

2008-10-26 Thread arjan at linux dot intel dot com
__builtin_constant_p seems to be giving a false positive as shown by the testcase that I'll attach to this bug. This is causing a warning in the Linux kernel build -- Summary: __builtin_constant_p seems to be giving false positives Product: gcc Version: 4.3.0

[Bug c/37921] __builtin_constant_p seems to be giving false positives

2008-10-26 Thread arjan at linux dot intel dot com
--- Comment #1 from arjan at linux dot intel dot com 2008-10-26 18:17 --- Created an attachment (id=16553) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=16553action=view) test case for bug 37921 gcc -c -Wall -Os -fno-strict-aliasing -o fadt.o fadt.c leads to: fadt.c: In

[Bug libstdc++/37919] [c++0x] GCC 4.4 regression r141214 of gcc c++0x stl_pair.c causes a boost 1.36 compilation to fail

2008-10-26 Thread paolo dot carlini at oracle dot com
--- Comment #1 from paolo dot carlini at oracle dot com 2008-10-26 18:24 --- Doug, can you advice about this issue? Otherwise, to be safe, I have to revert for 4.4.0 your patch. -- paolo dot carlini at oracle dot com changed: What|Removed |Added

[Bug c++/37922] New: code generation error

2008-10-26 Thread rwgk at yahoo dot com
Platform: Fedora release 8 (Werewolf) Linux chevy.lbl.gov 2.6.23.15-137.fc8 #1 SMP Sun Feb 10 17:03:13 EST 2008 x86_64 x86_64 x86_64 GNU/Linux % g++ -v Using built-in specs. Target: x86_64-unknown-linux-gnu Configured with: /net/chevy/raid1/rwgk/gcc_trunk/configure

[Bug c++/9050] Can't explicitly specialize C++ constructor templates

2008-10-26 Thread manu at gcc dot gnu dot org
--- Comment #10 from manu at gcc dot gnu dot org 2008-10-26 22:01 --- It seems that the problem is cp_parser_template_id fails to parse Yint as a template-id because when it does a lookup it finds that Y is just a non-template class and concludes that Yint cannot be a template-id. This

[Bug c/37921] __builtin_constant_p seems to be giving false positives

2008-10-26 Thread hjl dot tools at gmail dot com
--- Comment #2 from hjl dot tools at gmail dot com 2008-10-26 22:06 --- *** This bug has been marked as a duplicate of 36902 *** -- hjl dot tools at gmail dot com changed: What|Removed |Added

[Bug middle-end/36902] Array bound warning with dead code after optimization

2008-10-26 Thread hjl dot tools at gmail dot com
--- Comment #24 from hjl dot tools at gmail dot com 2008-10-26 22:06 --- *** Bug 37921 has been marked as a duplicate of this bug. *** -- hjl dot tools at gmail dot com changed: What|Removed |Added

[Bug c/16804] Function pointer assignment/initialization (missing warning)

2008-10-26 Thread manu at gcc dot gnu dot org
--- Comment #5 from manu at gcc dot gnu dot org 2008-10-26 22:12 --- There is no warning in GCC 4.4, not even with pedantic. Should we really try to warn about this? -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=16804

[Bug c/37921] __builtin_constant_p seems to be giving false positives

2008-10-26 Thread manu at gcc dot gnu dot org
--- Comment #3 from manu at gcc dot gnu dot org 2008-10-26 22:24 --- H.J. Lu Why do you think this is a duplicate? I will keep it open and see if the patch that fixes PR 36902, also fixes this. -- manu at gcc dot gnu dot org changed: What|Removed

[Bug c/37921] __builtin_constant_p seems to be giving false positives

2008-10-26 Thread manu at gcc dot gnu dot org
--- Comment #4 from manu at gcc dot gnu dot org 2008-10-26 22:40 --- BTW, this is confirmed in GCC 4.4. -- manu at gcc dot gnu dot org changed: What|Removed |Added

[Bug c/37921] __builtin_constant_p seems to be giving false positives

2008-10-26 Thread pinskia at gcc dot gnu dot org
--- Comment #5 from pinskia at gcc dot gnu dot org 2008-10-27 00:17 --- (In reply to comment #3) H.J. Lu Why do you think this is a duplicate? I will keep it open and see if the patch that fixes PR 36902, also fixes this. Because PR 36902 is a reduced testcase from the source

[Bug middle-end/36902] Array bound warning with dead code after optimization

2008-10-26 Thread pinskia at gcc dot gnu dot org
--- Comment #25 from pinskia at gcc dot gnu dot org 2008-10-27 00:17 --- *** Bug 37921 has been marked as a duplicate of this bug. *** -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36902

[Bug c++/37922] code generation error

2008-10-26 Thread pinskia at gcc dot gnu dot org
--- Comment #1 from pinskia at gcc dot gnu dot org 2008-10-27 00:18 --- With out a testcase, it is hard to tell if it was reported before or not. Also does -fwrapv allows for the code to work? what type is rot_mx? -- pinskia at gcc dot gnu dot org changed: What

[Bug c++/37920] ICE (segv) with typename typeof

2008-10-26 Thread pinskia at gcc dot gnu dot org
-- pinskia at gcc dot gnu dot org changed: What|Removed |Added Severity|critical|normal http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37920

[Bug c/37921] __builtin_constant_p seems to be giving false positives

2008-10-26 Thread manu at gcc dot gnu dot org
--- Comment #6 from manu at gcc dot gnu dot org 2008-10-27 00:20 --- Then the reduction missed something because I have a patch that fixes pr36902 and it doesn't fix this. http://gcc.gnu.org/ml/gcc-patches/2008-10/msg01117.html -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37921

[Bug c/37917] inline functions are lost when defining c99/gnu99 without inline optimizations

2008-10-26 Thread pinskia at gcc dot gnu dot org
--- Comment #1 from pinskia at gcc dot gnu dot org 2008-10-27 00:22 --- This is correct behavior. C99 inline by itself is what GNU C90 calls extern inline. That is inline if it can be, otherwise don't emit code for the function. extern inline for C99 says always emit the function.

[Bug c++/37920] ICE (segv) with typename typeof

2008-10-26 Thread pinskia at gcc dot gnu dot org
--- Comment #2 from pinskia at gcc dot gnu dot org 2008-10-27 00:26 --- Reducing ... -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37920

[Bug bootstrap/37923] New: CPPFLAGS now unset for stage 1 build of libcpp files.

2008-10-26 Thread howarth at nitro dot med dot uc dot edu
Building gcc trunk with... ../gcc-4.4-20081026/configure --prefix=/sw --prefix=/sw/lib/gcc4.4 --mandir=/sw/share/man --infodir=/sw/share/info --enable-languages=c,c++,fortran,objc,java --with- arch=nocona --with-tune=generic --build=i686-apple-darwin9 --with-gmp=/sw --with-libiconv-prefix=/sw

[Bug bootstrap/37923] CPPFLAGS now unset for stage 1 build of libcpp files.

2008-10-26 Thread howarth at nitro dot med dot uc dot edu
--- Comment #1 from howarth at nitro dot med dot uc dot edu 2008-10-27 00:49 --- Created an attachment (id=16554) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=16554action=view) Toplevel Makefile from 20081016 build on i686-apple-darwin9 --

[Bug bootstrap/37923] CPPFLAGS now unset for stage 1 build of libcpp files.

2008-10-26 Thread howarth at nitro dot med dot uc dot edu
--- Comment #2 from howarth at nitro dot med dot uc dot edu 2008-10-27 00:50 --- Created an attachment (id=16555) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=16555action=view) libcpp level Makefile from 20081016 build on i686-apple-darwin9 --

[Bug bootstrap/37923] CPPFLAGS now unset for stage 1 build of libcpp files.

2008-10-26 Thread howarth at nitro dot med dot uc dot edu
--- Comment #3 from howarth at nitro dot med dot uc dot edu 2008-10-27 00:51 --- Created an attachment (id=16556) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=16556action=view) Toplevel Makefile from 20081026 build on i686-apple-darwin9 -- http://gcc.gnu.org/bugzilla

[Bug bootstrap/37923] CPPFLAGS now unset for stage 1 build of libcpp files.

2008-10-26 Thread howarth at nitro dot med dot uc dot edu
--- Comment #4 from howarth at nitro dot med dot uc dot edu 2008-10-27 00:52 --- Created an attachment (id=16557) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=16557action=view) libcpp level Makefile from 20081026 build on i686-apple-darwin9 -- http://gcc.gnu.org/bugzilla

[Bug bootstrap/37923] CPPFLAGS now unset for stage 1 build of libcpp files.

2008-10-26 Thread howarth at nitro dot med dot uc dot edu
--- Comment #5 from howarth at nitro dot med dot uc dot edu 2008-10-27 00:56 --- Created an attachment (id=16558) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=16558action=view) toplevel config.log from 20081016 -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37923

[Bug bootstrap/37923] CPPFLAGS now unset for stage 1 build of libcpp files.

2008-10-26 Thread howarth at nitro dot med dot uc dot edu
--- Comment #6 from howarth at nitro dot med dot uc dot edu 2008-10-27 00:56 --- Created an attachment (id=16559) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=16559action=view) libcpplevel config.log from 20081016 -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37923

[Bug bootstrap/37923] CPPFLAGS now unset for stage 1 build of libcpp files.

2008-10-26 Thread howarth at nitro dot med dot uc dot edu
--- Comment #7 from howarth at nitro dot med dot uc dot edu 2008-10-27 00:57 --- Created an attachment (id=16560) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=16560action=view) toplevel config.log from 20081026 -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37923

[Bug bootstrap/37923] CPPFLAGS now unset for stage 1 build of libcpp files.

2008-10-26 Thread howarth at nitro dot med dot uc dot edu
--- Comment #8 from howarth at nitro dot med dot uc dot edu 2008-10-27 00:58 --- Created an attachment (id=16561) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=16561action=view) libcpplevel config.log from 20081026 -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37923

[Bug bootstrap/37923] CPPFLAGS now unset for stage 1 build of libcpp files.

2008-10-26 Thread howarth at nitro dot med dot uc dot edu
--- Comment #9 from howarth at nitro dot med dot uc dot edu 2008-10-27 01:02 --- Created an attachment (id=16562) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=16562action=view) toplevel config.log from 20081026 -- howarth at nitro dot med dot uc dot edu changed

[Bug middle-end/37316] [4.4 Regression] Small structs are not passed correctly on hppa64-*-*

2008-10-26 Thread danglin at gcc dot gnu dot org
--- Comment #20 from danglin at gcc dot gnu dot org 2008-10-27 01:17 --- Subject: Bug 37316 Author: danglin Date: Mon Oct 27 01:16:13 2008 New Revision: 141380 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=141380 Log: 2008-10-26 John David Anglin [EMAIL PROTECTED]

[Bug bootstrap/37859] Bootstrap failure on mips64octeon-unknown-linux-gnu

2008-10-26 Thread joefoxreal at gmail dot com
--- Comment #1 from joefoxreal at gmail dot com 2008-10-27 01:26 --- similar problem for mipsel-linux on 64bit loongson2f: When I try to build gcc-4.4.0 20081022 on loongson2f machine, an error occurs on the stage3, /home/xmj/tools/build-svn-gcc/./prev-gcc/xgcc

[Bug c++/37920] ICE (segv) with typename typeof in local struct

2008-10-26 Thread pinskia at gcc dot gnu dot org
--- Comment #3 from pinskia at gcc dot gnu dot org 2008-10-27 01:32 --- Reduced testcase: templatetypename T T ensure_obj(const T); template typename T void func2(T t) { typedef __typeof__(ensure_obj(t)) ttt; struct ttt1 { ttt1( ttt arg0 ){} } ( t ); } main() {

[Bug c/37918] [4.2 Regression] bitfield shift fails with optimizer (-O2)

2008-10-26 Thread pinskia at gcc dot gnu dot org
--- Comment #2 from pinskia at gcc dot gnu dot org 2008-10-27 01:42 --- This was fixed by the patch which fixes PR 33887 So only a 4.2 regression. -fno-tree-loop-im is a work around for now. -- pinskia at gcc dot gnu dot org changed: What|Removed

[Bug c/37881] -Wunreachable-code warns for system headers macros

2008-10-26 Thread pinskia at gcc dot gnu dot org
--- Comment #7 from pinskia at gcc dot gnu dot org 2008-10-27 01:49 --- This requires us to record that the macros came from system headers and so did the expansion. Also -Wunreachable-code is useless for most cases in general because of inlining and such. -- pinskia at gcc dot gnu

[Bug tree-optimization/37879] [4.3/4.4 Regression] ICE with wrong use of noreturn attribute and optimization

2008-10-26 Thread pinskia at gcc dot gnu dot org
--- Comment #2 from pinskia at gcc dot gnu dot org 2008-10-27 01:57 --- Confirmed. 1620 if (e-dest != bb-next_bb 1621 e-dest != EXIT_BLOCK_PTR 1622 single_succ_p (e-dest) 1623 single_succ_edge (e-dest)-dest ==

[Bug bootstrap/37923] [4.4 Regression] CPPFLAGS now unset for stage 1 build of libcpp files.

2008-10-26 Thread pinskia at gcc dot gnu dot org
-- pinskia at gcc dot gnu dot org changed: What|Removed |Added Keywords||build Summary|CPPFLAGS now unset for stage|[4.4

[Bug c++/37920] ICE (segv) with typename typeof in local struct

2008-10-26 Thread pinskia at gcc dot gnu dot org
--- Comment #4 from pinskia at gcc dot gnu dot org 2008-10-27 02:00 --- 3.3 did not ICE but did give the wrong error message: t.cc: In instantiation of `func2(T) [with T = double]::ttt1': t.cc:10: instantiated from `void func2(T) [with T = double]' t.cc:15: instantiated from here

[Bug middle-end/37902] [4.3 Regression] in_system_header bug

2008-10-26 Thread pinskia at gcc dot gnu dot org
-- pinskia at gcc dot gnu dot org changed: What|Removed |Added CC||pinskia at gcc dot gnu dot |

[Bug c++/37922] code generation error

2008-10-26 Thread rwgk at yahoo dot com
--- Comment #2 from rwgk at yahoo dot com 2008-10-27 02:18 --- (In reply to comment #1) With out a testcase, it is hard to tell if it was reported before or not. Also does -fwrapv allows for the code to work? Yes! (FWIW: -ftrapv doesn't help.) what type is rot_mx? A

[Bug c++/12604] [meta-bug] typeof in template parameters

2008-10-26 Thread pinskia at gcc dot gnu dot org
--- Comment #1 from pinskia at gcc dot gnu dot org 2008-10-27 02:27 --- Since decltype has been declared as the replacement for typeof in C++. I am going to close this meta-bug as won't fix and also all the bugs which this bug referecnes to are fixed. -- pinskia at gcc dot gnu dot

[Bug bootstrap/37923] [4.4 Regression] CPPFLAGS now unset for stage 1 build of libcpp files.

2008-10-26 Thread drow at gcc dot gnu dot org
--- Comment #10 from drow at gcc dot gnu dot org 2008-10-27 02:45 --- Do you have: 2008-10-24 Daniel Jacobowitz [EMAIL PROTECTED] * Makefile.tpl (HOST_EXPORTS): Correct CPPFLAGS typo. * Makefile.in: Regenerated. What was previously setting CPPFLAGS? I don't see

[Bug c/37924] New: ice in smallest_mode_for_size, at stor-layout.c:219

2008-10-26 Thread regehr at cs dot utah dot edu
[EMAIL PROTECTED]:~/volatile/tmp51$ current-gcc -O small.c small.c: In function ‘func_142’: small.c:15: internal compiler error: in smallest_mode_for_size, at stor-layout.c:219 Please submit a full bug report, with preprocessed source if appropriate. See http://gcc.gnu.org/bugs.html for

[Bug bootstrap/37923] [4.4 Regression] CPPFLAGS now unset for stage 1 build of libcpp files.

2008-10-26 Thread howarth at nitro dot med dot uc dot edu
both libcpp/configure of 20081016 and 20081026 are properly setting CPPFLAGS in the libcpp/Makefile, after your changes setting of CPPFLAGS now also occurs in the toplevel Makefile and that is being used instead of the setting of CPPFLAGS in libcpp/Makefile. Notice even though the build fails

[Bug bootstrap/37923] [4.4 Regression] CPPFLAGS now unset for stage 1 build of libcpp files.

2008-10-26 Thread howarth at nitro dot med dot uc dot edu
--- Comment #12 from howarth at nitro dot med dot uc dot edu 2008-10-27 03:45 --- I notice that both config.log from the libcpp subdirectory before and after your change have... ac_cv_env_CPPFLAGS_set=set ac_cv_env_CPPFLAGS_value= which is followed by the occurance of...