Log On
Embarcadero Home
Watch, Follow, &
Connect with Us
Share This
QualityCentral
Communities
Articles
Blogs
Resources
Downloads
Help
QualityCentral
Delphi-BCB
Compiler
C++
Front End
access
Bitfields
Destructors
Diagnostics
Exception Handling
Extensions
Initialization
Inline Assembly
Invocation
Language
Mangling Scheme
Namespaces
Object Generation
Overloading
Pragmas
Pre-Compiled Headers
Preprocessor
Refactoring
RTTI
Templates
You are not logged in.
Help
Print
Public Report
Report From:
Delphi-BCB/Compiler/C++/Front End/Diagnostics
[ Add a report in this area ]
Report #:
72461
Status:
Closed
Compiler hangs when parsing certain illegal constructs
Project:
C++Builder
Build #:
12.0.3210.17555
Version:
12.1
Submitted By:
Moritz Beutel
Report Type:
Crash / Data loss / Total failure
Date Reported:
3/24/2009 5:34:01 PM
Severity:
Serious / Highly visible problem
Last Updated:
3/20/2012 2:24:39 AM
Platform:
All versions
Internal Tracking #:
268660
Resolution:
Fixed
(Resolution Comments)
Resolved in Build:
:
14.0.3401.20854
Duplicate of:
None
Voting and Rating
Overall Rating:
(1 Total Rating)
5.00 out of 5
Total Votes:
5
Description
Bug was discovered by Gilbert Lee in the public newsgroups:
https://forums.codegear.com/thread.jspa?messageID=95938
See steps.
This is a regression from C++Builder 6.
Steps to Reproduce:
- Compile the following code (bcc32 qc72461.c or bcc32 -P qc72461.c):
// -----
void ErrorFunc()
{
for( A = 0; A <= 1; A++)
{
{
for( B = 0 to 1 do
{
}
}
{
for( B = 0 to 1 do
{
}
}
}
}
// -----
Exp.: lots of errors
Act.: some errors are displayed, and BCC won't return anymore.
This also happens in comp32x.dll, thereby locking up the IDE.
Workarounds
None
Attachment
qc72461.zip
Comments
None
View Your Reports
Search
Server Response from: ETNACODE01
Developer Tools
Blackfish SQL
C++Builder
Delphi
FireMonkey
Prism
InterBase
JBuilder
J Optimizer
HTML5 Builder
3rdRail & TurboRuby
Database Tools
Change Manager
DBArtisan
DB Optimizer
ER/Studio
Performance Center
Rapid SQL
Technical Articles
Tutorials
White Papers
Press Releases
Newsletters
Add Content (GetPublished)
Audio
Audio & Video
Video
Bugs & Suggestions (QualityCentral)
Discussion Forums
Examples (CodeCentral)
Tags
Technology Partners
Downloads
Free Trials
Registered User Downloads
Beta Programs
Add Content (GetPublished)
Articles
Blogs
Bugs & Suggestions (QualityCentral)
Discussion Forums
Examples (CodeCentral)
Member Services
About
Connect with Us