Launchpad has imported 11 comments from the remote bug at https://gcc.gnu.org/bugzilla/show_bug.cgi?id=42611.
If you reply to an imported comment from within Launchpad, your comment will be sent to the remote bug automatically. Read more about Launchpad's inter-bugtracker facilities at https://documentation.ubuntu.com/launchpad/user/reference/bugs/multi-project-bugs/about-multi-project-bugs/#bugs-in-external-trackers. ------------------------------------------------------------------------ On 2010-01-04T15:02:57+00:00 Debian GCC maintainers wrote: seen on current branches and the trunk, at least on x86 and x86_64: Matthias $ cat x.C #include <stdio.h> #include <stdlib.h> #include <unistd.h> #include <sys/types.h> #include <sys/mman.h> #include <sys/stat.h> #include <fcntl.h> #include <memory.h> #include <string.h> #include <limits.h> #include <errno.h> #include <assert.h> #define DEBUG_MODE 1 #define _DEBUG(str,param) { if( DEBUG_MODE == 1 ) { fprintf( stderr, "%s", "[DEBUG] " ); fprintf( stderr, str, param ); } } #ifndef TRUE #define TRUE 1 #endif #ifndef FALSE #define FALSE 0 #endif typedef char bool_t; typedef struct struct_secmem_conf { int pagesize; bool_t crypt; int crypt_key; bool_t to_file; char dumpfile[ SSIZE_MAX ]; } secmem_conf; void init_secmem( secmem_conf* d ) { if( d->pagesize == 0 ) d->pagesize = sysconf( _SC_PAGESIZE ); _DEBUG( "Configuration: pagesize set to: %d\n", d->pagesize ); } int main( int argc, char* argv[] ) { secmem_conf x; return 0; } $ gcc-4.4 -Wall x.C x.C: In function 'int main(int, char**)': x.C:42: warning: unused variable 'x' x.C:41: internal compiler error: in tree_low_cst, at tree.c:5014 Please submit a full bug report, $ /usr/lib/gcc-snapshot/bin/gcc -Wall x.C x.C: In function 'int main(int, char**)': x.C:42:14: warning: unused variable 'x' x.C:41:5: internal compiler error: in tree_low_cst, at tree.c:6178 Reply at: https://bugs.launchpad.net/ubuntu/+source/gcc-4.4/+bug/501921/comments/1 ------------------------------------------------------------------------ On 2010-01-04T15:03:49+00:00 Debian GCC maintainers wrote: Created attachment 19461 preprocessed source Reply at: https://bugs.launchpad.net/ubuntu/+source/gcc-4.4/+bug/501921/comments/2 ------------------------------------------------------------------------ On 2010-01-04T15:20:31+00:00 Jakub-gcc wrote: Shorter testcase: struct S { int a; char b[2147483647]; }; void foo (void) { struct S s; } with -m32. Reply at: https://bugs.launchpad.net/ubuntu/+source/gcc-4.4/+bug/501921/comments/3 ------------------------------------------------------------------------ On 2010-01-04T18:10:23+00:00 Hjl-tools wrote: It is caused by revision 144914: http://gcc.gnu.org/ml/gcc-cvs/2009-03/msg00421.html Reply at: https://bugs.launchpad.net/ubuntu/+source/gcc-4.4/+bug/501921/comments/4 ------------------------------------------------------------------------ On 2010-01-04T18:12:00+00:00 Pinskia wrote: I think this is related to (or a dup of bug 42146). Reply at: https://bugs.launchpad.net/ubuntu/+source/gcc-4.4/+bug/501921/comments/5 ------------------------------------------------------------------------ On 2010-01-04T18:17:05+00:00 Jakub-gcc wrote: It is not caused by that commit, just add asm volatile ("" : : "r" (&s)) to the testcase and you'll reproduce it even before that. Reply at: https://bugs.launchpad.net/ubuntu/+source/gcc-4.4/+bug/501921/comments/6 ------------------------------------------------------------------------ On 2010-01-04T18:26:10+00:00 Hjl-tools wrote: Gcc 3.4 gave: r42611.c: In function `foo': pr42611.c:6: error: size of variable 's' is too large Reply at: https://bugs.launchpad.net/ubuntu/+source/gcc-4.4/+bug/501921/comments/7 ------------------------------------------------------------------------ On 2010-01-04T19:19:49+00:00 Jakub-gcc wrote: Created attachment 19465 gcc45-pr42611.patch Untested fix. Reply at: https://bugs.launchpad.net/ubuntu/+source/gcc-4.4/+bug/501921/comments/8 ------------------------------------------------------------------------ On 2010-01-05T08:43:04+00:00 Jakub-gcc wrote: Subject: Bug 42611 Author: jakub Date: Tue Jan 5 08:42:53 2010 New Revision: 155641 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=155641 Log: PR other/42611 * cfgexpand.c (expand_one_var): Diagnose too large variables. * gcc.dg/pr42611.c: New test. Added: trunk/gcc/testsuite/gcc.dg/pr42611.c Modified: trunk/gcc/ChangeLog trunk/gcc/cfgexpand.c trunk/gcc/testsuite/ChangeLog Reply at: https://bugs.launchpad.net/ubuntu/+source/gcc-4.4/+bug/501921/comments/9 ------------------------------------------------------------------------ On 2010-01-05T08:56:42+00:00 Jakub-gcc wrote: Subject: Bug 42611 Author: jakub Date: Tue Jan 5 08:56:30 2010 New Revision: 155642 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=155642 Log: PR other/42611 * cfgexpand.c (expand_one_var): Diagnose too large variables. * gcc.dg/pr42611.c: New test. Added: branches/gcc-4_4-branch/gcc/testsuite/gcc.dg/pr42611.c Modified: branches/gcc-4_4-branch/gcc/ChangeLog branches/gcc-4_4-branch/gcc/cfgexpand.c branches/gcc-4_4-branch/gcc/testsuite/ChangeLog Reply at: https://bugs.launchpad.net/ubuntu/+source/gcc-4.4/+bug/501921/comments/10 ------------------------------------------------------------------------ On 2010-01-05T08:57:26+00:00 Jakub-gcc wrote: Fixed. Reply at: https://bugs.launchpad.net/ubuntu/+source/gcc-4.4/+bug/501921/comments/11 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/501921 Title: [PR42611] Internal compiler error in tree.c To manage notifications about this bug go to: https://bugs.launchpad.net/gcc/+bug/501921/+subscriptions -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
