summaryrefslogtreecommitdiffstats
path: root/libjava/classpath/java/sql
diff options
context:
space:
mode:
authorjakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4>2009-11-06 08:46:45 +0000
committerjakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4>2009-11-06 08:46:45 +0000
commite0559d69f5cf440c6b68bb33f4f9982dae4fe395 (patch)
treeea3cde61de4ddf98d55d21d6887d89e8f61719f0 /libjava/classpath/java/sql
parente20f082bc41afd9d960373ecaed9691586107f5e (diff)
downloadppe42-gcc-e0559d69f5cf440c6b68bb33f4f9982dae4fe395.tar.gz
ppe42-gcc-e0559d69f5cf440c6b68bb33f4f9982dae4fe395.zip
PR middle-end/41935
* c-common.c (fold_offsetof_1) <case ARRAY_REF>: Don't crash for VLAs or non-constant index, allow index one past the last element and allow exceeding array bound in arrays that might be used as flexible array members. * gcc.dg/pr41935.c: New test. * c-c++-common/pr41935.c: New test. * c-c++-common/builtin-offsetof.c (f0): Allow index one past the last element. * gcc.c-torture/execute/pr41935.c: New test. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@153962 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libjava/classpath/java/sql')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud