This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Other format: | [Raw text] |
When expand_one_var tried to collect stack alignment on error_mark_node, it crashed: ./xgcc -B./ /export/gnu/src/gcc-stack-test/gcc/gcc/testsuite/gcc.dg/gomp/pr35751.c -S -fopemp cc1: error: unrecognized command line option "-fopemp" gnu-6:pts/13[35]> ./xgcc -B./ /export/gnu/src/gcc-stack-test/gcc/gcc/testsuite/gcc.dg/gomp/pr35751.c -S -fopenmp /export/gnu/src/gcc-stack-test/gcc/gcc/testsuite/gcc.dg/gomp/pr35751.c: In function 'foo': /export/gnu/src/gcc-stack-test/gcc/gcc/testsuite/gcc.dg/gomp/pr35751.c:8: error: object with variably modified type must have no linkage /export/gnu/src/gcc-stack-test/gcc/gcc/testsuite/gcc.dg/gomp/pr35751.c:8: error: storage size of 'a' isn't constant /export/gnu/src/gcc-stack-test/gcc/gcc/testsuite/gcc.dg/gomp/pr35751.c:9: error: storage size of 'b' isn't constant /export/gnu/src/gcc-stack-test/gcc/gcc/testsuite/gcc.dg/gomp/pr35751.c:29: internal compiler error: tree check: expected class 'type', have 'exceptional' (error_mark) in expand_one_var, at cfgexpand.c:773 Please submit a full bug report, with preprocessed source if appropriate. See <http://gcc.gnu.org/bugs.html> for instructions. I am checking in the enclosed patch to fix it. H.J. --- 2008-04-21 H.J. Lu <hongjiu.lu@intel.com> * cfgexpand.c (expand_one_var): Don't collect stack alignment on error_mark_node.
Attachment:
e.txt
Description: Text document
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |