[Bug rtl-optimization/11832] Optimization of common code in switch statements

2007-12-30 Thread aldot at gcc dot gnu dot org


--- Comment #5 from aldot at gcc dot gnu dot org  2007-12-30 10:47 ---
Created an attachment (id=14842)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=14842&action=view)
rough, half-finished, disfunctional thought; not a patch

The attached thoughts do not yet insert/remove stmt candidates but just record
possible candidates in the corresponding bitmaps.

Unfortunately this prooves that the current SSA-SCCN-VN does not work for the
testcase in comment #1 since antic_in is empty (but it should contain ++i).

Nevertheless this will potentially help for PR23286 and PR5738 since for those
testcases the hoisting-candidates are found properly.

I intend to think about finishing this draft as described by stevenb soonish
but still, i will have to finish up the inefficient variant that only cares
about switch stmts (perhaps defaulting to on at -Os, just for my personal use)
until SSA-SCCN-VN recognizes the VN for the testcase of #1


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=11832



[Bug c/34621] New: [4.3 Regression] gcc.c-torture/execute/va-arg-25.c:32: internal compiler error: in expand_call, at calls.c:2785

2007-12-30 Thread dominiq at lps dot ens dot fr
gcc.c-torture/execute/va-arg-25.c fails at -Os with gcc version 4.3.0 20071230:

/opt/gcc/_gcc_clean/gcc/testsuite/gcc.c-torture/execute/va-arg-25.c: In
function 'main':
/opt/gcc/_gcc_clean/gcc/testsuite/gcc.c-torture/execute/va-arg-25.c:32:
internal compiler error: in expand_call, at calls.c:2785

The test pass with gcc version 4.0.1 (Apple Inc. build 5465) and gcc version
4.2.2.


-- 
   Summary: [4.3 Regression] gcc.c-torture/execute/va-arg-25.c:32:
internal compiler error: in expand_call, at calls.c:2785
   Product: gcc
   Version: 4.3.0
Status: UNCONFIRMED
  Severity: normal
  Priority: P3
 Component: c
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: dominiq at lps dot ens dot fr
 GCC build triplet: i686-apple-darwin9
  GCC host triplet: i686-apple-darwin9
GCC target triplet: i686-apple-darwin9


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34621



[Bug c/34622] New: gcc.c-torture/execute/20000801-4.c fails at -O1 and above

2007-12-30 Thread dominiq at lps dot ens dot fr



-- 
   Summary: gcc.c-torture/execute/2801-4.c fails at -O1 and
above
   Product: gcc
   Version: 4.3.0
Status: UNCONFIRMED
  Severity: normal
  Priority: P3
 Component: c
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: dominiq at lps dot ens dot fr
 GCC build triplet: i686-apple-darwin9
  GCC host triplet: i686-apple-darwin9
GCC target triplet: i686-apple-darwin9


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34622



[Bug c/34622] gcc.c-torture/execute/20000801-4.c fails at -O1 and above

2007-12-30 Thread dominiq at lps dot ens dot fr


--- Comment #1 from dominiq at lps dot ens dot fr  2007-12-30 11:31 ---
Oops! hit return before I finished.

gcc.c-torture/execute/2801-4.c fails (execute) at -O1 and above with gcc
versions 4.3.0 20071230, 4.0.1 (Apple Inc. build 5465), and 4.2.2.


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34622



[Bug tree-optimization/34534] Multiple gcc.dg/struct/wo_prof_xxxx execution failures

2007-12-30 Thread olga at gcc dot gnu dot org


--- Comment #4 from olga at gcc dot gnu dot org  2007-12-30 11:52 ---
(In reply to comment #2)
> Created an attachment (id=14802)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=14802&action=view) [edit]
> Dump files

I looked a bit at the dump files you generated for wo_prof_global_var.c test.
It seems that in the first loop we convert (field 'b' + 1), that is float, to
int and store this value into field 'a', i.e.

 D.1845_14 = D.1844_13->b;
 D.1846_15 = D.1845_14 + 1.0e+0;
 D.1847_16 = (int) D.1846_15;
 D.1844_13->a ={v} D.1847_16;

while in the second we cast field 'a' to the float and compare it
to the value of (field 'b' + 1), i.e.

  D.1849_24 = (float) D.1848_23;
  ...
  D.1845_29 = D.1844_28->b;
  D.1846_30 = D.1845_29 + 1.0e+0;
  if (D.1849_24 != D.1846_30)

Is the last 'if' always should be true? I mean on any system...

So I wonder whether this test works correctly even without -fipa-struct-reorg.
Would you please try to compile it with all other options (-O3 -fdump-ipa-all
-fwhole-program -combine -fipa-type-escape) and run it on your machine?

It would be also interesting to check this test when the type of field 'b' is
int instead of float.

Thank you,
Olga


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34534



[Bug tree-optimization/34534] Multiple gcc.dg/struct/wo_prof_xxxx execution failures

2007-12-30 Thread olga at gcc dot gnu dot org


--- Comment #5 from olga at gcc dot gnu dot org  2007-12-30 12:07 ---
(In reply to comment #4)
> Is the last 'if' always should be true? I mean on any system...

true->false, sorry.


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34534



[Bug c/34623] New: gcc.dg/struct/wo_prof_malloc_size_var.c:32: internal compiler error: Bus error

2007-12-30 Thread dominiq at lps dot ens dot fr
I don't know if this is a duplicate of PR34534, but I get

[ibook-dhum] f90/bug% /opt/gcc/i686-darwin/gcc/xgcc -B/opt/gcc/i686-darwin/gcc/
/opt/gcc/gcc-4.3-work/gcc/testsuite/gcc.dg/struct/wo_prof_malloc_size_var.c  
-O3 -fipa-struct-reorg -fdump-ipa-all -fwhole-program -combine
-fipa-type-escape -fno-show-column  -lm
/opt/gcc/gcc-4.3-work/gcc/testsuite/gcc.dg/struct/wo_prof_malloc_size_var.c:32:
internal compiler error: Bus error

while using the test pass with the installed gcc:

[ibook-dhum] f90/bug% /opt/gcc/gcc4.3w/bin/gcc
/opt/gcc/gcc-4.3-work/gcc/testsuite/gcc.dg/struct/wo_prof_malloc_size_var.c  
-O3 -fipa-struct-reorg -fdump-ipa-all -fwhole-program -combine
-fipa-type-escape -fno-show-column  -lm
[ibook-dhum] f90/bug% a.out 
[ibook-dhum] f90/bug% 

I checked that there is no differences between the gcc's and cc1's.


-- 
   Summary: gcc.dg/struct/wo_prof_malloc_size_var.c:32: internal
compiler error: Bus error
   Product: gcc
   Version: 4.3.0
Status: UNCONFIRMED
  Severity: normal
  Priority: P3
 Component: c
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: dominiq at lps dot ens dot fr
 GCC build triplet: i686-apple-darwin9
  GCC host triplet: i686-apple-darwin9
GCC target triplet: i686-apple-darwin9


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34623



[Bug middle-end/34483] wo_prof_two_strs.c:56: internal compiler error: in find_new_var_of_type, at ipa-struct-reorg.c:605

2007-12-30 Thread olga at gcc dot gnu dot org


--- Comment #17 from olga at gcc dot gnu dot org  2007-12-30 12:19 ---
(In reply to comment #16)
> I think this is related to PR 34472 and PR 34534

true.

Would you please see the comment #4 for PR 34534, and try it on your machine?

Thank you,
Olga


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34483



[Bug tree-optimization/34534] Multiple gcc.dg/struct/wo_prof_xxxx execution failures

2007-12-30 Thread dominiq at lps dot ens dot fr


--- Comment #6 from dominiq at lps dot ens dot fr  2007-12-30 12:34 ---
I also see the problem on i686-apple-darwin9, gcc version 4.3.0 20071230 with
-m64 

FAIL: gcc.dg/struct/wo_prof_global_var.c execution test
FAIL: gcc.dg/struct/wo_prof_local_var.c execution test
FAIL: gcc.dg/struct/wo_prof_mult_field_peeling.c execution test
FAIL: gcc.dg/struct/wo_prof_two_strs.c execution test
FAIL: gcc.dg/struct/w_prof_global_var.c execution,-O3 -fwhole-program
-combine -fipa-type-escape -fprofile-use -fipa-struct-reorg -fdump-ipa-all
FAIL: gcc.dg/struct/w_prof_local_var.c execution,-O3 -fwhole-program
-combine -fipa-type-escape -fprofile-use -fipa-struct-reorg -fdump-ipa-all
FAIL: gcc.dg/struct/w_prof_two_strs.c execution,-O3 -fwhole-program
-combine -fipa-type-escape -fprofile-use -fipa-struct-reorg -fdump-ipa-all


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34534



[Bug c++/34624] New: valid c++ code doesn't compile for x86_64, but for i386

2007-12-30 Thread tim at klingt dot org
the following code compiles on i386, but not for x86_64:

[EMAIL PROTECTED]:~$ g++ -m32 bug.cpp 
[EMAIL PROTECTED]:~$ 
[EMAIL PROTECTED]:~$ g++ -m64 bug.cpp 
bug.cpp: In function ‘int main()’:
bug.cpp:69: error: no matching function for call to
‘get_samples(my_table&)’
[EMAIL PROTECTED]:~$ 

#include 

typedef unsigned int uint;

template
struct my_table:
public boost::array
{};

template
inline const sampletype * get_samples(boost::array const &
buffer)
{
return buffer.begin();
}

int main()
{
my_table tab;
const float * ptr = get_samples(tab);
}


i could reproduce it with the debian packages of gcc-4.1 and 4.2 on i386 and
amd64. 

best, tim


-- 
   Summary: valid c++ code doesn't compile for x86_64, but for i386
   Product: gcc
   Version: 4.2.3
Status: UNCONFIRMED
  Severity: normal
  Priority: P3
 Component: c++
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: tim at klingt dot org


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34624



[Bug target/34625] New: msgl-check.c:199: error: unrecognizable insn:

2007-12-30 Thread kai-gcc-bugs at khms dot westfalen dot de
(*) This is actually running on i686-pc-linux-gnu, in a chroot which (with the
help of Wine) masquerades as i686-pc-mingw32 so most packages can be compiled
"natively" (cross support in general is weak, cross support to w32 even
weaker).

/bin/bash ../libtool --tag=CC   --mode=compile i686-pc-mingw32-gcc -std=gnu99
-DLOCALEDIR=\"/mingw/share/locale\" -DBISON_LOCALEDIR=\"\"
-DLOCALE_ALIAS_PATH=\"/mingw/share/locale\" -DUSEJEXE=0
-DGETTEXTJEXEDIR=\"/mingw/lib/gettext\"
-DGETTEXTJAR=\"/mingw/share/gettext/gettext.jar\" -DLIBDIR=\"/mingw/lib\"
-DGETTEXTDATADIR=\"/mingw/share/gettext\"
-DPROJECTSDIR=\"/mingw/share/gettext/projects\" -DHAVE_CONFIG_H -I. -I..  -I.
-I. -I.. -I.. -I../libgrep -I../gnulib-lib -I../gnulib-lib -I../intl
-I../../gettext-runtime/intl -I/mingw/include  -g -O2 -c -o msgl-english.lo
msgl-english.c
 i686-pc-mingw32-gcc -std=gnu99 -DLOCALEDIR=\"/mingw/share/locale\"
-DBISON_LOCALEDIR=\"\" -DLOCALE_ALIAS_PATH=\"/mingw/share/locale\" -DUSEJEXE=0
-DGETTEXTJEXEDIR=\"/mingw/lib/gettext\"
-DGETTEXTJAR=\"/mingw/share/gettext/gettext.jar\" -DLIBDIR=\"/mingw/lib\"
-DGETTEXTDATADIR=\"/mingw/share/gettext\"
-DPROJECTSDIR=\"/mingw/share/gettext/projects\" -DHAVE_CONFIG_H -I. -I.. -I.
-I. -I.. -I.. -I../libgrep -I../gnulib-lib -I../gnulib-lib -I../intl
-I../../gettext-runtime/intl -I/mingw/include -g -O2 -c msgl-english.c 
-DDLL_EXPORT -DPIC -o .libs/msgl-english.o
 i686-pc-mingw32-gcc -std=gnu99 -DLOCALEDIR=\"/mingw/share/locale\"
-DBISON_LOCALEDIR=\"\" -DLOCALE_ALIAS_PATH=\"/mingw/share/locale\" -DUSEJEXE=0
-DGETTEXTJEXEDIR=\"/mingw/lib/gettext\"
-DGETTEXTJAR=\"/mingw/share/gettext/gettext.jar\" -DLIBDIR=\"/mingw/lib\"
-DGETTEXTDATADIR=\"/mingw/share/gettext\"
-DPROJECTSDIR=\"/mingw/share/gettext/projects\" -DHAVE_CONFIG_H -I. -I.. -I.
-I. -I.. -I.. -I../libgrep -I../gnulib-lib -I../gnulib-lib -I../intl
-I../../gettext-runtime/intl -I/mingw/include -g -O2 -c msgl-english.c -o
msgl-english.o >/dev/null 2>&1
/bin/bash ../libtool --tag=CC   --mode=compile i686-pc-mingw32-gcc -std=gnu99
-DLOCALEDIR=\"/mingw/share/locale\" -DBISON_LOCALEDIR=\"\"
-DLOCALE_ALIAS_PATH=\"/mingw/share/locale\" -DUSEJEXE=0
-DGETTEXTJEXEDIR=\"/mingw/lib/gettext\"
-DGETTEXTJAR=\"/mingw/share/gettext/gettext.jar\" -DLIBDIR=\"/mingw/lib\"
-DGETTEXTDATADIR=\"/mingw/share/gettext\"
-DPROJECTSDIR=\"/mingw/share/gettext/projects\" -DHAVE_CONFIG_H -I. -I..  -I.
-I. -I.. -I.. -I../libgrep -I../gnulib-lib -I../gnulib-lib -I../intl
-I../../gettext-runtime/intl -I/mingw/include  -g -O2 -c -o msgl-check.lo
msgl-check.c
 i686-pc-mingw32-gcc -std=gnu99 -DLOCALEDIR=\"/mingw/share/locale\"
-DBISON_LOCALEDIR=\"\" -DLOCALE_ALIAS_PATH=\"/mingw/share/locale\" -DUSEJEXE=0
-DGETTEXTJEXEDIR=\"/mingw/lib/gettext\"
-DGETTEXTJAR=\"/mingw/share/gettext/gettext.jar\" -DLIBDIR=\"/mingw/lib\"
-DGETTEXTDATADIR=\"/mingw/share/gettext\"
-DPROJECTSDIR=\"/mingw/share/gettext/projects\" -DHAVE_CONFIG_H -I. -I.. -I.
-I. -I.. -I.. -I../libgrep -I../gnulib-lib -I../gnulib-lib -I../intl
-I../../gettext-runtime/intl -I/mingw/include -g -O2 -c msgl-check.c 
-DDLL_EXPORT -DPIC -o .libs/msgl-check.o
msgl-check.c: In function 'plural_help':
msgl-check.c:199: error: unrecognizable insn:
(insn 40 39 41 6 msgl-check.c:184 (set (reg:SI 76)
(const:SI (plus:SI (mem:SI (symbol_ref:SI ("#i.plural_table") ) [0 S4 A8])
(const_int 4 [0x4] -1 (nil)
(nil))
msgl-check.c:199: internal compiler error: in extract_insn, at recog.c:2077
Please submit a full bug report,
with preprocessed source if appropriate.
See http://gcc.gnu.org/bugs.html> for instructions.
make[4]: *** [msgl-check.lo] Error 1
make[4]: Leaving directory `/BUILD/gettext-0.17/gettext-tools/src'
make[3]: *** [all] Error 2
make[3]: Leaving directory `/BUILD/gettext-0.17/gettext-tools/src'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/BUILD/gettext-0.17/gettext-tools'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/BUILD/gettext-0.17/gettext-tools'
make: *** [all-recursive] Error 1



[EMAIL PROTECTED]:~/.../CHROOT$ sudo chroot /home/kai/.../CHROOT/MINGW/chroot
/bin/bash -c '. /mingw/local/bin/mwpathset.sh; cd /BUILD/gettext-0.17;
i686-pc-mingw32-gcc -v'
Using built-in specs.
Target: i686-pc-mingw32
Configured with: /home/kai/.../CHROOT/MINGW/sources/gcc-4.2.2/configure
--prefix=/home/kai/.../CHROOT/MINGW/Prefix --target=i686-pc-mingw32
--build=i686-pc-linux-gnu --with-gcc --with-gnu-as --with-gnu-ld
--with-sysroot=/home/kai/.../CHROOT/MINGW/Sysroot --with-dwarf2 --enable-static
--enable-shared --enable-languages=c,objc,c++ --disable-multilib
--enable-threads --enable-tls
Thread model: win32
gcc version 4.2.2


-- 
   Summary: msgl-check.c:199: error: unrecognizable insn:
   Product: gcc
   Version: 4.2.2
Status: UNCONFIRMED
  Severity: normal
  Priority: P3
 Component: target
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: kai-gcc-bugs at khms dot westfalen dot de
 GCC build triplet: i

[Bug target/34625] msgl-check.c:199: error: unrecognizable insn:

2007-12-30 Thread kai-gcc-bugs at khms dot westfalen dot de


--- Comment #1 from kai-gcc-bugs at khms dot westfalen dot de  2007-12-30 
14:04 ---
Here's the output from -v:

Using built-in specs.
Target: i686-pc-mingw32
Configured with: /home/kai/.../CHROOT/MINGW/sources/gcc-4.2.2/configure
--prefix=/home/kai/.../CHROOT/MINGW/Prefix --target=i686-pc-mingw32
--build=i686-pc-linux-gnu --with-gcc --with-gnu-as --with-gnu-ld
--with-sysroot=/home/kai/.../CHROOT/MINGW/Sysroot --with-dwarf2 --enable-static
--enable-shared --enable-languages=c,objc,c++ --disable-multilib
--enable-threads --enable-tls
Thread model: win32
gcc version 4.2.2
 /usr/bin/../libexec/gcc/i686-pc-mingw32/4.2.2/cc1 -quiet -v -I. -I.. -I. -I.
-I.. -I.. -I../libgrep -I../gnulib-lib -I../gnulib-lib -I../intl
-I../../gettext-runtime/intl -I/mingw/include -iprefix
/usr/bin/../lib/gcc/i686-pc-mingw32/4.2.2/ -DLOCALEDIR="/mingw/share/locale"
-DBISON_LOCALEDIR="" -DLOCALE_ALIAS_PATH="/mingw/share/locale" -DUSEJEXE=0
-DGETTEXTJEXEDIR="/mingw/lib/gettext"
-DGETTEXTJAR="/mingw/share/gettext/gettext.jar" -DLIBDIR="/mingw/lib"
-DGETTEXTDATADIR="/mingw/share/gettext"
-DPROJECTSDIR="/mingw/share/gettext/projects" -DHAVE_CONFIG_H -DDLL_EXPORT
-DPIC msgl-check.c -quiet -dumpbase msgl-check.c -mtune=generic -auxbase-strip
.libs/msgl-check.o -g -O2 -std=gnu99 -version -o /tmp/ccbFu9Jj.s
ignoring nonexistent directory
"/home/kai/.../CHROOT/MINGW/Sysroot/usr/local/include"
ignoring nonexistent directory
"/home/kai/.../CHROOT/MINGW/Prefix/lib/gcc/i686-pc-mingw32/4.2.2/include"
ignoring nonexistent directory
"/home/kai/.../CHROOT/MINGW/Prefix/i686-pc-mingw32/include"
ignoring nonexistent directory
"/home/kai/.../CHROOT/MINGW/Sysroot/mingw/include"
ignoring duplicate directory "."
ignoring duplicate directory "."
ignoring duplicate directory ".."
ignoring duplicate directory ".."
ignoring duplicate directory "../gnulib-lib"
ignoring duplicate directory "/mingw/include"
  as it is a non-system directory that duplicates a system directory
#include "..." search starts here:
#include <...> search starts here:
 .
 ..
 ../libgrep
 ../gnulib-lib
 ../intl
 ../../gettext-runtime/intl
 /usr/bin/../lib/gcc/i686-pc-mingw32/4.2.2/include
 /usr/bin/../lib/gcc/i686-pc-mingw32/4.2.2/../../../../i686-pc-mingw32/include
End of search list.
GNU C version 4.2.2 (i686-pc-mingw32)
compiled by GNU C version 4.1.2 (Ubuntu 4.1.2-0ubuntu4).
GGC heuristics: --param ggc-min-expand=30 --param ggc-min-heapsize=4096
Compiler executable checksum: 6dcc5255bda1643008b891d121aa4d75
msgl-check.c: In function 'plural_help':
msgl-check.c:199: error: unrecognizable insn:
(insn 40 39 41 6 msgl-check.c:184 (set (reg:SI 76)
(const:SI (plus:SI (mem:SI (symbol_ref:SI ("#i.plural_table") ) [0 S4 A8])
(const_int 4 [0x4] -1 (nil)
(nil))
msgl-check.c:199: internal compiler error: in extract_insn, at recog.c:2077
Please submit a full bug report,
with preprocessed source if appropriate.
See http://gcc.gnu.org/bugs.html> for instructions.


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34625



[Bug target/34625] msgl-check.c:199: error: unrecognizable insn:

2007-12-30 Thread kai-gcc-bugs at khms dot westfalen dot de


--- Comment #2 from kai-gcc-bugs at khms dot westfalen dot de  2007-12-30 
14:09 ---
Created an attachment (id=14843)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=14843&action=view)
msgl-check.i

Generated with -save-temps


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34625



[Bug target/34625] msgl-check.c:199: error: unrecognizable insn:

2007-12-30 Thread kai-gcc-bugs at khms dot westfalen dot de


--- Comment #3 from kai-gcc-bugs at khms dot westfalen dot de  2007-12-30 
14:10 ---
I should add that I saw the exact same error with 4.1.2.


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34625



[Bug target/34625] msgl-check.c:199: error: unrecognizable insn:

2007-12-30 Thread pinskia at gcc dot gnu dot org


--- Comment #4 from pinskia at gcc dot gnu dot org  2007-12-30 14:40 ---
This was supposed to be fixed in 4.2.0, see PR 29826.


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34625



[Bug middle-end/34622] [4.3 Regression] gcc.c-torture/execute/20000801-4.c fails at -O1 and above

2007-12-30 Thread pinskia at gcc dot gnu dot org


--- Comment #2 from pinskia at gcc dot gnu dot org  2007-12-30 14:49 ---
Most likely caused by:
2007-12-12  Aldy Hernandez  <[EMAIL PROTECTED]>

PR tree-optimization/32901
* gimplify.c (gimplify_modify_expr_rhs): Handle the case when we
are assigning from a constant constructor.
Fix wrapping in function comment.


-- 

pinskia at gcc dot gnu dot org changed:

   What|Removed |Added

 CC||pinskia at gcc dot gnu dot
   ||org
  Component|c   |middle-end
   Keywords||wrong-code
Summary|gcc.c-  |[4.3 Regression] gcc.c-
   |torture/execute/2801-4.c|torture/execute/2801-4.c
   |fails at -O1 and above  |fails at -O1 and above
   Target Milestone|--- |4.3.0


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34622



[Bug c/34623] gcc.dg/struct/wo_prof_malloc_size_var.c:32: internal compiler error: Bus error

2007-12-30 Thread pinskia at gcc dot gnu dot org


--- Comment #1 from pinskia at gcc dot gnu dot org  2007-12-30 14:54 ---


*** This bug has been marked as a duplicate of 34483 ***


-- 

pinskia at gcc dot gnu dot org changed:

   What|Removed |Added

 Status|UNCONFIRMED |RESOLVED
 Resolution||DUPLICATE


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34623



[Bug middle-end/34483] wo_prof_two_strs.c:56: internal compiler error: in find_new_var_of_type, at ipa-struct-reorg.c:605

2007-12-30 Thread pinskia at gcc dot gnu dot org


--- Comment #18 from pinskia at gcc dot gnu dot org  2007-12-30 14:54 
---
*** Bug 34623 has been marked as a duplicate of this bug. ***


-- 

pinskia at gcc dot gnu dot org changed:

   What|Removed |Added

 CC||dominiq at lps dot ens dot
   ||fr


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34483



[Bug target/34625] msgl-check.c:199: error: unrecognizable insn:

2007-12-30 Thread kai-gcc-bugs at khms dot westfalen dot de


--- Comment #5 from kai-gcc-bugs at khms dot westfalen dot de  2007-12-30 
15:15 ---
Still in gcc version 4.2.3 20071226 (prerelease).


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34625



[Bug target/34625] msgl-check.c:199: error: unrecognizable insn:

2007-12-30 Thread kai-gcc-bugs at khms dot westfalen dot de


--- Comment #6 from kai-gcc-bugs at khms dot westfalen dot de  2007-12-30 
15:20 ---
Hmm. Looking at PR 29826, this is indeed the same bug; maybe a different
version of the mingw headers? And I wonder why I didn't find it when I searched
for it ...


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34625



[Bug tree-optimization/34534] Multiple gcc.dg/struct/wo_prof_xxxx execution failures

2007-12-30 Thread hjl at lucon dot org


--- Comment #7 from hjl at lucon dot org  2007-12-30 15:45 ---
(In reply to comment #4)
> 
> So I wonder whether this test works correctly even without -fipa-struct-reorg.
> Would you please try to compile it with all other options (-O3 -fdump-ipa-all
> -fwhole-program -combine -fipa-type-escape) and run it on your machine?
> 

It works fine:

[EMAIL PROTECTED] gcc]$  /export/build/gnu/gcc/build-ia64-linux/gcc/xgcc
-B/export/build/gnu/gcc/build-ia64-linux/gcc/
/net/gnu-13/export/gnu/src/gcc/gcc/gcc/testsuite/gcc.dg/struct/wo_prof_global_var.c
  -O3  -fdump-ipa-all -fwhole-program -combine -fipa-type-escape
-fno-show-column  -lm   -o ./wo_prof_global_var.exe
[EMAIL PROTECTED] gcc]$ ./wo_prof_global_var.exe
[EMAIL PROTECTED] gcc]$


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34534



[Bug tree-optimization/34534] Multiple gcc.dg/struct/wo_prof_xxxx execution failures

2007-12-30 Thread hjl at lucon dot org


--- Comment #8 from hjl at lucon dot org  2007-12-30 15:49 ---
Created an attachment (id=14844)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=14844&action=view)
Dump files without -fipa-struct-reorg


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34534



[Bug libstdc++/34626] New: Header constructors_destructor_fn_imps.hpp not found on AIX 5.3/IBM PPC

2007-12-30 Thread efernandez at physiomics-plc dot com
Hi,

I have this problem when compiling gcc-4.2.2 under IBM AIX 5.3 with PowerPC
CPUs (using 32-bit address mode):

gmake[3]: Entering directory
`/hpc/work/fernandz/gnuobj/powerpc-ibm-aix5.3.0.0/libstdc++-v3'
Making all in include
gmake[4]: Entering directory
`/hpc/work/fernandz/gnuobj/powerpc-ibm-aix5.3.0.0/libstdc++-v3/include'
if [ ! -d "./powerpc-ibm-aix5.3.0.0/bits/extc++.h.gch" ]; then \
  mkdir -p ./powerpc-ibm-aix5.3.0.0/bits/extc++.h.gch; \
fi; \
/hpc/work/fernandz/gnuobj/./gcc/xgcc -shared-libgcc
-B/hpc/work/fernandz/gnuobj/./gcc -nostdinc++
-L/hpc/work/fernandz/gnuobj/powerpc-ibm-aix5.3.0.0/libstdc++-v3/src
-L/hpc/work/fernandz/gnuobj/powerpc-ibm-aix5.3.0.0/libstdc++-v3/src/.lib
s -B/hpc/work/fernandz/gnu/powerpc-ibm-aix5.3.0.0/bin/
-B/hpc/work/fernandz/gnu/powerpc-ibm-aix5.3.0.0/lib/ -isystem
/hpc/work/fernandz/gnu/powerpc-ibm-aix5.3.0.0/include -isystem
/hpc/work/fernandz/gnu/powerpc-ibm-aix5.3.0.0/sys-include -Winvalid-pch
-Wno-deprecated -x c++-header -g -O2
-I/hpc/work/fernandz/gnuobj/powerpc-ibm-aix5.3.0.0/libstdc++-v3/include/
powerpc-ibm-aix5.3.0.0
-I/hpc/work/fernandz/gnuobj/powerpc-ibm-aix5.3.0.0/libstdc++-v3/include
-I/hpc/work/fernandz/gnusrc/gcc-4.2.2/libstdc++-v3/libsupc++ -O2 -g
/hpc/work/fernandz/gnusrc/gcc-4.2.2/libstdc++-v3/include/precompiled/ext
c++.h -o powerpc-ibm-aix5.3.0.0/bits/extc++.h.gch/O2g.gch
In file included from
/hpc/work/fernandz/gnuobj/powerpc-ibm-aix5.3.0.0/libstdc++-v3/include/ex
t/pb_ds/detail/standard_policies.hpp:51,
 from
/hpc/work/fernandz/gnuobj/powerpc-ibm-aix5.3.0.0/libstdc++-v3/include/ex
t/pb_ds/assoc_container.hpp:52,
 from
/hpc/work/fernandz/gnusrc/gcc-4.2.2/libstdc++-v3/include/precompiled/ext
c++.h:59:
/hpc/work/fernandz/gnuobj/powerpc-ibm-aix5.3.0.0/libstdc++-v3/include/ex
t/pb_ds/hash_policy.hpp:293:81: error:
ext/pb_ds/detail/resize_policy/hash_load_check_resize_trigger_imp.hpp:
No such file or directory
In file included from
/hpc/work/fernandz/gnuobj/powerpc-ibm-aix5.3.0.0/libstdc++-v3/include/ex
t/pb_ds/detail/rb_tree_map_/rb_tree_.hpp:54,
 from
/hpc/work/fernandz/gnuobj/powerpc-ibm-aix5.3.0.0/libstdc++-v3/include/ex
t/pb_ds/detail/container_base_dispatch.hpp:61,
 from
/hpc/work/fernandz/gnuobj/powerpc-ibm-aix5.3.0.0/libstdc++-v3/include/ex
t/pb_ds/assoc_container.hpp:53,
 from
/hpc/work/fernandz/gnusrc/gcc-4.2.2/libstdc++-v3/include/precompiled/ext
c++.h:59:
/hpc/work/fernandz/gnuobj/powerpc-ibm-aix5.3.0.0/libstdc++-v3/include/ex
t/pb_ds/detail/bin_search_tree_/bin_search_tree_.hpp:473:81: error:
ext/pb_ds/detail/bin_search_tree_/constructors_destructor_fn_imps.hpp:
No such file or directory
gmake[4]: *** [powerpc-ibm-aix5.3.0.0/bits/extc++.h.gch/O2g.gch] Error 1


The file constructors_destructor_fn_imps.hpp definitely exists, but is
not found.

Note I do NOT compile in the same directory than the source. My
configure options were:
/hpc/work/fernandz/gnusrc/gcc-4.2.2/configure  --enable-languages=c,c++
--prefix=/hpc/work/fernandz/gnu --enable-threads --disable-shared
--enable-version-specific-runtime-libs --disable-nls. I have also tried
without the "--enable-threads --disable-shared
--enable-version-specific-runtime-libs --disable-nls" options, with the
same result.

I double-checked the doc I was not doing anything wrong. Am I missing
something?


-- 
   Summary: Header constructors_destructor_fn_imps.hpp not found on
AIX 5.3/IBM PPC
   Product: gcc
   Version: 4.2.2
Status: UNCONFIRMED
  Severity: normal
  Priority: P3
 Component: libstdc++
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: efernandez at physiomics-plc dot com


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34626



[Bug libstdc++/34626] Header constructors_destructor_fn_imps.hpp not found on AIX 5.3/IBM PPC

2007-12-30 Thread pinskia at gcc dot gnu dot org


--- Comment #1 from pinskia at gcc dot gnu dot org  2007-12-30 18:48 ---
What tar did you use to untar the sources?


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34626



[Bug middle-end/34622] [4.3 Regression] gcc.c-torture/execute/20000801-4.c fails at -O1 and above

2007-12-30 Thread pinskia at gcc dot gnu dot org


--- Comment #3 from pinskia at gcc dot gnu dot org  2007-12-30 18:56 ---
This worked with LAST_UPDATED: Sat Nov 10 21:21:01 UTC 2007 (revision 130075)
.


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34622



[Bug libstdc++/34626] Header constructors_destructor_fn_imps.hpp not found on AIX 5.3/IBM PPC

2007-12-30 Thread efernandez at physiomics-plc dot com


--- Comment #2 from efernandez at physiomics-plc dot com  2007-12-30 18:59 
---
GNU tar (AIX-provided tar is not able to create the Longlink anyway):

bash-2.05a$ /usr/local/gnu/bin/tar --version
tar (GNU tar) 1.13

Copyright (C) 1988, 92,93,94,95,96,97,98, 1999 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

Written by John Gilmore and Jay Fenlason.


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34626